]>
Commit | Line | Data |
---|---|---|
d14a1e28 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
3 | * Version 1.3.20 | |
4 | * | |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
12 | #define SWIG_NOINCLUDE | |
13 | ||
14 | #ifdef __cplusplus | |
15 | template<class T> class SwigValueWrapper { | |
16 | T *tt; | |
17 | public: | |
18 | SwigValueWrapper() : tt(0) { } | |
19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
21 | ~SwigValueWrapper() { delete tt; } | |
22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
23 | operator T&() const { return *tt; } | |
24 | T *operator&() { return tt; } | |
25 | private: | |
26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
27 | }; | |
28 | #endif | |
29 | ||
30 | ||
31 | #include "Python.h" | |
32 | ||
33 | /*************************************************************** -*- c -*- | |
34 | * python/precommon.swg | |
35 | * | |
36 | * Rename all exported symbols from common.swg, to avoid symbol | |
37 | * clashes if multiple interpreters are included | |
38 | * | |
39 | ************************************************************************/ | |
40 | ||
41 | #define SWIG_TypeRegister SWIG_Python_TypeRegister | |
42 | #define SWIG_TypeCheck SWIG_Python_TypeCheck | |
43 | #define SWIG_TypeCast SWIG_Python_TypeCast | |
44 | #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast | |
45 | #define SWIG_TypeName SWIG_Python_TypeName | |
46 | #define SWIG_TypeQuery SWIG_Python_TypeQuery | |
47 | #define SWIG_TypeClientData SWIG_Python_TypeClientData | |
48 | ||
49 | ||
50 | /*********************************************************************** | |
51 | * common.swg for wxPython | |
52 | * | |
53 | * Include only the function prototypes and such from SWIG's common.swg, | |
54 | * but not the runtime functions themselves. This helps keep the | |
55 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
56 | * anyway. | |
57 | * | |
58 | ************************************************************************/ | |
59 | ||
60 | #include <string.h> | |
61 | ||
62 | #if defined(_WIN32) || defined(__WIN32__) | |
63 | # if defined(_MSC_VER) | |
64 | # if defined(STATIC_LINKED) | |
65 | # define SWIGEXPORT(a) a | |
66 | # define SWIGIMPORT(a) extern a | |
67 | # else | |
68 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
69 | # define SWIGIMPORT(a) extern a | |
70 | # endif | |
71 | # else | |
72 | # if defined(__BORLANDC__) | |
73 | # define SWIGEXPORT(a) a _export | |
74 | # define SWIGIMPORT(a) a _export | |
75 | # else | |
76 | # define SWIGEXPORT(a) a | |
77 | # define SWIGIMPORT(a) a | |
78 | # endif | |
79 | # endif | |
80 | #else | |
81 | # define SWIGEXPORT(a) a | |
82 | # define SWIGIMPORT(a) a | |
83 | #endif | |
84 | ||
85 | #ifdef SWIG_GLOBAL | |
86 | #define SWIGRUNTIME(a) SWIGEXPORT(a) | |
87 | #else | |
88 | #define SWIGRUNTIME(a) static a | |
89 | #endif | |
90 | ||
91 | ||
92 | #ifdef __cplusplus | |
93 | extern "C" { | |
94 | #endif | |
95 | ||
96 | typedef void *(*swig_converter_func)(void *); | |
97 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
98 | ||
99 | typedef struct swig_type_info { | |
100 | const char *name; | |
101 | swig_converter_func converter; | |
102 | const char *str; | |
103 | void *clientdata; | |
104 | swig_dycast_func dcast; | |
105 | struct swig_type_info *next; | |
106 | struct swig_type_info *prev; | |
107 | } swig_type_info; | |
108 | ||
109 | ||
110 | SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *); | |
111 | SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *); | |
112 | SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *); | |
113 | SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **); | |
114 | SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *); | |
115 | SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); | |
116 | SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); | |
117 | ||
118 | ||
119 | #ifdef __cplusplus | |
120 | } | |
121 | #endif | |
122 | ||
123 | /*********************************************************************** | |
124 | * pyrun.swg for wxPython | |
125 | * | |
126 | * Include only the function prototypes and such from SWIG's pyrun.swg, | |
127 | * but not the runtime functions themselves. This helps keep the | |
128 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
129 | * anyway. | |
130 | * | |
131 | ************************************************************************/ | |
132 | ||
133 | ||
134 | #include "Python.h" | |
135 | ||
136 | #ifdef __cplusplus | |
137 | extern "C" { | |
138 | #endif | |
139 | ||
140 | #define SWIG_PY_INT 1 | |
141 | #define SWIG_PY_FLOAT 2 | |
142 | #define SWIG_PY_STRING 3 | |
143 | #define SWIG_PY_POINTER 4 | |
144 | #define SWIG_PY_BINARY 5 | |
145 | ||
146 | /* Flags for pointer conversion */ | |
147 | ||
148 | #define SWIG_POINTER_EXCEPTION 0x1 | |
149 | #define SWIG_POINTER_DISOWN 0x2 | |
150 | ||
151 | /* Exception handling in wrappers */ | |
152 | #define SWIG_fail goto fail | |
153 | ||
154 | /* Constant information structure */ | |
155 | typedef struct swig_const_info { | |
156 | int type; | |
157 | char *name; | |
158 | long lvalue; | |
159 | double dvalue; | |
160 | void *pvalue; | |
161 | swig_type_info **ptype; | |
162 | } swig_const_info; | |
163 | ||
164 | ||
165 | ||
166 | /* Common SWIG API */ | |
167 | #define SWIG_ConvertPtr(obj, pp, type, flags) \ | |
168 | SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
169 | #define SWIG_NewPointerObj(p, type, flags) \ | |
170 | SWIG_Python_NewPointerObj(p, type, flags) | |
171 | #define SWIG_MustGetPtr(p, type, argnum, flags) \ | |
172 | SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
173 | ||
174 | /* Python-specific SWIG API */ | |
175 | #define SWIG_newvarlink() \ | |
176 | SWIG_Python_newvarlink() | |
177 | #define SWIG_addvarlink(p, name, get_attr, set_attr) \ | |
178 | SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
179 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ | |
180 | SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
181 | #define SWIG_PackData(c, ptr, sz) \ | |
182 | SWIG_Python_PackData(c, ptr, sz) | |
183 | #define SWIG_UnpackData(c, ptr, sz) \ | |
184 | SWIG_Python_UnpackData(c, ptr, sz) | |
185 | #define SWIG_NewPackedObj(ptr, sz, type) \ | |
186 | SWIG_Python_NewPackedObj(ptr, sz, type) | |
187 | #define SWIG_InstallConstants(d, constants) \ | |
188 | SWIG_Python_InstallConstants(d, constants) | |
189 | ||
190 | ||
191 | SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); | |
192 | SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); | |
193 | SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int); | |
194 | ||
195 | SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void); | |
196 | SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
197 | SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int); | |
198 | SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int); | |
199 | SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int); | |
200 | SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *); | |
201 | SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); | |
202 | ||
203 | ||
204 | /* Contract support */ | |
205 | ||
206 | #define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else | |
207 | #define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else | |
208 | ||
209 | #define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else | |
210 | #define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else | |
211 | ||
212 | #define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else | |
213 | #define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else | |
214 | #define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else | |
215 | ||
216 | #ifdef __cplusplus | |
217 | } | |
218 | #endif | |
219 | ||
220 | ||
221 | ||
222 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
223 | ||
224 | #define SWIGTYPE_p_wxEditableListBox swig_types[0] | |
225 | #define SWIGTYPE_p_wxObject swig_types[1] | |
226 | #define SWIGTYPE_p_wxColour swig_types[2] | |
227 | #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3] | |
228 | #define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[4] | |
229 | #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[5] | |
230 | #define SWIGTYPE_p_wxPyTreeListCtrl swig_types[6] | |
231 | #define SWIGTYPE_p_wxImageList swig_types[7] | |
232 | #define SWIGTYPE_p_wxScrollBar swig_types[8] | |
233 | #define SWIGTYPE_p_wxDynamicSashWindow swig_types[9] | |
234 | #define SWIGTYPE_p_wxScrolledWindow swig_types[10] | |
235 | #define SWIGTYPE_p_wxSplitterWindow swig_types[11] | |
236 | #define SWIGTYPE_p_wxWindow swig_types[12] | |
237 | #define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[13] | |
238 | #define SWIGTYPE_p_wxThinSplitterWindow swig_types[14] | |
239 | #define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[15] | |
240 | #define SWIGTYPE_p_wxValidator swig_types[16] | |
241 | #define SWIGTYPE_p_wxCommandEvent swig_types[17] | |
242 | #define SWIGTYPE_p_wxArrayString swig_types[18] | |
243 | #define SWIGTYPE_p_wxLEDNumberCtrl swig_types[19] | |
244 | #define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[20] | |
245 | #define SWIGTYPE_p_wxTreeItemId swig_types[21] | |
246 | #define SWIGTYPE_p_wxString swig_types[22] | |
247 | #define SWIGTYPE_p_wxEvtHandler swig_types[23] | |
248 | #define SWIGTYPE_p_wxFont swig_types[24] | |
249 | #define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[25] | |
250 | #define SWIGTYPE_p_wxControl swig_types[26] | |
251 | #define SWIGTYPE_p_wxPanel swig_types[27] | |
252 | #define SWIGTYPE_p_wxPyTreeItemData swig_types[28] | |
253 | #define SWIGTYPE_p_wxEvent swig_types[29] | |
254 | #define SWIGTYPE_p_int swig_types[30] | |
255 | static swig_type_info *swig_types[32]; | |
256 | ||
257 | /* -------- TYPES TABLE (END) -------- */ | |
258 | ||
259 | ||
260 | /*----------------------------------------------- | |
261 | @(target):= _gizmos.so | |
262 | ------------------------------------------------*/ | |
263 | #define SWIG_init init_gizmos | |
264 | ||
265 | #define SWIG_name "_gizmos" | |
266 | ||
267 | #include "wx/wxPython/wxPython.h" | |
268 | #include "wx/wxPython/pyclasses.h" | |
269 | ||
270 | #include <wx/gizmos/dynamicsash.h> | |
271 | #include <wx/gizmos/editlbox.h> | |
272 | #include <wx/gizmos/splittree.h> | |
273 | #include <wx/gizmos/ledctrl.h> | |
274 | ||
275 | #include <wx/listctrl.h> | |
276 | #include <wx/treectrl.h> | |
277 | #include <wx/imaglist.h> | |
278 | ||
279 | #include "treelistctrl.h" | |
280 | #include "wx/wxPython/pytree.h" | |
281 | ||
282 | ||
283 | static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow")); | |
284 | static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox")); | |
285 | static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl")); | |
286 | static const wxString wxPyEmptyString(wxT("")); | |
287 | ||
288 | PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){ | |
289 | wxArrayString strings; | |
290 | self->GetStrings(strings); | |
291 | return wxArrayString2PyList_helper(strings); | |
292 | } | |
293 | ||
294 | typedef wxTreeCtrl wxPyTreeCtrl; | |
295 | ||
296 | ||
297 | class wxPyTreeCompanionWindow: public wxTreeCompanionWindow | |
298 | { | |
299 | public: | |
300 | wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1, | |
301 | const wxPoint& pos = wxDefaultPosition, | |
302 | const wxSize& size = wxDefaultSize, | |
303 | long style = 0) | |
304 | : wxTreeCompanionWindow(parent, id, pos, size, style) {} | |
305 | ||
306 | ||
307 | virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) { | |
308 | bool found; | |
309 | wxPyBeginBlockThreads(); | |
310 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) { | |
311 | PyObject* dcobj = wxPyMake_wxObject(&dc); | |
e811c8ce RD |
312 | PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), False); |
313 | PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), False); | |
d14a1e28 RD |
314 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj)); |
315 | Py_DECREF(dcobj); | |
316 | Py_DECREF(idobj); | |
317 | Py_DECREF(recobj); | |
318 | } | |
319 | wxPyEndBlockThreads(); | |
320 | if (! found) | |
321 | wxTreeCompanionWindow::DrawItem(dc, id, rect); | |
322 | } | |
323 | ||
324 | PYPRIVATE; | |
325 | }; | |
326 | ||
327 | // C++ version of Python aware control | |
328 | class wxPyTreeListCtrl : public wxTreeListCtrl { | |
329 | DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl); | |
330 | public: | |
331 | wxPyTreeListCtrl() : wxTreeListCtrl() {} | |
332 | wxPyTreeListCtrl(wxWindow *parent, wxWindowID id, | |
333 | const wxPoint& pos, | |
334 | const wxSize& size, | |
335 | long style, | |
336 | const wxValidator &validator, | |
337 | const wxString& name) : | |
338 | wxTreeListCtrl(parent, id, pos, size, style, validator, name) {} | |
339 | ||
340 | int OnCompareItems(const wxTreeItemId& item1, | |
341 | const wxTreeItemId& item2) { | |
342 | int rval = 0; | |
343 | bool found; | |
344 | wxPyBeginBlockThreads(); | |
345 | if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) { | |
346 | PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0); | |
347 | PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0); | |
348 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2)); | |
349 | Py_DECREF(o1); | |
350 | Py_DECREF(o2); | |
351 | } | |
352 | wxPyEndBlockThreads(); | |
353 | if (! found) | |
354 | rval = wxTreeListCtrl::OnCompareItems(item1, item2); | |
355 | return rval; | |
356 | } | |
357 | PYPRIVATE; | |
358 | }; | |
359 | ||
360 | IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl) | |
361 | ||
362 | ||
363 | wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column){ | |
364 | if (column < 0) column = self->GetMainColumn(); | |
365 | return self->GetItemText(item, column); | |
366 | } | |
367 | int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column,wxTreeItemIcon which){ | |
368 | if (column < 0) column = self->GetMainColumn(); | |
369 | return self->GetItemImage(item, column, which); | |
370 | } | |
371 | void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column){ | |
372 | if (column < 0) column = self->GetMainColumn(); | |
373 | self->SetItemText(item, column, text); | |
374 | } | |
375 | void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column,wxTreeItemIcon which){ | |
376 | if (column < 0) column = self->GetMainColumn(); | |
377 | self->SetItemImage(item, column, image, which); | |
378 | } | |
379 | wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){ | |
380 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); | |
381 | if (data == NULL) { | |
382 | data = new wxPyTreeItemData(); | |
383 | data->SetId(item); // set the id | |
384 | self->SetItemData(item, data); | |
385 | } | |
386 | return data; | |
387 | } | |
388 | void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){ | |
389 | data->SetId(item); // set the id | |
390 | self->SetItemData(item, data); | |
391 | } | |
392 | PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){ | |
393 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); | |
394 | if (data == NULL) { | |
395 | data = new wxPyTreeItemData(); | |
396 | data->SetId(item); // set the id | |
397 | self->SetItemData(item, data); | |
398 | } | |
399 | return data->GetData(); | |
400 | } | |
401 | void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){ | |
402 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); | |
403 | if (data == NULL) { | |
404 | data = new wxPyTreeItemData(obj); | |
405 | data->SetId(item); // set the id | |
406 | self->SetItemData(item, data); | |
407 | } else | |
408 | data->SetData(obj); | |
409 | } | |
410 | PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){ | |
411 | wxPyBeginBlockThreads(); | |
412 | PyObject* rval = PyList_New(0); | |
413 | wxArrayTreeItemIds array; | |
414 | size_t num, x; | |
415 | num = self->GetSelections(array); | |
416 | for (x=0; x < num; x++) { | |
417 | wxTreeItemId *tii = new wxTreeItemId(array.Item(x)); | |
e811c8ce | 418 | PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True); |
d14a1e28 RD |
419 | PyList_Append(rval, item); |
420 | } | |
421 | wxPyEndBlockThreads(); | |
422 | return rval; | |
423 | } | |
424 | PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){ | |
425 | long cookie = 0; | |
426 | wxTreeItemId ritem = self->GetFirstChild(item, cookie); | |
427 | wxPyBeginBlockThreads(); | |
428 | PyObject* tup = PyTuple_New(2); | |
429 | PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), true)); | |
430 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
431 | wxPyEndBlockThreads(); | |
432 | return tup; | |
433 | } | |
434 | PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,long cookie){ | |
435 | wxTreeItemId ritem = self->GetNextChild(item, cookie); | |
436 | wxPyBeginBlockThreads(); | |
437 | PyObject* tup = PyTuple_New(2); | |
438 | PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), true)); | |
439 | PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(cookie)); | |
440 | wxPyEndBlockThreads(); | |
441 | return tup; | |
442 | } | |
443 | ||
444 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
445 | PyObject* o2; | |
446 | PyObject* o3; | |
447 | ||
448 | if (!target) { | |
449 | target = o; | |
450 | } else if (target == Py_None) { | |
451 | Py_DECREF(Py_None); | |
452 | target = o; | |
453 | } else { | |
454 | if (!PyTuple_Check(target)) { | |
455 | o2 = target; | |
456 | target = PyTuple_New(1); | |
457 | PyTuple_SetItem(target, 0, o2); | |
458 | } | |
459 | o3 = PyTuple_New(1); | |
460 | PyTuple_SetItem(o3, 0, o); | |
461 | ||
462 | o2 = target; | |
463 | target = PySequence_Concat(o2, o3); | |
464 | Py_DECREF(o2); | |
465 | Py_DECREF(o3); | |
466 | } | |
467 | return target; | |
468 | } | |
469 | ||
470 | PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly){ | |
471 | wxRect rect; | |
472 | if (self->GetBoundingRect(item, rect, textOnly)) { | |
473 | wxPyBeginBlockThreads(); | |
474 | wxRect* r = new wxRect(rect); | |
475 | PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1); | |
476 | wxPyEndBlockThreads(); | |
477 | return val; | |
478 | } | |
479 | else { | |
480 | RETURN_NONE(); | |
481 | } | |
482 | } | |
483 | #ifdef __cplusplus | |
484 | extern "C" { | |
485 | #endif | |
486 | static PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
487 | PyObject *resultobj; | |
488 | wxObject *arg1 = (wxObject *) 0 ; | |
489 | wxDynamicSashSplitEvent *result; | |
490 | PyObject * obj0 = 0 ; | |
491 | char *kwnames[] = { | |
492 | (char *) "target", NULL | |
493 | }; | |
494 | ||
495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) goto fail; | |
496 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
497 | { | |
498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
499 | result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1); | |
500 | ||
501 | wxPyEndAllowThreads(__tstate); | |
502 | if (PyErr_Occurred()) SWIG_fail; | |
503 | } | |
504 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDynamicSashSplitEvent, 1); | |
505 | return resultobj; | |
506 | fail: | |
507 | return NULL; | |
508 | } | |
509 | ||
510 | ||
511 | static PyObject * DynamicSashSplitEvent_swigregister(PyObject *self, PyObject *args) { | |
512 | PyObject *obj; | |
513 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
514 | SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, obj); | |
515 | Py_INCREF(obj); | |
516 | return Py_BuildValue((char *)""); | |
517 | } | |
518 | static PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
519 | PyObject *resultobj; | |
520 | wxObject *arg1 = (wxObject *) 0 ; | |
521 | wxDynamicSashUnifyEvent *result; | |
522 | PyObject * obj0 = 0 ; | |
523 | char *kwnames[] = { | |
524 | (char *) "target", NULL | |
525 | }; | |
526 | ||
527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) goto fail; | |
528 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxObject,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
529 | { | |
530 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
531 | result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1); | |
532 | ||
533 | wxPyEndAllowThreads(__tstate); | |
534 | if (PyErr_Occurred()) SWIG_fail; | |
535 | } | |
536 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDynamicSashUnifyEvent, 1); | |
537 | return resultobj; | |
538 | fail: | |
539 | return NULL; | |
540 | } | |
541 | ||
542 | ||
543 | static PyObject * DynamicSashUnifyEvent_swigregister(PyObject *self, PyObject *args) { | |
544 | PyObject *obj; | |
545 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
546 | SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, obj); | |
547 | Py_INCREF(obj); | |
548 | return Py_BuildValue((char *)""); | |
549 | } | |
550 | static PyObject *_wrap_new_DynamicSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
551 | PyObject *resultobj; | |
552 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 553 | int arg2 ; |
d14a1e28 RD |
554 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
555 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
556 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
557 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
558 | long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ; | |
559 | wxString const &arg6_defvalue = wxPyDynamicSashNameStr ; | |
560 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
561 | wxDynamicSashWindow *result; | |
562 | wxPoint temp3 ; | |
563 | wxSize temp4 ; | |
e811c8ce | 564 | bool temp6 = False ; |
d14a1e28 RD |
565 | PyObject * obj0 = 0 ; |
566 | PyObject * obj2 = 0 ; | |
567 | PyObject * obj3 = 0 ; | |
568 | PyObject * obj5 = 0 ; | |
569 | char *kwnames[] = { | |
570 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
571 | }; | |
572 | ||
573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_DynamicSashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail; | |
574 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
575 | if (obj2) { | |
576 | { | |
577 | arg3 = &temp3; | |
578 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
579 | } | |
580 | } | |
581 | if (obj3) { | |
582 | { | |
583 | arg4 = &temp4; | |
584 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
585 | } | |
586 | } | |
587 | if (obj5) { | |
588 | { | |
589 | arg6 = wxString_in_helper(obj5); | |
590 | if (arg6 == NULL) SWIG_fail; | |
e811c8ce | 591 | temp6 = True; |
d14a1e28 RD |
592 | } |
593 | } | |
594 | { | |
595 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
596 | result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
597 | ||
598 | wxPyEndAllowThreads(__tstate); | |
599 | if (PyErr_Occurred()) SWIG_fail; | |
600 | } | |
601 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDynamicSashWindow, 1); | |
602 | { | |
603 | if (temp6) | |
604 | delete arg6; | |
605 | } | |
606 | return resultobj; | |
607 | fail: | |
608 | { | |
609 | if (temp6) | |
610 | delete arg6; | |
611 | } | |
612 | return NULL; | |
613 | } | |
614 | ||
615 | ||
616 | static PyObject *_wrap_new_PreDynamicSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
617 | PyObject *resultobj; | |
618 | wxDynamicSashWindow *result; | |
619 | char *kwnames[] = { | |
620 | NULL | |
621 | }; | |
622 | ||
623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDynamicSashWindow",kwnames)) goto fail; | |
624 | { | |
625 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
626 | result = (wxDynamicSashWindow *)new wxDynamicSashWindow(); | |
627 | ||
628 | wxPyEndAllowThreads(__tstate); | |
629 | if (PyErr_Occurred()) SWIG_fail; | |
630 | } | |
631 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDynamicSashWindow, 1); | |
632 | return resultobj; | |
633 | fail: | |
634 | return NULL; | |
635 | } | |
636 | ||
637 | ||
638 | static PyObject *_wrap_DynamicSashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
639 | PyObject *resultobj; | |
640 | wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; | |
641 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 642 | int arg3 ; |
d14a1e28 RD |
643 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
644 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
645 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
646 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
647 | long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ; | |
648 | wxString const &arg7_defvalue = wxPyDynamicSashNameStr ; | |
649 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
650 | bool result; | |
651 | wxPoint temp4 ; | |
652 | wxSize temp5 ; | |
e811c8ce | 653 | bool temp7 = False ; |
d14a1e28 RD |
654 | PyObject * obj0 = 0 ; |
655 | PyObject * obj1 = 0 ; | |
656 | PyObject * obj3 = 0 ; | |
657 | PyObject * obj4 = 0 ; | |
658 | PyObject * obj6 = 0 ; | |
659 | char *kwnames[] = { | |
660 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
661 | }; | |
662 | ||
663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
664 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDynamicSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
665 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
666 | if (obj3) { | |
667 | { | |
668 | arg4 = &temp4; | |
669 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
670 | } | |
671 | } | |
672 | if (obj4) { | |
673 | { | |
674 | arg5 = &temp5; | |
675 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
676 | } | |
677 | } | |
678 | if (obj6) { | |
679 | { | |
680 | arg7 = wxString_in_helper(obj6); | |
681 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 682 | temp7 = True; |
d14a1e28 RD |
683 | } |
684 | } | |
685 | { | |
686 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
687 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
688 | ||
689 | wxPyEndAllowThreads(__tstate); | |
690 | if (PyErr_Occurred()) SWIG_fail; | |
691 | } | |
692 | resultobj = PyInt_FromLong((long)result); | |
693 | { | |
694 | if (temp7) | |
695 | delete arg7; | |
696 | } | |
697 | return resultobj; | |
698 | fail: | |
699 | { | |
700 | if (temp7) | |
701 | delete arg7; | |
702 | } | |
703 | return NULL; | |
704 | } | |
705 | ||
706 | ||
707 | static PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
708 | PyObject *resultobj; | |
709 | wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; | |
710 | wxWindow *arg2 = (wxWindow *) 0 ; | |
711 | wxScrollBar *result; | |
712 | PyObject * obj0 = 0 ; | |
713 | PyObject * obj1 = 0 ; | |
714 | char *kwnames[] = { | |
715 | (char *) "self",(char *) "child", NULL | |
716 | }; | |
717 | ||
718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
719 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDynamicSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
720 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
721 | { | |
722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
723 | result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2); | |
724 | ||
725 | wxPyEndAllowThreads(__tstate); | |
726 | if (PyErr_Occurred()) SWIG_fail; | |
727 | } | |
728 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 0); | |
729 | return resultobj; | |
730 | fail: | |
731 | return NULL; | |
732 | } | |
733 | ||
734 | ||
735 | static PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
736 | PyObject *resultobj; | |
737 | wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; | |
738 | wxWindow *arg2 = (wxWindow *) 0 ; | |
739 | wxScrollBar *result; | |
740 | PyObject * obj0 = 0 ; | |
741 | PyObject * obj1 = 0 ; | |
742 | char *kwnames[] = { | |
743 | (char *) "self",(char *) "child", NULL | |
744 | }; | |
745 | ||
746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
747 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDynamicSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
748 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
749 | { | |
750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
751 | result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2); | |
752 | ||
753 | wxPyEndAllowThreads(__tstate); | |
754 | if (PyErr_Occurred()) SWIG_fail; | |
755 | } | |
756 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 0); | |
757 | return resultobj; | |
758 | fail: | |
759 | return NULL; | |
760 | } | |
761 | ||
762 | ||
763 | static PyObject * DynamicSashWindow_swigregister(PyObject *self, PyObject *args) { | |
764 | PyObject *obj; | |
765 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
766 | SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashWindow, obj); | |
767 | Py_INCREF(obj); | |
768 | return Py_BuildValue((char *)""); | |
769 | } | |
770 | static PyObject *_wrap_new_EditableListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
771 | PyObject *resultobj; | |
772 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 773 | int arg2 ; |
d14a1e28 RD |
774 | wxString *arg3 = 0 ; |
775 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
776 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
777 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
778 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
779 | long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ; | |
780 | wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ; | |
781 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
782 | wxEditableListBox *result; | |
e811c8ce | 783 | bool temp3 = False ; |
d14a1e28 RD |
784 | wxPoint temp4 ; |
785 | wxSize temp5 ; | |
e811c8ce | 786 | bool temp7 = False ; |
d14a1e28 RD |
787 | PyObject * obj0 = 0 ; |
788 | PyObject * obj2 = 0 ; | |
789 | PyObject * obj3 = 0 ; | |
790 | PyObject * obj4 = 0 ; | |
791 | PyObject * obj6 = 0 ; | |
792 | char *kwnames[] = { | |
793 | (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
794 | }; | |
795 | ||
796 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_EditableListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail; | |
797 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
798 | { | |
799 | arg3 = wxString_in_helper(obj2); | |
800 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 801 | temp3 = True; |
d14a1e28 RD |
802 | } |
803 | if (obj3) { | |
804 | { | |
805 | arg4 = &temp4; | |
806 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
807 | } | |
808 | } | |
809 | if (obj4) { | |
810 | { | |
811 | arg5 = &temp5; | |
812 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
813 | } | |
814 | } | |
815 | if (obj6) { | |
816 | { | |
817 | arg7 = wxString_in_helper(obj6); | |
818 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 819 | temp7 = True; |
d14a1e28 RD |
820 | } |
821 | } | |
822 | { | |
823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
824 | result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
825 | ||
826 | wxPyEndAllowThreads(__tstate); | |
827 | if (PyErr_Occurred()) SWIG_fail; | |
828 | } | |
829 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxEditableListBox, 1); | |
830 | { | |
831 | if (temp3) | |
832 | delete arg3; | |
833 | } | |
834 | { | |
835 | if (temp7) | |
836 | delete arg7; | |
837 | } | |
838 | return resultobj; | |
839 | fail: | |
840 | { | |
841 | if (temp3) | |
842 | delete arg3; | |
843 | } | |
844 | { | |
845 | if (temp7) | |
846 | delete arg7; | |
847 | } | |
848 | return NULL; | |
849 | } | |
850 | ||
851 | ||
852 | static PyObject *_wrap_EditableListBox_SetStrings(PyObject *self, PyObject *args, PyObject *kwargs) { | |
853 | PyObject *resultobj; | |
854 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
855 | wxArrayString *arg2 = 0 ; | |
856 | PyObject * obj0 = 0 ; | |
857 | PyObject * obj1 = 0 ; | |
858 | char *kwnames[] = { | |
859 | (char *) "self",(char *) "strings", NULL | |
860 | }; | |
861 | ||
862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) goto fail; | |
863 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
864 | { | |
865 | if (! PySequence_Check(obj1)) { | |
866 | PyErr_SetString(PyExc_TypeError, "Sequence of strings expected."); | |
867 | SWIG_fail; | |
868 | } | |
869 | arg2 = new wxArrayString; | |
870 | int i, len=PySequence_Length(obj1); | |
871 | for (i=0; i<len; i++) { | |
872 | PyObject* item = PySequence_GetItem(obj1, i); | |
873 | #if wxUSE_UNICODE | |
874 | PyObject* str = PyObject_Unicode(item); | |
875 | #else | |
876 | PyObject* str = PyObject_Str(item); | |
877 | #endif | |
878 | arg2->Add(Py2wxString(str)); | |
879 | Py_DECREF(item); | |
880 | Py_DECREF(str); | |
881 | } | |
882 | } | |
883 | { | |
884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
885 | (arg1)->SetStrings((wxArrayString const &)*arg2); | |
886 | ||
887 | wxPyEndAllowThreads(__tstate); | |
888 | if (PyErr_Occurred()) SWIG_fail; | |
889 | } | |
890 | Py_INCREF(Py_None); resultobj = Py_None; | |
891 | { | |
892 | if (arg2) delete arg2; | |
893 | } | |
894 | return resultobj; | |
895 | fail: | |
896 | { | |
897 | if (arg2) delete arg2; | |
898 | } | |
899 | return NULL; | |
900 | } | |
901 | ||
902 | ||
903 | static PyObject *_wrap_EditableListBox_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) { | |
904 | PyObject *resultobj; | |
905 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
906 | PyObject *result; | |
907 | PyObject * obj0 = 0 ; | |
908 | char *kwnames[] = { | |
909 | (char *) "self", NULL | |
910 | }; | |
911 | ||
912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetStrings",kwnames,&obj0)) goto fail; | |
913 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
914 | { | |
915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
916 | result = (PyObject *)wxEditableListBox_GetStrings(arg1); | |
917 | ||
918 | wxPyEndAllowThreads(__tstate); | |
919 | if (PyErr_Occurred()) SWIG_fail; | |
920 | } | |
921 | resultobj = result; | |
922 | return resultobj; | |
923 | fail: | |
924 | return NULL; | |
925 | } | |
926 | ||
927 | ||
928 | static PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
929 | PyObject *resultobj; | |
930 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
931 | wxListCtrl *result; | |
932 | PyObject * obj0 = 0 ; | |
933 | char *kwnames[] = { | |
934 | (char *) "self", NULL | |
935 | }; | |
936 | ||
937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetListCtrl",kwnames,&obj0)) goto fail; | |
938 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
939 | { | |
940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
941 | result = (wxListCtrl *)(arg1)->GetListCtrl(); | |
942 | ||
943 | wxPyEndAllowThreads(__tstate); | |
944 | if (PyErr_Occurred()) SWIG_fail; | |
945 | } | |
946 | { | |
947 | resultobj = wxPyMake_wxObject(result); | |
948 | } | |
949 | return resultobj; | |
950 | fail: | |
951 | return NULL; | |
952 | } | |
953 | ||
954 | ||
955 | static PyObject *_wrap_EditableListBox_GetDelButton(PyObject *self, PyObject *args, PyObject *kwargs) { | |
956 | PyObject *resultobj; | |
957 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
958 | wxBitmapButton *result; | |
959 | PyObject * obj0 = 0 ; | |
960 | char *kwnames[] = { | |
961 | (char *) "self", NULL | |
962 | }; | |
963 | ||
964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDelButton",kwnames,&obj0)) goto fail; | |
965 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
966 | { | |
967 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
968 | result = (wxBitmapButton *)(arg1)->GetDelButton(); | |
969 | ||
970 | wxPyEndAllowThreads(__tstate); | |
971 | if (PyErr_Occurred()) SWIG_fail; | |
972 | } | |
973 | { | |
974 | resultobj = wxPyMake_wxObject(result); | |
975 | } | |
976 | return resultobj; | |
977 | fail: | |
978 | return NULL; | |
979 | } | |
980 | ||
981 | ||
982 | static PyObject *_wrap_EditableListBox_GetNewButton(PyObject *self, PyObject *args, PyObject *kwargs) { | |
983 | PyObject *resultobj; | |
984 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
985 | wxBitmapButton *result; | |
986 | PyObject * obj0 = 0 ; | |
987 | char *kwnames[] = { | |
988 | (char *) "self", NULL | |
989 | }; | |
990 | ||
991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetNewButton",kwnames,&obj0)) goto fail; | |
992 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
993 | { | |
994 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
995 | result = (wxBitmapButton *)(arg1)->GetNewButton(); | |
996 | ||
997 | wxPyEndAllowThreads(__tstate); | |
998 | if (PyErr_Occurred()) SWIG_fail; | |
999 | } | |
1000 | { | |
1001 | resultobj = wxPyMake_wxObject(result); | |
1002 | } | |
1003 | return resultobj; | |
1004 | fail: | |
1005 | return NULL; | |
1006 | } | |
1007 | ||
1008 | ||
1009 | static PyObject *_wrap_EditableListBox_GetUpButton(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1010 | PyObject *resultobj; | |
1011 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
1012 | wxBitmapButton *result; | |
1013 | PyObject * obj0 = 0 ; | |
1014 | char *kwnames[] = { | |
1015 | (char *) "self", NULL | |
1016 | }; | |
1017 | ||
1018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetUpButton",kwnames,&obj0)) goto fail; | |
1019 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1020 | { | |
1021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1022 | result = (wxBitmapButton *)(arg1)->GetUpButton(); | |
1023 | ||
1024 | wxPyEndAllowThreads(__tstate); | |
1025 | if (PyErr_Occurred()) SWIG_fail; | |
1026 | } | |
1027 | { | |
1028 | resultobj = wxPyMake_wxObject(result); | |
1029 | } | |
1030 | return resultobj; | |
1031 | fail: | |
1032 | return NULL; | |
1033 | } | |
1034 | ||
1035 | ||
1036 | static PyObject *_wrap_EditableListBox_GetDownButton(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1037 | PyObject *resultobj; | |
1038 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
1039 | wxBitmapButton *result; | |
1040 | PyObject * obj0 = 0 ; | |
1041 | char *kwnames[] = { | |
1042 | (char *) "self", NULL | |
1043 | }; | |
1044 | ||
1045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDownButton",kwnames,&obj0)) goto fail; | |
1046 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1047 | { | |
1048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1049 | result = (wxBitmapButton *)(arg1)->GetDownButton(); | |
1050 | ||
1051 | wxPyEndAllowThreads(__tstate); | |
1052 | if (PyErr_Occurred()) SWIG_fail; | |
1053 | } | |
1054 | { | |
1055 | resultobj = wxPyMake_wxObject(result); | |
1056 | } | |
1057 | return resultobj; | |
1058 | fail: | |
1059 | return NULL; | |
1060 | } | |
1061 | ||
1062 | ||
1063 | static PyObject *_wrap_EditableListBox_GetEditButton(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1064 | PyObject *resultobj; | |
1065 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
1066 | wxBitmapButton *result; | |
1067 | PyObject * obj0 = 0 ; | |
1068 | char *kwnames[] = { | |
1069 | (char *) "self", NULL | |
1070 | }; | |
1071 | ||
1072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetEditButton",kwnames,&obj0)) goto fail; | |
1073 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxEditableListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1074 | { | |
1075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1076 | result = (wxBitmapButton *)(arg1)->GetEditButton(); | |
1077 | ||
1078 | wxPyEndAllowThreads(__tstate); | |
1079 | if (PyErr_Occurred()) SWIG_fail; | |
1080 | } | |
1081 | { | |
1082 | resultobj = wxPyMake_wxObject(result); | |
1083 | } | |
1084 | return resultobj; | |
1085 | fail: | |
1086 | return NULL; | |
1087 | } | |
1088 | ||
1089 | ||
1090 | static PyObject * EditableListBox_swigregister(PyObject *self, PyObject *args) { | |
1091 | PyObject *obj; | |
1092 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1093 | SWIG_TypeClientData(SWIGTYPE_p_wxEditableListBox, obj); | |
1094 | Py_INCREF(obj); | |
1095 | return Py_BuildValue((char *)""); | |
1096 | } | |
1097 | static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1098 | PyObject *resultobj; | |
1099 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1100 | int arg2 ; |
d14a1e28 RD |
1101 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1102 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1103 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1104 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1105 | long arg5 = (long) wxTR_HAS_BUTTONS ; | |
1106 | wxRemotelyScrolledTreeCtrl *result; | |
1107 | wxPoint temp3 ; | |
1108 | wxSize temp4 ; | |
1109 | PyObject * obj0 = 0 ; | |
1110 | PyObject * obj2 = 0 ; | |
1111 | PyObject * obj3 = 0 ; | |
1112 | char *kwnames[] = { | |
1113 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
1114 | }; | |
1115 | ||
1116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOl:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail; | |
1117 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1118 | if (obj2) { | |
1119 | { | |
1120 | arg3 = &temp3; | |
1121 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1122 | } | |
1123 | } | |
1124 | if (obj3) { | |
1125 | { | |
1126 | arg4 = &temp4; | |
1127 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1128 | } | |
1129 | } | |
1130 | { | |
1131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1132 | result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
1133 | ||
1134 | wxPyEndAllowThreads(__tstate); | |
1135 | if (PyErr_Occurred()) SWIG_fail; | |
1136 | } | |
1137 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 1); | |
1138 | return resultobj; | |
1139 | fail: | |
1140 | return NULL; | |
1141 | } | |
1142 | ||
1143 | ||
1144 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1145 | PyObject *resultobj; | |
1146 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
1147 | PyObject * obj0 = 0 ; | |
1148 | char *kwnames[] = { | |
1149 | (char *) "self", NULL | |
1150 | }; | |
1151 | ||
1152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_HideVScrollbar",kwnames,&obj0)) goto fail; | |
1153 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1154 | { | |
1155 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1156 | (arg1)->HideVScrollbar(); | |
1157 | ||
1158 | wxPyEndAllowThreads(__tstate); | |
1159 | if (PyErr_Occurred()) SWIG_fail; | |
1160 | } | |
1161 | Py_INCREF(Py_None); resultobj = Py_None; | |
1162 | return resultobj; | |
1163 | fail: | |
1164 | return NULL; | |
1165 | } | |
1166 | ||
1167 | ||
1168 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1169 | PyObject *resultobj; | |
1170 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
1171 | PyObject * obj0 = 0 ; | |
1172 | char *kwnames[] = { | |
1173 | (char *) "self", NULL | |
1174 | }; | |
1175 | ||
1176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",kwnames,&obj0)) goto fail; | |
1177 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1178 | { | |
1179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1180 | (arg1)->AdjustRemoteScrollbars(); | |
1181 | ||
1182 | wxPyEndAllowThreads(__tstate); | |
1183 | if (PyErr_Occurred()) SWIG_fail; | |
1184 | } | |
1185 | Py_INCREF(Py_None); resultobj = Py_None; | |
1186 | return resultobj; | |
1187 | fail: | |
1188 | return NULL; | |
1189 | } | |
1190 | ||
1191 | ||
1192 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1193 | PyObject *resultobj; | |
1194 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
1195 | wxScrolledWindow *result; | |
1196 | PyObject * obj0 = 0 ; | |
1197 | char *kwnames[] = { | |
1198 | (char *) "self", NULL | |
1199 | }; | |
1200 | ||
1201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetScrolledWindow",kwnames,&obj0)) goto fail; | |
1202 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1203 | { | |
1204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1205 | result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow(); | |
1206 | ||
1207 | wxPyEndAllowThreads(__tstate); | |
1208 | if (PyErr_Occurred()) SWIG_fail; | |
1209 | } | |
1210 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 0); | |
1211 | return resultobj; | |
1212 | fail: | |
1213 | return NULL; | |
1214 | } | |
1215 | ||
1216 | ||
1217 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1218 | PyObject *resultobj; | |
1219 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
1220 | int arg2 ; | |
1221 | int arg3 ; | |
1222 | PyObject * obj0 = 0 ; | |
1223 | char *kwnames[] = { | |
1224 | (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL | |
1225 | }; | |
1226 | ||
1227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&arg2,&arg3)) goto fail; | |
1228 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1229 | { | |
1230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1231 | (arg1)->ScrollToLine(arg2,arg3); | |
1232 | ||
1233 | wxPyEndAllowThreads(__tstate); | |
1234 | if (PyErr_Occurred()) SWIG_fail; | |
1235 | } | |
1236 | Py_INCREF(Py_None); resultobj = Py_None; | |
1237 | return resultobj; | |
1238 | fail: | |
1239 | return NULL; | |
1240 | } | |
1241 | ||
1242 | ||
1243 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1244 | PyObject *resultobj; | |
1245 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
1246 | wxWindow *arg2 = (wxWindow *) 0 ; | |
1247 | PyObject * obj0 = 0 ; | |
1248 | PyObject * obj1 = 0 ; | |
1249 | char *kwnames[] = { | |
1250 | (char *) "self",(char *) "companion", NULL | |
1251 | }; | |
1252 | ||
1253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) goto fail; | |
1254 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1255 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1256 | { | |
1257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1258 | (arg1)->SetCompanionWindow(arg2); | |
1259 | ||
1260 | wxPyEndAllowThreads(__tstate); | |
1261 | if (PyErr_Occurred()) SWIG_fail; | |
1262 | } | |
1263 | Py_INCREF(Py_None); resultobj = Py_None; | |
1264 | return resultobj; | |
1265 | fail: | |
1266 | return NULL; | |
1267 | } | |
1268 | ||
1269 | ||
1270 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1271 | PyObject *resultobj; | |
1272 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
1273 | wxWindow *result; | |
1274 | PyObject * obj0 = 0 ; | |
1275 | char *kwnames[] = { | |
1276 | (char *) "self", NULL | |
1277 | }; | |
1278 | ||
1279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetCompanionWindow",kwnames,&obj0)) goto fail; | |
1280 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1281 | { | |
1282 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1283 | result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow(); | |
1284 | ||
1285 | wxPyEndAllowThreads(__tstate); | |
1286 | if (PyErr_Occurred()) SWIG_fail; | |
1287 | } | |
1288 | { | |
1289 | resultobj = wxPyMake_wxObject(result); | |
1290 | } | |
1291 | return resultobj; | |
1292 | fail: | |
1293 | return NULL; | |
1294 | } | |
1295 | ||
1296 | ||
1297 | static PyObject * RemotelyScrolledTreeCtrl_swigregister(PyObject *self, PyObject *args) { | |
1298 | PyObject *obj; | |
1299 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1300 | SWIG_TypeClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, obj); | |
1301 | Py_INCREF(obj); | |
1302 | return Py_BuildValue((char *)""); | |
1303 | } | |
1304 | static PyObject *_wrap_new_TreeCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1305 | PyObject *resultobj; | |
1306 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1307 | int arg2 = (int) -1 ; |
d14a1e28 RD |
1308 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1309 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1310 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1311 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1312 | long arg5 = (long) 0 ; | |
1313 | wxPyTreeCompanionWindow *result; | |
1314 | wxPoint temp3 ; | |
1315 | wxSize temp4 ; | |
1316 | PyObject * obj0 = 0 ; | |
1317 | PyObject * obj2 = 0 ; | |
1318 | PyObject * obj3 = 0 ; | |
1319 | char *kwnames[] = { | |
1320 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
1321 | }; | |
1322 | ||
1323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_TreeCompanionWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail; | |
1324 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1325 | if (obj2) { | |
1326 | { | |
1327 | arg3 = &temp3; | |
1328 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1329 | } | |
1330 | } | |
1331 | if (obj3) { | |
1332 | { | |
1333 | arg4 = &temp4; | |
1334 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1335 | } | |
1336 | } | |
1337 | { | |
1338 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1339 | result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
1340 | ||
1341 | wxPyEndAllowThreads(__tstate); | |
1342 | if (PyErr_Occurred()) SWIG_fail; | |
1343 | } | |
1344 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCompanionWindow, 1); | |
1345 | return resultobj; | |
1346 | fail: | |
1347 | return NULL; | |
1348 | } | |
1349 | ||
1350 | ||
1351 | static PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1352 | PyObject *resultobj; | |
1353 | wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; | |
1354 | PyObject *arg2 = (PyObject *) 0 ; | |
1355 | PyObject *arg3 = (PyObject *) 0 ; | |
1356 | PyObject * obj0 = 0 ; | |
1357 | PyObject * obj1 = 0 ; | |
1358 | PyObject * obj2 = 0 ; | |
1359 | char *kwnames[] = { | |
1360 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
1361 | }; | |
1362 | ||
1363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1364 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCompanionWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1365 | arg2 = obj1; | |
1366 | arg3 = obj2; | |
1367 | { | |
1368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1369 | (arg1)->_setCallbackInfo(arg2,arg3); | |
1370 | ||
1371 | wxPyEndAllowThreads(__tstate); | |
1372 | if (PyErr_Occurred()) SWIG_fail; | |
1373 | } | |
1374 | Py_INCREF(Py_None); resultobj = Py_None; | |
1375 | return resultobj; | |
1376 | fail: | |
1377 | return NULL; | |
1378 | } | |
1379 | ||
1380 | ||
1381 | static PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1382 | PyObject *resultobj; | |
1383 | wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; | |
1384 | wxRemotelyScrolledTreeCtrl *result; | |
1385 | PyObject * obj0 = 0 ; | |
1386 | char *kwnames[] = { | |
1387 | (char *) "self", NULL | |
1388 | }; | |
1389 | ||
1390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCompanionWindow_GetTreeCtrl",kwnames,&obj0)) goto fail; | |
1391 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCompanionWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1392 | { | |
1393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1394 | result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl(); | |
1395 | ||
1396 | wxPyEndAllowThreads(__tstate); | |
1397 | if (PyErr_Occurred()) SWIG_fail; | |
1398 | } | |
1399 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0); | |
1400 | return resultobj; | |
1401 | fail: | |
1402 | return NULL; | |
1403 | } | |
1404 | ||
1405 | ||
1406 | static PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1407 | PyObject *resultobj; | |
1408 | wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; | |
1409 | wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
1410 | PyObject * obj0 = 0 ; | |
1411 | PyObject * obj1 = 0 ; | |
1412 | char *kwnames[] = { | |
1413 | (char *) "self",(char *) "treeCtrl", NULL | |
1414 | }; | |
1415 | ||
1416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) goto fail; | |
1417 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCompanionWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1418 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1419 | { | |
1420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1421 | (arg1)->SetTreeCtrl(arg2); | |
1422 | ||
1423 | wxPyEndAllowThreads(__tstate); | |
1424 | if (PyErr_Occurred()) SWIG_fail; | |
1425 | } | |
1426 | Py_INCREF(Py_None); resultobj = Py_None; | |
1427 | return resultobj; | |
1428 | fail: | |
1429 | return NULL; | |
1430 | } | |
1431 | ||
1432 | ||
1433 | static PyObject * TreeCompanionWindow_swigregister(PyObject *self, PyObject *args) { | |
1434 | PyObject *obj; | |
1435 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1436 | SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, obj); | |
1437 | Py_INCREF(obj); | |
1438 | return Py_BuildValue((char *)""); | |
1439 | } | |
1440 | static PyObject *_wrap_new_ThinSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1441 | PyObject *resultobj; | |
1442 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1443 | int arg2 = (int) -1 ; |
d14a1e28 RD |
1444 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1445 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1446 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1447 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1448 | long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ; | |
1449 | wxThinSplitterWindow *result; | |
1450 | wxPoint temp3 ; | |
1451 | wxSize temp4 ; | |
1452 | PyObject * obj0 = 0 ; | |
1453 | PyObject * obj2 = 0 ; | |
1454 | PyObject * obj3 = 0 ; | |
1455 | char *kwnames[] = { | |
1456 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
1457 | }; | |
1458 | ||
1459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ThinSplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail; | |
1460 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1461 | if (obj2) { | |
1462 | { | |
1463 | arg3 = &temp3; | |
1464 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1465 | } | |
1466 | } | |
1467 | if (obj3) { | |
1468 | { | |
1469 | arg4 = &temp4; | |
1470 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1471 | } | |
1472 | } | |
1473 | { | |
1474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1475 | result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
1476 | ||
1477 | wxPyEndAllowThreads(__tstate); | |
1478 | if (PyErr_Occurred()) SWIG_fail; | |
1479 | } | |
1480 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxThinSplitterWindow, 1); | |
1481 | return resultobj; | |
1482 | fail: | |
1483 | return NULL; | |
1484 | } | |
1485 | ||
1486 | ||
1487 | static PyObject * ThinSplitterWindow_swigregister(PyObject *self, PyObject *args) { | |
1488 | PyObject *obj; | |
1489 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1490 | SWIG_TypeClientData(SWIGTYPE_p_wxThinSplitterWindow, obj); | |
1491 | Py_INCREF(obj); | |
1492 | return Py_BuildValue((char *)""); | |
1493 | } | |
1494 | static PyObject *_wrap_new_SplitterScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1495 | PyObject *resultobj; | |
1496 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1497 | int arg2 = (int) -1 ; |
d14a1e28 RD |
1498 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1499 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1500 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1501 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1502 | long arg5 = (long) 0 ; | |
1503 | wxSplitterScrolledWindow *result; | |
1504 | wxPoint temp3 ; | |
1505 | wxSize temp4 ; | |
1506 | PyObject * obj0 = 0 ; | |
1507 | PyObject * obj2 = 0 ; | |
1508 | PyObject * obj3 = 0 ; | |
1509 | char *kwnames[] = { | |
1510 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
1511 | }; | |
1512 | ||
1513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_SplitterScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail; | |
1514 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1515 | if (obj2) { | |
1516 | { | |
1517 | arg3 = &temp3; | |
1518 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1519 | } | |
1520 | } | |
1521 | if (obj3) { | |
1522 | { | |
1523 | arg4 = &temp4; | |
1524 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1525 | } | |
1526 | } | |
1527 | { | |
1528 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1529 | result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
1530 | ||
1531 | wxPyEndAllowThreads(__tstate); | |
1532 | if (PyErr_Occurred()) SWIG_fail; | |
1533 | } | |
1534 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterScrolledWindow, 1); | |
1535 | return resultobj; | |
1536 | fail: | |
1537 | return NULL; | |
1538 | } | |
1539 | ||
1540 | ||
1541 | static PyObject * SplitterScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
1542 | PyObject *obj; | |
1543 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1544 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterScrolledWindow, obj); | |
1545 | Py_INCREF(obj); | |
1546 | return Py_BuildValue((char *)""); | |
1547 | } | |
1548 | static PyObject *_wrap_new_LEDNumberCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1549 | PyObject *resultobj; | |
1550 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 1551 | int arg2 = (int) -1 ; |
d14a1e28 RD |
1552 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
1553 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1554 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1555 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1556 | long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ; | |
1557 | wxLEDNumberCtrl *result; | |
1558 | wxPoint temp3 ; | |
1559 | wxSize temp4 ; | |
1560 | PyObject * obj0 = 0 ; | |
1561 | PyObject * obj2 = 0 ; | |
1562 | PyObject * obj3 = 0 ; | |
1563 | char *kwnames[] = { | |
1564 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
1565 | }; | |
1566 | ||
1567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_LEDNumberCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail; | |
1568 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1569 | if (obj2) { | |
1570 | { | |
1571 | arg3 = &temp3; | |
1572 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1573 | } | |
1574 | } | |
1575 | if (obj3) { | |
1576 | { | |
1577 | arg4 = &temp4; | |
1578 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1579 | } | |
1580 | } | |
1581 | { | |
1582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1583 | result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
1584 | ||
1585 | wxPyEndAllowThreads(__tstate); | |
1586 | if (PyErr_Occurred()) SWIG_fail; | |
1587 | } | |
1588 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLEDNumberCtrl, 1); | |
1589 | return resultobj; | |
1590 | fail: | |
1591 | return NULL; | |
1592 | } | |
1593 | ||
1594 | ||
1595 | static PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1596 | PyObject *resultobj; | |
1597 | wxLEDNumberCtrl *result; | |
1598 | char *kwnames[] = { | |
1599 | NULL | |
1600 | }; | |
1601 | ||
1602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreLEDNumberCtrl",kwnames)) goto fail; | |
1603 | { | |
1604 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1605 | result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(); | |
1606 | ||
1607 | wxPyEndAllowThreads(__tstate); | |
1608 | if (PyErr_Occurred()) SWIG_fail; | |
1609 | } | |
1610 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLEDNumberCtrl, 1); | |
1611 | return resultobj; | |
1612 | fail: | |
1613 | return NULL; | |
1614 | } | |
1615 | ||
1616 | ||
1617 | static PyObject *_wrap_LEDNumberCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1618 | PyObject *resultobj; | |
1619 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
1620 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 1621 | int arg3 = (int) -1 ; |
d14a1e28 RD |
1622 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1623 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1624 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1625 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1626 | long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ; | |
1627 | bool result; | |
1628 | wxPoint temp4 ; | |
1629 | wxSize temp5 ; | |
1630 | PyObject * obj0 = 0 ; | |
1631 | PyObject * obj1 = 0 ; | |
1632 | PyObject * obj3 = 0 ; | |
1633 | PyObject * obj4 = 0 ; | |
1634 | char *kwnames[] = { | |
1635 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
1636 | }; | |
1637 | ||
1638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail; | |
1639 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1640 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1641 | if (obj3) { | |
1642 | { | |
1643 | arg4 = &temp4; | |
1644 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1645 | } | |
1646 | } | |
1647 | if (obj4) { | |
1648 | { | |
1649 | arg5 = &temp5; | |
1650 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1651 | } | |
1652 | } | |
1653 | { | |
1654 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1655 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
1656 | ||
1657 | wxPyEndAllowThreads(__tstate); | |
1658 | if (PyErr_Occurred()) SWIG_fail; | |
1659 | } | |
1660 | resultobj = PyInt_FromLong((long)result); | |
1661 | return resultobj; | |
1662 | fail: | |
1663 | return NULL; | |
1664 | } | |
1665 | ||
1666 | ||
1667 | static PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1668 | PyObject *resultobj; | |
1669 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
1670 | int result; | |
1671 | PyObject * obj0 = 0 ; | |
1672 | char *kwnames[] = { | |
1673 | (char *) "self", NULL | |
1674 | }; | |
1675 | ||
1676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetAlignment",kwnames,&obj0)) goto fail; | |
1677 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1678 | { | |
1679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1680 | result = (int)((wxLEDNumberCtrl const *)arg1)->GetAlignment(); | |
1681 | ||
1682 | wxPyEndAllowThreads(__tstate); | |
1683 | if (PyErr_Occurred()) SWIG_fail; | |
1684 | } | |
1685 | resultobj = PyInt_FromLong((long)result); | |
1686 | return resultobj; | |
1687 | fail: | |
1688 | return NULL; | |
1689 | } | |
1690 | ||
1691 | ||
1692 | static PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1693 | PyObject *resultobj; | |
1694 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
1695 | bool result; | |
1696 | PyObject * obj0 = 0 ; | |
1697 | char *kwnames[] = { | |
1698 | (char *) "self", NULL | |
1699 | }; | |
1700 | ||
1701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetDrawFaded",kwnames,&obj0)) goto fail; | |
1702 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1703 | { | |
1704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1705 | result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded(); | |
1706 | ||
1707 | wxPyEndAllowThreads(__tstate); | |
1708 | if (PyErr_Occurred()) SWIG_fail; | |
1709 | } | |
1710 | resultobj = PyInt_FromLong((long)result); | |
1711 | return resultobj; | |
1712 | fail: | |
1713 | return NULL; | |
1714 | } | |
1715 | ||
1716 | ||
1717 | static PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1718 | PyObject *resultobj; | |
1719 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
1720 | wxString *result; | |
1721 | PyObject * obj0 = 0 ; | |
1722 | char *kwnames[] = { | |
1723 | (char *) "self", NULL | |
1724 | }; | |
1725 | ||
1726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetValue",kwnames,&obj0)) goto fail; | |
1727 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1728 | { | |
1729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1730 | { | |
1731 | wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue(); | |
1732 | result = (wxString *) &_result_ref; | |
1733 | } | |
1734 | ||
1735 | wxPyEndAllowThreads(__tstate); | |
1736 | if (PyErr_Occurred()) SWIG_fail; | |
1737 | } | |
1738 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0); | |
1739 | return resultobj; | |
1740 | fail: | |
1741 | return NULL; | |
1742 | } | |
1743 | ||
1744 | ||
1745 | static PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1746 | PyObject *resultobj; | |
1747 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
1748 | int arg2 ; | |
1749 | bool arg3 = (bool) true ; | |
1750 | PyObject * obj0 = 0 ; | |
1751 | PyObject * obj2 = 0 ; | |
1752 | char *kwnames[] = { | |
1753 | (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL | |
1754 | }; | |
1755 | ||
1756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&arg2,&obj2)) goto fail; | |
1757 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1758 | if (obj2) { | |
1759 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
1760 | if (PyErr_Occurred()) SWIG_fail; | |
1761 | } | |
1762 | { | |
1763 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1764 | (arg1)->SetAlignment((wxLEDValueAlign )arg2,arg3); | |
1765 | ||
1766 | wxPyEndAllowThreads(__tstate); | |
1767 | if (PyErr_Occurred()) SWIG_fail; | |
1768 | } | |
1769 | Py_INCREF(Py_None); resultobj = Py_None; | |
1770 | return resultobj; | |
1771 | fail: | |
1772 | return NULL; | |
1773 | } | |
1774 | ||
1775 | ||
1776 | static PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1777 | PyObject *resultobj; | |
1778 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
1779 | bool arg2 ; | |
1780 | bool arg3 = (bool) true ; | |
1781 | PyObject * obj0 = 0 ; | |
1782 | PyObject * obj1 = 0 ; | |
1783 | PyObject * obj2 = 0 ; | |
1784 | char *kwnames[] = { | |
1785 | (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL | |
1786 | }; | |
1787 | ||
1788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1789 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1790 | arg2 = PyInt_AsLong(obj1) ? true : false; | |
1791 | if (PyErr_Occurred()) SWIG_fail; | |
1792 | if (obj2) { | |
1793 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
1794 | if (PyErr_Occurred()) SWIG_fail; | |
1795 | } | |
1796 | { | |
1797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1798 | (arg1)->SetDrawFaded(arg2,arg3); | |
1799 | ||
1800 | wxPyEndAllowThreads(__tstate); | |
1801 | if (PyErr_Occurred()) SWIG_fail; | |
1802 | } | |
1803 | Py_INCREF(Py_None); resultobj = Py_None; | |
1804 | return resultobj; | |
1805 | fail: | |
1806 | return NULL; | |
1807 | } | |
1808 | ||
1809 | ||
1810 | static PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1811 | PyObject *resultobj; | |
1812 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
1813 | wxString *arg2 = 0 ; | |
1814 | bool arg3 = (bool) true ; | |
e811c8ce | 1815 | bool temp2 = False ; |
d14a1e28 RD |
1816 | PyObject * obj0 = 0 ; |
1817 | PyObject * obj1 = 0 ; | |
1818 | PyObject * obj2 = 0 ; | |
1819 | char *kwnames[] = { | |
1820 | (char *) "self",(char *) "Value",(char *) "Redraw", NULL | |
1821 | }; | |
1822 | ||
1823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
1824 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLEDNumberCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1825 | { | |
1826 | arg2 = wxString_in_helper(obj1); | |
1827 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 1828 | temp2 = True; |
d14a1e28 RD |
1829 | } |
1830 | if (obj2) { | |
1831 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
1832 | if (PyErr_Occurred()) SWIG_fail; | |
1833 | } | |
1834 | { | |
1835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1836 | (arg1)->SetValue((wxString const &)*arg2,arg3); | |
1837 | ||
1838 | wxPyEndAllowThreads(__tstate); | |
1839 | if (PyErr_Occurred()) SWIG_fail; | |
1840 | } | |
1841 | Py_INCREF(Py_None); resultobj = Py_None; | |
1842 | { | |
1843 | if (temp2) | |
1844 | delete arg2; | |
1845 | } | |
1846 | return resultobj; | |
1847 | fail: | |
1848 | { | |
1849 | if (temp2) | |
1850 | delete arg2; | |
1851 | } | |
1852 | return NULL; | |
1853 | } | |
1854 | ||
1855 | ||
1856 | static PyObject * LEDNumberCtrl_swigregister(PyObject *self, PyObject *args) { | |
1857 | PyObject *obj; | |
1858 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1859 | SWIG_TypeClientData(SWIGTYPE_p_wxLEDNumberCtrl, obj); | |
1860 | Py_INCREF(obj); | |
1861 | return Py_BuildValue((char *)""); | |
1862 | } | |
1863 | static PyObject *_wrap_new_TreeListColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1864 | PyObject *resultobj; | |
1865 | wxString const &arg1_defvalue = wxPyEmptyString ; | |
1866 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
1867 | int arg2 = (int) -1 ; | |
1868 | size_t arg3 = (size_t) 100 ; | |
1869 | int arg4 = (int) wxTL_ALIGN_LEFT ; | |
1870 | wxTreeListColumnInfo *result; | |
e811c8ce | 1871 | bool temp1 = False ; |
d14a1e28 RD |
1872 | PyObject * obj0 = 0 ; |
1873 | PyObject * obj2 = 0 ; | |
1874 | char *kwnames[] = { | |
1875 | (char *) "text",(char *) "image",(char *) "width",(char *) "alignment", NULL | |
1876 | }; | |
1877 | ||
1878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OiOi:new_TreeListColumnInfo",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail; | |
1879 | if (obj0) { | |
1880 | { | |
1881 | arg1 = wxString_in_helper(obj0); | |
1882 | if (arg1 == NULL) SWIG_fail; | |
e811c8ce | 1883 | temp1 = True; |
d14a1e28 RD |
1884 | } |
1885 | } | |
1886 | if (obj2) { | |
1887 | arg3 = (size_t) PyInt_AsLong(obj2); | |
1888 | if (PyErr_Occurred()) SWIG_fail; | |
1889 | } | |
1890 | { | |
1891 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1892 | result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,(wxTreeListColumnAlign )arg4); | |
1893 | ||
1894 | wxPyEndAllowThreads(__tstate); | |
1895 | if (PyErr_Occurred()) SWIG_fail; | |
1896 | } | |
1897 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeListColumnInfo, 1); | |
1898 | { | |
1899 | if (temp1) | |
1900 | delete arg1; | |
1901 | } | |
1902 | return resultobj; | |
1903 | fail: | |
1904 | { | |
1905 | if (temp1) | |
1906 | delete arg1; | |
1907 | } | |
1908 | return NULL; | |
1909 | } | |
1910 | ||
1911 | ||
1912 | static PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1913 | PyObject *resultobj; | |
1914 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
1915 | int result; | |
1916 | PyObject * obj0 = 0 ; | |
1917 | char *kwnames[] = { | |
1918 | (char *) "self", NULL | |
1919 | }; | |
1920 | ||
1921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetAlignment",kwnames,&obj0)) goto fail; | |
1922 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1923 | { | |
1924 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1925 | result = (int)((wxTreeListColumnInfo const *)arg1)->GetAlignment(); | |
1926 | ||
1927 | wxPyEndAllowThreads(__tstate); | |
1928 | if (PyErr_Occurred()) SWIG_fail; | |
1929 | } | |
1930 | resultobj = PyInt_FromLong((long)result); | |
1931 | return resultobj; | |
1932 | fail: | |
1933 | return NULL; | |
1934 | } | |
1935 | ||
1936 | ||
1937 | static PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1938 | PyObject *resultobj; | |
1939 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
1940 | wxString result; | |
1941 | PyObject * obj0 = 0 ; | |
1942 | char *kwnames[] = { | |
1943 | (char *) "self", NULL | |
1944 | }; | |
1945 | ||
1946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetText",kwnames,&obj0)) goto fail; | |
1947 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1948 | { | |
1949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1950 | result = ((wxTreeListColumnInfo const *)arg1)->GetText(); | |
1951 | ||
1952 | wxPyEndAllowThreads(__tstate); | |
1953 | if (PyErr_Occurred()) SWIG_fail; | |
1954 | } | |
1955 | { | |
1956 | #if wxUSE_UNICODE | |
1957 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
1958 | #else | |
1959 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
1960 | #endif | |
1961 | } | |
1962 | return resultobj; | |
1963 | fail: | |
1964 | return NULL; | |
1965 | } | |
1966 | ||
1967 | ||
1968 | static PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1969 | PyObject *resultobj; | |
1970 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
1971 | int result; | |
1972 | PyObject * obj0 = 0 ; | |
1973 | char *kwnames[] = { | |
1974 | (char *) "self", NULL | |
1975 | }; | |
1976 | ||
1977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetImage",kwnames,&obj0)) goto fail; | |
1978 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
1979 | { | |
1980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1981 | result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage(); | |
1982 | ||
1983 | wxPyEndAllowThreads(__tstate); | |
1984 | if (PyErr_Occurred()) SWIG_fail; | |
1985 | } | |
1986 | resultobj = PyInt_FromLong((long)result); | |
1987 | return resultobj; | |
1988 | fail: | |
1989 | return NULL; | |
1990 | } | |
1991 | ||
1992 | ||
1993 | static PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1994 | PyObject *resultobj; | |
1995 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
1996 | int result; | |
1997 | PyObject * obj0 = 0 ; | |
1998 | char *kwnames[] = { | |
1999 | (char *) "self", NULL | |
2000 | }; | |
2001 | ||
2002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetSelectedImage",kwnames,&obj0)) goto fail; | |
2003 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2004 | { | |
2005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2006 | result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage(); | |
2007 | ||
2008 | wxPyEndAllowThreads(__tstate); | |
2009 | if (PyErr_Occurred()) SWIG_fail; | |
2010 | } | |
2011 | resultobj = PyInt_FromLong((long)result); | |
2012 | return resultobj; | |
2013 | fail: | |
2014 | return NULL; | |
2015 | } | |
2016 | ||
2017 | ||
2018 | static PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2019 | PyObject *resultobj; | |
2020 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
2021 | size_t result; | |
2022 | PyObject * obj0 = 0 ; | |
2023 | char *kwnames[] = { | |
2024 | (char *) "self", NULL | |
2025 | }; | |
2026 | ||
2027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetWidth",kwnames,&obj0)) goto fail; | |
2028 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2029 | { | |
2030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2031 | result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth(); | |
2032 | ||
2033 | wxPyEndAllowThreads(__tstate); | |
2034 | if (PyErr_Occurred()) SWIG_fail; | |
2035 | } | |
2036 | resultobj = PyInt_FromLong((long)result); | |
2037 | return resultobj; | |
2038 | fail: | |
2039 | return NULL; | |
2040 | } | |
2041 | ||
2042 | ||
2043 | static PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2044 | PyObject *resultobj; | |
2045 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
2046 | int arg2 ; | |
2047 | PyObject * obj0 = 0 ; | |
2048 | char *kwnames[] = { | |
2049 | (char *) "self",(char *) "alignment", NULL | |
2050 | }; | |
2051 | ||
2052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&arg2)) goto fail; | |
2053 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2054 | { | |
2055 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2056 | (arg1)->SetAlignment((wxTreeListColumnAlign )arg2); | |
2057 | ||
2058 | wxPyEndAllowThreads(__tstate); | |
2059 | if (PyErr_Occurred()) SWIG_fail; | |
2060 | } | |
2061 | Py_INCREF(Py_None); resultobj = Py_None; | |
2062 | return resultobj; | |
2063 | fail: | |
2064 | return NULL; | |
2065 | } | |
2066 | ||
2067 | ||
2068 | static PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2069 | PyObject *resultobj; | |
2070 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
2071 | wxString *arg2 = 0 ; | |
e811c8ce | 2072 | bool temp2 = False ; |
d14a1e28 RD |
2073 | PyObject * obj0 = 0 ; |
2074 | PyObject * obj1 = 0 ; | |
2075 | char *kwnames[] = { | |
2076 | (char *) "self",(char *) "text", NULL | |
2077 | }; | |
2078 | ||
2079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) goto fail; | |
2080 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2081 | { | |
2082 | arg2 = wxString_in_helper(obj1); | |
2083 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 2084 | temp2 = True; |
d14a1e28 RD |
2085 | } |
2086 | { | |
2087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2088 | (arg1)->SetText((wxString const &)*arg2); | |
2089 | ||
2090 | wxPyEndAllowThreads(__tstate); | |
2091 | if (PyErr_Occurred()) SWIG_fail; | |
2092 | } | |
2093 | Py_INCREF(Py_None); resultobj = Py_None; | |
2094 | { | |
2095 | if (temp2) | |
2096 | delete arg2; | |
2097 | } | |
2098 | return resultobj; | |
2099 | fail: | |
2100 | { | |
2101 | if (temp2) | |
2102 | delete arg2; | |
2103 | } | |
2104 | return NULL; | |
2105 | } | |
2106 | ||
2107 | ||
2108 | static PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2109 | PyObject *resultobj; | |
2110 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
2111 | int arg2 ; | |
2112 | PyObject * obj0 = 0 ; | |
2113 | char *kwnames[] = { | |
2114 | (char *) "self",(char *) "image", NULL | |
2115 | }; | |
2116 | ||
2117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TreeListColumnInfo_SetImage",kwnames,&obj0,&arg2)) goto fail; | |
2118 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2119 | { | |
2120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2121 | (arg1)->SetImage(arg2); | |
2122 | ||
2123 | wxPyEndAllowThreads(__tstate); | |
2124 | if (PyErr_Occurred()) SWIG_fail; | |
2125 | } | |
2126 | Py_INCREF(Py_None); resultobj = Py_None; | |
2127 | return resultobj; | |
2128 | fail: | |
2129 | return NULL; | |
2130 | } | |
2131 | ||
2132 | ||
2133 | static PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2134 | PyObject *resultobj; | |
2135 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
2136 | int arg2 ; | |
2137 | PyObject * obj0 = 0 ; | |
2138 | char *kwnames[] = { | |
2139 | (char *) "self",(char *) "image", NULL | |
2140 | }; | |
2141 | ||
2142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&arg2)) goto fail; | |
2143 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2144 | { | |
2145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2146 | (arg1)->SetSelectedImage(arg2); | |
2147 | ||
2148 | wxPyEndAllowThreads(__tstate); | |
2149 | if (PyErr_Occurred()) SWIG_fail; | |
2150 | } | |
2151 | Py_INCREF(Py_None); resultobj = Py_None; | |
2152 | return resultobj; | |
2153 | fail: | |
2154 | return NULL; | |
2155 | } | |
2156 | ||
2157 | ||
2158 | static PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2159 | PyObject *resultobj; | |
2160 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
2161 | size_t arg2 ; | |
2162 | PyObject * obj0 = 0 ; | |
2163 | PyObject * obj1 = 0 ; | |
2164 | char *kwnames[] = { | |
2165 | (char *) "self",(char *) "with", NULL | |
2166 | }; | |
2167 | ||
2168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) goto fail; | |
2169 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2170 | arg2 = (size_t) PyInt_AsLong(obj1); | |
2171 | if (PyErr_Occurred()) SWIG_fail; | |
2172 | { | |
2173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2174 | (arg1)->SetWidth(arg2); | |
2175 | ||
2176 | wxPyEndAllowThreads(__tstate); | |
2177 | if (PyErr_Occurred()) SWIG_fail; | |
2178 | } | |
2179 | Py_INCREF(Py_None); resultobj = Py_None; | |
2180 | return resultobj; | |
2181 | fail: | |
2182 | return NULL; | |
2183 | } | |
2184 | ||
2185 | ||
2186 | static PyObject * TreeListColumnInfo_swigregister(PyObject *self, PyObject *args) { | |
2187 | PyObject *obj; | |
2188 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2189 | SWIG_TypeClientData(SWIGTYPE_p_wxTreeListColumnInfo, obj); | |
2190 | Py_INCREF(obj); | |
2191 | return Py_BuildValue((char *)""); | |
2192 | } | |
2193 | static PyObject *_wrap_new_TreeListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2194 | PyObject *resultobj; | |
2195 | wxWindow *arg1 = (wxWindow *) 0 ; | |
e811c8ce | 2196 | int arg2 = (int) -1 ; |
d14a1e28 RD |
2197 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
2198 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
2199 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
2200 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
2201 | long arg5 = (long) wxTR_DEFAULT_STYLE ; | |
2202 | wxValidator const &arg6_defvalue = wxDefaultValidator ; | |
2203 | wxValidator *arg6 = (wxValidator *) &arg6_defvalue ; | |
2204 | wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ; | |
2205 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2206 | wxPyTreeListCtrl *result; | |
2207 | wxPoint temp3 ; | |
2208 | wxSize temp4 ; | |
e811c8ce | 2209 | bool temp7 = False ; |
d14a1e28 RD |
2210 | PyObject * obj0 = 0 ; |
2211 | PyObject * obj2 = 0 ; | |
2212 | PyObject * obj3 = 0 ; | |
2213 | PyObject * obj5 = 0 ; | |
2214 | PyObject * obj6 = 0 ; | |
2215 | char *kwnames[] = { | |
2216 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL | |
2217 | }; | |
2218 | ||
2219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail; | |
2220 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2221 | if (obj2) { | |
2222 | { | |
2223 | arg3 = &temp3; | |
2224 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
2225 | } | |
2226 | } | |
2227 | if (obj3) { | |
2228 | { | |
2229 | arg4 = &temp4; | |
2230 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
2231 | } | |
2232 | } | |
2233 | if (obj5) { | |
2234 | if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2235 | if (arg6 == NULL) { | |
2236 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2237 | } | |
2238 | } | |
2239 | if (obj6) { | |
2240 | { | |
2241 | arg7 = wxString_in_helper(obj6); | |
2242 | if (arg7 == NULL) SWIG_fail; | |
e811c8ce | 2243 | temp7 = True; |
d14a1e28 RD |
2244 | } |
2245 | } | |
2246 | { | |
2247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2248 | result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7); | |
2249 | ||
2250 | wxPyEndAllowThreads(__tstate); | |
2251 | if (PyErr_Occurred()) SWIG_fail; | |
2252 | } | |
2253 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeListCtrl, 1); | |
2254 | { | |
2255 | if (temp7) | |
2256 | delete arg7; | |
2257 | } | |
2258 | return resultobj; | |
2259 | fail: | |
2260 | { | |
2261 | if (temp7) | |
2262 | delete arg7; | |
2263 | } | |
2264 | return NULL; | |
2265 | } | |
2266 | ||
2267 | ||
2268 | static PyObject *_wrap_new_PreTreeListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2269 | PyObject *resultobj; | |
2270 | wxPyTreeListCtrl *result; | |
2271 | char *kwnames[] = { | |
2272 | NULL | |
2273 | }; | |
2274 | ||
2275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeListCtrl",kwnames)) goto fail; | |
2276 | { | |
2277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2278 | result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(); | |
2279 | ||
2280 | wxPyEndAllowThreads(__tstate); | |
2281 | if (PyErr_Occurred()) SWIG_fail; | |
2282 | } | |
2283 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeListCtrl, 1); | |
2284 | return resultobj; | |
2285 | fail: | |
2286 | return NULL; | |
2287 | } | |
2288 | ||
2289 | ||
2290 | static PyObject *_wrap_TreeListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2291 | PyObject *resultobj; | |
2292 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2293 | wxWindow *arg2 = (wxWindow *) 0 ; | |
e811c8ce | 2294 | int arg3 = (int) -1 ; |
d14a1e28 RD |
2295 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
2296 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2297 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2298 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2299 | long arg6 = (long) wxTR_DEFAULT_STYLE ; | |
2300 | wxValidator const &arg7_defvalue = wxDefaultValidator ; | |
2301 | wxValidator *arg7 = (wxValidator *) &arg7_defvalue ; | |
2302 | wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ; | |
2303 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
2304 | bool result; | |
2305 | wxPoint temp4 ; | |
2306 | wxSize temp5 ; | |
e811c8ce | 2307 | bool temp8 = False ; |
d14a1e28 RD |
2308 | PyObject * obj0 = 0 ; |
2309 | PyObject * obj1 = 0 ; | |
2310 | PyObject * obj3 = 0 ; | |
2311 | PyObject * obj4 = 0 ; | |
2312 | PyObject * obj6 = 0 ; | |
2313 | PyObject * obj7 = 0 ; | |
2314 | char *kwnames[] = { | |
2315 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL | |
2316 | }; | |
2317 | ||
2318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail; | |
2319 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2320 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2321 | if (obj3) { | |
2322 | { | |
2323 | arg4 = &temp4; | |
2324 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2325 | } | |
2326 | } | |
2327 | if (obj4) { | |
2328 | { | |
2329 | arg5 = &temp5; | |
2330 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2331 | } | |
2332 | } | |
2333 | if (obj6) { | |
2334 | if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2335 | if (arg7 == NULL) { | |
2336 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2337 | } | |
2338 | } | |
2339 | if (obj7) { | |
2340 | { | |
2341 | arg8 = wxString_in_helper(obj7); | |
2342 | if (arg8 == NULL) SWIG_fail; | |
e811c8ce | 2343 | temp8 = True; |
d14a1e28 RD |
2344 | } |
2345 | } | |
2346 | { | |
2347 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2348 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8); | |
2349 | ||
2350 | wxPyEndAllowThreads(__tstate); | |
2351 | if (PyErr_Occurred()) SWIG_fail; | |
2352 | } | |
2353 | resultobj = PyInt_FromLong((long)result); | |
2354 | { | |
2355 | if (temp8) | |
2356 | delete arg8; | |
2357 | } | |
2358 | return resultobj; | |
2359 | fail: | |
2360 | { | |
2361 | if (temp8) | |
2362 | delete arg8; | |
2363 | } | |
2364 | return NULL; | |
2365 | } | |
2366 | ||
2367 | ||
2368 | static PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2369 | PyObject *resultobj; | |
2370 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2371 | PyObject *arg2 = (PyObject *) 0 ; | |
2372 | PyObject *arg3 = (PyObject *) 0 ; | |
2373 | PyObject * obj0 = 0 ; | |
2374 | PyObject * obj1 = 0 ; | |
2375 | PyObject * obj2 = 0 ; | |
2376 | char *kwnames[] = { | |
2377 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2378 | }; | |
2379 | ||
2380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2381 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2382 | arg2 = obj1; | |
2383 | arg3 = obj2; | |
2384 | { | |
2385 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2386 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2387 | ||
2388 | wxPyEndAllowThreads(__tstate); | |
2389 | if (PyErr_Occurred()) SWIG_fail; | |
2390 | } | |
2391 | Py_INCREF(Py_None); resultobj = Py_None; | |
2392 | return resultobj; | |
2393 | fail: | |
2394 | return NULL; | |
2395 | } | |
2396 | ||
2397 | ||
2398 | static PyObject *_wrap_TreeListCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2399 | PyObject *resultobj; | |
2400 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2401 | size_t result; | |
2402 | PyObject * obj0 = 0 ; | |
2403 | char *kwnames[] = { | |
2404 | (char *) "self", NULL | |
2405 | }; | |
2406 | ||
2407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetCount",kwnames,&obj0)) goto fail; | |
2408 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2409 | { | |
2410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2411 | result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount(); | |
2412 | ||
2413 | wxPyEndAllowThreads(__tstate); | |
2414 | if (PyErr_Occurred()) SWIG_fail; | |
2415 | } | |
2416 | resultobj = PyInt_FromLong((long)result); | |
2417 | return resultobj; | |
2418 | fail: | |
2419 | return NULL; | |
2420 | } | |
2421 | ||
2422 | ||
2423 | static PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2424 | PyObject *resultobj; | |
2425 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2426 | unsigned int result; | |
2427 | PyObject * obj0 = 0 ; | |
2428 | char *kwnames[] = { | |
2429 | (char *) "self", NULL | |
2430 | }; | |
2431 | ||
2432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetIndent",kwnames,&obj0)) goto fail; | |
2433 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2434 | { | |
2435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2436 | result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent(); | |
2437 | ||
2438 | wxPyEndAllowThreads(__tstate); | |
2439 | if (PyErr_Occurred()) SWIG_fail; | |
2440 | } | |
2441 | resultobj = PyInt_FromLong((long)result); | |
2442 | return resultobj; | |
2443 | fail: | |
2444 | return NULL; | |
2445 | } | |
2446 | ||
2447 | ||
2448 | static PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2449 | PyObject *resultobj; | |
2450 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2451 | unsigned int arg2 ; | |
2452 | PyObject * obj0 = 0 ; | |
2453 | PyObject * obj1 = 0 ; | |
2454 | char *kwnames[] = { | |
2455 | (char *) "self",(char *) "indent", NULL | |
2456 | }; | |
2457 | ||
2458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail; | |
2459 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2460 | arg2 = (unsigned int) PyInt_AsLong(obj1); | |
2461 | if (PyErr_Occurred()) SWIG_fail; | |
2462 | { | |
2463 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2464 | (arg1)->SetIndent(arg2); | |
2465 | ||
2466 | wxPyEndAllowThreads(__tstate); | |
2467 | if (PyErr_Occurred()) SWIG_fail; | |
2468 | } | |
2469 | Py_INCREF(Py_None); resultobj = Py_None; | |
2470 | return resultobj; | |
2471 | fail: | |
2472 | return NULL; | |
2473 | } | |
2474 | ||
2475 | ||
2476 | static PyObject *_wrap_TreeListCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2477 | PyObject *resultobj; | |
2478 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2479 | unsigned int result; | |
2480 | PyObject * obj0 = 0 ; | |
2481 | char *kwnames[] = { | |
2482 | (char *) "self", NULL | |
2483 | }; | |
2484 | ||
2485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSpacing",kwnames,&obj0)) goto fail; | |
2486 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2487 | { | |
2488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2489 | result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetSpacing(); | |
2490 | ||
2491 | wxPyEndAllowThreads(__tstate); | |
2492 | if (PyErr_Occurred()) SWIG_fail; | |
2493 | } | |
2494 | resultobj = PyInt_FromLong((long)result); | |
2495 | return resultobj; | |
2496 | fail: | |
2497 | return NULL; | |
2498 | } | |
2499 | ||
2500 | ||
2501 | static PyObject *_wrap_TreeListCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2502 | PyObject *resultobj; | |
2503 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2504 | unsigned int arg2 ; | |
2505 | PyObject * obj0 = 0 ; | |
2506 | PyObject * obj1 = 0 ; | |
2507 | char *kwnames[] = { | |
2508 | (char *) "self",(char *) "spacing", NULL | |
2509 | }; | |
2510 | ||
2511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail; | |
2512 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2513 | arg2 = (unsigned int) PyInt_AsLong(obj1); | |
2514 | if (PyErr_Occurred()) SWIG_fail; | |
2515 | { | |
2516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2517 | (arg1)->SetSpacing(arg2); | |
2518 | ||
2519 | wxPyEndAllowThreads(__tstate); | |
2520 | if (PyErr_Occurred()) SWIG_fail; | |
2521 | } | |
2522 | Py_INCREF(Py_None); resultobj = Py_None; | |
2523 | return resultobj; | |
2524 | fail: | |
2525 | return NULL; | |
2526 | } | |
2527 | ||
2528 | ||
2529 | static PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2530 | PyObject *resultobj; | |
2531 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2532 | unsigned int result; | |
2533 | PyObject * obj0 = 0 ; | |
2534 | char *kwnames[] = { | |
2535 | (char *) "self", NULL | |
2536 | }; | |
2537 | ||
2538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetLineSpacing",kwnames,&obj0)) goto fail; | |
2539 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2540 | { | |
2541 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2542 | result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing(); | |
2543 | ||
2544 | wxPyEndAllowThreads(__tstate); | |
2545 | if (PyErr_Occurred()) SWIG_fail; | |
2546 | } | |
2547 | resultobj = PyInt_FromLong((long)result); | |
2548 | return resultobj; | |
2549 | fail: | |
2550 | return NULL; | |
2551 | } | |
2552 | ||
2553 | ||
2554 | static PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2555 | PyObject *resultobj; | |
2556 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2557 | unsigned int arg2 ; | |
2558 | PyObject * obj0 = 0 ; | |
2559 | PyObject * obj1 = 0 ; | |
2560 | char *kwnames[] = { | |
2561 | (char *) "self",(char *) "spacing", NULL | |
2562 | }; | |
2563 | ||
2564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) goto fail; | |
2565 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2566 | arg2 = (unsigned int) PyInt_AsLong(obj1); | |
2567 | if (PyErr_Occurred()) SWIG_fail; | |
2568 | { | |
2569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2570 | (arg1)->SetLineSpacing(arg2); | |
2571 | ||
2572 | wxPyEndAllowThreads(__tstate); | |
2573 | if (PyErr_Occurred()) SWIG_fail; | |
2574 | } | |
2575 | Py_INCREF(Py_None); resultobj = Py_None; | |
2576 | return resultobj; | |
2577 | fail: | |
2578 | return NULL; | |
2579 | } | |
2580 | ||
2581 | ||
2582 | static PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2583 | PyObject *resultobj; | |
2584 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2585 | wxImageList *result; | |
2586 | PyObject * obj0 = 0 ; | |
2587 | char *kwnames[] = { | |
2588 | (char *) "self", NULL | |
2589 | }; | |
2590 | ||
2591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetImageList",kwnames,&obj0)) goto fail; | |
2592 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2593 | { | |
2594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2595 | result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList(); | |
2596 | ||
2597 | wxPyEndAllowThreads(__tstate); | |
2598 | if (PyErr_Occurred()) SWIG_fail; | |
2599 | } | |
2600 | { | |
2601 | resultobj = wxPyMake_wxObject(result); | |
2602 | } | |
2603 | return resultobj; | |
2604 | fail: | |
2605 | return NULL; | |
2606 | } | |
2607 | ||
2608 | ||
2609 | static PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2610 | PyObject *resultobj; | |
2611 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2612 | wxImageList *result; | |
2613 | PyObject * obj0 = 0 ; | |
2614 | char *kwnames[] = { | |
2615 | (char *) "self", NULL | |
2616 | }; | |
2617 | ||
2618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetStateImageList",kwnames,&obj0)) goto fail; | |
2619 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2620 | { | |
2621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2622 | result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList(); | |
2623 | ||
2624 | wxPyEndAllowThreads(__tstate); | |
2625 | if (PyErr_Occurred()) SWIG_fail; | |
2626 | } | |
2627 | { | |
2628 | resultobj = wxPyMake_wxObject(result); | |
2629 | } | |
2630 | return resultobj; | |
2631 | fail: | |
2632 | return NULL; | |
2633 | } | |
2634 | ||
2635 | ||
2636 | static PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2637 | PyObject *resultobj; | |
2638 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2639 | wxImageList *result; | |
2640 | PyObject * obj0 = 0 ; | |
2641 | char *kwnames[] = { | |
2642 | (char *) "self", NULL | |
2643 | }; | |
2644 | ||
2645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetButtonsImageList",kwnames,&obj0)) goto fail; | |
2646 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2647 | { | |
2648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2649 | result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList(); | |
2650 | ||
2651 | wxPyEndAllowThreads(__tstate); | |
2652 | if (PyErr_Occurred()) SWIG_fail; | |
2653 | } | |
2654 | { | |
2655 | resultobj = wxPyMake_wxObject(result); | |
2656 | } | |
2657 | return resultobj; | |
2658 | fail: | |
2659 | return NULL; | |
2660 | } | |
2661 | ||
2662 | ||
2663 | static PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2664 | PyObject *resultobj; | |
2665 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2666 | wxImageList *arg2 = (wxImageList *) 0 ; | |
2667 | PyObject * obj0 = 0 ; | |
2668 | PyObject * obj1 = 0 ; | |
2669 | char *kwnames[] = { | |
2670 | (char *) "self",(char *) "imageList", NULL | |
2671 | }; | |
2672 | ||
2673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail; | |
2674 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2675 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2676 | { | |
2677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2678 | (arg1)->SetImageList(arg2); | |
2679 | ||
2680 | wxPyEndAllowThreads(__tstate); | |
2681 | if (PyErr_Occurred()) SWIG_fail; | |
2682 | } | |
2683 | Py_INCREF(Py_None); resultobj = Py_None; | |
2684 | return resultobj; | |
2685 | fail: | |
2686 | return NULL; | |
2687 | } | |
2688 | ||
2689 | ||
2690 | static PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2691 | PyObject *resultobj; | |
2692 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2693 | wxImageList *arg2 = (wxImageList *) 0 ; | |
2694 | PyObject * obj0 = 0 ; | |
2695 | PyObject * obj1 = 0 ; | |
2696 | char *kwnames[] = { | |
2697 | (char *) "self",(char *) "imageList", NULL | |
2698 | }; | |
2699 | ||
2700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail; | |
2701 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2702 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2703 | { | |
2704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2705 | (arg1)->SetStateImageList(arg2); | |
2706 | ||
2707 | wxPyEndAllowThreads(__tstate); | |
2708 | if (PyErr_Occurred()) SWIG_fail; | |
2709 | } | |
2710 | Py_INCREF(Py_None); resultobj = Py_None; | |
2711 | return resultobj; | |
2712 | fail: | |
2713 | return NULL; | |
2714 | } | |
2715 | ||
2716 | ||
2717 | static PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2718 | PyObject *resultobj; | |
2719 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2720 | wxImageList *arg2 = (wxImageList *) 0 ; | |
2721 | PyObject * obj0 = 0 ; | |
2722 | PyObject * obj1 = 0 ; | |
2723 | char *kwnames[] = { | |
2724 | (char *) "self",(char *) "imageList", NULL | |
2725 | }; | |
2726 | ||
2727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) goto fail; | |
2728 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2729 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2730 | { | |
2731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2732 | (arg1)->SetButtonsImageList(arg2); | |
2733 | ||
2734 | wxPyEndAllowThreads(__tstate); | |
2735 | if (PyErr_Occurred()) SWIG_fail; | |
2736 | } | |
2737 | Py_INCREF(Py_None); resultobj = Py_None; | |
2738 | return resultobj; | |
2739 | fail: | |
2740 | return NULL; | |
2741 | } | |
2742 | ||
2743 | ||
2744 | static PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2745 | PyObject *resultobj; | |
2746 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2747 | wxImageList *arg2 = (wxImageList *) 0 ; | |
2748 | PyObject * obj0 = 0 ; | |
2749 | PyObject * obj1 = 0 ; | |
2750 | char *kwnames[] = { | |
2751 | (char *) "self",(char *) "imageList", NULL | |
2752 | }; | |
2753 | ||
2754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail; | |
2755 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2756 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2757 | { | |
2758 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2759 | (arg1)->AssignImageList(arg2); | |
2760 | ||
2761 | wxPyEndAllowThreads(__tstate); | |
2762 | if (PyErr_Occurred()) SWIG_fail; | |
2763 | } | |
2764 | Py_INCREF(Py_None); resultobj = Py_None; | |
2765 | return resultobj; | |
2766 | fail: | |
2767 | return NULL; | |
2768 | } | |
2769 | ||
2770 | ||
2771 | static PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2772 | PyObject *resultobj; | |
2773 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2774 | wxImageList *arg2 = (wxImageList *) 0 ; | |
2775 | PyObject * obj0 = 0 ; | |
2776 | PyObject * obj1 = 0 ; | |
2777 | char *kwnames[] = { | |
2778 | (char *) "self",(char *) "imageList", NULL | |
2779 | }; | |
2780 | ||
2781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail; | |
2782 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2783 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2784 | { | |
2785 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2786 | (arg1)->AssignStateImageList(arg2); | |
2787 | ||
2788 | wxPyEndAllowThreads(__tstate); | |
2789 | if (PyErr_Occurred()) SWIG_fail; | |
2790 | } | |
2791 | Py_INCREF(Py_None); resultobj = Py_None; | |
2792 | return resultobj; | |
2793 | fail: | |
2794 | return NULL; | |
2795 | } | |
2796 | ||
2797 | ||
2798 | static PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2799 | PyObject *resultobj; | |
2800 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2801 | wxImageList *arg2 = (wxImageList *) 0 ; | |
2802 | PyObject * obj0 = 0 ; | |
2803 | PyObject * obj1 = 0 ; | |
2804 | char *kwnames[] = { | |
2805 | (char *) "self",(char *) "imageList", NULL | |
2806 | }; | |
2807 | ||
2808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) goto fail; | |
2809 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2810 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2811 | { | |
2812 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2813 | (arg1)->AssignButtonsImageList(arg2); | |
2814 | ||
2815 | wxPyEndAllowThreads(__tstate); | |
2816 | if (PyErr_Occurred()) SWIG_fail; | |
2817 | } | |
2818 | Py_INCREF(Py_None); resultobj = Py_None; | |
2819 | return resultobj; | |
2820 | fail: | |
2821 | return NULL; | |
2822 | } | |
2823 | ||
2824 | ||
2825 | static PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2826 | PyObject *resultobj; | |
2827 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2828 | wxString *arg2 = 0 ; | |
e811c8ce | 2829 | bool temp2 = False ; |
d14a1e28 RD |
2830 | PyObject * obj0 = 0 ; |
2831 | PyObject * obj1 = 0 ; | |
2832 | char *kwnames[] = { | |
2833 | (char *) "self",(char *) "text", NULL | |
2834 | }; | |
2835 | ||
2836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1)) goto fail; | |
2837 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2838 | { | |
2839 | arg2 = wxString_in_helper(obj1); | |
2840 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 2841 | temp2 = True; |
d14a1e28 RD |
2842 | } |
2843 | { | |
2844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2845 | (arg1)->AddColumn((wxString const &)*arg2); | |
2846 | ||
2847 | wxPyEndAllowThreads(__tstate); | |
2848 | if (PyErr_Occurred()) SWIG_fail; | |
2849 | } | |
2850 | Py_INCREF(Py_None); resultobj = Py_None; | |
2851 | { | |
2852 | if (temp2) | |
2853 | delete arg2; | |
2854 | } | |
2855 | return resultobj; | |
2856 | fail: | |
2857 | { | |
2858 | if (temp2) | |
2859 | delete arg2; | |
2860 | } | |
2861 | return NULL; | |
2862 | } | |
2863 | ||
2864 | ||
2865 | static PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2866 | PyObject *resultobj; | |
2867 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2868 | wxTreeListColumnInfo *arg2 = 0 ; | |
2869 | PyObject * obj0 = 0 ; | |
2870 | PyObject * obj1 = 0 ; | |
2871 | char *kwnames[] = { | |
2872 | (char *) "self",(char *) "col", NULL | |
2873 | }; | |
2874 | ||
2875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) goto fail; | |
2876 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2877 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2878 | if (arg2 == NULL) { | |
2879 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2880 | } | |
2881 | { | |
2882 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2883 | (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2); | |
2884 | ||
2885 | wxPyEndAllowThreads(__tstate); | |
2886 | if (PyErr_Occurred()) SWIG_fail; | |
2887 | } | |
2888 | Py_INCREF(Py_None); resultobj = Py_None; | |
2889 | return resultobj; | |
2890 | fail: | |
2891 | return NULL; | |
2892 | } | |
2893 | ||
2894 | ||
2895 | static PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2896 | PyObject *resultobj; | |
2897 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2898 | size_t arg2 ; | |
2899 | wxString *arg3 = 0 ; | |
e811c8ce | 2900 | bool temp3 = False ; |
d14a1e28 RD |
2901 | PyObject * obj0 = 0 ; |
2902 | PyObject * obj1 = 0 ; | |
2903 | PyObject * obj2 = 0 ; | |
2904 | char *kwnames[] = { | |
2905 | (char *) "self",(char *) "before",(char *) "text", NULL | |
2906 | }; | |
2907 | ||
2908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2909 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2910 | arg2 = (size_t) PyInt_AsLong(obj1); | |
2911 | if (PyErr_Occurred()) SWIG_fail; | |
2912 | { | |
2913 | arg3 = wxString_in_helper(obj2); | |
2914 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 2915 | temp3 = True; |
d14a1e28 RD |
2916 | } |
2917 | { | |
2918 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2919 | (arg1)->InsertColumn(arg2,(wxString const &)*arg3); | |
2920 | ||
2921 | wxPyEndAllowThreads(__tstate); | |
2922 | if (PyErr_Occurred()) SWIG_fail; | |
2923 | } | |
2924 | Py_INCREF(Py_None); resultobj = Py_None; | |
2925 | { | |
2926 | if (temp3) | |
2927 | delete arg3; | |
2928 | } | |
2929 | return resultobj; | |
2930 | fail: | |
2931 | { | |
2932 | if (temp3) | |
2933 | delete arg3; | |
2934 | } | |
2935 | return NULL; | |
2936 | } | |
2937 | ||
2938 | ||
2939 | static PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2940 | PyObject *resultobj; | |
2941 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2942 | size_t arg2 ; | |
2943 | wxTreeListColumnInfo *arg3 = 0 ; | |
2944 | PyObject * obj0 = 0 ; | |
2945 | PyObject * obj1 = 0 ; | |
2946 | PyObject * obj2 = 0 ; | |
2947 | char *kwnames[] = { | |
2948 | (char *) "self",(char *) "before",(char *) "col", NULL | |
2949 | }; | |
2950 | ||
2951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2952 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2953 | arg2 = (size_t) PyInt_AsLong(obj1); | |
2954 | if (PyErr_Occurred()) SWIG_fail; | |
2955 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2956 | if (arg3 == NULL) { | |
2957 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
2958 | } | |
2959 | { | |
2960 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2961 | (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3); | |
2962 | ||
2963 | wxPyEndAllowThreads(__tstate); | |
2964 | if (PyErr_Occurred()) SWIG_fail; | |
2965 | } | |
2966 | Py_INCREF(Py_None); resultobj = Py_None; | |
2967 | return resultobj; | |
2968 | fail: | |
2969 | return NULL; | |
2970 | } | |
2971 | ||
2972 | ||
2973 | static PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2974 | PyObject *resultobj; | |
2975 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2976 | size_t arg2 ; | |
2977 | PyObject * obj0 = 0 ; | |
2978 | PyObject * obj1 = 0 ; | |
2979 | char *kwnames[] = { | |
2980 | (char *) "self",(char *) "column", NULL | |
2981 | }; | |
2982 | ||
2983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) goto fail; | |
2984 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
2985 | arg2 = (size_t) PyInt_AsLong(obj1); | |
2986 | if (PyErr_Occurred()) SWIG_fail; | |
2987 | { | |
2988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2989 | (arg1)->RemoveColumn(arg2); | |
2990 | ||
2991 | wxPyEndAllowThreads(__tstate); | |
2992 | if (PyErr_Occurred()) SWIG_fail; | |
2993 | } | |
2994 | Py_INCREF(Py_None); resultobj = Py_None; | |
2995 | return resultobj; | |
2996 | fail: | |
2997 | return NULL; | |
2998 | } | |
2999 | ||
3000 | ||
3001 | static PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3002 | PyObject *resultobj; | |
3003 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3004 | size_t result; | |
3005 | PyObject * obj0 = 0 ; | |
3006 | char *kwnames[] = { | |
3007 | (char *) "self", NULL | |
3008 | }; | |
3009 | ||
3010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetColumnCount",kwnames,&obj0)) goto fail; | |
3011 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3012 | { | |
3013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3014 | result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount(); | |
3015 | ||
3016 | wxPyEndAllowThreads(__tstate); | |
3017 | if (PyErr_Occurred()) SWIG_fail; | |
3018 | } | |
3019 | resultobj = PyInt_FromLong((long)result); | |
3020 | return resultobj; | |
3021 | fail: | |
3022 | return NULL; | |
3023 | } | |
3024 | ||
3025 | ||
3026 | static PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3027 | PyObject *resultobj; | |
3028 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3029 | size_t arg2 ; | |
3030 | size_t arg3 ; | |
3031 | PyObject * obj0 = 0 ; | |
3032 | PyObject * obj1 = 0 ; | |
3033 | PyObject * obj2 = 0 ; | |
3034 | char *kwnames[] = { | |
3035 | (char *) "self",(char *) "column",(char *) "width", NULL | |
3036 | }; | |
3037 | ||
3038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3039 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3040 | arg2 = (size_t) PyInt_AsLong(obj1); | |
3041 | if (PyErr_Occurred()) SWIG_fail; | |
3042 | arg3 = (size_t) PyInt_AsLong(obj2); | |
3043 | if (PyErr_Occurred()) SWIG_fail; | |
3044 | { | |
3045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3046 | (arg1)->SetColumnWidth(arg2,arg3); | |
3047 | ||
3048 | wxPyEndAllowThreads(__tstate); | |
3049 | if (PyErr_Occurred()) SWIG_fail; | |
3050 | } | |
3051 | Py_INCREF(Py_None); resultobj = Py_None; | |
3052 | return resultobj; | |
3053 | fail: | |
3054 | return NULL; | |
3055 | } | |
3056 | ||
3057 | ||
3058 | static PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3059 | PyObject *resultobj; | |
3060 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3061 | size_t arg2 ; | |
3062 | int result; | |
3063 | PyObject * obj0 = 0 ; | |
3064 | PyObject * obj1 = 0 ; | |
3065 | char *kwnames[] = { | |
3066 | (char *) "self",(char *) "column", NULL | |
3067 | }; | |
3068 | ||
3069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail; | |
3070 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3071 | arg2 = (size_t) PyInt_AsLong(obj1); | |
3072 | if (PyErr_Occurred()) SWIG_fail; | |
3073 | { | |
3074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3075 | result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2); | |
3076 | ||
3077 | wxPyEndAllowThreads(__tstate); | |
3078 | if (PyErr_Occurred()) SWIG_fail; | |
3079 | } | |
3080 | resultobj = PyInt_FromLong((long)result); | |
3081 | return resultobj; | |
3082 | fail: | |
3083 | return NULL; | |
3084 | } | |
3085 | ||
3086 | ||
3087 | static PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3088 | PyObject *resultobj; | |
3089 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3090 | size_t arg2 ; | |
3091 | PyObject * obj0 = 0 ; | |
3092 | PyObject * obj1 = 0 ; | |
3093 | char *kwnames[] = { | |
3094 | (char *) "self",(char *) "column", NULL | |
3095 | }; | |
3096 | ||
3097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) goto fail; | |
3098 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3099 | arg2 = (size_t) PyInt_AsLong(obj1); | |
3100 | if (PyErr_Occurred()) SWIG_fail; | |
3101 | { | |
3102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3103 | (arg1)->SetMainColumn(arg2); | |
3104 | ||
3105 | wxPyEndAllowThreads(__tstate); | |
3106 | if (PyErr_Occurred()) SWIG_fail; | |
3107 | } | |
3108 | Py_INCREF(Py_None); resultobj = Py_None; | |
3109 | return resultobj; | |
3110 | fail: | |
3111 | return NULL; | |
3112 | } | |
3113 | ||
3114 | ||
3115 | static PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3116 | PyObject *resultobj; | |
3117 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3118 | size_t result; | |
3119 | PyObject * obj0 = 0 ; | |
3120 | char *kwnames[] = { | |
3121 | (char *) "self", NULL | |
3122 | }; | |
3123 | ||
3124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainColumn",kwnames,&obj0)) goto fail; | |
3125 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3126 | { | |
3127 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3128 | result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn(); | |
3129 | ||
3130 | wxPyEndAllowThreads(__tstate); | |
3131 | if (PyErr_Occurred()) SWIG_fail; | |
3132 | } | |
3133 | resultobj = PyInt_FromLong((long)result); | |
3134 | return resultobj; | |
3135 | fail: | |
3136 | return NULL; | |
3137 | } | |
3138 | ||
3139 | ||
3140 | static PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3141 | PyObject *resultobj; | |
3142 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3143 | size_t arg2 ; | |
3144 | wxString *arg3 = 0 ; | |
e811c8ce | 3145 | bool temp3 = False ; |
d14a1e28 RD |
3146 | PyObject * obj0 = 0 ; |
3147 | PyObject * obj1 = 0 ; | |
3148 | PyObject * obj2 = 0 ; | |
3149 | char *kwnames[] = { | |
3150 | (char *) "self",(char *) "column",(char *) "text", NULL | |
3151 | }; | |
3152 | ||
3153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3154 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3155 | arg2 = (size_t) PyInt_AsLong(obj1); | |
3156 | if (PyErr_Occurred()) SWIG_fail; | |
3157 | { | |
3158 | arg3 = wxString_in_helper(obj2); | |
3159 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 3160 | temp3 = True; |
d14a1e28 RD |
3161 | } |
3162 | { | |
3163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3164 | (arg1)->SetColumnText(arg2,(wxString const &)*arg3); | |
3165 | ||
3166 | wxPyEndAllowThreads(__tstate); | |
3167 | if (PyErr_Occurred()) SWIG_fail; | |
3168 | } | |
3169 | Py_INCREF(Py_None); resultobj = Py_None; | |
3170 | { | |
3171 | if (temp3) | |
3172 | delete arg3; | |
3173 | } | |
3174 | return resultobj; | |
3175 | fail: | |
3176 | { | |
3177 | if (temp3) | |
3178 | delete arg3; | |
3179 | } | |
3180 | return NULL; | |
3181 | } | |
3182 | ||
3183 | ||
3184 | static PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3185 | PyObject *resultobj; | |
3186 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3187 | size_t arg2 ; | |
3188 | wxString result; | |
3189 | PyObject * obj0 = 0 ; | |
3190 | PyObject * obj1 = 0 ; | |
3191 | char *kwnames[] = { | |
3192 | (char *) "self",(char *) "column", NULL | |
3193 | }; | |
3194 | ||
3195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) goto fail; | |
3196 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3197 | arg2 = (size_t) PyInt_AsLong(obj1); | |
3198 | if (PyErr_Occurred()) SWIG_fail; | |
3199 | { | |
3200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3201 | result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2); | |
3202 | ||
3203 | wxPyEndAllowThreads(__tstate); | |
3204 | if (PyErr_Occurred()) SWIG_fail; | |
3205 | } | |
3206 | { | |
3207 | #if wxUSE_UNICODE | |
3208 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
3209 | #else | |
3210 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
3211 | #endif | |
3212 | } | |
3213 | return resultobj; | |
3214 | fail: | |
3215 | return NULL; | |
3216 | } | |
3217 | ||
3218 | ||
3219 | static PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3220 | PyObject *resultobj; | |
3221 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3222 | size_t arg2 ; | |
3223 | wxTreeListColumnInfo *arg3 = 0 ; | |
3224 | PyObject * obj0 = 0 ; | |
3225 | PyObject * obj1 = 0 ; | |
3226 | PyObject * obj2 = 0 ; | |
3227 | char *kwnames[] = { | |
3228 | (char *) "self",(char *) "column",(char *) "info", NULL | |
3229 | }; | |
3230 | ||
3231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3232 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3233 | arg2 = (size_t) PyInt_AsLong(obj1); | |
3234 | if (PyErr_Occurred()) SWIG_fail; | |
3235 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeListColumnInfo,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3236 | if (arg3 == NULL) { | |
3237 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3238 | } | |
3239 | { | |
3240 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3241 | (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3); | |
3242 | ||
3243 | wxPyEndAllowThreads(__tstate); | |
3244 | if (PyErr_Occurred()) SWIG_fail; | |
3245 | } | |
3246 | Py_INCREF(Py_None); resultobj = Py_None; | |
3247 | return resultobj; | |
3248 | fail: | |
3249 | return NULL; | |
3250 | } | |
3251 | ||
3252 | ||
3253 | static PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3254 | PyObject *resultobj; | |
3255 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3256 | size_t arg2 ; | |
3257 | wxTreeListColumnInfo *result; | |
3258 | PyObject * obj0 = 0 ; | |
3259 | PyObject * obj1 = 0 ; | |
3260 | char *kwnames[] = { | |
3261 | (char *) "self",(char *) "column", NULL | |
3262 | }; | |
3263 | ||
3264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail; | |
3265 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3266 | arg2 = (size_t) PyInt_AsLong(obj1); | |
3267 | if (PyErr_Occurred()) SWIG_fail; | |
3268 | { | |
3269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3270 | { | |
3271 | wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2); | |
3272 | result = (wxTreeListColumnInfo *) &_result_ref; | |
3273 | } | |
3274 | ||
3275 | wxPyEndAllowThreads(__tstate); | |
3276 | if (PyErr_Occurred()) SWIG_fail; | |
3277 | } | |
3278 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeListColumnInfo, 0); | |
3279 | return resultobj; | |
3280 | fail: | |
3281 | return NULL; | |
3282 | } | |
3283 | ||
3284 | ||
3285 | static PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3286 | PyObject *resultobj; | |
3287 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3288 | size_t arg2 ; | |
3289 | int arg3 ; | |
3290 | PyObject * obj0 = 0 ; | |
3291 | PyObject * obj1 = 0 ; | |
3292 | char *kwnames[] = { | |
3293 | (char *) "self",(char *) "column",(char *) "align", NULL | |
3294 | }; | |
3295 | ||
3296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
3297 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3298 | arg2 = (size_t) PyInt_AsLong(obj1); | |
3299 | if (PyErr_Occurred()) SWIG_fail; | |
3300 | { | |
3301 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3302 | (arg1)->SetColumnAlignment(arg2,(wxTreeListColumnAlign )arg3); | |
3303 | ||
3304 | wxPyEndAllowThreads(__tstate); | |
3305 | if (PyErr_Occurred()) SWIG_fail; | |
3306 | } | |
3307 | Py_INCREF(Py_None); resultobj = Py_None; | |
3308 | return resultobj; | |
3309 | fail: | |
3310 | return NULL; | |
3311 | } | |
3312 | ||
3313 | ||
3314 | static PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3315 | PyObject *resultobj; | |
3316 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3317 | size_t arg2 ; | |
3318 | int result; | |
3319 | PyObject * obj0 = 0 ; | |
3320 | PyObject * obj1 = 0 ; | |
3321 | char *kwnames[] = { | |
3322 | (char *) "self",(char *) "column", NULL | |
3323 | }; | |
3324 | ||
3325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) goto fail; | |
3326 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3327 | arg2 = (size_t) PyInt_AsLong(obj1); | |
3328 | if (PyErr_Occurred()) SWIG_fail; | |
3329 | { | |
3330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3331 | result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2); | |
3332 | ||
3333 | wxPyEndAllowThreads(__tstate); | |
3334 | if (PyErr_Occurred()) SWIG_fail; | |
3335 | } | |
3336 | resultobj = PyInt_FromLong((long)result); | |
3337 | return resultobj; | |
3338 | fail: | |
3339 | return NULL; | |
3340 | } | |
3341 | ||
3342 | ||
3343 | static PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3344 | PyObject *resultobj; | |
3345 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3346 | size_t arg2 ; | |
3347 | int arg3 ; | |
3348 | PyObject * obj0 = 0 ; | |
3349 | PyObject * obj1 = 0 ; | |
3350 | char *kwnames[] = { | |
3351 | (char *) "self",(char *) "column",(char *) "image", NULL | |
3352 | }; | |
3353 | ||
3354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
3355 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3356 | arg2 = (size_t) PyInt_AsLong(obj1); | |
3357 | if (PyErr_Occurred()) SWIG_fail; | |
3358 | { | |
3359 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3360 | (arg1)->SetColumnImage(arg2,arg3); | |
3361 | ||
3362 | wxPyEndAllowThreads(__tstate); | |
3363 | if (PyErr_Occurred()) SWIG_fail; | |
3364 | } | |
3365 | Py_INCREF(Py_None); resultobj = Py_None; | |
3366 | return resultobj; | |
3367 | fail: | |
3368 | return NULL; | |
3369 | } | |
3370 | ||
3371 | ||
3372 | static PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3373 | PyObject *resultobj; | |
3374 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3375 | size_t arg2 ; | |
3376 | int result; | |
3377 | PyObject * obj0 = 0 ; | |
3378 | PyObject * obj1 = 0 ; | |
3379 | char *kwnames[] = { | |
3380 | (char *) "self",(char *) "column", NULL | |
3381 | }; | |
3382 | ||
3383 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) goto fail; | |
3384 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3385 | arg2 = (size_t) PyInt_AsLong(obj1); | |
3386 | if (PyErr_Occurred()) SWIG_fail; | |
3387 | { | |
3388 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3389 | result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2); | |
3390 | ||
3391 | wxPyEndAllowThreads(__tstate); | |
3392 | if (PyErr_Occurred()) SWIG_fail; | |
3393 | } | |
3394 | resultobj = PyInt_FromLong((long)result); | |
3395 | return resultobj; | |
3396 | fail: | |
3397 | return NULL; | |
3398 | } | |
3399 | ||
3400 | ||
3401 | static PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3402 | PyObject *resultobj; | |
3403 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3404 | wxTreeItemId *arg2 = 0 ; | |
3405 | int arg3 = (int) -1 ; | |
3406 | wxString result; | |
3407 | PyObject * obj0 = 0 ; | |
3408 | PyObject * obj1 = 0 ; | |
3409 | char *kwnames[] = { | |
3410 | (char *) "self",(char *) "item",(char *) "column", NULL | |
3411 | }; | |
3412 | ||
3413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
3414 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3415 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3416 | if (arg2 == NULL) { | |
3417 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3418 | } | |
3419 | { | |
3420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3421 | result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3); | |
3422 | ||
3423 | wxPyEndAllowThreads(__tstate); | |
3424 | if (PyErr_Occurred()) SWIG_fail; | |
3425 | } | |
3426 | { | |
3427 | #if wxUSE_UNICODE | |
3428 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
3429 | #else | |
3430 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
3431 | #endif | |
3432 | } | |
3433 | return resultobj; | |
3434 | fail: | |
3435 | return NULL; | |
3436 | } | |
3437 | ||
3438 | ||
3439 | static PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3440 | PyObject *resultobj; | |
3441 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3442 | wxTreeItemId *arg2 = 0 ; | |
3443 | int arg3 = (int) -1 ; | |
3444 | int arg4 = (int) wxTreeItemIcon_Normal ; | |
3445 | int result; | |
3446 | PyObject * obj0 = 0 ; | |
3447 | PyObject * obj1 = 0 ; | |
3448 | char *kwnames[] = { | |
3449 | (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL | |
3450 | }; | |
3451 | ||
3452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|ii:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail; | |
3453 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3454 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3455 | if (arg2 == NULL) { | |
3456 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3457 | } | |
3458 | { | |
3459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3460 | result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4); | |
3461 | ||
3462 | wxPyEndAllowThreads(__tstate); | |
3463 | if (PyErr_Occurred()) SWIG_fail; | |
3464 | } | |
3465 | resultobj = PyInt_FromLong((long)result); | |
3466 | return resultobj; | |
3467 | fail: | |
3468 | return NULL; | |
3469 | } | |
3470 | ||
3471 | ||
3472 | static PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3473 | PyObject *resultobj; | |
3474 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3475 | wxTreeItemId *arg2 = 0 ; | |
3476 | wxString *arg3 = 0 ; | |
3477 | int arg4 = (int) -1 ; | |
e811c8ce | 3478 | bool temp3 = False ; |
d14a1e28 RD |
3479 | PyObject * obj0 = 0 ; |
3480 | PyObject * obj1 = 0 ; | |
3481 | PyObject * obj2 = 0 ; | |
3482 | char *kwnames[] = { | |
3483 | (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL | |
3484 | }; | |
3485 | ||
3486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail; | |
3487 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3488 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3489 | if (arg2 == NULL) { | |
3490 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3491 | } | |
3492 | { | |
3493 | arg3 = wxString_in_helper(obj2); | |
3494 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 3495 | temp3 = True; |
d14a1e28 RD |
3496 | } |
3497 | { | |
3498 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3499 | wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4); | |
3500 | ||
3501 | wxPyEndAllowThreads(__tstate); | |
3502 | if (PyErr_Occurred()) SWIG_fail; | |
3503 | } | |
3504 | Py_INCREF(Py_None); resultobj = Py_None; | |
3505 | { | |
3506 | if (temp3) | |
3507 | delete arg3; | |
3508 | } | |
3509 | return resultobj; | |
3510 | fail: | |
3511 | { | |
3512 | if (temp3) | |
3513 | delete arg3; | |
3514 | } | |
3515 | return NULL; | |
3516 | } | |
3517 | ||
3518 | ||
3519 | static PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3520 | PyObject *resultobj; | |
3521 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3522 | wxTreeItemId *arg2 = 0 ; | |
3523 | int arg3 ; | |
3524 | int arg4 = (int) -1 ; | |
3525 | int arg5 = (int) wxTreeItemIcon_Normal ; | |
3526 | PyObject * obj0 = 0 ; | |
3527 | PyObject * obj1 = 0 ; | |
3528 | char *kwnames[] = { | |
3529 | (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL | |
3530 | }; | |
3531 | ||
3532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|ii:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5)) goto fail; | |
3533 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3534 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3535 | if (arg2 == NULL) { | |
3536 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3537 | } | |
3538 | { | |
3539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3540 | wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,(wxTreeItemIcon )arg5); | |
3541 | ||
3542 | wxPyEndAllowThreads(__tstate); | |
3543 | if (PyErr_Occurred()) SWIG_fail; | |
3544 | } | |
3545 | Py_INCREF(Py_None); resultobj = Py_None; | |
3546 | return resultobj; | |
3547 | fail: | |
3548 | return NULL; | |
3549 | } | |
3550 | ||
3551 | ||
3552 | static PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3553 | PyObject *resultobj; | |
3554 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3555 | wxTreeItemId *arg2 = 0 ; | |
3556 | wxPyTreeItemData *result; | |
3557 | PyObject * obj0 = 0 ; | |
3558 | PyObject * obj1 = 0 ; | |
3559 | char *kwnames[] = { | |
3560 | (char *) "self",(char *) "item", NULL | |
3561 | }; | |
3562 | ||
3563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail; | |
3564 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3565 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3566 | if (arg2 == NULL) { | |
3567 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3568 | } | |
3569 | { | |
3570 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3571 | result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2); | |
3572 | ||
3573 | wxPyEndAllowThreads(__tstate); | |
3574 | if (PyErr_Occurred()) SWIG_fail; | |
3575 | } | |
3576 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0); | |
3577 | return resultobj; | |
3578 | fail: | |
3579 | return NULL; | |
3580 | } | |
3581 | ||
3582 | ||
3583 | static PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3584 | PyObject *resultobj; | |
3585 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3586 | wxTreeItemId *arg2 = 0 ; | |
3587 | wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ; | |
3588 | PyObject * obj0 = 0 ; | |
3589 | PyObject * obj1 = 0 ; | |
3590 | PyObject * obj2 = 0 ; | |
3591 | char *kwnames[] = { | |
3592 | (char *) "self",(char *) "item",(char *) "data", NULL | |
3593 | }; | |
3594 | ||
3595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3596 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3597 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3598 | if (arg2 == NULL) { | |
3599 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3600 | } | |
3601 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3602 | { | |
3603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3604 | wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3); | |
3605 | ||
3606 | wxPyEndAllowThreads(__tstate); | |
3607 | if (PyErr_Occurred()) SWIG_fail; | |
3608 | } | |
3609 | Py_INCREF(Py_None); resultobj = Py_None; | |
3610 | return resultobj; | |
3611 | fail: | |
3612 | return NULL; | |
3613 | } | |
3614 | ||
3615 | ||
3616 | static PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3617 | PyObject *resultobj; | |
3618 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3619 | wxTreeItemId *arg2 = 0 ; | |
3620 | PyObject *result; | |
3621 | PyObject * obj0 = 0 ; | |
3622 | PyObject * obj1 = 0 ; | |
3623 | char *kwnames[] = { | |
3624 | (char *) "self",(char *) "item", NULL | |
3625 | }; | |
3626 | ||
3627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail; | |
3628 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3629 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3630 | if (arg2 == NULL) { | |
3631 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3632 | } | |
3633 | { | |
3634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3635 | result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2); | |
3636 | ||
3637 | wxPyEndAllowThreads(__tstate); | |
3638 | if (PyErr_Occurred()) SWIG_fail; | |
3639 | } | |
3640 | resultobj = result; | |
3641 | return resultobj; | |
3642 | fail: | |
3643 | return NULL; | |
3644 | } | |
3645 | ||
3646 | ||
3647 | static PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3648 | PyObject *resultobj; | |
3649 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3650 | wxTreeItemId *arg2 = 0 ; | |
3651 | PyObject *arg3 = (PyObject *) 0 ; | |
3652 | PyObject * obj0 = 0 ; | |
3653 | PyObject * obj1 = 0 ; | |
3654 | PyObject * obj2 = 0 ; | |
3655 | char *kwnames[] = { | |
3656 | (char *) "self",(char *) "item",(char *) "obj", NULL | |
3657 | }; | |
3658 | ||
3659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3660 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3661 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3662 | if (arg2 == NULL) { | |
3663 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3664 | } | |
3665 | arg3 = obj2; | |
3666 | { | |
3667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3668 | wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3); | |
3669 | ||
3670 | wxPyEndAllowThreads(__tstate); | |
3671 | if (PyErr_Occurred()) SWIG_fail; | |
3672 | } | |
3673 | Py_INCREF(Py_None); resultobj = Py_None; | |
3674 | return resultobj; | |
3675 | fail: | |
3676 | return NULL; | |
3677 | } | |
3678 | ||
3679 | ||
3680 | static PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3681 | PyObject *resultobj; | |
3682 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3683 | wxTreeItemId *arg2 = 0 ; | |
e811c8ce | 3684 | bool arg3 = (bool) True ; |
d14a1e28 RD |
3685 | PyObject * obj0 = 0 ; |
3686 | PyObject * obj1 = 0 ; | |
3687 | PyObject * obj2 = 0 ; | |
3688 | char *kwnames[] = { | |
3689 | (char *) "self",(char *) "item",(char *) "has", NULL | |
3690 | }; | |
3691 | ||
3692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3693 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3694 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3695 | if (arg2 == NULL) { | |
3696 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3697 | } | |
3698 | if (obj2) { | |
3699 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
3700 | if (PyErr_Occurred()) SWIG_fail; | |
3701 | } | |
3702 | { | |
3703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3704 | (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3); | |
3705 | ||
3706 | wxPyEndAllowThreads(__tstate); | |
3707 | if (PyErr_Occurred()) SWIG_fail; | |
3708 | } | |
3709 | Py_INCREF(Py_None); resultobj = Py_None; | |
3710 | return resultobj; | |
3711 | fail: | |
3712 | return NULL; | |
3713 | } | |
3714 | ||
3715 | ||
3716 | static PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3717 | PyObject *resultobj; | |
3718 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3719 | wxTreeItemId *arg2 = 0 ; | |
e811c8ce | 3720 | bool arg3 = (bool) True ; |
d14a1e28 RD |
3721 | PyObject * obj0 = 0 ; |
3722 | PyObject * obj1 = 0 ; | |
3723 | PyObject * obj2 = 0 ; | |
3724 | char *kwnames[] = { | |
3725 | (char *) "self",(char *) "item",(char *) "bold", NULL | |
3726 | }; | |
3727 | ||
3728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3729 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3730 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3731 | if (arg2 == NULL) { | |
3732 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3733 | } | |
3734 | if (obj2) { | |
3735 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
3736 | if (PyErr_Occurred()) SWIG_fail; | |
3737 | } | |
3738 | { | |
3739 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3740 | (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3); | |
3741 | ||
3742 | wxPyEndAllowThreads(__tstate); | |
3743 | if (PyErr_Occurred()) SWIG_fail; | |
3744 | } | |
3745 | Py_INCREF(Py_None); resultobj = Py_None; | |
3746 | return resultobj; | |
3747 | fail: | |
3748 | return NULL; | |
3749 | } | |
3750 | ||
3751 | ||
3752 | static PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3753 | PyObject *resultobj; | |
3754 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3755 | wxTreeItemId *arg2 = 0 ; | |
3756 | wxColour *arg3 = 0 ; | |
3757 | wxColour temp3 ; | |
3758 | PyObject * obj0 = 0 ; | |
3759 | PyObject * obj1 = 0 ; | |
3760 | PyObject * obj2 = 0 ; | |
3761 | char *kwnames[] = { | |
3762 | (char *) "self",(char *) "item",(char *) "col", NULL | |
3763 | }; | |
3764 | ||
3765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3766 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3767 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3768 | if (arg2 == NULL) { | |
3769 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3770 | } | |
3771 | { | |
3772 | arg3 = &temp3; | |
3773 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3774 | } | |
3775 | { | |
3776 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3777 | (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3); | |
3778 | ||
3779 | wxPyEndAllowThreads(__tstate); | |
3780 | if (PyErr_Occurred()) SWIG_fail; | |
3781 | } | |
3782 | Py_INCREF(Py_None); resultobj = Py_None; | |
3783 | return resultobj; | |
3784 | fail: | |
3785 | return NULL; | |
3786 | } | |
3787 | ||
3788 | ||
3789 | static PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3790 | PyObject *resultobj; | |
3791 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3792 | wxTreeItemId *arg2 = 0 ; | |
3793 | wxColour *arg3 = 0 ; | |
3794 | wxColour temp3 ; | |
3795 | PyObject * obj0 = 0 ; | |
3796 | PyObject * obj1 = 0 ; | |
3797 | PyObject * obj2 = 0 ; | |
3798 | char *kwnames[] = { | |
3799 | (char *) "self",(char *) "item",(char *) "col", NULL | |
3800 | }; | |
3801 | ||
3802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3803 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3804 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3805 | if (arg2 == NULL) { | |
3806 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3807 | } | |
3808 | { | |
3809 | arg3 = &temp3; | |
3810 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
3811 | } | |
3812 | { | |
3813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3814 | (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3); | |
3815 | ||
3816 | wxPyEndAllowThreads(__tstate); | |
3817 | if (PyErr_Occurred()) SWIG_fail; | |
3818 | } | |
3819 | Py_INCREF(Py_None); resultobj = Py_None; | |
3820 | return resultobj; | |
3821 | fail: | |
3822 | return NULL; | |
3823 | } | |
3824 | ||
3825 | ||
3826 | static PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3827 | PyObject *resultobj; | |
3828 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3829 | wxTreeItemId *arg2 = 0 ; | |
3830 | wxFont *arg3 = 0 ; | |
3831 | PyObject * obj0 = 0 ; | |
3832 | PyObject * obj1 = 0 ; | |
3833 | PyObject * obj2 = 0 ; | |
3834 | char *kwnames[] = { | |
3835 | (char *) "self",(char *) "item",(char *) "font", NULL | |
3836 | }; | |
3837 | ||
3838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3839 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3840 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3841 | if (arg2 == NULL) { | |
3842 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3843 | } | |
3844 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3845 | if (arg3 == NULL) { | |
3846 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3847 | } | |
3848 | { | |
3849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3850 | (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3); | |
3851 | ||
3852 | wxPyEndAllowThreads(__tstate); | |
3853 | if (PyErr_Occurred()) SWIG_fail; | |
3854 | } | |
3855 | Py_INCREF(Py_None); resultobj = Py_None; | |
3856 | return resultobj; | |
3857 | fail: | |
3858 | return NULL; | |
3859 | } | |
3860 | ||
3861 | ||
3862 | static PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3863 | PyObject *resultobj; | |
3864 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3865 | wxTreeItemId *arg2 = 0 ; | |
3866 | bool result; | |
3867 | PyObject * obj0 = 0 ; | |
3868 | PyObject * obj1 = 0 ; | |
3869 | char *kwnames[] = { | |
3870 | (char *) "self",(char *) "item", NULL | |
3871 | }; | |
3872 | ||
3873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) goto fail; | |
3874 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3875 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3876 | if (arg2 == NULL) { | |
3877 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3878 | } | |
3879 | { | |
3880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3881 | result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2); | |
3882 | ||
3883 | wxPyEndAllowThreads(__tstate); | |
3884 | if (PyErr_Occurred()) SWIG_fail; | |
3885 | } | |
3886 | resultobj = PyInt_FromLong((long)result); | |
3887 | return resultobj; | |
3888 | fail: | |
3889 | return NULL; | |
3890 | } | |
3891 | ||
3892 | ||
3893 | static PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3894 | PyObject *resultobj; | |
3895 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3896 | wxTreeItemId *arg2 = 0 ; | |
3897 | wxColour result; | |
3898 | PyObject * obj0 = 0 ; | |
3899 | PyObject * obj1 = 0 ; | |
3900 | char *kwnames[] = { | |
3901 | (char *) "self",(char *) "item", NULL | |
3902 | }; | |
3903 | ||
3904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail; | |
3905 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3906 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3907 | if (arg2 == NULL) { | |
3908 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3909 | } | |
3910 | { | |
3911 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3912 | result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2); | |
3913 | ||
3914 | wxPyEndAllowThreads(__tstate); | |
3915 | if (PyErr_Occurred()) SWIG_fail; | |
3916 | } | |
3917 | { | |
3918 | wxColour * resultptr; | |
3919 | resultptr = new wxColour((wxColour &) result); | |
3920 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3921 | } | |
3922 | return resultobj; | |
3923 | fail: | |
3924 | return NULL; | |
3925 | } | |
3926 | ||
3927 | ||
3928 | static PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3929 | PyObject *resultobj; | |
3930 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3931 | wxTreeItemId *arg2 = 0 ; | |
3932 | wxColour result; | |
3933 | PyObject * obj0 = 0 ; | |
3934 | PyObject * obj1 = 0 ; | |
3935 | char *kwnames[] = { | |
3936 | (char *) "self",(char *) "item", NULL | |
3937 | }; | |
3938 | ||
3939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail; | |
3940 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3941 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3942 | if (arg2 == NULL) { | |
3943 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3944 | } | |
3945 | { | |
3946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3947 | result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2); | |
3948 | ||
3949 | wxPyEndAllowThreads(__tstate); | |
3950 | if (PyErr_Occurred()) SWIG_fail; | |
3951 | } | |
3952 | { | |
3953 | wxColour * resultptr; | |
3954 | resultptr = new wxColour((wxColour &) result); | |
3955 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1); | |
3956 | } | |
3957 | return resultobj; | |
3958 | fail: | |
3959 | return NULL; | |
3960 | } | |
3961 | ||
3962 | ||
3963 | static PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3964 | PyObject *resultobj; | |
3965 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3966 | wxTreeItemId *arg2 = 0 ; | |
3967 | wxFont result; | |
3968 | PyObject * obj0 = 0 ; | |
3969 | PyObject * obj1 = 0 ; | |
3970 | char *kwnames[] = { | |
3971 | (char *) "self",(char *) "item", NULL | |
3972 | }; | |
3973 | ||
3974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail; | |
3975 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3976 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
3977 | if (arg2 == NULL) { | |
3978 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
3979 | } | |
3980 | { | |
3981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3982 | result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2); | |
3983 | ||
3984 | wxPyEndAllowThreads(__tstate); | |
3985 | if (PyErr_Occurred()) SWIG_fail; | |
3986 | } | |
3987 | { | |
3988 | wxFont * resultptr; | |
3989 | resultptr = new wxFont((wxFont &) result); | |
3990 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1); | |
3991 | } | |
3992 | return resultobj; | |
3993 | fail: | |
3994 | return NULL; | |
3995 | } | |
3996 | ||
3997 | ||
3998 | static PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3999 | PyObject *resultobj; | |
4000 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4001 | wxTreeItemId *arg2 = 0 ; | |
4002 | bool result; | |
4003 | PyObject * obj0 = 0 ; | |
4004 | PyObject * obj1 = 0 ; | |
4005 | char *kwnames[] = { | |
4006 | (char *) "self",(char *) "item", NULL | |
4007 | }; | |
4008 | ||
4009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
4010 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4011 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4012 | if (arg2 == NULL) { | |
4013 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4014 | } | |
4015 | { | |
4016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4017 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2); | |
4018 | ||
4019 | wxPyEndAllowThreads(__tstate); | |
4020 | if (PyErr_Occurred()) SWIG_fail; | |
4021 | } | |
4022 | resultobj = PyInt_FromLong((long)result); | |
4023 | return resultobj; | |
4024 | fail: | |
4025 | return NULL; | |
4026 | } | |
4027 | ||
4028 | ||
4029 | static PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4030 | PyObject *resultobj; | |
4031 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4032 | wxTreeItemId *arg2 = 0 ; | |
4033 | bool result; | |
4034 | PyObject * obj0 = 0 ; | |
4035 | PyObject * obj1 = 0 ; | |
4036 | char *kwnames[] = { | |
4037 | (char *) "self",(char *) "item", NULL | |
4038 | }; | |
4039 | ||
4040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail; | |
4041 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4042 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4043 | if (arg2 == NULL) { | |
4044 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4045 | } | |
4046 | { | |
4047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4048 | result = (bool)((wxPyTreeListCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2); | |
4049 | ||
4050 | wxPyEndAllowThreads(__tstate); | |
4051 | if (PyErr_Occurred()) SWIG_fail; | |
4052 | } | |
4053 | resultobj = PyInt_FromLong((long)result); | |
4054 | return resultobj; | |
4055 | fail: | |
4056 | return NULL; | |
4057 | } | |
4058 | ||
4059 | ||
4060 | static PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4061 | PyObject *resultobj; | |
4062 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4063 | wxTreeItemId *arg2 = 0 ; | |
4064 | bool result; | |
4065 | PyObject * obj0 = 0 ; | |
4066 | PyObject * obj1 = 0 ; | |
4067 | char *kwnames[] = { | |
4068 | (char *) "self",(char *) "item", NULL | |
4069 | }; | |
4070 | ||
4071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail; | |
4072 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4073 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4074 | if (arg2 == NULL) { | |
4075 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4076 | } | |
4077 | { | |
4078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4079 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2); | |
4080 | ||
4081 | wxPyEndAllowThreads(__tstate); | |
4082 | if (PyErr_Occurred()) SWIG_fail; | |
4083 | } | |
4084 | resultobj = PyInt_FromLong((long)result); | |
4085 | return resultobj; | |
4086 | fail: | |
4087 | return NULL; | |
4088 | } | |
4089 | ||
4090 | ||
4091 | static PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4092 | PyObject *resultobj; | |
4093 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4094 | wxTreeItemId *arg2 = 0 ; | |
4095 | bool result; | |
4096 | PyObject * obj0 = 0 ; | |
4097 | PyObject * obj1 = 0 ; | |
4098 | char *kwnames[] = { | |
4099 | (char *) "self",(char *) "item", NULL | |
4100 | }; | |
4101 | ||
4102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
4103 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4104 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4105 | if (arg2 == NULL) { | |
4106 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4107 | } | |
4108 | { | |
4109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4110 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2); | |
4111 | ||
4112 | wxPyEndAllowThreads(__tstate); | |
4113 | if (PyErr_Occurred()) SWIG_fail; | |
4114 | } | |
4115 | resultobj = PyInt_FromLong((long)result); | |
4116 | return resultobj; | |
4117 | fail: | |
4118 | return NULL; | |
4119 | } | |
4120 | ||
4121 | ||
4122 | static PyObject *_wrap_TreeListCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4123 | PyObject *resultobj; | |
4124 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4125 | wxTreeItemId *arg2 = 0 ; | |
4126 | bool result; | |
4127 | PyObject * obj0 = 0 ; | |
4128 | PyObject * obj1 = 0 ; | |
4129 | char *kwnames[] = { | |
4130 | (char *) "self",(char *) "item", NULL | |
4131 | }; | |
4132 | ||
4133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail; | |
4134 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4135 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4136 | if (arg2 == NULL) { | |
4137 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4138 | } | |
4139 | { | |
4140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4141 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2); | |
4142 | ||
4143 | wxPyEndAllowThreads(__tstate); | |
4144 | if (PyErr_Occurred()) SWIG_fail; | |
4145 | } | |
4146 | resultobj = PyInt_FromLong((long)result); | |
4147 | return resultobj; | |
4148 | fail: | |
4149 | return NULL; | |
4150 | } | |
4151 | ||
4152 | ||
4153 | static PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4154 | PyObject *resultobj; | |
4155 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4156 | wxTreeItemId *arg2 = 0 ; | |
e811c8ce | 4157 | bool arg3 = (bool) True ; |
d14a1e28 RD |
4158 | size_t result; |
4159 | PyObject * obj0 = 0 ; | |
4160 | PyObject * obj1 = 0 ; | |
4161 | PyObject * obj2 = 0 ; | |
4162 | char *kwnames[] = { | |
4163 | (char *) "self",(char *) "item",(char *) "recursively", NULL | |
4164 | }; | |
4165 | ||
4166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4167 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4168 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4169 | if (arg2 == NULL) { | |
4170 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4171 | } | |
4172 | if (obj2) { | |
4173 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
4174 | if (PyErr_Occurred()) SWIG_fail; | |
4175 | } | |
4176 | { | |
4177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4178 | result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3); | |
4179 | ||
4180 | wxPyEndAllowThreads(__tstate); | |
4181 | if (PyErr_Occurred()) SWIG_fail; | |
4182 | } | |
4183 | resultobj = PyInt_FromLong((long)result); | |
4184 | return resultobj; | |
4185 | fail: | |
4186 | return NULL; | |
4187 | } | |
4188 | ||
4189 | ||
4190 | static PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4191 | PyObject *resultobj; | |
4192 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4193 | wxTreeItemId result; | |
4194 | PyObject * obj0 = 0 ; | |
4195 | char *kwnames[] = { | |
4196 | (char *) "self", NULL | |
4197 | }; | |
4198 | ||
4199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetRootItem",kwnames,&obj0)) goto fail; | |
4200 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4201 | { | |
4202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4203 | result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem(); | |
4204 | ||
4205 | wxPyEndAllowThreads(__tstate); | |
4206 | if (PyErr_Occurred()) SWIG_fail; | |
4207 | } | |
4208 | { | |
4209 | wxTreeItemId * resultptr; | |
4210 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
4211 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1); | |
4212 | } | |
4213 | return resultobj; | |
4214 | fail: | |
4215 | return NULL; | |
4216 | } | |
4217 | ||
4218 | ||
4219 | static PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4220 | PyObject *resultobj; | |
4221 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4222 | wxTreeItemId result; | |
4223 | PyObject * obj0 = 0 ; | |
4224 | char *kwnames[] = { | |
4225 | (char *) "self", NULL | |
4226 | }; | |
4227 | ||
4228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelection",kwnames,&obj0)) goto fail; | |
4229 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4230 | { | |
4231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4232 | result = ((wxPyTreeListCtrl const *)arg1)->GetSelection(); | |
4233 | ||
4234 | wxPyEndAllowThreads(__tstate); | |
4235 | if (PyErr_Occurred()) SWIG_fail; | |
4236 | } | |
4237 | { | |
4238 | wxTreeItemId * resultptr; | |
4239 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
4240 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1); | |
4241 | } | |
4242 | return resultobj; | |
4243 | fail: | |
4244 | return NULL; | |
4245 | } | |
4246 | ||
4247 | ||
4248 | static PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4249 | PyObject *resultobj; | |
4250 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4251 | PyObject *result; | |
4252 | PyObject * obj0 = 0 ; | |
4253 | char *kwnames[] = { | |
4254 | (char *) "self", NULL | |
4255 | }; | |
4256 | ||
4257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelections",kwnames,&obj0)) goto fail; | |
4258 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4259 | { | |
4260 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4261 | result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1); | |
4262 | ||
4263 | wxPyEndAllowThreads(__tstate); | |
4264 | if (PyErr_Occurred()) SWIG_fail; | |
4265 | } | |
4266 | resultobj = result; | |
4267 | return resultobj; | |
4268 | fail: | |
4269 | return NULL; | |
4270 | } | |
4271 | ||
4272 | ||
4273 | static PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4274 | PyObject *resultobj; | |
4275 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4276 | wxTreeItemId *arg2 = 0 ; | |
4277 | wxTreeItemId result; | |
4278 | PyObject * obj0 = 0 ; | |
4279 | PyObject * obj1 = 0 ; | |
4280 | char *kwnames[] = { | |
4281 | (char *) "self",(char *) "item", NULL | |
4282 | }; | |
4283 | ||
4284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail; | |
4285 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4286 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4287 | if (arg2 == NULL) { | |
4288 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4289 | } | |
4290 | { | |
4291 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4292 | result = ((wxPyTreeListCtrl const *)arg1)->GetParent((wxTreeItemId const &)*arg2); | |
4293 | ||
4294 | wxPyEndAllowThreads(__tstate); | |
4295 | if (PyErr_Occurred()) SWIG_fail; | |
4296 | } | |
4297 | { | |
4298 | wxTreeItemId * resultptr; | |
4299 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
4300 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1); | |
4301 | } | |
4302 | return resultobj; | |
4303 | fail: | |
4304 | return NULL; | |
4305 | } | |
4306 | ||
4307 | ||
4308 | static PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4309 | PyObject *resultobj; | |
4310 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4311 | wxTreeItemId *arg2 = 0 ; | |
4312 | PyObject *result; | |
4313 | PyObject * obj0 = 0 ; | |
4314 | PyObject * obj1 = 0 ; | |
4315 | char *kwnames[] = { | |
4316 | (char *) "self",(char *) "item", NULL | |
4317 | }; | |
4318 | ||
4319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail; | |
4320 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4321 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4322 | if (arg2 == NULL) { | |
4323 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4324 | } | |
4325 | { | |
4326 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4327 | result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2); | |
4328 | ||
4329 | wxPyEndAllowThreads(__tstate); | |
4330 | if (PyErr_Occurred()) SWIG_fail; | |
4331 | } | |
4332 | resultobj = result; | |
4333 | return resultobj; | |
4334 | fail: | |
4335 | return NULL; | |
4336 | } | |
4337 | ||
4338 | ||
4339 | static PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4340 | PyObject *resultobj; | |
4341 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4342 | wxTreeItemId *arg2 = 0 ; | |
4343 | long arg3 ; | |
4344 | PyObject *result; | |
4345 | PyObject * obj0 = 0 ; | |
4346 | PyObject * obj1 = 0 ; | |
4347 | char *kwnames[] = { | |
4348 | (char *) "self",(char *) "item",(char *) "cookie", NULL | |
4349 | }; | |
4350 | ||
4351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOl:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
4352 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4353 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4354 | if (arg2 == NULL) { | |
4355 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4356 | } | |
4357 | { | |
4358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4359 | result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3); | |
4360 | ||
4361 | wxPyEndAllowThreads(__tstate); | |
4362 | if (PyErr_Occurred()) SWIG_fail; | |
4363 | } | |
4364 | resultobj = result; | |
4365 | return resultobj; | |
4366 | fail: | |
4367 | return NULL; | |
4368 | } | |
4369 | ||
4370 | ||
4371 | static PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4372 | PyObject *resultobj; | |
4373 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4374 | wxTreeItemId *arg2 = 0 ; | |
4375 | wxTreeItemId result; | |
4376 | PyObject * obj0 = 0 ; | |
4377 | PyObject * obj1 = 0 ; | |
4378 | char *kwnames[] = { | |
4379 | (char *) "self",(char *) "item", NULL | |
4380 | }; | |
4381 | ||
4382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail; | |
4383 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4384 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4385 | if (arg2 == NULL) { | |
4386 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4387 | } | |
4388 | { | |
4389 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4390 | result = ((wxPyTreeListCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2); | |
4391 | ||
4392 | wxPyEndAllowThreads(__tstate); | |
4393 | if (PyErr_Occurred()) SWIG_fail; | |
4394 | } | |
4395 | { | |
4396 | wxTreeItemId * resultptr; | |
4397 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
4398 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1); | |
4399 | } | |
4400 | return resultobj; | |
4401 | fail: | |
4402 | return NULL; | |
4403 | } | |
4404 | ||
4405 | ||
4406 | static PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4407 | PyObject *resultobj; | |
4408 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4409 | wxTreeItemId *arg2 = 0 ; | |
4410 | wxTreeItemId result; | |
4411 | PyObject * obj0 = 0 ; | |
4412 | PyObject * obj1 = 0 ; | |
4413 | char *kwnames[] = { | |
4414 | (char *) "self",(char *) "item", NULL | |
4415 | }; | |
4416 | ||
4417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail; | |
4418 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4419 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4420 | if (arg2 == NULL) { | |
4421 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4422 | } | |
4423 | { | |
4424 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4425 | result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2); | |
4426 | ||
4427 | wxPyEndAllowThreads(__tstate); | |
4428 | if (PyErr_Occurred()) SWIG_fail; | |
4429 | } | |
4430 | { | |
4431 | wxTreeItemId * resultptr; | |
4432 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
4433 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1); | |
4434 | } | |
4435 | return resultobj; | |
4436 | fail: | |
4437 | return NULL; | |
4438 | } | |
4439 | ||
4440 | ||
4441 | static PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4442 | PyObject *resultobj; | |
4443 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4444 | wxTreeItemId *arg2 = 0 ; | |
4445 | wxTreeItemId result; | |
4446 | PyObject * obj0 = 0 ; | |
4447 | PyObject * obj1 = 0 ; | |
4448 | char *kwnames[] = { | |
4449 | (char *) "self",(char *) "item", NULL | |
4450 | }; | |
4451 | ||
4452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail; | |
4453 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4454 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4455 | if (arg2 == NULL) { | |
4456 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4457 | } | |
4458 | { | |
4459 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4460 | result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2); | |
4461 | ||
4462 | wxPyEndAllowThreads(__tstate); | |
4463 | if (PyErr_Occurred()) SWIG_fail; | |
4464 | } | |
4465 | { | |
4466 | wxTreeItemId * resultptr; | |
4467 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
4468 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1); | |
4469 | } | |
4470 | return resultobj; | |
4471 | fail: | |
4472 | return NULL; | |
4473 | } | |
4474 | ||
4475 | ||
4476 | static PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4477 | PyObject *resultobj; | |
4478 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4479 | wxTreeItemId result; | |
4480 | PyObject * obj0 = 0 ; | |
4481 | char *kwnames[] = { | |
4482 | (char *) "self", NULL | |
4483 | }; | |
4484 | ||
4485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail; | |
4486 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4487 | { | |
4488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4489 | result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem(); | |
4490 | ||
4491 | wxPyEndAllowThreads(__tstate); | |
4492 | if (PyErr_Occurred()) SWIG_fail; | |
4493 | } | |
4494 | { | |
4495 | wxTreeItemId * resultptr; | |
4496 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
4497 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1); | |
4498 | } | |
4499 | return resultobj; | |
4500 | fail: | |
4501 | return NULL; | |
4502 | } | |
4503 | ||
4504 | ||
4505 | static PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4506 | PyObject *resultobj; | |
4507 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4508 | wxTreeItemId *arg2 = 0 ; | |
4509 | wxTreeItemId result; | |
4510 | PyObject * obj0 = 0 ; | |
4511 | PyObject * obj1 = 0 ; | |
4512 | char *kwnames[] = { | |
4513 | (char *) "self",(char *) "item", NULL | |
4514 | }; | |
4515 | ||
4516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail; | |
4517 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4518 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4519 | if (arg2 == NULL) { | |
4520 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4521 | } | |
4522 | { | |
4523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4524 | result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2); | |
4525 | ||
4526 | wxPyEndAllowThreads(__tstate); | |
4527 | if (PyErr_Occurred()) SWIG_fail; | |
4528 | } | |
4529 | { | |
4530 | wxTreeItemId * resultptr; | |
4531 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
4532 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1); | |
4533 | } | |
4534 | return resultobj; | |
4535 | fail: | |
4536 | return NULL; | |
4537 | } | |
4538 | ||
4539 | ||
4540 | static PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4541 | PyObject *resultobj; | |
4542 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4543 | wxTreeItemId *arg2 = 0 ; | |
4544 | wxTreeItemId result; | |
4545 | PyObject * obj0 = 0 ; | |
4546 | PyObject * obj1 = 0 ; | |
4547 | char *kwnames[] = { | |
4548 | (char *) "self",(char *) "item", NULL | |
4549 | }; | |
4550 | ||
4551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail; | |
4552 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4553 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4554 | if (arg2 == NULL) { | |
4555 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4556 | } | |
4557 | { | |
4558 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4559 | result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2); | |
4560 | ||
4561 | wxPyEndAllowThreads(__tstate); | |
4562 | if (PyErr_Occurred()) SWIG_fail; | |
4563 | } | |
4564 | { | |
4565 | wxTreeItemId * resultptr; | |
4566 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
4567 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1); | |
4568 | } | |
4569 | return resultobj; | |
4570 | fail: | |
4571 | return NULL; | |
4572 | } | |
4573 | ||
4574 | ||
4575 | static PyObject *_wrap_TreeListCtrl_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4576 | PyObject *resultobj; | |
4577 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4578 | wxTreeItemId *arg2 = 0 ; | |
4579 | wxTreeItemId result; | |
4580 | PyObject * obj0 = 0 ; | |
4581 | PyObject * obj1 = 0 ; | |
4582 | char *kwnames[] = { | |
4583 | (char *) "self",(char *) "item", NULL | |
4584 | }; | |
4585 | ||
4586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) goto fail; | |
4587 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4588 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4589 | if (arg2 == NULL) { | |
4590 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4591 | } | |
4592 | { | |
4593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4594 | result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2); | |
4595 | ||
4596 | wxPyEndAllowThreads(__tstate); | |
4597 | if (PyErr_Occurred()) SWIG_fail; | |
4598 | } | |
4599 | { | |
4600 | wxTreeItemId * resultptr; | |
4601 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
4602 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1); | |
4603 | } | |
4604 | return resultobj; | |
4605 | fail: | |
4606 | return NULL; | |
4607 | } | |
4608 | ||
4609 | ||
4610 | static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4611 | PyObject *resultobj; | |
4612 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4613 | wxString *arg2 = 0 ; | |
4614 | int arg3 = (int) -1 ; | |
4615 | int arg4 = (int) -1 ; | |
4616 | wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ; | |
4617 | wxTreeItemId result; | |
e811c8ce | 4618 | bool temp2 = False ; |
d14a1e28 RD |
4619 | PyObject * obj0 = 0 ; |
4620 | PyObject * obj1 = 0 ; | |
4621 | PyObject * obj4 = 0 ; | |
4622 | char *kwnames[] = { | |
4623 | (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
4624 | }; | |
4625 | ||
4626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail; | |
4627 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4628 | { | |
4629 | arg2 = wxString_in_helper(obj1); | |
4630 | if (arg2 == NULL) SWIG_fail; | |
e811c8ce | 4631 | temp2 = True; |
d14a1e28 RD |
4632 | } |
4633 | if (obj4) { | |
4634 | if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4635 | } | |
4636 | { | |
4637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4638 | result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5); | |
4639 | ||
4640 | wxPyEndAllowThreads(__tstate); | |
4641 | if (PyErr_Occurred()) SWIG_fail; | |
4642 | } | |
4643 | { | |
4644 | wxTreeItemId * resultptr; | |
4645 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
4646 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1); | |
4647 | } | |
4648 | { | |
4649 | if (temp2) | |
4650 | delete arg2; | |
4651 | } | |
4652 | return resultobj; | |
4653 | fail: | |
4654 | { | |
4655 | if (temp2) | |
4656 | delete arg2; | |
4657 | } | |
4658 | return NULL; | |
4659 | } | |
4660 | ||
4661 | ||
4662 | static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4663 | PyObject *resultobj; | |
4664 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4665 | wxTreeItemId *arg2 = 0 ; | |
4666 | wxString *arg3 = 0 ; | |
4667 | int arg4 = (int) -1 ; | |
4668 | int arg5 = (int) -1 ; | |
4669 | wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ; | |
4670 | wxTreeItemId result; | |
e811c8ce | 4671 | bool temp3 = False ; |
d14a1e28 RD |
4672 | PyObject * obj0 = 0 ; |
4673 | PyObject * obj1 = 0 ; | |
4674 | PyObject * obj2 = 0 ; | |
4675 | PyObject * obj5 = 0 ; | |
4676 | char *kwnames[] = { | |
4677 | (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
4678 | }; | |
4679 | ||
4680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail; | |
4681 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4682 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4683 | if (arg2 == NULL) { | |
4684 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4685 | } | |
4686 | { | |
4687 | arg3 = wxString_in_helper(obj2); | |
4688 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 4689 | temp3 = True; |
d14a1e28 RD |
4690 | } |
4691 | if (obj5) { | |
4692 | if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4693 | } | |
4694 | { | |
4695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4696 | result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6); | |
4697 | ||
4698 | wxPyEndAllowThreads(__tstate); | |
4699 | if (PyErr_Occurred()) SWIG_fail; | |
4700 | } | |
4701 | { | |
4702 | wxTreeItemId * resultptr; | |
4703 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
4704 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1); | |
4705 | } | |
4706 | { | |
4707 | if (temp3) | |
4708 | delete arg3; | |
4709 | } | |
4710 | return resultobj; | |
4711 | fail: | |
4712 | { | |
4713 | if (temp3) | |
4714 | delete arg3; | |
4715 | } | |
4716 | return NULL; | |
4717 | } | |
4718 | ||
4719 | ||
4720 | static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4721 | PyObject *resultobj; | |
4722 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4723 | wxTreeItemId *arg2 = 0 ; | |
4724 | wxTreeItemId *arg3 = 0 ; | |
4725 | wxString *arg4 = 0 ; | |
4726 | int arg5 = (int) -1 ; | |
4727 | int arg6 = (int) -1 ; | |
4728 | wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ; | |
4729 | wxTreeItemId result; | |
e811c8ce | 4730 | bool temp4 = False ; |
d14a1e28 RD |
4731 | PyObject * obj0 = 0 ; |
4732 | PyObject * obj1 = 0 ; | |
4733 | PyObject * obj2 = 0 ; | |
4734 | PyObject * obj3 = 0 ; | |
4735 | PyObject * obj6 = 0 ; | |
4736 | char *kwnames[] = { | |
4737 | (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
4738 | }; | |
4739 | ||
4740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail; | |
4741 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4742 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4743 | if (arg2 == NULL) { | |
4744 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4745 | } | |
4746 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4747 | if (arg3 == NULL) { | |
4748 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4749 | } | |
4750 | { | |
4751 | arg4 = wxString_in_helper(obj3); | |
4752 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 4753 | temp4 = True; |
d14a1e28 RD |
4754 | } |
4755 | if (obj6) { | |
4756 | if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4757 | } | |
4758 | { | |
4759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4760 | result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7); | |
4761 | ||
4762 | wxPyEndAllowThreads(__tstate); | |
4763 | if (PyErr_Occurred()) SWIG_fail; | |
4764 | } | |
4765 | { | |
4766 | wxTreeItemId * resultptr; | |
4767 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
4768 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1); | |
4769 | } | |
4770 | { | |
4771 | if (temp4) | |
4772 | delete arg4; | |
4773 | } | |
4774 | return resultobj; | |
4775 | fail: | |
4776 | { | |
4777 | if (temp4) | |
4778 | delete arg4; | |
4779 | } | |
4780 | return NULL; | |
4781 | } | |
4782 | ||
4783 | ||
4784 | static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4785 | PyObject *resultobj; | |
4786 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4787 | wxTreeItemId *arg2 = 0 ; | |
4788 | size_t arg3 ; | |
4789 | wxString *arg4 = 0 ; | |
4790 | int arg5 = (int) -1 ; | |
4791 | int arg6 = (int) -1 ; | |
4792 | wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ; | |
4793 | wxTreeItemId result; | |
e811c8ce | 4794 | bool temp4 = False ; |
d14a1e28 RD |
4795 | PyObject * obj0 = 0 ; |
4796 | PyObject * obj1 = 0 ; | |
4797 | PyObject * obj2 = 0 ; | |
4798 | PyObject * obj3 = 0 ; | |
4799 | PyObject * obj6 = 0 ; | |
4800 | char *kwnames[] = { | |
4801 | (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
4802 | }; | |
4803 | ||
4804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail; | |
4805 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4806 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4807 | if (arg2 == NULL) { | |
4808 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4809 | } | |
4810 | arg3 = (size_t) PyInt_AsLong(obj2); | |
4811 | if (PyErr_Occurred()) SWIG_fail; | |
4812 | { | |
4813 | arg4 = wxString_in_helper(obj3); | |
4814 | if (arg4 == NULL) SWIG_fail; | |
e811c8ce | 4815 | temp4 = True; |
d14a1e28 RD |
4816 | } |
4817 | if (obj6) { | |
4818 | if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4819 | } | |
4820 | { | |
4821 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4822 | result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7); | |
4823 | ||
4824 | wxPyEndAllowThreads(__tstate); | |
4825 | if (PyErr_Occurred()) SWIG_fail; | |
4826 | } | |
4827 | { | |
4828 | wxTreeItemId * resultptr; | |
4829 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
4830 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1); | |
4831 | } | |
4832 | { | |
4833 | if (temp4) | |
4834 | delete arg4; | |
4835 | } | |
4836 | return resultobj; | |
4837 | fail: | |
4838 | { | |
4839 | if (temp4) | |
4840 | delete arg4; | |
4841 | } | |
4842 | return NULL; | |
4843 | } | |
4844 | ||
4845 | ||
4846 | static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4847 | PyObject *resultobj; | |
4848 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4849 | wxTreeItemId *arg2 = 0 ; | |
4850 | wxString *arg3 = 0 ; | |
4851 | int arg4 = (int) -1 ; | |
4852 | int arg5 = (int) -1 ; | |
4853 | wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ; | |
4854 | wxTreeItemId result; | |
e811c8ce | 4855 | bool temp3 = False ; |
d14a1e28 RD |
4856 | PyObject * obj0 = 0 ; |
4857 | PyObject * obj1 = 0 ; | |
4858 | PyObject * obj2 = 0 ; | |
4859 | PyObject * obj5 = 0 ; | |
4860 | char *kwnames[] = { | |
4861 | (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
4862 | }; | |
4863 | ||
4864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail; | |
4865 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4866 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4867 | if (arg2 == NULL) { | |
4868 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4869 | } | |
4870 | { | |
4871 | arg3 = wxString_in_helper(obj2); | |
4872 | if (arg3 == NULL) SWIG_fail; | |
e811c8ce | 4873 | temp3 = True; |
d14a1e28 RD |
4874 | } |
4875 | if (obj5) { | |
4876 | if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4877 | } | |
4878 | { | |
4879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4880 | result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6); | |
4881 | ||
4882 | wxPyEndAllowThreads(__tstate); | |
4883 | if (PyErr_Occurred()) SWIG_fail; | |
4884 | } | |
4885 | { | |
4886 | wxTreeItemId * resultptr; | |
4887 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
4888 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1); | |
4889 | } | |
4890 | { | |
4891 | if (temp3) | |
4892 | delete arg3; | |
4893 | } | |
4894 | return resultobj; | |
4895 | fail: | |
4896 | { | |
4897 | if (temp3) | |
4898 | delete arg3; | |
4899 | } | |
4900 | return NULL; | |
4901 | } | |
4902 | ||
4903 | ||
4904 | static PyObject *_wrap_TreeListCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4905 | PyObject *resultobj; | |
4906 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4907 | wxTreeItemId *arg2 = 0 ; | |
4908 | PyObject * obj0 = 0 ; | |
4909 | PyObject * obj1 = 0 ; | |
4910 | char *kwnames[] = { | |
4911 | (char *) "self",(char *) "item", NULL | |
4912 | }; | |
4913 | ||
4914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) goto fail; | |
4915 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4916 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4917 | if (arg2 == NULL) { | |
4918 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4919 | } | |
4920 | { | |
4921 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4922 | (arg1)->Delete((wxTreeItemId const &)*arg2); | |
4923 | ||
4924 | wxPyEndAllowThreads(__tstate); | |
4925 | if (PyErr_Occurred()) SWIG_fail; | |
4926 | } | |
4927 | Py_INCREF(Py_None); resultobj = Py_None; | |
4928 | return resultobj; | |
4929 | fail: | |
4930 | return NULL; | |
4931 | } | |
4932 | ||
4933 | ||
4934 | static PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4935 | PyObject *resultobj; | |
4936 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4937 | wxTreeItemId *arg2 = 0 ; | |
4938 | PyObject * obj0 = 0 ; | |
4939 | PyObject * obj1 = 0 ; | |
4940 | char *kwnames[] = { | |
4941 | (char *) "self",(char *) "item", NULL | |
4942 | }; | |
4943 | ||
4944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail; | |
4945 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4946 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4947 | if (arg2 == NULL) { | |
4948 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
4949 | } | |
4950 | { | |
4951 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4952 | (arg1)->DeleteChildren((wxTreeItemId const &)*arg2); | |
4953 | ||
4954 | wxPyEndAllowThreads(__tstate); | |
4955 | if (PyErr_Occurred()) SWIG_fail; | |
4956 | } | |
4957 | Py_INCREF(Py_None); resultobj = Py_None; | |
4958 | return resultobj; | |
4959 | fail: | |
4960 | return NULL; | |
4961 | } | |
4962 | ||
4963 | ||
4964 | static PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4965 | PyObject *resultobj; | |
4966 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4967 | PyObject * obj0 = 0 ; | |
4968 | char *kwnames[] = { | |
4969 | (char *) "self", NULL | |
4970 | }; | |
4971 | ||
4972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail; | |
4973 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
4974 | { | |
4975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4976 | (arg1)->DeleteAllItems(); | |
4977 | ||
4978 | wxPyEndAllowThreads(__tstate); | |
4979 | if (PyErr_Occurred()) SWIG_fail; | |
4980 | } | |
4981 | Py_INCREF(Py_None); resultobj = Py_None; | |
4982 | return resultobj; | |
4983 | fail: | |
4984 | return NULL; | |
4985 | } | |
4986 | ||
4987 | ||
4988 | static PyObject *_wrap_TreeListCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4989 | PyObject *resultobj; | |
4990 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4991 | wxTreeItemId *arg2 = 0 ; | |
4992 | PyObject * obj0 = 0 ; | |
4993 | PyObject * obj1 = 0 ; | |
4994 | char *kwnames[] = { | |
4995 | (char *) "self",(char *) "item", NULL | |
4996 | }; | |
4997 | ||
4998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) goto fail; | |
4999 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5000 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5001 | if (arg2 == NULL) { | |
5002 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
5003 | } | |
5004 | { | |
5005 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5006 | (arg1)->Expand((wxTreeItemId const &)*arg2); | |
5007 | ||
5008 | wxPyEndAllowThreads(__tstate); | |
5009 | if (PyErr_Occurred()) SWIG_fail; | |
5010 | } | |
5011 | Py_INCREF(Py_None); resultobj = Py_None; | |
5012 | return resultobj; | |
5013 | fail: | |
5014 | return NULL; | |
5015 | } | |
5016 | ||
5017 | ||
5018 | static PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5019 | PyObject *resultobj; | |
5020 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5021 | wxTreeItemId *arg2 = 0 ; | |
5022 | PyObject * obj0 = 0 ; | |
5023 | PyObject * obj1 = 0 ; | |
5024 | char *kwnames[] = { | |
5025 | (char *) "self",(char *) "item", NULL | |
5026 | }; | |
5027 | ||
5028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) goto fail; | |
5029 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5030 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5031 | if (arg2 == NULL) { | |
5032 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
5033 | } | |
5034 | { | |
5035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5036 | (arg1)->ExpandAll((wxTreeItemId const &)*arg2); | |
5037 | ||
5038 | wxPyEndAllowThreads(__tstate); | |
5039 | if (PyErr_Occurred()) SWIG_fail; | |
5040 | } | |
5041 | Py_INCREF(Py_None); resultobj = Py_None; | |
5042 | return resultobj; | |
5043 | fail: | |
5044 | return NULL; | |
5045 | } | |
5046 | ||
5047 | ||
5048 | static PyObject *_wrap_TreeListCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5049 | PyObject *resultobj; | |
5050 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5051 | wxTreeItemId *arg2 = 0 ; | |
5052 | PyObject * obj0 = 0 ; | |
5053 | PyObject * obj1 = 0 ; | |
5054 | char *kwnames[] = { | |
5055 | (char *) "self",(char *) "item", NULL | |
5056 | }; | |
5057 | ||
5058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail; | |
5059 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5060 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5061 | if (arg2 == NULL) { | |
5062 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
5063 | } | |
5064 | { | |
5065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5066 | (arg1)->Collapse((wxTreeItemId const &)*arg2); | |
5067 | ||
5068 | wxPyEndAllowThreads(__tstate); | |
5069 | if (PyErr_Occurred()) SWIG_fail; | |
5070 | } | |
5071 | Py_INCREF(Py_None); resultobj = Py_None; | |
5072 | return resultobj; | |
5073 | fail: | |
5074 | return NULL; | |
5075 | } | |
5076 | ||
5077 | ||
5078 | static PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5079 | PyObject *resultobj; | |
5080 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5081 | wxTreeItemId *arg2 = 0 ; | |
5082 | PyObject * obj0 = 0 ; | |
5083 | PyObject * obj1 = 0 ; | |
5084 | char *kwnames[] = { | |
5085 | (char *) "self",(char *) "item", NULL | |
5086 | }; | |
5087 | ||
5088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail; | |
5089 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5090 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5091 | if (arg2 == NULL) { | |
5092 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
5093 | } | |
5094 | { | |
5095 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5096 | (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2); | |
5097 | ||
5098 | wxPyEndAllowThreads(__tstate); | |
5099 | if (PyErr_Occurred()) SWIG_fail; | |
5100 | } | |
5101 | Py_INCREF(Py_None); resultobj = Py_None; | |
5102 | return resultobj; | |
5103 | fail: | |
5104 | return NULL; | |
5105 | } | |
5106 | ||
5107 | ||
5108 | static PyObject *_wrap_TreeListCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5109 | PyObject *resultobj; | |
5110 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5111 | wxTreeItemId *arg2 = 0 ; | |
5112 | PyObject * obj0 = 0 ; | |
5113 | PyObject * obj1 = 0 ; | |
5114 | char *kwnames[] = { | |
5115 | (char *) "self",(char *) "item", NULL | |
5116 | }; | |
5117 | ||
5118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
5119 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5120 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5121 | if (arg2 == NULL) { | |
5122 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
5123 | } | |
5124 | { | |
5125 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5126 | (arg1)->Toggle((wxTreeItemId const &)*arg2); | |
5127 | ||
5128 | wxPyEndAllowThreads(__tstate); | |
5129 | if (PyErr_Occurred()) SWIG_fail; | |
5130 | } | |
5131 | Py_INCREF(Py_None); resultobj = Py_None; | |
5132 | return resultobj; | |
5133 | fail: | |
5134 | return NULL; | |
5135 | } | |
5136 | ||
5137 | ||
5138 | static PyObject *_wrap_TreeListCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5139 | PyObject *resultobj; | |
5140 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5141 | PyObject * obj0 = 0 ; | |
5142 | char *kwnames[] = { | |
5143 | (char *) "self", NULL | |
5144 | }; | |
5145 | ||
5146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_Unselect",kwnames,&obj0)) goto fail; | |
5147 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5148 | { | |
5149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5150 | (arg1)->Unselect(); | |
5151 | ||
5152 | wxPyEndAllowThreads(__tstate); | |
5153 | if (PyErr_Occurred()) SWIG_fail; | |
5154 | } | |
5155 | Py_INCREF(Py_None); resultobj = Py_None; | |
5156 | return resultobj; | |
5157 | fail: | |
5158 | return NULL; | |
5159 | } | |
5160 | ||
5161 | ||
5162 | static PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5163 | PyObject *resultobj; | |
5164 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5165 | PyObject * obj0 = 0 ; | |
5166 | char *kwnames[] = { | |
5167 | (char *) "self", NULL | |
5168 | }; | |
5169 | ||
5170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_UnselectAll",kwnames,&obj0)) goto fail; | |
5171 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5172 | { | |
5173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5174 | (arg1)->UnselectAll(); | |
5175 | ||
5176 | wxPyEndAllowThreads(__tstate); | |
5177 | if (PyErr_Occurred()) SWIG_fail; | |
5178 | } | |
5179 | Py_INCREF(Py_None); resultobj = Py_None; | |
5180 | return resultobj; | |
5181 | fail: | |
5182 | return NULL; | |
5183 | } | |
5184 | ||
5185 | ||
5186 | static PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5187 | PyObject *resultobj; | |
5188 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5189 | wxTreeItemId *arg2 = 0 ; | |
e811c8ce RD |
5190 | bool arg3 = (bool) True ; |
5191 | bool arg4 = (bool) False ; | |
d14a1e28 RD |
5192 | PyObject * obj0 = 0 ; |
5193 | PyObject * obj1 = 0 ; | |
5194 | PyObject * obj2 = 0 ; | |
5195 | PyObject * obj3 = 0 ; | |
5196 | char *kwnames[] = { | |
5197 | (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL | |
5198 | }; | |
5199 | ||
5200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
5201 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5202 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5203 | if (arg2 == NULL) { | |
5204 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
5205 | } | |
5206 | if (obj2) { | |
5207 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
5208 | if (PyErr_Occurred()) SWIG_fail; | |
5209 | } | |
5210 | if (obj3) { | |
5211 | arg4 = PyInt_AsLong(obj3) ? true : false; | |
5212 | if (PyErr_Occurred()) SWIG_fail; | |
5213 | } | |
5214 | { | |
5215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5216 | (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3,arg4); | |
5217 | ||
5218 | wxPyEndAllowThreads(__tstate); | |
5219 | if (PyErr_Occurred()) SWIG_fail; | |
5220 | } | |
5221 | Py_INCREF(Py_None); resultobj = Py_None; | |
5222 | return resultobj; | |
5223 | fail: | |
5224 | return NULL; | |
5225 | } | |
5226 | ||
5227 | ||
5228 | static PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5229 | PyObject *resultobj; | |
5230 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5231 | wxTreeItemId *arg2 = 0 ; | |
5232 | PyObject * obj0 = 0 ; | |
5233 | PyObject * obj1 = 0 ; | |
5234 | char *kwnames[] = { | |
5235 | (char *) "self",(char *) "item", NULL | |
5236 | }; | |
5237 | ||
5238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail; | |
5239 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5240 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5241 | if (arg2 == NULL) { | |
5242 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
5243 | } | |
5244 | { | |
5245 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5246 | (arg1)->EnsureVisible((wxTreeItemId const &)*arg2); | |
5247 | ||
5248 | wxPyEndAllowThreads(__tstate); | |
5249 | if (PyErr_Occurred()) SWIG_fail; | |
5250 | } | |
5251 | Py_INCREF(Py_None); resultobj = Py_None; | |
5252 | return resultobj; | |
5253 | fail: | |
5254 | return NULL; | |
5255 | } | |
5256 | ||
5257 | ||
5258 | static PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5259 | PyObject *resultobj; | |
5260 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5261 | wxTreeItemId *arg2 = 0 ; | |
5262 | PyObject * obj0 = 0 ; | |
5263 | PyObject * obj1 = 0 ; | |
5264 | char *kwnames[] = { | |
5265 | (char *) "self",(char *) "item", NULL | |
5266 | }; | |
5267 | ||
5268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail; | |
5269 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5270 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5271 | if (arg2 == NULL) { | |
5272 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
5273 | } | |
5274 | { | |
5275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5276 | (arg1)->ScrollTo((wxTreeItemId const &)*arg2); | |
5277 | ||
5278 | wxPyEndAllowThreads(__tstate); | |
5279 | if (PyErr_Occurred()) SWIG_fail; | |
5280 | } | |
5281 | Py_INCREF(Py_None); resultobj = Py_None; | |
5282 | return resultobj; | |
5283 | fail: | |
5284 | return NULL; | |
5285 | } | |
5286 | ||
5287 | ||
5288 | static PyObject *_wrap_TreeListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5289 | PyObject *resultobj; | |
5290 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5291 | wxPoint *arg2 = 0 ; | |
5292 | int *arg3 = 0 ; | |
5293 | int *arg4 = 0 ; | |
5294 | wxTreeItemId result; | |
5295 | wxPoint temp2 ; | |
5296 | int temp3 ; | |
5297 | int temp4 ; | |
5298 | PyObject * obj0 = 0 ; | |
5299 | PyObject * obj1 = 0 ; | |
5300 | char *kwnames[] = { | |
5301 | (char *) "self",(char *) "point", NULL | |
5302 | }; | |
5303 | ||
5304 | arg3 = &temp3; | |
5305 | arg4 = &temp4; | |
5306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
5307 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5308 | { | |
5309 | arg2 = &temp2; | |
5310 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
5311 | } | |
5312 | { | |
5313 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5314 | result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4); | |
5315 | ||
5316 | wxPyEndAllowThreads(__tstate); | |
5317 | if (PyErr_Occurred()) SWIG_fail; | |
5318 | } | |
5319 | { | |
5320 | wxTreeItemId * resultptr; | |
5321 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
5322 | resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1); | |
5323 | } | |
5324 | { | |
5325 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
5326 | resultobj = t_output_helper(resultobj,o); | |
5327 | } | |
5328 | { | |
5329 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
5330 | resultobj = t_output_helper(resultobj,o); | |
5331 | } | |
5332 | return resultobj; | |
5333 | fail: | |
5334 | return NULL; | |
5335 | } | |
5336 | ||
5337 | ||
5338 | static PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5339 | PyObject *resultobj; | |
5340 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5341 | wxTreeItemId *arg2 = 0 ; | |
e811c8ce | 5342 | bool arg3 = (bool) False ; |
d14a1e28 RD |
5343 | PyObject *result; |
5344 | PyObject * obj0 = 0 ; | |
5345 | PyObject * obj1 = 0 ; | |
5346 | PyObject * obj2 = 0 ; | |
5347 | char *kwnames[] = { | |
5348 | (char *) "self",(char *) "item",(char *) "textOnly", NULL | |
5349 | }; | |
5350 | ||
5351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5352 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5353 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5354 | if (arg2 == NULL) { | |
5355 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
5356 | } | |
5357 | if (obj2) { | |
5358 | arg3 = PyInt_AsLong(obj2) ? true : false; | |
5359 | if (PyErr_Occurred()) SWIG_fail; | |
5360 | } | |
5361 | { | |
5362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5363 | result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3); | |
5364 | ||
5365 | wxPyEndAllowThreads(__tstate); | |
5366 | if (PyErr_Occurred()) SWIG_fail; | |
5367 | } | |
5368 | resultobj = result; | |
5369 | return resultobj; | |
5370 | fail: | |
5371 | return NULL; | |
5372 | } | |
5373 | ||
5374 | ||
5375 | static PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5376 | PyObject *resultobj; | |
5377 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5378 | wxTreeItemId *arg2 = 0 ; | |
5379 | PyObject * obj0 = 0 ; | |
5380 | PyObject * obj1 = 0 ; | |
5381 | char *kwnames[] = { | |
5382 | (char *) "self",(char *) "item", NULL | |
5383 | }; | |
5384 | ||
5385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail; | |
5386 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5387 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5388 | if (arg2 == NULL) { | |
5389 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
5390 | } | |
5391 | { | |
5392 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5393 | (arg1)->EditLabel((wxTreeItemId const &)*arg2); | |
5394 | ||
5395 | wxPyEndAllowThreads(__tstate); | |
5396 | if (PyErr_Occurred()) SWIG_fail; | |
5397 | } | |
5398 | Py_INCREF(Py_None); resultobj = Py_None; | |
5399 | return resultobj; | |
5400 | fail: | |
5401 | return NULL; | |
5402 | } | |
5403 | ||
5404 | ||
5405 | static PyObject *_wrap_TreeListCtrl_Edit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5406 | PyObject *resultobj; | |
5407 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5408 | wxTreeItemId *arg2 = 0 ; | |
5409 | PyObject * obj0 = 0 ; | |
5410 | PyObject * obj1 = 0 ; | |
5411 | char *kwnames[] = { | |
5412 | (char *) "self",(char *) "item", NULL | |
5413 | }; | |
5414 | ||
5415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Edit",kwnames,&obj0,&obj1)) goto fail; | |
5416 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5417 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5418 | if (arg2 == NULL) { | |
5419 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
5420 | } | |
5421 | { | |
5422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5423 | (arg1)->Edit((wxTreeItemId const &)*arg2); | |
5424 | ||
5425 | wxPyEndAllowThreads(__tstate); | |
5426 | if (PyErr_Occurred()) SWIG_fail; | |
5427 | } | |
5428 | Py_INCREF(Py_None); resultobj = Py_None; | |
5429 | return resultobj; | |
5430 | fail: | |
5431 | return NULL; | |
5432 | } | |
5433 | ||
5434 | ||
5435 | static PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5436 | PyObject *resultobj; | |
5437 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5438 | wxTreeItemId *arg2 = 0 ; | |
5439 | PyObject * obj0 = 0 ; | |
5440 | PyObject * obj1 = 0 ; | |
5441 | char *kwnames[] = { | |
5442 | (char *) "self",(char *) "item", NULL | |
5443 | }; | |
5444 | ||
5445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail; | |
5446 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5447 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5448 | if (arg2 == NULL) { | |
5449 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
5450 | } | |
5451 | { | |
5452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5453 | (arg1)->SortChildren((wxTreeItemId const &)*arg2); | |
5454 | ||
5455 | wxPyEndAllowThreads(__tstate); | |
5456 | if (PyErr_Occurred()) SWIG_fail; | |
5457 | } | |
5458 | Py_INCREF(Py_None); resultobj = Py_None; | |
5459 | return resultobj; | |
5460 | fail: | |
5461 | return NULL; | |
5462 | } | |
5463 | ||
5464 | ||
5465 | static PyObject *_wrap_TreeListCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5466 | PyObject *resultobj; | |
5467 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5468 | wxTreeItemId *arg2 = 0 ; | |
5469 | int result; | |
5470 | PyObject * obj0 = 0 ; | |
5471 | PyObject * obj1 = 0 ; | |
5472 | char *kwnames[] = { | |
5473 | (char *) "self",(char *) "item", NULL | |
5474 | }; | |
5475 | ||
5476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemSelectedImage",kwnames,&obj0,&obj1)) goto fail; | |
5477 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5478 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5479 | if (arg2 == NULL) { | |
5480 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
5481 | } | |
5482 | { | |
5483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5484 | result = (int)((wxPyTreeListCtrl const *)arg1)->GetItemSelectedImage((wxTreeItemId const &)*arg2); | |
5485 | ||
5486 | wxPyEndAllowThreads(__tstate); | |
5487 | if (PyErr_Occurred()) SWIG_fail; | |
5488 | } | |
5489 | resultobj = PyInt_FromLong((long)result); | |
5490 | return resultobj; | |
5491 | fail: | |
5492 | return NULL; | |
5493 | } | |
5494 | ||
5495 | ||
5496 | static PyObject *_wrap_TreeListCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5497 | PyObject *resultobj; | |
5498 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5499 | wxTreeItemId *arg2 = 0 ; | |
5500 | int arg3 ; | |
5501 | PyObject * obj0 = 0 ; | |
5502 | PyObject * obj1 = 0 ; | |
5503 | char *kwnames[] = { | |
5504 | (char *) "self",(char *) "item",(char *) "image", NULL | |
5505 | }; | |
5506 | ||
5507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:TreeListCtrl_SetItemSelectedImage",kwnames,&obj0,&obj1,&arg3)) goto fail; | |
5508 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5509 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5510 | if (arg2 == NULL) { | |
5511 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
5512 | } | |
5513 | { | |
5514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5515 | (arg1)->SetItemSelectedImage((wxTreeItemId const &)*arg2,arg3); | |
5516 | ||
5517 | wxPyEndAllowThreads(__tstate); | |
5518 | if (PyErr_Occurred()) SWIG_fail; | |
5519 | } | |
5520 | Py_INCREF(Py_None); resultobj = Py_None; | |
5521 | return resultobj; | |
5522 | fail: | |
5523 | return NULL; | |
5524 | } | |
5525 | ||
5526 | ||
5527 | static PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5528 | PyObject *resultobj; | |
5529 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5530 | wxWindow *result; | |
5531 | PyObject * obj0 = 0 ; | |
5532 | char *kwnames[] = { | |
5533 | (char *) "self", NULL | |
5534 | }; | |
5535 | ||
5536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetHeaderWindow",kwnames,&obj0)) goto fail; | |
5537 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5538 | { | |
5539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5540 | result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow(); | |
5541 | ||
5542 | wxPyEndAllowThreads(__tstate); | |
5543 | if (PyErr_Occurred()) SWIG_fail; | |
5544 | } | |
5545 | { | |
5546 | resultobj = wxPyMake_wxObject(result); | |
5547 | } | |
5548 | return resultobj; | |
5549 | fail: | |
5550 | return NULL; | |
5551 | } | |
5552 | ||
5553 | ||
5554 | static PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5555 | PyObject *resultobj; | |
5556 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5557 | wxWindow *result; | |
5558 | PyObject * obj0 = 0 ; | |
5559 | char *kwnames[] = { | |
5560 | (char *) "self", NULL | |
5561 | }; | |
5562 | ||
5563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainWindow",kwnames,&obj0)) goto fail; | |
5564 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
5565 | { | |
5566 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5567 | result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow(); | |
5568 | ||
5569 | wxPyEndAllowThreads(__tstate); | |
5570 | if (PyErr_Occurred()) SWIG_fail; | |
5571 | } | |
5572 | { | |
5573 | resultobj = wxPyMake_wxObject(result); | |
5574 | } | |
5575 | return resultobj; | |
5576 | fail: | |
5577 | return NULL; | |
5578 | } | |
5579 | ||
5580 | ||
5581 | static PyObject * TreeListCtrl_swigregister(PyObject *self, PyObject *args) { | |
5582 | PyObject *obj; | |
5583 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
5584 | SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeListCtrl, obj); | |
5585 | Py_INCREF(obj); | |
5586 | return Py_BuildValue((char *)""); | |
5587 | } | |
5588 | static PyMethodDef SwigMethods[] = { | |
5589 | { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS }, | |
5590 | { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS }, | |
5591 | { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS }, | |
5592 | { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS }, | |
5593 | { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS }, | |
5594 | { (char *)"new_PreDynamicSashWindow", (PyCFunction) _wrap_new_PreDynamicSashWindow, METH_VARARGS | METH_KEYWORDS }, | |
5595 | { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
5596 | { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
5597 | { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
5598 | { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS }, | |
5599 | { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS }, | |
5600 | { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS }, | |
5601 | { (char *)"EditableListBox_GetStrings", (PyCFunction) _wrap_EditableListBox_GetStrings, METH_VARARGS | METH_KEYWORDS }, | |
5602 | { (char *)"EditableListBox_GetListCtrl", (PyCFunction) _wrap_EditableListBox_GetListCtrl, METH_VARARGS | METH_KEYWORDS }, | |
5603 | { (char *)"EditableListBox_GetDelButton", (PyCFunction) _wrap_EditableListBox_GetDelButton, METH_VARARGS | METH_KEYWORDS }, | |
5604 | { (char *)"EditableListBox_GetNewButton", (PyCFunction) _wrap_EditableListBox_GetNewButton, METH_VARARGS | METH_KEYWORDS }, | |
5605 | { (char *)"EditableListBox_GetUpButton", (PyCFunction) _wrap_EditableListBox_GetUpButton, METH_VARARGS | METH_KEYWORDS }, | |
5606 | { (char *)"EditableListBox_GetDownButton", (PyCFunction) _wrap_EditableListBox_GetDownButton, METH_VARARGS | METH_KEYWORDS }, | |
5607 | { (char *)"EditableListBox_GetEditButton", (PyCFunction) _wrap_EditableListBox_GetEditButton, METH_VARARGS | METH_KEYWORDS }, | |
5608 | { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS }, | |
5609 | { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS }, | |
5610 | { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_VARARGS | METH_KEYWORDS }, | |
5611 | { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
5612 | { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
5613 | { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
5614 | { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS }, | |
5615 | { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_VARARGS | METH_KEYWORDS }, | |
5616 | { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS }, | |
5617 | { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS }, | |
5618 | { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
5619 | { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS }, | |
5620 | { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS }, | |
5621 | { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS }, | |
5622 | { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
5623 | { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS }, | |
5624 | { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
5625 | { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS }, | |
5626 | { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS }, | |
5627 | { (char *)"new_PreLEDNumberCtrl", (PyCFunction) _wrap_new_PreLEDNumberCtrl, METH_VARARGS | METH_KEYWORDS }, | |
5628 | { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS }, | |
5629 | { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
5630 | { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_GetDrawFaded, METH_VARARGS | METH_KEYWORDS }, | |
5631 | { (char *)"LEDNumberCtrl_GetValue", (PyCFunction) _wrap_LEDNumberCtrl_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
5632 | { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
5633 | { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS }, | |
5634 | { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
5635 | { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS }, | |
5636 | { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS }, | |
5637 | { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
5638 | { (char *)"TreeListColumnInfo_GetText", (PyCFunction) _wrap_TreeListColumnInfo_GetText, METH_VARARGS | METH_KEYWORDS }, | |
5639 | { (char *)"TreeListColumnInfo_GetImage", (PyCFunction) _wrap_TreeListColumnInfo_GetImage, METH_VARARGS | METH_KEYWORDS }, | |
5640 | { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_GetSelectedImage, METH_VARARGS | METH_KEYWORDS }, | |
5641 | { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction) _wrap_TreeListColumnInfo_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
5642 | { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
5643 | { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS }, | |
5644 | { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS }, | |
5645 | { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS }, | |
5646 | { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS }, | |
5647 | { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS }, | |
5648 | { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS }, | |
5649 | { (char *)"new_PreTreeListCtrl", (PyCFunction) _wrap_new_PreTreeListCtrl, METH_VARARGS | METH_KEYWORDS }, | |
5650 | { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS }, | |
5651 | { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
5652 | { (char *)"TreeListCtrl_GetCount", (PyCFunction) _wrap_TreeListCtrl_GetCount, METH_VARARGS | METH_KEYWORDS }, | |
5653 | { (char *)"TreeListCtrl_GetIndent", (PyCFunction) _wrap_TreeListCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
5654 | { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
5655 | { (char *)"TreeListCtrl_GetSpacing", (PyCFunction) _wrap_TreeListCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS }, | |
5656 | { (char *)"TreeListCtrl_SetSpacing", (PyCFunction) _wrap_TreeListCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS }, | |
5657 | { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_GetLineSpacing, METH_VARARGS | METH_KEYWORDS }, | |
5658 | { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS }, | |
5659 | { (char *)"TreeListCtrl_GetImageList", (PyCFunction) _wrap_TreeListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS }, | |
5660 | { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction) _wrap_TreeListCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS }, | |
5661 | { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_GetButtonsImageList, METH_VARARGS | METH_KEYWORDS }, | |
5662 | { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS }, | |
5663 | { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS }, | |
5664 | { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS }, | |
5665 | { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS }, | |
5666 | { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS }, | |
5667 | { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS }, | |
5668 | { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS }, | |
5669 | { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS }, | |
5670 | { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS }, | |
5671 | { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS }, | |
5672 | { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS }, | |
5673 | { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction) _wrap_TreeListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS }, | |
5674 | { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS }, | |
5675 | { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS }, | |
5676 | { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS }, | |
5677 | { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction) _wrap_TreeListCtrl_GetMainColumn, METH_VARARGS | METH_KEYWORDS }, | |
5678 | { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS }, | |
5679 | { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS }, | |
5680 | { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS }, | |
5681 | { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
5682 | { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS }, | |
5683 | { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS }, | |
5684 | { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS }, | |
5685 | { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS }, | |
5686 | { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS }, | |
5687 | { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS }, | |
5688 | { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS }, | |
5689 | { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS }, | |
5690 | { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS }, | |
5691 | { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS }, | |
5692 | { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS }, | |
5693 | { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS }, | |
5694 | { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS }, | |
5695 | { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS }, | |
5696 | { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS }, | |
5697 | { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
5698 | { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS }, | |
5699 | { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS }, | |
5700 | { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS }, | |
5701 | { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
5702 | { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS }, | |
5703 | { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
5704 | { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS }, | |
5705 | { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS }, | |
5706 | { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS }, | |
5707 | { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS }, | |
5708 | { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS }, | |
5709 | { (char *)"TreeListCtrl_GetRootItem", (PyCFunction) _wrap_TreeListCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS }, | |
5710 | { (char *)"TreeListCtrl_GetSelection", (PyCFunction) _wrap_TreeListCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
5711 | { (char *)"TreeListCtrl_GetSelections", (PyCFunction) _wrap_TreeListCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS }, | |
5712 | { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS }, | |
5713 | { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
5714 | { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS }, | |
5715 | { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS }, | |
5716 | { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS }, | |
5717 | { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS }, | |
5718 | { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS }, | |
5719 | { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS }, | |
5720 | { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS }, | |
5721 | { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS }, | |
5722 | { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS }, | |
5723 | { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS }, | |
5724 | { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS }, | |
5725 | { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS }, | |
5726 | { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS }, | |
5727 | { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS }, | |
5728 | { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS }, | |
5729 | { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS }, | |
5730 | { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS }, | |
5731 | { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS }, | |
5732 | { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS }, | |
5733 | { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS }, | |
5734 | { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS }, | |
5735 | { (char *)"TreeListCtrl_Unselect", (PyCFunction) _wrap_TreeListCtrl_Unselect, METH_VARARGS | METH_KEYWORDS }, | |
5736 | { (char *)"TreeListCtrl_UnselectAll", (PyCFunction) _wrap_TreeListCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS }, | |
5737 | { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS }, | |
5738 | { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
5739 | { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS }, | |
5740 | { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
5741 | { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS }, | |
5742 | { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS }, | |
5743 | { (char *)"TreeListCtrl_Edit", (PyCFunction) _wrap_TreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS }, | |
5744 | { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS }, | |
5745 | { (char *)"TreeListCtrl_GetItemSelectedImage", (PyCFunction) _wrap_TreeListCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS }, | |
5746 | { (char *)"TreeListCtrl_SetItemSelectedImage", (PyCFunction) _wrap_TreeListCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS }, | |
5747 | { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction) _wrap_TreeListCtrl_GetHeaderWindow, METH_VARARGS | METH_KEYWORDS }, | |
5748 | { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction) _wrap_TreeListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS }, | |
5749 | { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS }, | |
5750 | { NULL, NULL } | |
5751 | }; | |
5752 | ||
5753 | ||
5754 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
5755 | ||
5756 | static void *_p_wxPyValidatorTo_p_wxValidator(void *x) { | |
5757 | return (void *)((wxValidator *) ((wxPyValidator *) x)); | |
5758 | } | |
5759 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
5760 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
5761 | } | |
5762 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
5763 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
5764 | } | |
5765 | static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) { | |
5766 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
5767 | } | |
5768 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
5769 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
5770 | } | |
5771 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
5772 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
5773 | } | |
5774 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
5775 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
5776 | } | |
5777 | static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) { | |
5778 | return (void *)((wxPanel *) ((wxEditableListBox *) x)); | |
5779 | } | |
5780 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
5781 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
5782 | } | |
5783 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
5784 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
5785 | } | |
5786 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
5787 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
5788 | } | |
5789 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
5790 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
5791 | } | |
5792 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
5793 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
5794 | } | |
5795 | static void *_p_wxCheckBoxTo_p_wxWindow(void *x) { | |
5796 | return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x)); | |
5797 | } | |
5798 | static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) { | |
5799 | return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x)); | |
5800 | } | |
5801 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) { | |
5802 | return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
5803 | } | |
5804 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
5805 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
5806 | } | |
5807 | static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) { | |
5808 | return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x)); | |
5809 | } | |
5810 | static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) { | |
5811 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
5812 | } | |
5813 | static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) { | |
5814 | return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x)); | |
5815 | } | |
5816 | static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) { | |
5817 | return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x)); | |
5818 | } | |
5819 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
5820 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
5821 | } | |
5822 | static void *_p_wxStaticLineTo_p_wxWindow(void *x) { | |
5823 | return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x)); | |
5824 | } | |
5825 | static void *_p_wxPyControlTo_p_wxWindow(void *x) { | |
5826 | return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x)); | |
5827 | } | |
5828 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
5829 | return (void *)((wxWindow *) ((wxControl *) x)); | |
5830 | } | |
5831 | static void *_p_wxGaugeTo_p_wxWindow(void *x) { | |
5832 | return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x)); | |
5833 | } | |
5834 | static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) { | |
5835 | return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x)); | |
5836 | } | |
5837 | static void *_p_wxToggleButtonTo_p_wxWindow(void *x) { | |
5838 | return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x)); | |
5839 | } | |
5840 | static void *_p_wxRadioButtonTo_p_wxWindow(void *x) { | |
5841 | return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x)); | |
5842 | } | |
5843 | static void *_p_wxChoiceTo_p_wxWindow(void *x) { | |
5844 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x)); | |
5845 | } | |
5846 | static void *_p_wxListViewTo_p_wxWindow(void *x) { | |
5847 | return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x)); | |
5848 | } | |
5849 | static void *_p_wxTextCtrlTo_p_wxWindow(void *x) { | |
5850 | return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x)); | |
5851 | } | |
5852 | static void *_p_wxNotebookTo_p_wxWindow(void *x) { | |
5853 | return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x)); | |
5854 | } | |
5855 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
5856 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
5857 | } | |
5858 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
5859 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
5860 | } | |
5861 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
5862 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
5863 | } | |
5864 | static void *_p_wxListbookTo_p_wxWindow(void *x) { | |
5865 | return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x)); | |
5866 | } | |
5867 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
5868 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
5869 | } | |
5870 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
5871 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
5872 | } | |
5873 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
5874 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
5875 | } | |
5876 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
5877 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
5878 | } | |
5879 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
5880 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
5881 | } | |
5882 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
5883 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
5884 | } | |
5885 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
5886 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
5887 | } | |
5888 | static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) { | |
5889 | return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x)); | |
5890 | } | |
5891 | static void *_p_wxSliderTo_p_wxWindow(void *x) { | |
5892 | return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x)); | |
5893 | } | |
5894 | static void *_p_wxStaticBoxTo_p_wxWindow(void *x) { | |
5895 | return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x)); | |
5896 | } | |
5897 | static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) { | |
5898 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
5899 | } | |
5900 | static void *_p_wxListBoxTo_p_wxWindow(void *x) { | |
5901 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x)); | |
5902 | } | |
5903 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
5904 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
5905 | } | |
5906 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
5907 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
5908 | } | |
5909 | static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) { | |
5910 | return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x)); | |
5911 | } | |
5912 | static void *_p_wxBookCtrlTo_p_wxWindow(void *x) { | |
5913 | return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x)); | |
5914 | } | |
5915 | static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) { | |
5916 | return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x)); | |
5917 | } | |
5918 | static void *_p_wxSpinButtonTo_p_wxWindow(void *x) { | |
5919 | return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x)); | |
5920 | } | |
5921 | static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) { | |
5922 | return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x)); | |
5923 | } | |
5924 | static void *_p_wxButtonTo_p_wxWindow(void *x) { | |
5925 | return (void *)((wxWindow *) (wxControl *) ((wxButton *) x)); | |
5926 | } | |
5927 | static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) { | |
5928 | return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
5929 | } | |
5930 | static void *_p_wxRadioBoxTo_p_wxWindow(void *x) { | |
5931 | return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x)); | |
5932 | } | |
5933 | static void *_p_wxScrollBarTo_p_wxWindow(void *x) { | |
5934 | return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x)); | |
5935 | } | |
5936 | static void *_p_wxComboBoxTo_p_wxWindow(void *x) { | |
5937 | return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x)); | |
5938 | } | |
5939 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
5940 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
5941 | } | |
5942 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
5943 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
5944 | } | |
5945 | static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) { | |
5946 | return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x)); | |
5947 | } | |
5948 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
5949 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
5950 | } | |
5951 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
5952 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
5953 | } | |
5954 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
5955 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
5956 | } | |
5957 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
5958 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
5959 | } | |
5960 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
5961 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
5962 | } | |
5963 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
5964 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
5965 | } | |
5966 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
5967 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
5968 | } | |
5969 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
5970 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
5971 | } | |
5972 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
5973 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
5974 | } | |
5975 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
5976 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
5977 | } | |
5978 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
5979 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
5980 | } | |
5981 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
5982 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
5983 | } | |
5984 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
5985 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
5986 | } | |
5987 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
5988 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
5989 | } | |
5990 | static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) { | |
5991 | return (void *)((wxWindow *) ((wxDynamicSashWindow *) x)); | |
5992 | } | |
5993 | static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) { | |
5994 | return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x)); | |
5995 | } | |
5996 | static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) { | |
5997 | return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
5998 | } | |
5999 | static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) { | |
6000 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
6001 | } | |
6002 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
6003 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
6004 | } | |
6005 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
6006 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
6007 | } | |
6008 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
6009 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
6010 | } | |
6011 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
6012 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
6013 | } | |
6014 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
6015 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
6016 | } | |
6017 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
6018 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
6019 | } | |
6020 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
6021 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
6022 | } | |
6023 | static void *_p_wxStaticTextTo_p_wxWindow(void *x) { | |
6024 | return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x)); | |
6025 | } | |
6026 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
6027 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
6028 | } | |
6029 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
6030 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
6031 | } | |
6032 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
6033 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
6034 | } | |
6035 | static void *_p_wxToolBarTo_p_wxWindow(void *x) { | |
6036 | return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x)); | |
6037 | } | |
6038 | static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) { | |
6039 | return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
6040 | } | |
6041 | static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) { | |
6042 | return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
6043 | } | |
6044 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
6045 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
6046 | } | |
6047 | static void *_p_wxBookCtrlTo_p_wxControl(void *x) { | |
6048 | return (void *)((wxControl *) ((wxBookCtrl *) x)); | |
6049 | } | |
6050 | static void *_p_wxToolBarTo_p_wxControl(void *x) { | |
6051 | return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x)); | |
6052 | } | |
6053 | static void *_p_wxToggleButtonTo_p_wxControl(void *x) { | |
6054 | return (void *)((wxControl *) ((wxToggleButton *) x)); | |
6055 | } | |
6056 | static void *_p_wxRadioButtonTo_p_wxControl(void *x) { | |
6057 | return (void *)((wxControl *) ((wxRadioButton *) x)); | |
6058 | } | |
6059 | static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) { | |
6060 | return (void *)((wxControl *) ((wxLEDNumberCtrl *) x)); | |
6061 | } | |
6062 | static void *_p_wxPyControlTo_p_wxControl(void *x) { | |
6063 | return (void *)((wxControl *) ((wxPyControl *) x)); | |
6064 | } | |
6065 | static void *_p_wxToolBarBaseTo_p_wxControl(void *x) { | |
6066 | return (void *)((wxControl *) ((wxToolBarBase *) x)); | |
6067 | } | |
6068 | static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) { | |
6069 | return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
6070 | } | |
6071 | static void *_p_wxPyListCtrlTo_p_wxControl(void *x) { | |
6072 | return (void *)((wxControl *) ((wxPyListCtrl *) x)); | |
6073 | } | |
6074 | static void *_p_wxComboBoxTo_p_wxControl(void *x) { | |
6075 | return (void *)((wxControl *) ((wxComboBox *) x)); | |
6076 | } | |
6077 | static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) { | |
6078 | return (void *)((wxControl *) ((wxPyTreeListCtrl *) x)); | |
6079 | } | |
6080 | static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) { | |
6081 | return (void *)((wxControl *) ((wxGenericDirCtrl *) x)); | |
6082 | } | |
6083 | static void *_p_wxScrollBarTo_p_wxControl(void *x) { | |
6084 | return (void *)((wxControl *) ((wxScrollBar *) x)); | |
6085 | } | |
6086 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
6087 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
6088 | } | |
6089 | static void *_p_wxGaugeTo_p_wxControl(void *x) { | |
6090 | return (void *)((wxControl *) ((wxGauge *) x)); | |
6091 | } | |
6092 | static void *_p_wxStaticLineTo_p_wxControl(void *x) { | |
6093 | return (void *)((wxControl *) ((wxStaticLine *) x)); | |
6094 | } | |
6095 | static void *_p_wxListbookTo_p_wxControl(void *x) { | |
6096 | return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x)); | |
6097 | } | |
6098 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) { | |
6099 | return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
6100 | } | |
6101 | static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) { | |
6102 | return (void *)((wxControl *) ((wxPyTreeCtrl *) x)); | |
6103 | } | |
6104 | static void *_p_wxCheckBoxTo_p_wxControl(void *x) { | |
6105 | return (void *)((wxControl *) ((wxCheckBox *) x)); | |
6106 | } | |
6107 | static void *_p_wxRadioBoxTo_p_wxControl(void *x) { | |
6108 | return (void *)((wxControl *) ((wxRadioBox *) x)); | |
6109 | } | |
6110 | static void *_p_wxChoiceTo_p_wxControl(void *x) { | |
6111 | return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x)); | |
6112 | } | |
6113 | static void *_p_wxListBoxTo_p_wxControl(void *x) { | |
6114 | return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x)); | |
6115 | } | |
6116 | static void *_p_wxCheckListBoxTo_p_wxControl(void *x) { | |
6117 | return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
6118 | } | |
6119 | static void *_p_wxListViewTo_p_wxControl(void *x) { | |
6120 | return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x)); | |
6121 | } | |
6122 | static void *_p_wxNotebookTo_p_wxControl(void *x) { | |
6123 | return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x)); | |
6124 | } | |
6125 | static void *_p_wxStaticBitmapTo_p_wxControl(void *x) { | |
6126 | return (void *)((wxControl *) ((wxStaticBitmap *) x)); | |
6127 | } | |
6128 | static void *_p_wxSpinCtrlTo_p_wxControl(void *x) { | |
6129 | return (void *)((wxControl *) ((wxSpinCtrl *) x)); | |
6130 | } | |
6131 | static void *_p_wxStaticTextTo_p_wxControl(void *x) { | |
6132 | return (void *)((wxControl *) ((wxStaticText *) x)); | |
6133 | } | |
6134 | static void *_p_wxStaticBoxTo_p_wxControl(void *x) { | |
6135 | return (void *)((wxControl *) ((wxStaticBox *) x)); | |
6136 | } | |
6137 | static void *_p_wxSliderTo_p_wxControl(void *x) { | |
6138 | return (void *)((wxControl *) ((wxSlider *) x)); | |
6139 | } | |
6140 | static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) { | |
6141 | return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
6142 | } | |
6143 | static void *_p_wxSpinButtonTo_p_wxControl(void *x) { | |
6144 | return (void *)((wxControl *) ((wxSpinButton *) x)); | |
6145 | } | |
6146 | static void *_p_wxButtonTo_p_wxControl(void *x) { | |
6147 | return (void *)((wxControl *) ((wxButton *) x)); | |
6148 | } | |
6149 | static void *_p_wxBitmapButtonTo_p_wxControl(void *x) { | |
6150 | return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x)); | |
6151 | } | |
6152 | static void *_p_wxTextCtrlTo_p_wxControl(void *x) { | |
6153 | return (void *)((wxControl *) ((wxTextCtrl *) x)); | |
6154 | } | |
6155 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
6156 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
6157 | } | |
6158 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
6159 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
6160 | } | |
6161 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
6162 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
6163 | } | |
6164 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
6165 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
6166 | } | |
6167 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
6168 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
6169 | } | |
6170 | static void *_p_wxTreeEventTo_p_wxEvent(void *x) { | |
6171 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x)); | |
6172 | } | |
6173 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
6174 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
6175 | } | |
6176 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
6177 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
6178 | } | |
6179 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
6180 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
6181 | } | |
6182 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
6183 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
6184 | } | |
6185 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
6186 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
6187 | } | |
6188 | static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) { | |
6189 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x)); | |
6190 | } | |
6191 | static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) { | |
6192 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x)); | |
6193 | } | |
6194 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
6195 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
6196 | } | |
6197 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
6198 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
6199 | } | |
6200 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
6201 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
6202 | } | |
6203 | static void *_p_wxListEventTo_p_wxEvent(void *x) { | |
6204 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x)); | |
6205 | } | |
6206 | static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) { | |
6207 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x)); | |
6208 | } | |
6209 | static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) { | |
6210 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x)); | |
6211 | } | |
6212 | static void *_p_wxNotebookEventTo_p_wxEvent(void *x) { | |
6213 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x)); | |
6214 | } | |
6215 | static void *_p_wxListbookEventTo_p_wxEvent(void *x) { | |
6216 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x)); | |
6217 | } | |
6218 | static void *_p_wxHelpEventTo_p_wxEvent(void *x) { | |
6219 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x)); | |
6220 | } | |
6221 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
6222 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
6223 | } | |
6224 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
6225 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
6226 | } | |
6227 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
6228 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
6229 | } | |
6230 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
6231 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
6232 | } | |
6233 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
6234 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
6235 | } | |
6236 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
6237 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
6238 | } | |
6239 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
6240 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
6241 | } | |
6242 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
6243 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
6244 | } | |
6245 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
6246 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
6247 | } | |
6248 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
6249 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
6250 | } | |
6251 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
6252 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
6253 | } | |
6254 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
6255 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
6256 | } | |
6257 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
6258 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
6259 | } | |
6260 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
6261 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
6262 | } | |
6263 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
6264 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
6265 | } | |
6266 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
6267 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
6268 | } | |
6269 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
6270 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
6271 | } | |
6272 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
6273 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
6274 | } | |
6275 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
6276 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
6277 | } | |
6278 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
6279 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
6280 | } | |
6281 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
6282 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
6283 | } | |
6284 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
6285 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
6286 | } | |
6287 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
6288 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
6289 | } | |
6290 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
6291 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
6292 | } | |
6293 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
6294 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
6295 | } | |
6296 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
6297 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
6298 | } | |
6299 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
6300 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
6301 | } | |
6302 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
6303 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
6304 | } | |
6305 | static void *_p_wxScrollBarTo_p_wxObject(void *x) { | |
6306 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x)); | |
6307 | } | |
6308 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
6309 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
6310 | } | |
6311 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
6312 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
6313 | } | |
6314 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
6315 | return (void *)((wxObject *) ((wxEvent *) x)); | |
6316 | } | |
6317 | static void *_p_wxBookCtrlTo_p_wxObject(void *x) { | |
6318 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x)); | |
6319 | } | |
6320 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
6321 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
6322 | } | |
6323 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
6324 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
6325 | } | |
6326 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
6327 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
6328 | } | |
6329 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
6330 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
6331 | } | |
6332 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
6333 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
6334 | } | |
6335 | static void *_p_wxToolBarBaseTo_p_wxObject(void *x) { | |
6336 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x)); | |
6337 | } | |
6338 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
6339 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
6340 | } | |
6341 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
6342 | return (void *)((wxObject *) ((wxImage *) x)); | |
6343 | } | |
6344 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
6345 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
6346 | } | |
6347 | static void *_p_wxStaticBitmapTo_p_wxObject(void *x) { | |
6348 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x)); | |
6349 | } | |
e811c8ce RD |
6350 | static void *_p_wxGenericDragImageTo_p_wxObject(void *x) { |
6351 | return (void *)((wxObject *) ((wxGenericDragImage *) x)); | |
6352 | } | |
d14a1e28 RD |
6353 | static void *_p_wxComboBoxTo_p_wxObject(void *x) { |
6354 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x)); | |
6355 | } | |
6356 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
6357 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
6358 | } | |
6359 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
6360 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
6361 | } | |
6362 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
6363 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
6364 | } | |
6365 | static void *_p_wxNotebookTo_p_wxObject(void *x) { | |
6366 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x)); | |
6367 | } | |
6368 | static void *_p_wxListItemTo_p_wxObject(void *x) { | |
6369 | return (void *)((wxObject *) ((wxListItem *) x)); | |
6370 | } | |
6371 | static void *_p_wxNotebookSizerTo_p_wxObject(void *x) { | |
6372 | return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x)); | |
6373 | } | |
6374 | static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) { | |
6375 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x)); | |
6376 | } | |
6377 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) { | |
6378 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
6379 | } | |
6380 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
6381 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
6382 | } | |
6383 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
6384 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
6385 | } | |
6386 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
6387 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
6388 | } | |
6389 | static void *_p_wxStaticLineTo_p_wxObject(void *x) { | |
6390 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x)); | |
6391 | } | |
6392 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
6393 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
6394 | } | |
6395 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
6396 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
6397 | } | |
6398 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
6399 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
6400 | } | |
6401 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
6402 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
6403 | } | |
6404 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
6405 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
6406 | } | |
6407 | static void *_p_wxTreeEventTo_p_wxObject(void *x) { | |
6408 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x)); | |
6409 | } | |
6410 | static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) { | |
6411 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x)); | |
6412 | } | |
6413 | static void *_p_wxTextUrlEventTo_p_wxObject(void *x) { | |
6414 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x)); | |
6415 | } | |
6416 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
6417 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
6418 | } | |
6419 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
6420 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
6421 | } | |
6422 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
6423 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
6424 | } | |
6425 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
6426 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
6427 | } | |
6428 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
6429 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
6430 | } | |
6431 | static void *_p_wxRadioBoxTo_p_wxObject(void *x) { | |
6432 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x)); | |
6433 | } | |
6434 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
6435 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
6436 | } | |
6437 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
6438 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
6439 | } | |
6440 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
6441 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
6442 | } | |
6443 | static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) { | |
6444 | return (void *)((wxObject *) ((wxTreeListColumnInfo *) x)); | |
6445 | } | |
6446 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
6447 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
6448 | } | |
6449 | static void *_p_wxPyControlTo_p_wxObject(void *x) { | |
6450 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x)); | |
6451 | } | |
6452 | static void *_p_wxContextHelpTo_p_wxObject(void *x) { | |
6453 | return (void *)((wxObject *) ((wxContextHelp *) x)); | |
6454 | } | |
6455 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
6456 | return (void *)((wxObject *) ((wxColourData *) x)); | |
6457 | } | |
6458 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
6459 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
6460 | } | |
6461 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
6462 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
6463 | } | |
6464 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
6465 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
6466 | } | |
6467 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
6468 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
6469 | } | |
6470 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
6471 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
6472 | } | |
6473 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
6474 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
6475 | } | |
6476 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
6477 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
6478 | } | |
6479 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
6480 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
6481 | } | |
6482 | static void *_p_wxStaticTextTo_p_wxObject(void *x) { | |
6483 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x)); | |
6484 | } | |
6485 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
6486 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
6487 | } | |
6488 | static void *_p_wxListEventTo_p_wxObject(void *x) { | |
6489 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x)); | |
6490 | } | |
6491 | static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) { | |
6492 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x)); | |
6493 | } | |
6494 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
6495 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
6496 | } | |
6497 | static void *_p_wxGaugeTo_p_wxObject(void *x) { | |
6498 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x)); | |
6499 | } | |
6500 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
6501 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
6502 | } | |
6503 | static void *_p_wxChoiceTo_p_wxObject(void *x) { | |
6504 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x)); | |
6505 | } | |
6506 | static void *_p_wxSpinButtonTo_p_wxObject(void *x) { | |
6507 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x)); | |
6508 | } | |
6509 | static void *_p_wxBitmapButtonTo_p_wxObject(void *x) { | |
6510 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x)); | |
6511 | } | |
6512 | static void *_p_wxButtonTo_p_wxObject(void *x) { | |
6513 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x)); | |
6514 | } | |
6515 | static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) { | |
6516 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
6517 | } | |
6518 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
6519 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
6520 | } | |
6521 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
6522 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
6523 | } | |
6524 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
6525 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
6526 | } | |
6527 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
6528 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
6529 | } | |
6530 | static void *_p_wxCheckListBoxTo_p_wxObject(void *x) { | |
6531 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
6532 | } | |
6533 | static void *_p_wxListBoxTo_p_wxObject(void *x) { | |
6534 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x)); | |
6535 | } | |
6536 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
6537 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
6538 | } | |
6539 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
6540 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
6541 | } | |
6542 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
6543 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
6544 | } | |
6545 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
6546 | return (void *)((wxObject *) ((wxFontData *) x)); | |
6547 | } | |
6548 | static void *_p_wxEditableListBoxTo_p_wxObject(void *x) { | |
6549 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x)); | |
6550 | } | |
6551 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
6552 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
6553 | } | |
6554 | static void *_p_wxListbookTo_p_wxObject(void *x) { | |
6555 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x)); | |
6556 | } | |
6557 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
6558 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
6559 | } | |
6560 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
6561 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
6562 | } | |
6563 | static void *_p_wxStaticBoxTo_p_wxObject(void *x) { | |
6564 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x)); | |
6565 | } | |
6566 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
6567 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
6568 | } | |
6569 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
6570 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
6571 | } | |
6572 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
6573 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
6574 | } | |
6575 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
6576 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
6577 | } | |
6578 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
6579 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
6580 | } | |
6581 | static void *_p_wxListViewTo_p_wxObject(void *x) { | |
6582 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x)); | |
6583 | } | |
6584 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
6585 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
6586 | } | |
6587 | static void *_p_wxPyListCtrlTo_p_wxObject(void *x) { | |
6588 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x)); | |
6589 | } | |
6590 | static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) { | |
6591 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
6592 | } | |
6593 | static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) { | |
6594 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x)); | |
6595 | } | |
6596 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
6597 | return (void *)((wxObject *) ((wxSizer *) x)); | |
6598 | } | |
6599 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
6600 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
6601 | } | |
6602 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
6603 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
6604 | } | |
6605 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
6606 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
6607 | } | |
6608 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
6609 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
6610 | } | |
6611 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
6612 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
6613 | } | |
6614 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
6615 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
6616 | } | |
6617 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
6618 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
6619 | } | |
6620 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
6621 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
6622 | } | |
6623 | static void *_p_wxTextCtrlTo_p_wxObject(void *x) { | |
6624 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x)); | |
6625 | } | |
6626 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
6627 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
6628 | } | |
6629 | static void *_p_wxToggleButtonTo_p_wxObject(void *x) { | |
6630 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x)); | |
6631 | } | |
6632 | static void *_p_wxRadioButtonTo_p_wxObject(void *x) { | |
6633 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x)); | |
6634 | } | |
6635 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
6636 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
6637 | } | |
6638 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
6639 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
6640 | } | |
6641 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
6642 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
6643 | } | |
6644 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
6645 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
6646 | } | |
6647 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
6648 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
6649 | } | |
6650 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
6651 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
6652 | } | |
6653 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
6654 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
6655 | } | |
6656 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
6657 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
6658 | } | |
6659 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
6660 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
6661 | } | |
6662 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
6663 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
6664 | } | |
6665 | static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) { | |
6666 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x)); | |
6667 | } | |
6668 | static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) { | |
6669 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x)); | |
6670 | } | |
6671 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
6672 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
6673 | } | |
6674 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
6675 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
6676 | } | |
6677 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
6678 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
6679 | } | |
6680 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
6681 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
6682 | } | |
6683 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
6684 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
6685 | } | |
6686 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
6687 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
6688 | } | |
6689 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
6690 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
6691 | } | |
6692 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
6693 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
6694 | } | |
6695 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
6696 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
6697 | } | |
6698 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
6699 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
6700 | } | |
6701 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
6702 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
6703 | } | |
6704 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
6705 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
6706 | } | |
6707 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
6708 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
6709 | } | |
6710 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
6711 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
6712 | } | |
6713 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
6714 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
6715 | } | |
6716 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
6717 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
6718 | } | |
6719 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
6720 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
6721 | } | |
6722 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
6723 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
6724 | } | |
6725 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
6726 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
6727 | } | |
6728 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
6729 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
6730 | } | |
6731 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
6732 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
6733 | } | |
6734 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
6735 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
6736 | } | |
6737 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
6738 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
6739 | } | |
6740 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
6741 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
6742 | } | |
6743 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
6744 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
6745 | } | |
6746 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
6747 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
6748 | } | |
6749 | static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) { | |
6750 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x)); | |
6751 | } | |
6752 | static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) { | |
6753 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x)); | |
6754 | } | |
6755 | static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) { | |
6756 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
6757 | } | |
6758 | static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) { | |
6759 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
6760 | } | |
6761 | static void *_p_wxSpinCtrlTo_p_wxObject(void *x) { | |
6762 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x)); | |
6763 | } | |
6764 | static void *_p_wxListbookEventTo_p_wxObject(void *x) { | |
6765 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x)); | |
6766 | } | |
6767 | static void *_p_wxNotebookEventTo_p_wxObject(void *x) { | |
6768 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x)); | |
6769 | } | |
6770 | static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) { | |
6771 | return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x)); | |
6772 | } | |
6773 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
6774 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
6775 | } | |
6776 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
6777 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
6778 | } | |
6779 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
6780 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
6781 | } | |
6782 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
6783 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
6784 | } | |
6785 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
6786 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
6787 | } | |
6788 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
6789 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
6790 | } | |
6791 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
6792 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
6793 | } | |
6794 | static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) { | |
6795 | return (void *)((wxObject *) ((wxToolBarToolBase *) x)); | |
6796 | } | |
6797 | static void *_p_wxSliderTo_p_wxObject(void *x) { | |
6798 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x)); | |
6799 | } | |
6800 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
6801 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
6802 | } | |
6803 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
6804 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
6805 | } | |
6806 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
6807 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
6808 | } | |
6809 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
6810 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
6811 | } | |
6812 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
6813 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
6814 | } | |
6815 | static void *_p_wxCheckBoxTo_p_wxObject(void *x) { | |
6816 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x)); | |
6817 | } | |
6818 | static void *_p_wxHelpEventTo_p_wxObject(void *x) { | |
6819 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x)); | |
6820 | } | |
6821 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
6822 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
6823 | } | |
6824 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
6825 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
6826 | } | |
6827 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
6828 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
6829 | } | |
6830 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
6831 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
6832 | } | |
6833 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
6834 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
6835 | } | |
6836 | static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) { | |
6837 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x)); | |
6838 | } | |
6839 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
6840 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
6841 | } | |
6842 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
6843 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
6844 | } | |
6845 | static void *_p_wxToolBarTo_p_wxObject(void *x) { | |
6846 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x)); | |
6847 | } | |
6848 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
6849 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
6850 | } | |
6851 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
6852 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
6853 | } | |
6854 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
6855 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
6856 | } | |
6857 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
6858 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
6859 | } | |
6860 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
6861 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
6862 | } | |
6863 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
6864 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
6865 | } | |
6866 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
6867 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
6868 | } | |
6869 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
6870 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
6871 | } | |
6872 | static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) { | |
6873 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x)); | |
6874 | } | |
6875 | static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) { | |
6876 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x)); | |
6877 | } | |
6878 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) { | |
6879 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
6880 | } | |
6881 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
6882 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
6883 | } | |
6884 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
6885 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
6886 | } | |
6887 | static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) { | |
6888 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x)); | |
6889 | } | |
6890 | static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) { | |
6891 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x)); | |
6892 | } | |
6893 | static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) { | |
6894 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
6895 | } | |
6896 | static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) { | |
6897 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x)); | |
6898 | } | |
6899 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
6900 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
6901 | } | |
6902 | static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) { | |
6903 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x)); | |
6904 | } | |
6905 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
6906 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
6907 | } | |
6908 | static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) { | |
6909 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x)); | |
6910 | } | |
6911 | static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) { | |
6912 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x)); | |
6913 | } | |
6914 | static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) { | |
6915 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x)); | |
6916 | } | |
6917 | static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) { | |
6918 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x)); | |
6919 | } | |
6920 | static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) { | |
6921 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x)); | |
6922 | } | |
6923 | static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) { | |
6924 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x)); | |
6925 | } | |
6926 | static void *_p_wxListViewTo_p_wxEvtHandler(void *x) { | |
6927 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x)); | |
6928 | } | |
6929 | static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) { | |
6930 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x)); | |
6931 | } | |
6932 | static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) { | |
6933 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x)); | |
6934 | } | |
6935 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
6936 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
6937 | } | |
6938 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
6939 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
6940 | } | |
6941 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
6942 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
6943 | } | |
6944 | static void *_p_wxListbookTo_p_wxEvtHandler(void *x) { | |
6945 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x)); | |
6946 | } | |
6947 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
6948 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
6949 | } | |
6950 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
6951 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
6952 | } | |
6953 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
6954 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
6955 | } | |
6956 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
6957 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
6958 | } | |
6959 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
6960 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
6961 | } | |
6962 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
6963 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
6964 | } | |
6965 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
6966 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
6967 | } | |
6968 | static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) { | |
6969 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x)); | |
6970 | } | |
6971 | static void *_p_wxSliderTo_p_wxEvtHandler(void *x) { | |
6972 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x)); | |
6973 | } | |
6974 | static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) { | |
6975 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x)); | |
6976 | } | |
6977 | static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) { | |
6978 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
6979 | } | |
6980 | static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) { | |
6981 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x)); | |
6982 | } | |
6983 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
6984 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
6985 | } | |
6986 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
6987 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
6988 | } | |
6989 | static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) { | |
6990 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x)); | |
6991 | } | |
6992 | static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) { | |
6993 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x)); | |
6994 | } | |
6995 | static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) { | |
6996 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x)); | |
6997 | } | |
6998 | static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) { | |
6999 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x)); | |
7000 | } | |
7001 | static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) { | |
7002 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x)); | |
7003 | } | |
7004 | static void *_p_wxButtonTo_p_wxEvtHandler(void *x) { | |
7005 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x)); | |
7006 | } | |
7007 | static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) { | |
7008 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
7009 | } | |
7010 | static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) { | |
7011 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x)); | |
7012 | } | |
7013 | static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) { | |
7014 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x)); | |
7015 | } | |
7016 | static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) { | |
7017 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x)); | |
7018 | } | |
7019 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
7020 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
7021 | } | |
7022 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
7023 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
7024 | } | |
7025 | static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) { | |
7026 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x)); | |
7027 | } | |
7028 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
7029 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
7030 | } | |
7031 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
7032 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
7033 | } | |
7034 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
7035 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
7036 | } | |
7037 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
7038 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
7039 | } | |
7040 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
7041 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
7042 | } | |
7043 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
7044 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
7045 | } | |
7046 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
7047 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
7048 | } | |
7049 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
7050 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
7051 | } | |
7052 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
7053 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
7054 | } | |
7055 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
7056 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
7057 | } | |
7058 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
7059 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
7060 | } | |
7061 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
7062 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
7063 | } | |
7064 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
7065 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
7066 | } | |
7067 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
7068 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
7069 | } | |
7070 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
7071 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
7072 | } | |
7073 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
7074 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
7075 | } | |
7076 | static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) { | |
7077 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x)); | |
7078 | } | |
7079 | static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) { | |
7080 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x)); | |
7081 | } | |
7082 | static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) { | |
7083 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
7084 | } | |
7085 | static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) { | |
7086 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
7087 | } | |
7088 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
7089 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
7090 | } | |
7091 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
7092 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
7093 | } | |
7094 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
7095 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
7096 | } | |
7097 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
7098 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
7099 | } | |
7100 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
7101 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
7102 | } | |
7103 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
7104 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
7105 | } | |
7106 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
7107 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
7108 | } | |
7109 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
7110 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
7111 | } | |
7112 | static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) { | |
7113 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x)); | |
7114 | } | |
7115 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
7116 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
7117 | } | |
7118 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
7119 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
7120 | } | |
7121 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
7122 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
7123 | } | |
7124 | static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) { | |
7125 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x)); | |
7126 | } | |
7127 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
7128 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
7129 | } | |
7130 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
7131 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
7132 | } | |
7133 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) { | |
7134 | return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
7135 | } | |
7136 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
7137 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
7138 | } | |
7139 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
7140 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
7141 | } | |
7142 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
7143 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
7144 | } | |
7145 | static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) { | |
7146 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x)); | |
7147 | } | |
7148 | static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) { | |
7149 | return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x)); | |
7150 | } | |
7151 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
7152 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
7153 | } | |
7154 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
7155 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
7156 | } | |
7157 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
7158 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
7159 | } | |
7160 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
7161 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
7162 | } | |
7163 | static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) { | |
7164 | return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x)); | |
7165 | } | |
7166 | static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) { | |
7167 | return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x)); | |
7168 | } | |
7169 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
7170 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
7171 | } | |
7172 | static void *_p_wxListEventTo_p_wxCommandEvent(void *x) { | |
7173 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x)); | |
7174 | } | |
7175 | static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) { | |
7176 | return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x)); | |
7177 | } | |
7178 | static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) { | |
7179 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x)); | |
7180 | } | |
7181 | static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) { | |
7182 | return (void *)((wxCommandEvent *) ((wxHelpEvent *) x)); | |
7183 | } | |
7184 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
7185 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
7186 | } | |
7187 | static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) { | |
7188 | return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x)); | |
7189 | } | |
7190 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
7191 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
7192 | } | |
7193 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
7194 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
7195 | } | |
7196 | static swig_type_info _swigt__p_wxEditableListBox[] = {{"_p_wxEditableListBox", 0, "wxEditableListBox *", 0},{"_p_wxEditableListBox"},{0}}; | |
e811c8ce | 7197 | static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxObject"},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxTreeListColumnInfo", _p_wxTreeListColumnInfoTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxObject},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxObject},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{0}}; |
d14a1e28 RD |
7198 | static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}}; |
7199 | static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl},{0}}; | |
7200 | static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl[] = {{"_p_wxRemotelyScrolledTreeCtrl", 0, "wxRemotelyScrolledTreeCtrl *", 0},{"_p_wxRemotelyScrolledTreeCtrl"},{0}}; | |
7201 | static swig_type_info _swigt__p_wxTreeListColumnInfo[] = {{"_p_wxTreeListColumnInfo", 0, "wxTreeListColumnInfo *", 0},{"_p_wxTreeListColumnInfo"},{0}}; | |
7202 | static swig_type_info _swigt__p_wxPyTreeListCtrl[] = {{"_p_wxPyTreeListCtrl", 0, "wxPyTreeListCtrl *", 0},{"_p_wxPyTreeListCtrl"},{0}}; | |
7203 | static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}}; | |
7204 | static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}}; | |
7205 | static swig_type_info _swigt__p_wxDynamicSashWindow[] = {{"_p_wxDynamicSashWindow", 0, "wxDynamicSashWindow *", 0},{"_p_wxDynamicSashWindow"},{0}}; | |
7206 | static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxScrolledWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}}; | |
7207 | static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxSplitterWindow},{0}}; | |
7208 | static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow},{"_p_wxListView", _p_wxListViewTo_p_wxWindow},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxWindow},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxWindow},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow},{"_p_wxButton", _p_wxButtonTo_p_wxWindow},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxWindow},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxWindow},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxWindow},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow},{0}}; | |
7209 | static swig_type_info _swigt__p_wxPyTreeCompanionWindow[] = {{"_p_wxPyTreeCompanionWindow", 0, "wxPyTreeCompanionWindow *", 0},{"_p_wxPyTreeCompanionWindow"},{0}}; | |
7210 | static swig_type_info _swigt__p_wxThinSplitterWindow[] = {{"_p_wxThinSplitterWindow", 0, "wxThinSplitterWindow *", 0},{"_p_wxThinSplitterWindow"},{0}}; | |
7211 | static swig_type_info _swigt__p_wxSplitterScrolledWindow[] = {{"_p_wxSplitterScrolledWindow", 0, "wxSplitterScrolledWindow *", 0},{"_p_wxSplitterScrolledWindow"},{0}}; | |
7212 | static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}}; | |
7213 | static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxCommandEvent},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{0}}; | |
7214 | static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}}; | |
7215 | static swig_type_info _swigt__p_wxLEDNumberCtrl[] = {{"_p_wxLEDNumberCtrl", 0, "wxLEDNumberCtrl *", 0},{"_p_wxLEDNumberCtrl"},{0}}; | |
7216 | static swig_type_info _swigt__p_wxDynamicSashSplitEvent[] = {{"_p_wxDynamicSashSplitEvent", 0, "wxDynamicSashSplitEvent *", 0},{"_p_wxDynamicSashSplitEvent"},{0}}; | |
7217 | static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}}; | |
7218 | static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; | |
7219 | static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxEvtHandler},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxEvtHandler},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxEvtHandler},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxEvtHandler},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{0}}; | |
7220 | static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}}; | |
7221 | static swig_type_info _swigt__p_wxDynamicSashUnifyEvent[] = {{"_p_wxDynamicSashUnifyEvent", 0, "wxDynamicSashUnifyEvent *", 0},{"_p_wxDynamicSashUnifyEvent"},{0}}; | |
7222 | static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxControl},{"_p_wxControl"},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxControl},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl},{"_p_wxListbook", _p_wxListbookTo_p_wxControl},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl},{"_p_wxListView", _p_wxListViewTo_p_wxControl},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl},{"_p_wxSlider", _p_wxSliderTo_p_wxControl},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl},{"_p_wxButton", _p_wxButtonTo_p_wxControl},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl},{0}}; | |
7223 | static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxPanel},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxPanel},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel},{0}}; | |
7224 | static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}}; | |
7225 | static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxEvent},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxEvent},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent},{0}}; | |
7226 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}}; | |
7227 | ||
7228 | static swig_type_info *swig_types_initial[] = { | |
7229 | _swigt__p_wxEditableListBox, | |
7230 | _swigt__p_wxObject, | |
7231 | _swigt__p_wxColour, | |
7232 | _swigt__p_wxPyTreeCtrl, | |
7233 | _swigt__p_wxRemotelyScrolledTreeCtrl, | |
7234 | _swigt__p_wxTreeListColumnInfo, | |
7235 | _swigt__p_wxPyTreeListCtrl, | |
7236 | _swigt__p_wxImageList, | |
7237 | _swigt__p_wxScrollBar, | |
7238 | _swigt__p_wxDynamicSashWindow, | |
7239 | _swigt__p_wxScrolledWindow, | |
7240 | _swigt__p_wxSplitterWindow, | |
7241 | _swigt__p_wxWindow, | |
7242 | _swigt__p_wxPyTreeCompanionWindow, | |
7243 | _swigt__p_wxThinSplitterWindow, | |
7244 | _swigt__p_wxSplitterScrolledWindow, | |
7245 | _swigt__p_wxValidator, | |
7246 | _swigt__p_wxCommandEvent, | |
7247 | _swigt__p_wxArrayString, | |
7248 | _swigt__p_wxLEDNumberCtrl, | |
7249 | _swigt__p_wxDynamicSashSplitEvent, | |
7250 | _swigt__p_wxTreeItemId, | |
7251 | _swigt__p_wxString, | |
7252 | _swigt__p_wxEvtHandler, | |
7253 | _swigt__p_wxFont, | |
7254 | _swigt__p_wxDynamicSashUnifyEvent, | |
7255 | _swigt__p_wxControl, | |
7256 | _swigt__p_wxPanel, | |
7257 | _swigt__p_wxPyTreeItemData, | |
7258 | _swigt__p_wxEvent, | |
7259 | _swigt__p_int, | |
7260 | 0 | |
7261 | }; | |
7262 | ||
7263 | ||
7264 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
7265 | ||
7266 | static swig_const_info swig_const_table[] = { | |
7267 | { SWIG_PY_INT, (char *)"wxEVT_DYNAMIC_SASH_SPLIT", (long) wxEVT_DYNAMIC_SASH_SPLIT, 0, 0, 0}, | |
7268 | { SWIG_PY_INT, (char *)"wxEVT_DYNAMIC_SASH_UNIFY", (long) wxEVT_DYNAMIC_SASH_UNIFY, 0, 0, 0}, | |
7269 | { SWIG_PY_INT, (char *)"DS_MANAGE_SCROLLBARS", (long) wxDS_MANAGE_SCROLLBARS, 0, 0, 0}, | |
7270 | { SWIG_PY_INT, (char *)"DS_DRAG_CORNER", (long) wxDS_DRAG_CORNER, 0, 0, 0}, | |
7271 | { SWIG_PY_INT, (char *)"EL_ALLOW_NEW", (long) wxEL_ALLOW_NEW, 0, 0, 0}, | |
7272 | { SWIG_PY_INT, (char *)"EL_ALLOW_EDIT", (long) wxEL_ALLOW_EDIT, 0, 0, 0}, | |
7273 | { SWIG_PY_INT, (char *)"EL_ALLOW_DELETE", (long) wxEL_ALLOW_DELETE, 0, 0, 0}, | |
7274 | { SWIG_PY_INT, (char *)"LED_ALIGN_LEFT", (long) wxLED_ALIGN_LEFT, 0, 0, 0}, | |
7275 | { SWIG_PY_INT, (char *)"LED_ALIGN_RIGHT", (long) wxLED_ALIGN_RIGHT, 0, 0, 0}, | |
7276 | { SWIG_PY_INT, (char *)"LED_ALIGN_CENTER", (long) wxLED_ALIGN_CENTER, 0, 0, 0}, | |
7277 | { SWIG_PY_INT, (char *)"LED_ALIGN_MASK", (long) wxLED_ALIGN_MASK, 0, 0, 0}, | |
7278 | { SWIG_PY_INT, (char *)"LED_DRAW_FADED", (long) wxLED_DRAW_FADED, 0, 0, 0}, | |
7279 | { SWIG_PY_INT, (char *)"TL_ALIGN_LEFT", (long) wxTL_ALIGN_LEFT, 0, 0, 0}, | |
7280 | { SWIG_PY_INT, (char *)"TL_ALIGN_RIGHT", (long) wxTL_ALIGN_RIGHT, 0, 0, 0}, | |
7281 | { SWIG_PY_INT, (char *)"TL_ALIGN_CENTER", (long) wxTL_ALIGN_CENTER, 0, 0, 0}, | |
7282 | { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMCOLUMN", (long) wxTREE_HITTEST_ONITEMCOLUMN, 0, 0, 0}, | |
7283 | {0}}; | |
7284 | ||
7285 | #ifdef __cplusplus | |
7286 | } | |
7287 | #endif | |
7288 | ||
7289 | #ifdef __cplusplus | |
7290 | extern "C" | |
7291 | #endif | |
7292 | SWIGEXPORT(void) SWIG_init(void) { | |
7293 | static PyObject *SWIG_globals = 0; | |
7294 | static int typeinit = 0; | |
7295 | PyObject *m, *d; | |
7296 | int i; | |
7297 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
7298 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
7299 | d = PyModule_GetDict(m); | |
7300 | ||
7301 | if (!typeinit) { | |
7302 | for (i = 0; swig_types_initial[i]; i++) { | |
7303 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
7304 | } | |
7305 | typeinit = 1; | |
7306 | } | |
7307 | SWIG_InstallConstants(d,swig_const_table); | |
7308 | ||
7309 | ||
7310 | ||
7311 | wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow"); | |
7312 | wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl"); | |
7313 | ||
7314 | } | |
7315 |