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