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