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