]>
Commit | Line | Data |
---|---|---|
44127b65 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
83448d71 | 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 | ||
f0983263 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 |
f0983263 RD |
83 | # define SWIGEXPORT(a) a |
84 | # define SWIGIMPORT(a) a | |
44127b65 RD |
85 | #endif |
86 | ||
87 | #ifdef SWIG_GLOBAL | |
f0983263 | 88 | # define SWIGRUNTIME(a) SWIGEXPORT(a) |
44127b65 | 89 | #else |
f0983263 | 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 { | |
f0983263 | 101 | const char *name; |
44127b65 RD |
102 | swig_converter_func converter; |
103 | const char *str; | |
f0983263 | 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 *); | |
f0983263 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 | ||
126 | /*********************************************************************** | |
127 | * pyrun.swg for wxPython | |
128 | * | |
129 | * Include only the function prototypes and such from SWIG's pyrun.swg, | |
130 | * but not the runtime functions themselves. This helps keep the | |
131 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
132 | * anyway. | |
133 | * | |
134 | ************************************************************************/ | |
135 | ||
44127b65 RD |
136 | #include "Python.h" |
137 | ||
138 | #ifdef __cplusplus | |
139 | extern "C" { | |
140 | #endif | |
141 | ||
142 | #define SWIG_PY_INT 1 | |
143 | #define SWIG_PY_FLOAT 2 | |
144 | #define SWIG_PY_STRING 3 | |
145 | #define SWIG_PY_POINTER 4 | |
146 | #define SWIG_PY_BINARY 5 | |
147 | ||
148 | /* Flags for pointer conversion */ | |
149 | ||
150 | #define SWIG_POINTER_EXCEPTION 0x1 | |
151 | #define SWIG_POINTER_DISOWN 0x2 | |
152 | ||
153 | /* Exception handling in wrappers */ | |
154 | #define SWIG_fail goto fail | |
155 | ||
156 | /* Constant information structure */ | |
157 | typedef struct swig_const_info { | |
158 | int type; | |
159 | char *name; | |
160 | long lvalue; | |
161 | double dvalue; | |
162 | void *pvalue; | |
163 | swig_type_info **ptype; | |
164 | } swig_const_info; | |
165 | ||
44127b65 RD |
166 | /* Common SWIG API */ |
167 | #define SWIG_ConvertPtr(obj, pp, type, flags) \ | |
168 | SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
169 | #define SWIG_NewPointerObj(p, type, flags) \ | |
170 | SWIG_Python_NewPointerObj(p, type, flags) | |
171 | #define SWIG_MustGetPtr(p, type, argnum, flags) \ | |
172 | SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
83448d71 | 173 | |
44127b65 RD |
174 | /* Python-specific SWIG API */ |
175 | #define SWIG_newvarlink() \ | |
176 | SWIG_Python_newvarlink() | |
177 | #define SWIG_addvarlink(p, name, get_attr, set_attr) \ | |
178 | SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
179 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ | |
180 | SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
44127b65 RD |
181 | #define SWIG_NewPackedObj(ptr, sz, type) \ |
182 | SWIG_Python_NewPackedObj(ptr, sz, type) | |
183 | #define SWIG_InstallConstants(d, constants) \ | |
184 | SWIG_Python_InstallConstants(d, constants) | |
185 | ||
8edf1c75 | 186 | typedef double (*py_objasdbl_conv)(PyObject *obj); |
44127b65 | 187 | |
f0983263 RD |
188 | SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); |
189 | SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); | |
190 | SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int); | |
191 | SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void); | |
192 | SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
193 | SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int); | |
194 | SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *); | |
195 | SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); | |
44127b65 | 196 | |
44127b65 RD |
197 | |
198 | /* Contract support */ | |
199 | ||
200 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else | |
201 | ||
44127b65 RD |
202 | #ifdef __cplusplus |
203 | } | |
204 | #endif | |
205 | ||
206 | ||
44127b65 RD |
207 | /* -------- TYPES TABLE (BEGIN) -------- */ |
208 | ||
209 | #define SWIGTYPE_p_wxEditableListBox swig_types[0] | |
210 | #define SWIGTYPE_p_wxObject swig_types[1] | |
211 | #define SWIGTYPE_p_wxColour swig_types[2] | |
212 | #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3] | |
213 | #define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[4] | |
214 | #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[5] | |
215 | #define SWIGTYPE_p_wxPyTreeListCtrl swig_types[6] | |
216 | #define SWIGTYPE_p_wxImageList swig_types[7] | |
217 | #define SWIGTYPE_p_wxScrollBar swig_types[8] | |
4e760a36 RD |
218 | #define SWIGTYPE_p_wxDynamicSashWindow swig_types[9] |
219 | #define SWIGTYPE_p_wxScrolledWindow swig_types[10] | |
220 | #define SWIGTYPE_p_wxSplitterWindow swig_types[11] | |
221 | #define SWIGTYPE_p_wxWindow swig_types[12] | |
44127b65 RD |
222 | #define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[13] |
223 | #define SWIGTYPE_p_wxThinSplitterWindow swig_types[14] | |
224 | #define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[15] | |
225 | #define SWIGTYPE_p_wxValidator swig_types[16] | |
226 | #define SWIGTYPE_p_wxCommandEvent swig_types[17] | |
227 | #define SWIGTYPE_p_wxArrayString swig_types[18] | |
228 | #define SWIGTYPE_p_wxLEDNumberCtrl swig_types[19] | |
229 | #define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[20] | |
230 | #define SWIGTYPE_p_wxTreeItemId swig_types[21] | |
8edf1c75 | 231 | #define SWIGTYPE_p_char swig_types[22] |
4e760a36 RD |
232 | #define SWIGTYPE_p_wxEvtHandler swig_types[23] |
233 | #define SWIGTYPE_p_wxFont swig_types[24] | |
234 | #define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[25] | |
235 | #define SWIGTYPE_p_wxControl swig_types[26] | |
236 | #define SWIGTYPE_p_wxPanel swig_types[27] | |
237 | #define SWIGTYPE_p_wxPyTreeItemData swig_types[28] | |
238 | #define SWIGTYPE_p_wxEvent swig_types[29] | |
239 | #define SWIGTYPE_p_int swig_types[30] | |
240 | static swig_type_info *swig_types[32]; | |
44127b65 RD |
241 | |
242 | /* -------- TYPES TABLE (END) -------- */ | |
243 | ||
244 | ||
245 | /*----------------------------------------------- | |
246 | @(target):= _gizmos.so | |
247 | ------------------------------------------------*/ | |
248 | #define SWIG_init init_gizmos | |
249 | ||
250 | #define SWIG_name "_gizmos" | |
251 | ||
2f4c0a16 | 252 | /* Auxiliar swig macros */ |
8edf1c75 | 253 | |
8edf1c75 | 254 | #ifdef __cplusplus |
2f4c0a16 | 255 | #define SWIGSTATICINLINE(a) static inline a |
8edf1c75 | 256 | #define SWIGSTATIC(a) static a |
2f4c0a16 RD |
257 | #define swig_new_array(type, size) (new type[(size)]) |
258 | #define swig_delete_array(cptr) delete[] cptr | |
259 | #define swig_const_cast(type,a) const_cast<type>(a) | |
260 | #define swig_static_cast(type,a) static_cast<type>(a) | |
261 | #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a) | |
8edf1c75 | 262 | |
8edf1c75 | 263 | #ifdef HAVE_NUMERIC_CAST |
2f4c0a16 | 264 | #define swig_numeric_cast(type,a) numeric_cast<type>(a) |
8edf1c75 | 265 | #else |
2f4c0a16 | 266 | #define swig_numeric_cast(type,a) static_cast<type>(a) |
8edf1c75 RD |
267 | #endif |
268 | ||
2f4c0a16 RD |
269 | #else /* C case */ |
270 | ||
271 | #define SWIGSTATICINLINE(a) static a | |
272 | #define SWIGSTATIC(a) static a | |
273 | #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type))) | |
274 | #define swig_delete_array(cptr) free((char*)cptr) | |
275 | #define swig_const_cast(type,a) (type)(a) | |
276 | #define swig_static_cast(type,a) (type)(a) | |
277 | #define swig_reinterpret_cast(type,a) (type)(a) | |
278 | #define swig_numeric_cast(type,a) (type)(a) | |
279 | ||
280 | #endif /* __cplusplus */ | |
8edf1c75 RD |
281 | |
282 | ||
2f4c0a16 RD |
283 | #define SWIG_FromSignedChar PyInt_FromLong |
284 | #define SWIG_FromUnsignedChar PyInt_FromLong | |
285 | #define SWIG_FromShort PyInt_FromLong | |
286 | #define SWIG_FromUnsignedShort PyInt_FromLong | |
287 | #define SWIG_FromInt PyInt_FromLong | |
288 | #define SWIG_FromLong PyInt_FromLong | |
289 | #define SWIG_FromFloat PyFloat_FromDouble | |
290 | #define SWIG_FromDouble PyFloat_FromDouble | |
291 | #define SWIG_FromFloat PyFloat_FromDouble | |
292 | #define SWIG_FromDouble PyFloat_FromDouble | |
8edf1c75 RD |
293 | |
294 | ||
44127b65 RD |
295 | #include "wx/wxPython/wxPython.h" |
296 | #include "wx/wxPython/pyclasses.h" | |
629f3c1b | 297 | |
44127b65 RD |
298 | #include <wx/gizmos/dynamicsash.h> |
299 | #include <wx/gizmos/editlbox.h> | |
300 | #include <wx/gizmos/splittree.h> | |
301 | #include <wx/gizmos/ledctrl.h> | |
302 | ||
303 | #include <wx/listctrl.h> | |
304 | #include <wx/treectrl.h> | |
305 | #include <wx/imaglist.h> | |
629f3c1b RD |
306 | |
307 | #include "wx/treelistctrl.h" | |
44127b65 RD |
308 | #include "wx/wxPython/pytree.h" |
309 | ||
44127b65 | 310 | |
d03fd34d RD |
311 | static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow")); |
312 | static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox")); | |
313 | static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl")); | |
314 | static const wxString wxPyEmptyString(wxEmptyString); | |
8edf1c75 | 315 | |
2f4c0a16 RD |
316 | #include <limits.h> |
317 | ||
318 | ||
319 | SWIGSTATICINLINE(long) | |
320 | SWIG_CheckLongInRange(long value, const char* type, | |
321 | long min_value, long max_value) | |
322 | { | |
323 | if (!PyErr_Occurred()) { | |
324 | if (value < min_value) { | |
325 | PyObject *err = | |
326 | PyString_FromFormat("value %ld is less than '%s' minimum %ld", | |
327 | value, type, min_value); | |
328 | ||
329 | PyErr_SetObject(PyExc_OverflowError, err); | |
330 | Py_DECREF(err); | |
331 | } else if (value > max_value) { | |
332 | PyObject *err = | |
333 | PyString_FromFormat("value %ld is greater than '%s' maximum %ld", | |
334 | value, type, max_value); | |
335 | PyErr_SetObject(PyExc_OverflowError, err); | |
336 | Py_DECREF(err); | |
337 | } | |
338 | } | |
339 | return value; | |
340 | } | |
341 | ||
342 | ||
343 | SWIGSTATICINLINE(long) | |
344 | SWIG_AsLong(PyObject * obj) | |
345 | { | |
69223c70 RD |
346 | if (PyNumber_Check(obj)) |
347 | return PyInt_AsLong(obj); | |
348 | else { | |
349 | PyObject* errmsg = PyString_FromFormat("Expected number, got %s", | |
350 | obj->ob_type->tp_name); | |
351 | PyErr_SetObject(PyExc_TypeError, errmsg); | |
352 | Py_DECREF(errmsg); | |
353 | return 0; | |
354 | } | |
2f4c0a16 RD |
355 | } |
356 | ||
357 | ||
358 | #if INT_MAX != LONG_MAX | |
359 | SWIGSTATICINLINE(int) | |
360 | SWIG_AsInt(PyObject *obj) | |
8edf1c75 | 361 | { |
2f4c0a16 RD |
362 | return swig_numeric_cast(int, |
363 | SWIG_CheckLongInRange(SWIG_AsLong(obj), | |
364 | "int", INT_MIN, INT_MAX)); | |
8edf1c75 | 365 | } |
2f4c0a16 RD |
366 | #else |
367 | #define SWIG_AsInt SWIG_AsLong | |
368 | #endif | |
8edf1c75 RD |
369 | |
370 | ||
2f4c0a16 RD |
371 | SWIGSTATICINLINE(int) |
372 | SWIG_CheckInt(PyObject* obj) | |
8edf1c75 | 373 | { |
2f4c0a16 RD |
374 | SWIG_AsInt(obj); |
375 | if (PyErr_Occurred()) { | |
376 | PyErr_Clear(); | |
377 | return 0; | |
378 | } else { | |
379 | return 1; | |
380 | } | |
381 | } | |
382 | ||
383 | ||
384 | SWIGSTATICINLINE(int) | |
385 | SWIG_CheckLong(PyObject* obj) | |
386 | { | |
387 | SWIG_AsLong(obj); | |
388 | if (PyErr_Occurred()) { | |
389 | PyErr_Clear(); | |
390 | return 0; | |
391 | } else { | |
392 | return 1; | |
393 | } | |
8edf1c75 RD |
394 | } |
395 | ||
44127b65 RD |
396 | PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){ |
397 | wxArrayString strings; | |
398 | self->GetStrings(strings); | |
399 | return wxArrayString2PyList_helper(strings); | |
400 | } | |
401 | ||
402 | typedef wxTreeCtrl wxPyTreeCtrl; | |
403 | ||
404 | ||
405 | class wxPyTreeCompanionWindow: public wxTreeCompanionWindow | |
406 | { | |
407 | public: | |
408 | wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1, | |
409 | const wxPoint& pos = wxDefaultPosition, | |
410 | const wxSize& size = wxDefaultSize, | |
411 | long style = 0) | |
412 | : wxTreeCompanionWindow(parent, id, pos, size, style) {} | |
413 | ||
414 | ||
415 | virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) { | |
416 | bool found; | |
4f89f6a3 | 417 | bool blocked = wxPyBeginBlockThreads(); |
44127b65 | 418 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) { |
412d302d | 419 | PyObject* dcobj = wxPyMake_wxObject(&dc,false); |
44127b65 RD |
420 | PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), False); |
421 | PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), False); | |
422 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj)); | |
423 | Py_DECREF(dcobj); | |
424 | Py_DECREF(idobj); | |
425 | Py_DECREF(recobj); | |
426 | } | |
4f89f6a3 | 427 | wxPyEndBlockThreads(blocked); |
44127b65 RD |
428 | if (! found) |
429 | wxTreeCompanionWindow::DrawItem(dc, id, rect); | |
430 | } | |
431 | ||
432 | PYPRIVATE; | |
433 | }; | |
434 | ||
8edf1c75 | 435 | |
2f4c0a16 RD |
436 | SWIGSTATICINLINE(bool) |
437 | SWIG_AsBool(PyObject *obj) | |
8edf1c75 RD |
438 | { |
439 | return PyObject_IsTrue(obj) ? true : false; | |
440 | } | |
441 | ||
442 | ||
2f4c0a16 RD |
443 | SWIGSTATICINLINE(int) |
444 | SWIG_CheckBool(PyObject* obj) | |
445 | { | |
446 | SWIG_AsBool(obj); | |
447 | if (PyErr_Occurred()) { | |
448 | PyErr_Clear(); | |
449 | return 0; | |
450 | } else { | |
451 | return 1; | |
452 | } | |
453 | } | |
454 | ||
455 | ||
456 | SWIGSTATICINLINE(unsigned long) | |
457 | SWIG_AsUnsignedLong(PyObject * obj) | |
8edf1c75 | 458 | { |
2f4c0a16 RD |
459 | if (PyLong_Check(obj)) { |
460 | return PyLong_AsUnsignedLong(obj); | |
461 | } else { | |
69223c70 | 462 | long i = SWIG_AsLong(obj); |
2f4c0a16 | 463 | if ( !PyErr_Occurred() && (i < 0)) { |
69223c70 | 464 | PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type"); |
2f4c0a16 RD |
465 | } |
466 | return i; | |
467 | } | |
468 | } | |
469 | ||
470 | ||
471 | SWIGSTATICINLINE(int) | |
472 | SWIG_CheckUnsignedLong(PyObject* obj) | |
473 | { | |
474 | SWIG_AsUnsignedLong(obj); | |
475 | if (PyErr_Occurred()) { | |
476 | PyErr_Clear(); | |
477 | return 0; | |
478 | } else { | |
479 | return 1; | |
480 | } | |
481 | } | |
482 | ||
483 | ||
484 | SWIGSTATICINLINE(PyObject* ) | |
485 | SWIG_FromUnsignedLong(unsigned long value) | |
486 | { | |
487 | return (value > LONG_MAX) ? | |
488 | PyLong_FromUnsignedLong(value) | |
489 | : PyInt_FromLong(swig_numeric_cast(long,value)); | |
8edf1c75 RD |
490 | } |
491 | ||
44127b65 RD |
492 | // C++ version of Python aware control |
493 | class wxPyTreeListCtrl : public wxTreeListCtrl { | |
494 | DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl); | |
495 | public: | |
496 | wxPyTreeListCtrl() : wxTreeListCtrl() {} | |
497 | wxPyTreeListCtrl(wxWindow *parent, wxWindowID id, | |
498 | const wxPoint& pos, | |
499 | const wxSize& size, | |
500 | long style, | |
501 | const wxValidator &validator, | |
502 | const wxString& name) : | |
503 | wxTreeListCtrl(parent, id, pos, size, style, validator, name) {} | |
504 | ||
505 | int OnCompareItems(const wxTreeItemId& item1, | |
506 | const wxTreeItemId& item2) { | |
507 | int rval = 0; | |
508 | bool found; | |
4f89f6a3 | 509 | bool blocked = wxPyBeginBlockThreads(); |
44127b65 RD |
510 | if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) { |
511 | PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0); | |
512 | PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0); | |
513 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2)); | |
514 | Py_DECREF(o1); | |
515 | Py_DECREF(o2); | |
516 | } | |
4f89f6a3 | 517 | wxPyEndBlockThreads(blocked); |
44127b65 RD |
518 | if (! found) |
519 | rval = wxTreeListCtrl::OnCompareItems(item1, item2); | |
520 | return rval; | |
521 | } | |
522 | PYPRIVATE; | |
523 | }; | |
524 | ||
525 | IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl) | |
526 | ||
527 | ||
8edf1c75 | 528 | |
2f4c0a16 RD |
529 | #if UINT_MAX < LONG_MAX |
530 | #define SWIG_FromUnsignedInt SWIG_FromLong | |
531 | #else | |
532 | #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong | |
533 | #endif | |
534 | ||
535 | ||
536 | SWIGSTATICINLINE(unsigned long) | |
537 | SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type, | |
538 | unsigned long max_value) | |
539 | { | |
540 | if (!PyErr_Occurred()) { | |
541 | if (value > max_value) { | |
542 | PyObject *err = | |
543 | PyString_FromFormat("value %ld is greater than '%s' minimum %ld", | |
544 | value, type, max_value); | |
545 | PyErr_SetObject(PyExc_OverflowError, err); | |
546 | Py_DECREF(err); | |
547 | } | |
548 | } | |
549 | return value; | |
550 | } | |
8edf1c75 RD |
551 | |
552 | ||
2f4c0a16 RD |
553 | #if UINT_MAX != ULONG_MAX |
554 | SWIGSTATICINLINE(unsigned int) | |
555 | SWIG_AsUnsignedInt(PyObject *obj) | |
8edf1c75 | 556 | { |
2f4c0a16 RD |
557 | return swig_numeric_cast(unsigned int, |
558 | SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj), | |
559 | "unsigned int", UINT_MAX)); | |
560 | } | |
561 | #else | |
562 | #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong | |
563 | #endif | |
564 | ||
565 | ||
566 | SWIGSTATICINLINE(int) | |
567 | SWIG_CheckUnsignedInt(PyObject* obj) | |
568 | { | |
569 | SWIG_AsUnsignedInt(obj); | |
570 | if (PyErr_Occurred()) { | |
571 | PyErr_Clear(); | |
572 | return 0; | |
573 | } else { | |
574 | return 1; | |
575 | } | |
8edf1c75 RD |
576 | } |
577 | ||
44127b65 RD |
578 | wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column){ |
579 | if (column < 0) column = self->GetMainColumn(); | |
580 | return self->GetItemText(item, column); | |
581 | } | |
582 | int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column,wxTreeItemIcon which){ | |
583 | if (column < 0) column = self->GetMainColumn(); | |
584 | return self->GetItemImage(item, column, which); | |
585 | } | |
586 | void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column){ | |
587 | if (column < 0) column = self->GetMainColumn(); | |
588 | self->SetItemText(item, column, text); | |
589 | } | |
590 | void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column,wxTreeItemIcon which){ | |
591 | if (column < 0) column = self->GetMainColumn(); | |
592 | self->SetItemImage(item, column, image, which); | |
593 | } | |
594 | wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){ | |
595 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); | |
596 | if (data == NULL) { | |
597 | data = new wxPyTreeItemData(); | |
598 | data->SetId(item); // set the id | |
599 | self->SetItemData(item, data); | |
600 | } | |
601 | return data; | |
602 | } | |
603 | void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){ | |
604 | data->SetId(item); // set the id | |
605 | self->SetItemData(item, data); | |
606 | } | |
607 | PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){ | |
608 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); | |
609 | if (data == NULL) { | |
610 | data = new wxPyTreeItemData(); | |
611 | data->SetId(item); // set the id | |
612 | self->SetItemData(item, data); | |
613 | } | |
614 | return data->GetData(); | |
615 | } | |
616 | void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){ | |
617 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); | |
618 | if (data == NULL) { | |
619 | data = new wxPyTreeItemData(obj); | |
620 | data->SetId(item); // set the id | |
621 | self->SetItemData(item, data); | |
622 | } else | |
623 | data->SetData(obj); | |
624 | } | |
625 | PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){ | |
4f89f6a3 | 626 | bool blocked = wxPyBeginBlockThreads(); |
44127b65 RD |
627 | PyObject* rval = PyList_New(0); |
628 | wxArrayTreeItemIds array; | |
629 | size_t num, x; | |
630 | num = self->GetSelections(array); | |
631 | for (x=0; x < num; x++) { | |
632 | wxTreeItemId *tii = new wxTreeItemId(array.Item(x)); | |
633 | PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True); | |
634 | PyList_Append(rval, item); | |
635 | } | |
4f89f6a3 | 636 | wxPyEndBlockThreads(blocked); |
44127b65 RD |
637 | return rval; |
638 | } | |
639 | PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){ | |
629f3c1b | 640 | void* cookie = 0; |
a2482628 | 641 | wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie)); |
4f89f6a3 | 642 | bool blocked = wxPyBeginBlockThreads(); |
44127b65 | 643 | PyObject* tup = PyTuple_New(2); |
629f3c1b RD |
644 | PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True)); |
645 | PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void"))); | |
4f89f6a3 | 646 | wxPyEndBlockThreads(blocked); |
44127b65 RD |
647 | return tup; |
648 | } | |
629f3c1b | 649 | PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){ |
a2482628 | 650 | wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie)); |
4f89f6a3 | 651 | bool blocked = wxPyBeginBlockThreads(); |
44127b65 | 652 | PyObject* tup = PyTuple_New(2); |
629f3c1b RD |
653 | PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True)); |
654 | PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void"))); | |
4f89f6a3 | 655 | wxPyEndBlockThreads(blocked); |
44127b65 RD |
656 | return tup; |
657 | } | |
658 | ||
659 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
660 | PyObject* o2; | |
661 | PyObject* o3; | |
662 | ||
663 | if (!target) { | |
664 | target = o; | |
665 | } else if (target == Py_None) { | |
666 | Py_DECREF(Py_None); | |
667 | target = o; | |
668 | } else { | |
669 | if (!PyTuple_Check(target)) { | |
670 | o2 = target; | |
671 | target = PyTuple_New(1); | |
672 | PyTuple_SetItem(target, 0, o2); | |
673 | } | |
674 | o3 = PyTuple_New(1); | |
675 | PyTuple_SetItem(o3, 0, o); | |
676 | ||
677 | o2 = target; | |
678 | target = PySequence_Concat(o2, o3); | |
679 | Py_DECREF(o2); | |
680 | Py_DECREF(o3); | |
681 | } | |
682 | return target; | |
683 | } | |
684 | ||
685 | PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly){ | |
686 | wxRect rect; | |
687 | if (self->GetBoundingRect(item, rect, textOnly)) { | |
4f89f6a3 | 688 | bool blocked = wxPyBeginBlockThreads(); |
44127b65 RD |
689 | wxRect* r = new wxRect(rect); |
690 | PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1); | |
4f89f6a3 | 691 | wxPyEndBlockThreads(blocked); |
44127b65 RD |
692 | return val; |
693 | } | |
694 | else { | |
695 | RETURN_NONE(); | |
696 | } | |
697 | } | |
698 | #ifdef __cplusplus | |
699 | extern "C" { | |
700 | #endif | |
2f4c0a16 | 701 | static int _wrap_DynamicSashNameStr_set(PyObject *_val) { |
d03fd34d RD |
702 | PyErr_SetString(PyExc_TypeError,"Variable DynamicSashNameStr is read-only."); |
703 | return 1; | |
704 | } | |
705 | ||
706 | ||
707 | static PyObject *_wrap_DynamicSashNameStr_get() { | |
708 | PyObject *pyobj; | |
709 | ||
710 | { | |
711 | #if wxUSE_UNICODE | |
712 | pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len()); | |
713 | #else | |
714 | pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len()); | |
715 | #endif | |
716 | } | |
717 | return pyobj; | |
718 | } | |
719 | ||
720 | ||
2f4c0a16 | 721 | static int _wrap_EditableListBoxNameStr_set(PyObject *_val) { |
d03fd34d RD |
722 | PyErr_SetString(PyExc_TypeError,"Variable EditableListBoxNameStr is read-only."); |
723 | return 1; | |
724 | } | |
725 | ||
726 | ||
727 | static PyObject *_wrap_EditableListBoxNameStr_get() { | |
728 | PyObject *pyobj; | |
729 | ||
730 | { | |
731 | #if wxUSE_UNICODE | |
732 | pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len()); | |
733 | #else | |
734 | pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len()); | |
735 | #endif | |
736 | } | |
737 | return pyobj; | |
738 | } | |
739 | ||
740 | ||
2f4c0a16 | 741 | static int _wrap_TreeListCtrlNameStr_set(PyObject *_val) { |
d03fd34d RD |
742 | PyErr_SetString(PyExc_TypeError,"Variable TreeListCtrlNameStr is read-only."); |
743 | return 1; | |
744 | } | |
745 | ||
746 | ||
747 | static PyObject *_wrap_TreeListCtrlNameStr_get() { | |
748 | PyObject *pyobj; | |
749 | ||
750 | { | |
751 | #if wxUSE_UNICODE | |
752 | pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len()); | |
753 | #else | |
754 | pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len()); | |
755 | #endif | |
756 | } | |
757 | return pyobj; | |
758 | } | |
759 | ||
760 | ||
44127b65 RD |
761 | static PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *self, PyObject *args, PyObject *kwargs) { |
762 | PyObject *resultobj; | |
763 | wxObject *arg1 = (wxObject *) 0 ; | |
764 | wxDynamicSashSplitEvent *result; | |
765 | PyObject * obj0 = 0 ; | |
766 | char *kwnames[] = { | |
767 | (char *) "target", NULL | |
768 | }; | |
769 | ||
770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
771 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject, |
772 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
773 | { |
774 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
775 | result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1); | |
776 | ||
777 | wxPyEndAllowThreads(__tstate); | |
778 | if (PyErr_Occurred()) SWIG_fail; | |
779 | } | |
2f4c0a16 | 780 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashSplitEvent, 1); |
44127b65 RD |
781 | return resultobj; |
782 | fail: | |
783 | return NULL; | |
784 | } | |
785 | ||
786 | ||
787 | static PyObject * DynamicSashSplitEvent_swigregister(PyObject *self, PyObject *args) { | |
788 | PyObject *obj; | |
789 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
790 | SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, obj); | |
791 | Py_INCREF(obj); | |
792 | return Py_BuildValue((char *)""); | |
793 | } | |
794 | static PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
795 | PyObject *resultobj; | |
796 | wxObject *arg1 = (wxObject *) 0 ; | |
797 | wxDynamicSashUnifyEvent *result; | |
798 | PyObject * obj0 = 0 ; | |
799 | char *kwnames[] = { | |
800 | (char *) "target", NULL | |
801 | }; | |
802 | ||
803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
804 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject, |
805 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
806 | { |
807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
808 | result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1); | |
809 | ||
810 | wxPyEndAllowThreads(__tstate); | |
811 | if (PyErr_Occurred()) SWIG_fail; | |
812 | } | |
2f4c0a16 | 813 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, 1); |
44127b65 RD |
814 | return resultobj; |
815 | fail: | |
816 | return NULL; | |
817 | } | |
818 | ||
819 | ||
820 | static PyObject * DynamicSashUnifyEvent_swigregister(PyObject *self, PyObject *args) { | |
821 | PyObject *obj; | |
822 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
823 | SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, obj); | |
824 | Py_INCREF(obj); | |
825 | return Py_BuildValue((char *)""); | |
826 | } | |
827 | static PyObject *_wrap_new_DynamicSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
828 | PyObject *resultobj; | |
829 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 | 830 | int arg2 = (int) -1 ; |
44127b65 RD |
831 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
832 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
833 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
834 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
835 | long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ; | |
836 | wxString const &arg6_defvalue = wxPyDynamicSashNameStr ; | |
837 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
838 | wxDynamicSashWindow *result; | |
839 | wxPoint temp3 ; | |
840 | wxSize temp4 ; | |
841 | bool temp6 = False ; | |
842 | PyObject * obj0 = 0 ; | |
8edf1c75 | 843 | PyObject * obj1 = 0 ; |
44127b65 RD |
844 | PyObject * obj2 = 0 ; |
845 | PyObject * obj3 = 0 ; | |
8edf1c75 | 846 | PyObject * obj4 = 0 ; |
44127b65 RD |
847 | PyObject * obj5 = 0 ; |
848 | char *kwnames[] = { | |
849 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
850 | }; | |
851 | ||
248ed943 | 852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
853 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
854 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
855 | if (obj1) { |
856 | arg2 = (int) SWIG_AsInt(obj1); | |
857 | if (PyErr_Occurred()) SWIG_fail; | |
858 | } | |
44127b65 RD |
859 | if (obj2) { |
860 | { | |
861 | arg3 = &temp3; | |
862 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
863 | } | |
864 | } | |
865 | if (obj3) { | |
866 | { | |
867 | arg4 = &temp4; | |
868 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
869 | } | |
870 | } | |
8edf1c75 | 871 | if (obj4) { |
2f4c0a16 RD |
872 | arg5 = (long) SWIG_AsLong(obj4); |
873 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 874 | } |
44127b65 RD |
875 | if (obj5) { |
876 | { | |
877 | arg6 = wxString_in_helper(obj5); | |
878 | if (arg6 == NULL) SWIG_fail; | |
879 | temp6 = True; | |
880 | } | |
881 | } | |
882 | { | |
0439c23b | 883 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
885 | result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
886 | ||
887 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 888 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 889 | } |
2f4c0a16 | 890 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1); |
44127b65 RD |
891 | { |
892 | if (temp6) | |
893 | delete arg6; | |
894 | } | |
895 | return resultobj; | |
896 | fail: | |
897 | { | |
898 | if (temp6) | |
899 | delete arg6; | |
900 | } | |
901 | return NULL; | |
902 | } | |
903 | ||
904 | ||
905 | static PyObject *_wrap_new_PreDynamicSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
906 | PyObject *resultobj; | |
907 | wxDynamicSashWindow *result; | |
908 | char *kwnames[] = { | |
909 | NULL | |
910 | }; | |
911 | ||
912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDynamicSashWindow",kwnames)) goto fail; | |
913 | { | |
0439c23b | 914 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
916 | result = (wxDynamicSashWindow *)new wxDynamicSashWindow(); | |
917 | ||
918 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 919 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 920 | } |
2f4c0a16 | 921 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1); |
44127b65 RD |
922 | return resultobj; |
923 | fail: | |
924 | return NULL; | |
925 | } | |
926 | ||
927 | ||
928 | static PyObject *_wrap_DynamicSashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
929 | PyObject *resultobj; | |
930 | wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; | |
931 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 932 | int arg3 = (int) -1 ; |
44127b65 RD |
933 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
934 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
935 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
936 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
937 | long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ; | |
938 | wxString const &arg7_defvalue = wxPyDynamicSashNameStr ; | |
939 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
940 | bool result; | |
941 | wxPoint temp4 ; | |
942 | wxSize temp5 ; | |
943 | bool temp7 = False ; | |
944 | PyObject * obj0 = 0 ; | |
945 | PyObject * obj1 = 0 ; | |
8edf1c75 | 946 | PyObject * obj2 = 0 ; |
44127b65 RD |
947 | PyObject * obj3 = 0 ; |
948 | PyObject * obj4 = 0 ; | |
8edf1c75 | 949 | PyObject * obj5 = 0 ; |
44127b65 RD |
950 | PyObject * obj6 = 0 ; |
951 | char *kwnames[] = { | |
952 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
953 | }; | |
954 | ||
248ed943 | 955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
956 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDynamicSashWindow, |
957 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
958 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
959 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
960 | if (obj2) { |
961 | arg3 = (int) SWIG_AsInt(obj2); | |
962 | if (PyErr_Occurred()) SWIG_fail; | |
963 | } | |
44127b65 RD |
964 | if (obj3) { |
965 | { | |
966 | arg4 = &temp4; | |
967 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
968 | } | |
969 | } | |
970 | if (obj4) { | |
971 | { | |
972 | arg5 = &temp5; | |
973 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
974 | } | |
975 | } | |
8edf1c75 | 976 | if (obj5) { |
2f4c0a16 RD |
977 | arg6 = (long) SWIG_AsLong(obj5); |
978 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 979 | } |
44127b65 RD |
980 | if (obj6) { |
981 | { | |
982 | arg7 = wxString_in_helper(obj6); | |
983 | if (arg7 == NULL) SWIG_fail; | |
984 | temp7 = True; | |
985 | } | |
986 | } | |
987 | { | |
988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
989 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
990 | ||
991 | wxPyEndAllowThreads(__tstate); | |
992 | if (PyErr_Occurred()) SWIG_fail; | |
993 | } | |
4f89f6a3 RD |
994 | { |
995 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
996 | } | |
44127b65 RD |
997 | { |
998 | if (temp7) | |
999 | delete arg7; | |
1000 | } | |
1001 | return resultobj; | |
1002 | fail: | |
1003 | { | |
1004 | if (temp7) | |
1005 | delete arg7; | |
1006 | } | |
1007 | return NULL; | |
1008 | } | |
1009 | ||
1010 | ||
1011 | static PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1012 | PyObject *resultobj; | |
1013 | wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; | |
1014 | wxWindow *arg2 = (wxWindow *) 0 ; | |
1015 | wxScrollBar *result; | |
1016 | PyObject * obj0 = 0 ; | |
1017 | PyObject * obj1 = 0 ; | |
1018 | char *kwnames[] = { | |
1019 | (char *) "self",(char *) "child", NULL | |
1020 | }; | |
1021 | ||
1022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
1023 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDynamicSashWindow, |
1024 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1025 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1026 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1027 | { |
1028 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1029 | result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2); | |
1030 | ||
1031 | wxPyEndAllowThreads(__tstate); | |
1032 | if (PyErr_Occurred()) SWIG_fail; | |
1033 | } | |
2f4c0a16 | 1034 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0); |
44127b65 RD |
1035 | return resultobj; |
1036 | fail: | |
1037 | return NULL; | |
1038 | } | |
1039 | ||
1040 | ||
1041 | static PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1042 | PyObject *resultobj; | |
1043 | wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; | |
1044 | wxWindow *arg2 = (wxWindow *) 0 ; | |
1045 | wxScrollBar *result; | |
1046 | PyObject * obj0 = 0 ; | |
1047 | PyObject * obj1 = 0 ; | |
1048 | char *kwnames[] = { | |
1049 | (char *) "self",(char *) "child", NULL | |
1050 | }; | |
1051 | ||
1052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
1053 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDynamicSashWindow, |
1054 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1055 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1056 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1057 | { |
1058 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1059 | result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2); | |
1060 | ||
1061 | wxPyEndAllowThreads(__tstate); | |
1062 | if (PyErr_Occurred()) SWIG_fail; | |
1063 | } | |
2f4c0a16 | 1064 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0); |
44127b65 RD |
1065 | return resultobj; |
1066 | fail: | |
1067 | return NULL; | |
1068 | } | |
1069 | ||
1070 | ||
1071 | static PyObject * DynamicSashWindow_swigregister(PyObject *self, PyObject *args) { | |
1072 | PyObject *obj; | |
1073 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1074 | SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashWindow, obj); | |
1075 | Py_INCREF(obj); | |
1076 | return Py_BuildValue((char *)""); | |
1077 | } | |
1078 | static PyObject *_wrap_new_EditableListBox(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1079 | PyObject *resultobj; | |
1080 | wxWindow *arg1 = (wxWindow *) 0 ; | |
248ed943 RD |
1081 | int arg2 = (int) -1 ; |
1082 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
1083 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
44127b65 RD |
1084 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
1085 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
1086 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
1087 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
1088 | long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ; | |
1089 | wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ; | |
1090 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
1091 | wxEditableListBox *result; | |
1092 | bool temp3 = False ; | |
1093 | wxPoint temp4 ; | |
1094 | wxSize temp5 ; | |
1095 | bool temp7 = False ; | |
1096 | PyObject * obj0 = 0 ; | |
8edf1c75 | 1097 | PyObject * obj1 = 0 ; |
44127b65 RD |
1098 | PyObject * obj2 = 0 ; |
1099 | PyObject * obj3 = 0 ; | |
1100 | PyObject * obj4 = 0 ; | |
8edf1c75 | 1101 | PyObject * obj5 = 0 ; |
44127b65 RD |
1102 | PyObject * obj6 = 0 ; |
1103 | char *kwnames[] = { | |
1104 | (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
1105 | }; | |
1106 | ||
248ed943 | 1107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
1108 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1109 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
248ed943 RD |
1110 | if (obj1) { |
1111 | arg2 = (int) SWIG_AsInt(obj1); | |
1112 | if (PyErr_Occurred()) SWIG_fail; | |
1113 | } | |
1114 | if (obj2) { | |
1115 | { | |
1116 | arg3 = wxString_in_helper(obj2); | |
1117 | if (arg3 == NULL) SWIG_fail; | |
1118 | temp3 = True; | |
1119 | } | |
44127b65 RD |
1120 | } |
1121 | if (obj3) { | |
1122 | { | |
1123 | arg4 = &temp4; | |
1124 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
1125 | } | |
1126 | } | |
1127 | if (obj4) { | |
1128 | { | |
1129 | arg5 = &temp5; | |
1130 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
1131 | } | |
1132 | } | |
8edf1c75 | 1133 | if (obj5) { |
2f4c0a16 RD |
1134 | arg6 = (long) SWIG_AsLong(obj5); |
1135 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1136 | } |
44127b65 RD |
1137 | if (obj6) { |
1138 | { | |
1139 | arg7 = wxString_in_helper(obj6); | |
1140 | if (arg7 == NULL) SWIG_fail; | |
1141 | temp7 = True; | |
1142 | } | |
1143 | } | |
1144 | { | |
0439c23b | 1145 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
1146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1147 | result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
1148 | ||
1149 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1150 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 1151 | } |
2f4c0a16 | 1152 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEditableListBox, 1); |
44127b65 RD |
1153 | { |
1154 | if (temp3) | |
1155 | delete arg3; | |
1156 | } | |
1157 | { | |
1158 | if (temp7) | |
1159 | delete arg7; | |
1160 | } | |
1161 | return resultobj; | |
1162 | fail: | |
1163 | { | |
1164 | if (temp3) | |
1165 | delete arg3; | |
1166 | } | |
1167 | { | |
1168 | if (temp7) | |
1169 | delete arg7; | |
1170 | } | |
1171 | return NULL; | |
1172 | } | |
1173 | ||
1174 | ||
1175 | static PyObject *_wrap_EditableListBox_SetStrings(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1176 | PyObject *resultobj; | |
1177 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
1178 | wxArrayString *arg2 = 0 ; | |
db914595 | 1179 | bool temp2 = False ; |
44127b65 RD |
1180 | PyObject * obj0 = 0 ; |
1181 | PyObject * obj1 = 0 ; | |
1182 | char *kwnames[] = { | |
1183 | (char *) "self",(char *) "strings", NULL | |
1184 | }; | |
1185 | ||
1186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
1187 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEditableListBox, |
1188 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1189 | { |
1190 | if (! PySequence_Check(obj1)) { | |
1191 | PyErr_SetString(PyExc_TypeError, "Sequence of strings expected."); | |
1192 | SWIG_fail; | |
1193 | } | |
1194 | arg2 = new wxArrayString; | |
db914595 | 1195 | temp2 = True; |
44127b65 RD |
1196 | int i, len=PySequence_Length(obj1); |
1197 | for (i=0; i<len; i++) { | |
1198 | PyObject* item = PySequence_GetItem(obj1, i); | |
1199 | #if wxUSE_UNICODE | |
1200 | PyObject* str = PyObject_Unicode(item); | |
1201 | #else | |
1202 | PyObject* str = PyObject_Str(item); | |
1203 | #endif | |
74a57fcd | 1204 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 RD |
1205 | arg2->Add(Py2wxString(str)); |
1206 | Py_DECREF(item); | |
1207 | Py_DECREF(str); | |
1208 | } | |
1209 | } | |
1210 | { | |
1211 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1212 | (arg1)->SetStrings((wxArrayString const &)*arg2); | |
1213 | ||
1214 | wxPyEndAllowThreads(__tstate); | |
1215 | if (PyErr_Occurred()) SWIG_fail; | |
1216 | } | |
1217 | Py_INCREF(Py_None); resultobj = Py_None; | |
1218 | { | |
db914595 | 1219 | if (temp2) delete arg2; |
44127b65 RD |
1220 | } |
1221 | return resultobj; | |
1222 | fail: | |
1223 | { | |
db914595 | 1224 | if (temp2) delete arg2; |
44127b65 RD |
1225 | } |
1226 | return NULL; | |
1227 | } | |
1228 | ||
1229 | ||
1230 | static PyObject *_wrap_EditableListBox_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1231 | PyObject *resultobj; | |
1232 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
1233 | PyObject *result; | |
1234 | PyObject * obj0 = 0 ; | |
1235 | char *kwnames[] = { | |
1236 | (char *) "self", NULL | |
1237 | }; | |
1238 | ||
1239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetStrings",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1240 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEditableListBox, |
1241 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1242 | { |
1243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1244 | result = (PyObject *)wxEditableListBox_GetStrings(arg1); | |
1245 | ||
1246 | wxPyEndAllowThreads(__tstate); | |
1247 | if (PyErr_Occurred()) SWIG_fail; | |
1248 | } | |
1249 | resultobj = result; | |
1250 | return resultobj; | |
1251 | fail: | |
1252 | return NULL; | |
1253 | } | |
1254 | ||
1255 | ||
1256 | static PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1257 | PyObject *resultobj; | |
1258 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
1259 | wxListCtrl *result; | |
1260 | PyObject * obj0 = 0 ; | |
1261 | char *kwnames[] = { | |
1262 | (char *) "self", NULL | |
1263 | }; | |
1264 | ||
1265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetListCtrl",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1266 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEditableListBox, |
1267 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1268 | { |
1269 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1270 | result = (wxListCtrl *)(arg1)->GetListCtrl(); | |
1271 | ||
1272 | wxPyEndAllowThreads(__tstate); | |
1273 | if (PyErr_Occurred()) SWIG_fail; | |
1274 | } | |
1275 | { | |
412d302d | 1276 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
1277 | } |
1278 | return resultobj; | |
1279 | fail: | |
1280 | return NULL; | |
1281 | } | |
1282 | ||
1283 | ||
1284 | static PyObject *_wrap_EditableListBox_GetDelButton(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1285 | PyObject *resultobj; | |
1286 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
1287 | wxBitmapButton *result; | |
1288 | PyObject * obj0 = 0 ; | |
1289 | char *kwnames[] = { | |
1290 | (char *) "self", NULL | |
1291 | }; | |
1292 | ||
1293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDelButton",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1294 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEditableListBox, |
1295 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1296 | { |
1297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1298 | result = (wxBitmapButton *)(arg1)->GetDelButton(); | |
1299 | ||
1300 | wxPyEndAllowThreads(__tstate); | |
1301 | if (PyErr_Occurred()) SWIG_fail; | |
1302 | } | |
1303 | { | |
412d302d | 1304 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
1305 | } |
1306 | return resultobj; | |
1307 | fail: | |
1308 | return NULL; | |
1309 | } | |
1310 | ||
1311 | ||
1312 | static PyObject *_wrap_EditableListBox_GetNewButton(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1313 | PyObject *resultobj; | |
1314 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
1315 | wxBitmapButton *result; | |
1316 | PyObject * obj0 = 0 ; | |
1317 | char *kwnames[] = { | |
1318 | (char *) "self", NULL | |
1319 | }; | |
1320 | ||
1321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetNewButton",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1322 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEditableListBox, |
1323 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1324 | { |
1325 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1326 | result = (wxBitmapButton *)(arg1)->GetNewButton(); | |
1327 | ||
1328 | wxPyEndAllowThreads(__tstate); | |
1329 | if (PyErr_Occurred()) SWIG_fail; | |
1330 | } | |
1331 | { | |
412d302d | 1332 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
1333 | } |
1334 | return resultobj; | |
1335 | fail: | |
1336 | return NULL; | |
1337 | } | |
1338 | ||
1339 | ||
1340 | static PyObject *_wrap_EditableListBox_GetUpButton(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1341 | PyObject *resultobj; | |
1342 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
1343 | wxBitmapButton *result; | |
1344 | PyObject * obj0 = 0 ; | |
1345 | char *kwnames[] = { | |
1346 | (char *) "self", NULL | |
1347 | }; | |
1348 | ||
1349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetUpButton",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1350 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEditableListBox, |
1351 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1352 | { |
1353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1354 | result = (wxBitmapButton *)(arg1)->GetUpButton(); | |
1355 | ||
1356 | wxPyEndAllowThreads(__tstate); | |
1357 | if (PyErr_Occurred()) SWIG_fail; | |
1358 | } | |
1359 | { | |
412d302d | 1360 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
1361 | } |
1362 | return resultobj; | |
1363 | fail: | |
1364 | return NULL; | |
1365 | } | |
1366 | ||
1367 | ||
1368 | static PyObject *_wrap_EditableListBox_GetDownButton(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1369 | PyObject *resultobj; | |
1370 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
1371 | wxBitmapButton *result; | |
1372 | PyObject * obj0 = 0 ; | |
1373 | char *kwnames[] = { | |
1374 | (char *) "self", NULL | |
1375 | }; | |
1376 | ||
1377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDownButton",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1378 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEditableListBox, |
1379 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1380 | { |
1381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1382 | result = (wxBitmapButton *)(arg1)->GetDownButton(); | |
1383 | ||
1384 | wxPyEndAllowThreads(__tstate); | |
1385 | if (PyErr_Occurred()) SWIG_fail; | |
1386 | } | |
1387 | { | |
412d302d | 1388 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
1389 | } |
1390 | return resultobj; | |
1391 | fail: | |
1392 | return NULL; | |
1393 | } | |
1394 | ||
1395 | ||
1396 | static PyObject *_wrap_EditableListBox_GetEditButton(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1397 | PyObject *resultobj; | |
1398 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
1399 | wxBitmapButton *result; | |
1400 | PyObject * obj0 = 0 ; | |
1401 | char *kwnames[] = { | |
1402 | (char *) "self", NULL | |
1403 | }; | |
1404 | ||
1405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetEditButton",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1406 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEditableListBox, |
1407 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1408 | { |
1409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1410 | result = (wxBitmapButton *)(arg1)->GetEditButton(); | |
1411 | ||
1412 | wxPyEndAllowThreads(__tstate); | |
1413 | if (PyErr_Occurred()) SWIG_fail; | |
1414 | } | |
1415 | { | |
412d302d | 1416 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
1417 | } |
1418 | return resultobj; | |
1419 | fail: | |
1420 | return NULL; | |
1421 | } | |
1422 | ||
1423 | ||
1424 | static PyObject * EditableListBox_swigregister(PyObject *self, PyObject *args) { | |
1425 | PyObject *obj; | |
1426 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1427 | SWIG_TypeClientData(SWIGTYPE_p_wxEditableListBox, obj); | |
1428 | Py_INCREF(obj); | |
1429 | return Py_BuildValue((char *)""); | |
1430 | } | |
1431 | static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1432 | PyObject *resultobj; | |
1433 | wxWindow *arg1 = (wxWindow *) 0 ; | |
1434 | int arg2 ; | |
1435 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
1436 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1437 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1438 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1439 | long arg5 = (long) wxTR_HAS_BUTTONS ; | |
1440 | wxRemotelyScrolledTreeCtrl *result; | |
1441 | wxPoint temp3 ; | |
1442 | wxSize temp4 ; | |
1443 | PyObject * obj0 = 0 ; | |
8edf1c75 | 1444 | PyObject * obj1 = 0 ; |
44127b65 RD |
1445 | PyObject * obj2 = 0 ; |
1446 | PyObject * obj3 = 0 ; | |
8edf1c75 | 1447 | PyObject * obj4 = 0 ; |
44127b65 RD |
1448 | char *kwnames[] = { |
1449 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
1450 | }; | |
1451 | ||
8edf1c75 | 1452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
1453 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1454 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1455 | arg2 = (int) SWIG_AsInt(obj1); | |
1456 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
1457 | if (obj2) { |
1458 | { | |
1459 | arg3 = &temp3; | |
1460 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1461 | } | |
1462 | } | |
1463 | if (obj3) { | |
1464 | { | |
1465 | arg4 = &temp4; | |
1466 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1467 | } | |
1468 | } | |
8edf1c75 | 1469 | if (obj4) { |
2f4c0a16 RD |
1470 | arg5 = (long) SWIG_AsLong(obj4); |
1471 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1472 | } |
44127b65 | 1473 | { |
0439c23b | 1474 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
1475 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1476 | result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
1477 | ||
1478 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1479 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 1480 | } |
2f4c0a16 | 1481 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 1); |
44127b65 RD |
1482 | return resultobj; |
1483 | fail: | |
1484 | return NULL; | |
1485 | } | |
1486 | ||
1487 | ||
1488 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1489 | PyObject *resultobj; | |
1490 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
1491 | PyObject * obj0 = 0 ; | |
1492 | char *kwnames[] = { | |
1493 | (char *) "self", NULL | |
1494 | }; | |
1495 | ||
1496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_HideVScrollbar",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1497 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, |
1498 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1499 | { |
1500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1501 | (arg1)->HideVScrollbar(); | |
1502 | ||
1503 | wxPyEndAllowThreads(__tstate); | |
1504 | if (PyErr_Occurred()) SWIG_fail; | |
1505 | } | |
1506 | Py_INCREF(Py_None); resultobj = Py_None; | |
1507 | return resultobj; | |
1508 | fail: | |
1509 | return NULL; | |
1510 | } | |
1511 | ||
1512 | ||
1513 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1514 | PyObject *resultobj; | |
1515 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
1516 | PyObject * obj0 = 0 ; | |
1517 | char *kwnames[] = { | |
1518 | (char *) "self", NULL | |
1519 | }; | |
1520 | ||
1521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1522 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, |
1523 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1524 | { |
1525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1526 | (arg1)->AdjustRemoteScrollbars(); | |
1527 | ||
1528 | wxPyEndAllowThreads(__tstate); | |
1529 | if (PyErr_Occurred()) SWIG_fail; | |
1530 | } | |
1531 | Py_INCREF(Py_None); resultobj = Py_None; | |
1532 | return resultobj; | |
1533 | fail: | |
1534 | return NULL; | |
1535 | } | |
1536 | ||
1537 | ||
1538 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1539 | PyObject *resultobj; | |
1540 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
1541 | wxScrolledWindow *result; | |
1542 | PyObject * obj0 = 0 ; | |
1543 | char *kwnames[] = { | |
1544 | (char *) "self", NULL | |
1545 | }; | |
1546 | ||
1547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetScrolledWindow",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1548 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, |
1549 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1550 | { |
1551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1552 | result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow(); | |
1553 | ||
1554 | wxPyEndAllowThreads(__tstate); | |
1555 | if (PyErr_Occurred()) SWIG_fail; | |
1556 | } | |
412d302d RD |
1557 | { |
1558 | resultobj = wxPyMake_wxObject(result, 0); | |
1559 | } | |
44127b65 RD |
1560 | return resultobj; |
1561 | fail: | |
1562 | return NULL; | |
1563 | } | |
1564 | ||
1565 | ||
1566 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1567 | PyObject *resultobj; | |
1568 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
1569 | int arg2 ; | |
1570 | int arg3 ; | |
1571 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
1572 | PyObject * obj1 = 0 ; |
1573 | PyObject * obj2 = 0 ; | |
44127b65 RD |
1574 | char *kwnames[] = { |
1575 | (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL | |
1576 | }; | |
1577 | ||
8edf1c75 | 1578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
1579 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, |
1580 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1581 | arg2 = (int) SWIG_AsInt(obj1); | |
1582 | if (PyErr_Occurred()) SWIG_fail; | |
1583 | arg3 = (int) SWIG_AsInt(obj2); | |
1584 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
1585 | { |
1586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1587 | (arg1)->ScrollToLine(arg2,arg3); | |
1588 | ||
1589 | wxPyEndAllowThreads(__tstate); | |
1590 | if (PyErr_Occurred()) SWIG_fail; | |
1591 | } | |
1592 | Py_INCREF(Py_None); resultobj = Py_None; | |
1593 | return resultobj; | |
1594 | fail: | |
1595 | return NULL; | |
1596 | } | |
1597 | ||
1598 | ||
1599 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1600 | PyObject *resultobj; | |
1601 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
1602 | wxWindow *arg2 = (wxWindow *) 0 ; | |
1603 | PyObject * obj0 = 0 ; | |
1604 | PyObject * obj1 = 0 ; | |
1605 | char *kwnames[] = { | |
1606 | (char *) "self",(char *) "companion", NULL | |
1607 | }; | |
1608 | ||
1609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
1610 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, |
1611 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1612 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
1613 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1614 | { |
1615 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1616 | (arg1)->SetCompanionWindow(arg2); | |
1617 | ||
1618 | wxPyEndAllowThreads(__tstate); | |
1619 | if (PyErr_Occurred()) SWIG_fail; | |
1620 | } | |
1621 | Py_INCREF(Py_None); resultobj = Py_None; | |
1622 | return resultobj; | |
1623 | fail: | |
1624 | return NULL; | |
1625 | } | |
1626 | ||
1627 | ||
1628 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1629 | PyObject *resultobj; | |
1630 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
1631 | wxWindow *result; | |
1632 | PyObject * obj0 = 0 ; | |
1633 | char *kwnames[] = { | |
1634 | (char *) "self", NULL | |
1635 | }; | |
1636 | ||
1637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetCompanionWindow",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1638 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, |
1639 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1640 | { |
1641 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1642 | result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow(); | |
1643 | ||
1644 | wxPyEndAllowThreads(__tstate); | |
1645 | if (PyErr_Occurred()) SWIG_fail; | |
1646 | } | |
1647 | { | |
412d302d | 1648 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
1649 | } |
1650 | return resultobj; | |
1651 | fail: | |
1652 | return NULL; | |
1653 | } | |
1654 | ||
1655 | ||
1656 | static PyObject * RemotelyScrolledTreeCtrl_swigregister(PyObject *self, PyObject *args) { | |
1657 | PyObject *obj; | |
1658 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1659 | SWIG_TypeClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, obj); | |
1660 | Py_INCREF(obj); | |
1661 | return Py_BuildValue((char *)""); | |
1662 | } | |
1663 | static PyObject *_wrap_new_TreeCompanionWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1664 | PyObject *resultobj; | |
1665 | wxWindow *arg1 = (wxWindow *) 0 ; | |
1666 | int arg2 = (int) -1 ; | |
1667 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
1668 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1669 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1670 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1671 | long arg5 = (long) 0 ; | |
1672 | wxPyTreeCompanionWindow *result; | |
1673 | wxPoint temp3 ; | |
1674 | wxSize temp4 ; | |
1675 | PyObject * obj0 = 0 ; | |
8edf1c75 | 1676 | PyObject * obj1 = 0 ; |
44127b65 RD |
1677 | PyObject * obj2 = 0 ; |
1678 | PyObject * obj3 = 0 ; | |
8edf1c75 | 1679 | PyObject * obj4 = 0 ; |
44127b65 RD |
1680 | char *kwnames[] = { |
1681 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
1682 | }; | |
1683 | ||
8edf1c75 | 1684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
1685 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1686 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 1687 | if (obj1) { |
2f4c0a16 RD |
1688 | arg2 = (int) SWIG_AsInt(obj1); |
1689 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1690 | } |
44127b65 RD |
1691 | if (obj2) { |
1692 | { | |
1693 | arg3 = &temp3; | |
1694 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1695 | } | |
1696 | } | |
1697 | if (obj3) { | |
1698 | { | |
1699 | arg4 = &temp4; | |
1700 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1701 | } | |
1702 | } | |
8edf1c75 | 1703 | if (obj4) { |
2f4c0a16 RD |
1704 | arg5 = (long) SWIG_AsLong(obj4); |
1705 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1706 | } |
44127b65 | 1707 | { |
0439c23b | 1708 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
1709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1710 | result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
1711 | ||
1712 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1713 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 1714 | } |
2f4c0a16 | 1715 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCompanionWindow, 1); |
44127b65 RD |
1716 | return resultobj; |
1717 | fail: | |
1718 | return NULL; | |
1719 | } | |
1720 | ||
1721 | ||
1722 | static PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1723 | PyObject *resultobj; | |
1724 | wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; | |
1725 | PyObject *arg2 = (PyObject *) 0 ; | |
1726 | PyObject *arg3 = (PyObject *) 0 ; | |
1727 | PyObject * obj0 = 0 ; | |
1728 | PyObject * obj1 = 0 ; | |
1729 | PyObject * obj2 = 0 ; | |
1730 | char *kwnames[] = { | |
1731 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
1732 | }; | |
1733 | ||
1734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
1735 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCompanionWindow, |
1736 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1737 | arg2 = obj1; |
1738 | arg3 = obj2; | |
1739 | { | |
1740 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1741 | (arg1)->_setCallbackInfo(arg2,arg3); | |
1742 | ||
1743 | wxPyEndAllowThreads(__tstate); | |
1744 | if (PyErr_Occurred()) SWIG_fail; | |
1745 | } | |
1746 | Py_INCREF(Py_None); resultobj = Py_None; | |
1747 | return resultobj; | |
1748 | fail: | |
1749 | return NULL; | |
1750 | } | |
1751 | ||
1752 | ||
1753 | static PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1754 | PyObject *resultobj; | |
1755 | wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; | |
1756 | wxRemotelyScrolledTreeCtrl *result; | |
1757 | PyObject * obj0 = 0 ; | |
1758 | char *kwnames[] = { | |
1759 | (char *) "self", NULL | |
1760 | }; | |
1761 | ||
1762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCompanionWindow_GetTreeCtrl",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
1763 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCompanionWindow, |
1764 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1765 | { |
1766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1767 | result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl(); | |
1768 | ||
1769 | wxPyEndAllowThreads(__tstate); | |
1770 | if (PyErr_Occurred()) SWIG_fail; | |
1771 | } | |
2f4c0a16 | 1772 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0); |
44127b65 RD |
1773 | return resultobj; |
1774 | fail: | |
1775 | return NULL; | |
1776 | } | |
1777 | ||
1778 | ||
1779 | static PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1780 | PyObject *resultobj; | |
1781 | wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; | |
1782 | wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
1783 | PyObject * obj0 = 0 ; | |
1784 | PyObject * obj1 = 0 ; | |
1785 | char *kwnames[] = { | |
1786 | (char *) "self",(char *) "treeCtrl", NULL | |
1787 | }; | |
1788 | ||
1789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
1790 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCompanionWindow, |
1791 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
1792 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, | |
1793 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
1794 | { |
1795 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
1796 | (arg1)->SetTreeCtrl(arg2); | |
1797 | ||
1798 | wxPyEndAllowThreads(__tstate); | |
1799 | if (PyErr_Occurred()) SWIG_fail; | |
1800 | } | |
1801 | Py_INCREF(Py_None); resultobj = Py_None; | |
1802 | return resultobj; | |
1803 | fail: | |
1804 | return NULL; | |
1805 | } | |
1806 | ||
1807 | ||
1808 | static PyObject * TreeCompanionWindow_swigregister(PyObject *self, PyObject *args) { | |
1809 | PyObject *obj; | |
1810 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1811 | SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, obj); | |
1812 | Py_INCREF(obj); | |
1813 | return Py_BuildValue((char *)""); | |
1814 | } | |
1815 | static PyObject *_wrap_new_ThinSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1816 | PyObject *resultobj; | |
1817 | wxWindow *arg1 = (wxWindow *) 0 ; | |
1818 | int arg2 = (int) -1 ; | |
1819 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
1820 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1821 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1822 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1823 | long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ; | |
1824 | wxThinSplitterWindow *result; | |
1825 | wxPoint temp3 ; | |
1826 | wxSize temp4 ; | |
1827 | PyObject * obj0 = 0 ; | |
8edf1c75 | 1828 | PyObject * obj1 = 0 ; |
44127b65 RD |
1829 | PyObject * obj2 = 0 ; |
1830 | PyObject * obj3 = 0 ; | |
8edf1c75 | 1831 | PyObject * obj4 = 0 ; |
44127b65 RD |
1832 | char *kwnames[] = { |
1833 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
1834 | }; | |
1835 | ||
8edf1c75 | 1836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
1837 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1838 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 1839 | if (obj1) { |
2f4c0a16 RD |
1840 | arg2 = (int) SWIG_AsInt(obj1); |
1841 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1842 | } |
44127b65 RD |
1843 | if (obj2) { |
1844 | { | |
1845 | arg3 = &temp3; | |
1846 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1847 | } | |
1848 | } | |
1849 | if (obj3) { | |
1850 | { | |
1851 | arg4 = &temp4; | |
1852 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1853 | } | |
1854 | } | |
8edf1c75 | 1855 | if (obj4) { |
2f4c0a16 RD |
1856 | arg5 = (long) SWIG_AsLong(obj4); |
1857 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1858 | } |
44127b65 | 1859 | { |
0439c23b | 1860 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
1861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1862 | result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
1863 | ||
1864 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1865 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 1866 | } |
2f4c0a16 | 1867 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxThinSplitterWindow, 1); |
44127b65 RD |
1868 | return resultobj; |
1869 | fail: | |
1870 | return NULL; | |
1871 | } | |
1872 | ||
1873 | ||
1874 | static PyObject * ThinSplitterWindow_swigregister(PyObject *self, PyObject *args) { | |
1875 | PyObject *obj; | |
1876 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1877 | SWIG_TypeClientData(SWIGTYPE_p_wxThinSplitterWindow, obj); | |
1878 | Py_INCREF(obj); | |
1879 | return Py_BuildValue((char *)""); | |
1880 | } | |
1881 | static PyObject *_wrap_new_SplitterScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1882 | PyObject *resultobj; | |
1883 | wxWindow *arg1 = (wxWindow *) 0 ; | |
1884 | int arg2 = (int) -1 ; | |
1885 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
1886 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1887 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1888 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1889 | long arg5 = (long) 0 ; | |
1890 | wxSplitterScrolledWindow *result; | |
1891 | wxPoint temp3 ; | |
1892 | wxSize temp4 ; | |
1893 | PyObject * obj0 = 0 ; | |
8edf1c75 | 1894 | PyObject * obj1 = 0 ; |
44127b65 RD |
1895 | PyObject * obj2 = 0 ; |
1896 | PyObject * obj3 = 0 ; | |
8edf1c75 | 1897 | PyObject * obj4 = 0 ; |
44127b65 RD |
1898 | char *kwnames[] = { |
1899 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
1900 | }; | |
1901 | ||
8edf1c75 | 1902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
1903 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1904 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 1905 | if (obj1) { |
2f4c0a16 RD |
1906 | arg2 = (int) SWIG_AsInt(obj1); |
1907 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1908 | } |
44127b65 RD |
1909 | if (obj2) { |
1910 | { | |
1911 | arg3 = &temp3; | |
1912 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1913 | } | |
1914 | } | |
1915 | if (obj3) { | |
1916 | { | |
1917 | arg4 = &temp4; | |
1918 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1919 | } | |
1920 | } | |
8edf1c75 | 1921 | if (obj4) { |
2f4c0a16 RD |
1922 | arg5 = (long) SWIG_AsLong(obj4); |
1923 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1924 | } |
44127b65 | 1925 | { |
0439c23b | 1926 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
1927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1928 | result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
1929 | ||
1930 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1931 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 1932 | } |
2f4c0a16 | 1933 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterScrolledWindow, 1); |
44127b65 RD |
1934 | return resultobj; |
1935 | fail: | |
1936 | return NULL; | |
1937 | } | |
1938 | ||
1939 | ||
1940 | static PyObject * SplitterScrolledWindow_swigregister(PyObject *self, PyObject *args) { | |
1941 | PyObject *obj; | |
1942 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
1943 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterScrolledWindow, obj); | |
1944 | Py_INCREF(obj); | |
1945 | return Py_BuildValue((char *)""); | |
1946 | } | |
1947 | static PyObject *_wrap_new_LEDNumberCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1948 | PyObject *resultobj; | |
1949 | wxWindow *arg1 = (wxWindow *) 0 ; | |
1950 | int arg2 = (int) -1 ; | |
1951 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
1952 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
1953 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
1954 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
1955 | long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ; | |
1956 | wxLEDNumberCtrl *result; | |
1957 | wxPoint temp3 ; | |
1958 | wxSize temp4 ; | |
1959 | PyObject * obj0 = 0 ; | |
8edf1c75 | 1960 | PyObject * obj1 = 0 ; |
44127b65 RD |
1961 | PyObject * obj2 = 0 ; |
1962 | PyObject * obj3 = 0 ; | |
8edf1c75 | 1963 | PyObject * obj4 = 0 ; |
44127b65 RD |
1964 | char *kwnames[] = { |
1965 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
1966 | }; | |
1967 | ||
8edf1c75 | 1968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
1969 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
1970 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 1971 | if (obj1) { |
2f4c0a16 RD |
1972 | arg2 = (int) SWIG_AsInt(obj1); |
1973 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1974 | } |
44127b65 RD |
1975 | if (obj2) { |
1976 | { | |
1977 | arg3 = &temp3; | |
1978 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
1979 | } | |
1980 | } | |
1981 | if (obj3) { | |
1982 | { | |
1983 | arg4 = &temp4; | |
1984 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
1985 | } | |
1986 | } | |
8edf1c75 | 1987 | if (obj4) { |
2f4c0a16 RD |
1988 | arg5 = (long) SWIG_AsLong(obj4); |
1989 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 1990 | } |
44127b65 | 1991 | { |
0439c23b | 1992 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
1993 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
1994 | result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
1995 | ||
1996 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 1997 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 1998 | } |
2f4c0a16 | 1999 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1); |
44127b65 RD |
2000 | return resultobj; |
2001 | fail: | |
2002 | return NULL; | |
2003 | } | |
2004 | ||
2005 | ||
2006 | static PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2007 | PyObject *resultobj; | |
2008 | wxLEDNumberCtrl *result; | |
2009 | char *kwnames[] = { | |
2010 | NULL | |
2011 | }; | |
2012 | ||
2013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreLEDNumberCtrl",kwnames)) goto fail; | |
2014 | { | |
0439c23b | 2015 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
2016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2017 | result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(); | |
2018 | ||
2019 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2020 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 2021 | } |
2f4c0a16 | 2022 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1); |
44127b65 RD |
2023 | return resultobj; |
2024 | fail: | |
2025 | return NULL; | |
2026 | } | |
2027 | ||
2028 | ||
2029 | static PyObject *_wrap_LEDNumberCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2030 | PyObject *resultobj; | |
2031 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
2032 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2033 | int arg3 = (int) -1 ; | |
2034 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2035 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2036 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2037 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2038 | long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ; | |
2039 | bool result; | |
2040 | wxPoint temp4 ; | |
2041 | wxSize temp5 ; | |
2042 | PyObject * obj0 = 0 ; | |
2043 | PyObject * obj1 = 0 ; | |
8edf1c75 | 2044 | PyObject * obj2 = 0 ; |
44127b65 RD |
2045 | PyObject * obj3 = 0 ; |
2046 | PyObject * obj4 = 0 ; | |
8edf1c75 | 2047 | PyObject * obj5 = 0 ; |
44127b65 RD |
2048 | char *kwnames[] = { |
2049 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
2050 | }; | |
2051 | ||
8edf1c75 | 2052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
2053 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLEDNumberCtrl, |
2054 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2055 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
2056 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 2057 | if (obj2) { |
2f4c0a16 RD |
2058 | arg3 = (int) SWIG_AsInt(obj2); |
2059 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 2060 | } |
44127b65 RD |
2061 | if (obj3) { |
2062 | { | |
2063 | arg4 = &temp4; | |
2064 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2065 | } | |
2066 | } | |
2067 | if (obj4) { | |
2068 | { | |
2069 | arg5 = &temp5; | |
2070 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2071 | } | |
2072 | } | |
8edf1c75 | 2073 | if (obj5) { |
2f4c0a16 RD |
2074 | arg6 = (long) SWIG_AsLong(obj5); |
2075 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 2076 | } |
44127b65 RD |
2077 | { |
2078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2079 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
2080 | ||
2081 | wxPyEndAllowThreads(__tstate); | |
2082 | if (PyErr_Occurred()) SWIG_fail; | |
2083 | } | |
4f89f6a3 RD |
2084 | { |
2085 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2086 | } | |
44127b65 RD |
2087 | return resultobj; |
2088 | fail: | |
2089 | return NULL; | |
2090 | } | |
2091 | ||
2092 | ||
2093 | static PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2094 | PyObject *resultobj; | |
2095 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
2096 | int result; | |
2097 | PyObject * obj0 = 0 ; | |
2098 | char *kwnames[] = { | |
2099 | (char *) "self", NULL | |
2100 | }; | |
2101 | ||
2102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetAlignment",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2103 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLEDNumberCtrl, |
2104 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
2105 | { |
2106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2107 | result = (int)((wxLEDNumberCtrl const *)arg1)->GetAlignment(); | |
2108 | ||
2109 | wxPyEndAllowThreads(__tstate); | |
2110 | if (PyErr_Occurred()) SWIG_fail; | |
2111 | } | |
2f4c0a16 | 2112 | resultobj = SWIG_FromInt((int)result); |
44127b65 RD |
2113 | return resultobj; |
2114 | fail: | |
2115 | return NULL; | |
2116 | } | |
2117 | ||
2118 | ||
2119 | static PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2120 | PyObject *resultobj; | |
2121 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
2122 | bool result; | |
2123 | PyObject * obj0 = 0 ; | |
2124 | char *kwnames[] = { | |
2125 | (char *) "self", NULL | |
2126 | }; | |
2127 | ||
2128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetDrawFaded",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2129 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLEDNumberCtrl, |
2130 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
2131 | { |
2132 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2133 | result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded(); | |
2134 | ||
2135 | wxPyEndAllowThreads(__tstate); | |
2136 | if (PyErr_Occurred()) SWIG_fail; | |
2137 | } | |
4f89f6a3 RD |
2138 | { |
2139 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2140 | } | |
44127b65 RD |
2141 | return resultobj; |
2142 | fail: | |
2143 | return NULL; | |
2144 | } | |
2145 | ||
2146 | ||
2147 | static PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2148 | PyObject *resultobj; | |
2149 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
2150 | wxString *result; | |
2151 | PyObject * obj0 = 0 ; | |
2152 | char *kwnames[] = { | |
2153 | (char *) "self", NULL | |
2154 | }; | |
2155 | ||
2156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetValue",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2157 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLEDNumberCtrl, |
2158 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
2159 | { |
2160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2161 | { | |
2162 | wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue(); | |
2163 | result = (wxString *) &_result_ref; | |
2164 | } | |
2165 | ||
2166 | wxPyEndAllowThreads(__tstate); | |
2167 | if (PyErr_Occurred()) SWIG_fail; | |
2168 | } | |
f0983263 RD |
2169 | { |
2170 | #if wxUSE_UNICODE | |
2171 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
2172 | #else | |
2173 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
2174 | #endif | |
2175 | } | |
44127b65 RD |
2176 | return resultobj; |
2177 | fail: | |
2178 | return NULL; | |
2179 | } | |
2180 | ||
2181 | ||
2182 | static PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2183 | PyObject *resultobj; | |
2184 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
2185 | int arg2 ; | |
2186 | bool arg3 = (bool) true ; | |
2187 | PyObject * obj0 = 0 ; | |
8edf1c75 | 2188 | PyObject * obj1 = 0 ; |
44127b65 RD |
2189 | PyObject * obj2 = 0 ; |
2190 | char *kwnames[] = { | |
2191 | (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL | |
2192 | }; | |
2193 | ||
8edf1c75 | 2194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
2195 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLEDNumberCtrl, |
2196 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2197 | arg2 = (wxLEDValueAlign) SWIG_AsInt(obj1); | |
2198 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 | 2199 | if (obj2) { |
2f4c0a16 RD |
2200 | arg3 = (bool) SWIG_AsBool(obj2); |
2201 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
2202 | } |
2203 | { | |
2204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2205 | (arg1)->SetAlignment((wxLEDValueAlign )arg2,arg3); | |
2206 | ||
2207 | wxPyEndAllowThreads(__tstate); | |
2208 | if (PyErr_Occurred()) SWIG_fail; | |
2209 | } | |
2210 | Py_INCREF(Py_None); resultobj = Py_None; | |
2211 | return resultobj; | |
2212 | fail: | |
2213 | return NULL; | |
2214 | } | |
2215 | ||
2216 | ||
2217 | static PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2218 | PyObject *resultobj; | |
2219 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
2220 | bool arg2 ; | |
2221 | bool arg3 = (bool) true ; | |
2222 | PyObject * obj0 = 0 ; | |
2223 | PyObject * obj1 = 0 ; | |
2224 | PyObject * obj2 = 0 ; | |
2225 | char *kwnames[] = { | |
2226 | (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL | |
2227 | }; | |
2228 | ||
2229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
2230 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLEDNumberCtrl, |
2231 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2232 | arg2 = (bool) SWIG_AsBool(obj1); | |
2233 | if (PyErr_Occurred()) SWIG_fail; | |
83448d71 | 2234 | if (obj2) { |
2f4c0a16 RD |
2235 | arg3 = (bool) SWIG_AsBool(obj2); |
2236 | if (PyErr_Occurred()) SWIG_fail; | |
83448d71 | 2237 | } |
44127b65 RD |
2238 | { |
2239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2240 | (arg1)->SetDrawFaded(arg2,arg3); | |
2241 | ||
2242 | wxPyEndAllowThreads(__tstate); | |
2243 | if (PyErr_Occurred()) SWIG_fail; | |
2244 | } | |
2245 | Py_INCREF(Py_None); resultobj = Py_None; | |
2246 | return resultobj; | |
2247 | fail: | |
2248 | return NULL; | |
2249 | } | |
2250 | ||
2251 | ||
2252 | static PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2253 | PyObject *resultobj; | |
2254 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
2255 | wxString *arg2 = 0 ; | |
2256 | bool arg3 = (bool) true ; | |
2257 | bool temp2 = False ; | |
2258 | PyObject * obj0 = 0 ; | |
2259 | PyObject * obj1 = 0 ; | |
2260 | PyObject * obj2 = 0 ; | |
2261 | char *kwnames[] = { | |
2262 | (char *) "self",(char *) "Value",(char *) "Redraw", NULL | |
2263 | }; | |
2264 | ||
2265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
2266 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLEDNumberCtrl, |
2267 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
2268 | { |
2269 | arg2 = wxString_in_helper(obj1); | |
2270 | if (arg2 == NULL) SWIG_fail; | |
2271 | temp2 = True; | |
2272 | } | |
2273 | if (obj2) { | |
2f4c0a16 RD |
2274 | arg3 = (bool) SWIG_AsBool(obj2); |
2275 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
2276 | } |
2277 | { | |
2278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2279 | (arg1)->SetValue((wxString const &)*arg2,arg3); | |
2280 | ||
2281 | wxPyEndAllowThreads(__tstate); | |
2282 | if (PyErr_Occurred()) SWIG_fail; | |
2283 | } | |
2284 | Py_INCREF(Py_None); resultobj = Py_None; | |
2285 | { | |
2286 | if (temp2) | |
2287 | delete arg2; | |
2288 | } | |
2289 | return resultobj; | |
2290 | fail: | |
2291 | { | |
2292 | if (temp2) | |
2293 | delete arg2; | |
2294 | } | |
2295 | return NULL; | |
2296 | } | |
2297 | ||
2298 | ||
2299 | static PyObject * LEDNumberCtrl_swigregister(PyObject *self, PyObject *args) { | |
2300 | PyObject *obj; | |
2301 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2302 | SWIG_TypeClientData(SWIGTYPE_p_wxLEDNumberCtrl, obj); | |
2303 | Py_INCREF(obj); | |
2304 | return Py_BuildValue((char *)""); | |
2305 | } | |
2306 | static PyObject *_wrap_new_TreeListColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2307 | PyObject *resultobj; | |
2308 | wxString const &arg1_defvalue = wxPyEmptyString ; | |
2309 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
2310 | int arg2 = (int) -1 ; | |
2311 | size_t arg3 = (size_t) 100 ; | |
629f3c1b RD |
2312 | bool arg4 = (bool) True ; |
2313 | int arg5 = (int) wxTL_ALIGN_LEFT ; | |
44127b65 RD |
2314 | wxTreeListColumnInfo *result; |
2315 | bool temp1 = False ; | |
2316 | PyObject * obj0 = 0 ; | |
8edf1c75 | 2317 | PyObject * obj1 = 0 ; |
44127b65 | 2318 | PyObject * obj2 = 0 ; |
8edf1c75 | 2319 | PyObject * obj3 = 0 ; |
629f3c1b | 2320 | PyObject * obj4 = 0 ; |
44127b65 | 2321 | char *kwnames[] = { |
629f3c1b | 2322 | (char *) "text",(char *) "image",(char *) "width",(char *) "shown",(char *) "alignment", NULL |
44127b65 RD |
2323 | }; |
2324 | ||
629f3c1b | 2325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
44127b65 RD |
2326 | if (obj0) { |
2327 | { | |
2328 | arg1 = wxString_in_helper(obj0); | |
2329 | if (arg1 == NULL) SWIG_fail; | |
2330 | temp1 = True; | |
2331 | } | |
2332 | } | |
8edf1c75 | 2333 | if (obj1) { |
2f4c0a16 RD |
2334 | arg2 = (int) SWIG_AsInt(obj1); |
2335 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 2336 | } |
44127b65 | 2337 | if (obj2) { |
2f4c0a16 RD |
2338 | arg3 = (size_t) SWIG_AsUnsignedLong(obj2); |
2339 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
2340 | } |
2341 | if (obj3) { | |
629f3c1b RD |
2342 | arg4 = (bool) SWIG_AsBool(obj3); |
2343 | if (PyErr_Occurred()) SWIG_fail; | |
2344 | } | |
2345 | if (obj4) { | |
2346 | arg5 = (wxTreeListColumnAlign) SWIG_AsInt(obj4); | |
2f4c0a16 | 2347 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 RD |
2348 | } |
2349 | { | |
2350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
629f3c1b | 2351 | result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,(wxTreeListColumnAlign )arg5); |
44127b65 RD |
2352 | |
2353 | wxPyEndAllowThreads(__tstate); | |
2354 | if (PyErr_Occurred()) SWIG_fail; | |
2355 | } | |
2f4c0a16 | 2356 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 1); |
44127b65 RD |
2357 | { |
2358 | if (temp1) | |
2359 | delete arg1; | |
2360 | } | |
2361 | return resultobj; | |
2362 | fail: | |
2363 | { | |
2364 | if (temp1) | |
2365 | delete arg1; | |
2366 | } | |
2367 | return NULL; | |
2368 | } | |
2369 | ||
2370 | ||
629f3c1b RD |
2371 | static PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *self, PyObject *args, PyObject *kwargs) { |
2372 | PyObject *resultobj; | |
2373 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
2374 | bool result; | |
2375 | PyObject * obj0 = 0 ; | |
2376 | char *kwnames[] = { | |
2377 | (char *) "self", NULL | |
2378 | }; | |
2379 | ||
2380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetShown",kwnames,&obj0)) goto fail; | |
2381 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeListColumnInfo, | |
2382 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2383 | { | |
2384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2385 | result = (bool)((wxTreeListColumnInfo const *)arg1)->GetShown(); | |
2386 | ||
2387 | wxPyEndAllowThreads(__tstate); | |
2388 | if (PyErr_Occurred()) SWIG_fail; | |
2389 | } | |
2390 | { | |
2391 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2392 | } | |
2393 | return resultobj; | |
2394 | fail: | |
2395 | return NULL; | |
2396 | } | |
2397 | ||
2398 | ||
44127b65 RD |
2399 | static PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
2400 | PyObject *resultobj; | |
2401 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
2402 | int result; | |
2403 | PyObject * obj0 = 0 ; | |
2404 | char *kwnames[] = { | |
2405 | (char *) "self", NULL | |
2406 | }; | |
2407 | ||
2408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetAlignment",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2409 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeListColumnInfo, |
2410 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
2411 | { |
2412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2413 | result = (int)((wxTreeListColumnInfo const *)arg1)->GetAlignment(); | |
2414 | ||
2415 | wxPyEndAllowThreads(__tstate); | |
2416 | if (PyErr_Occurred()) SWIG_fail; | |
2417 | } | |
2f4c0a16 | 2418 | resultobj = SWIG_FromInt((int)result); |
44127b65 RD |
2419 | return resultobj; |
2420 | fail: | |
2421 | return NULL; | |
2422 | } | |
2423 | ||
2424 | ||
2425 | static PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2426 | PyObject *resultobj; | |
2427 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
2428 | wxString result; | |
2429 | PyObject * obj0 = 0 ; | |
2430 | char *kwnames[] = { | |
2431 | (char *) "self", NULL | |
2432 | }; | |
2433 | ||
2434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetText",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2435 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeListColumnInfo, |
2436 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
2437 | { |
2438 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2439 | result = ((wxTreeListColumnInfo const *)arg1)->GetText(); | |
2440 | ||
2441 | wxPyEndAllowThreads(__tstate); | |
2442 | if (PyErr_Occurred()) SWIG_fail; | |
2443 | } | |
2444 | { | |
2445 | #if wxUSE_UNICODE | |
2446 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
2447 | #else | |
2448 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
2449 | #endif | |
2450 | } | |
2451 | return resultobj; | |
2452 | fail: | |
2453 | return NULL; | |
2454 | } | |
2455 | ||
2456 | ||
2457 | static PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2458 | PyObject *resultobj; | |
2459 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
2460 | int result; | |
2461 | PyObject * obj0 = 0 ; | |
2462 | char *kwnames[] = { | |
2463 | (char *) "self", NULL | |
2464 | }; | |
2465 | ||
2466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetImage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2467 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeListColumnInfo, |
2468 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
2469 | { |
2470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2471 | result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage(); | |
2472 | ||
2473 | wxPyEndAllowThreads(__tstate); | |
2474 | if (PyErr_Occurred()) SWIG_fail; | |
2475 | } | |
2f4c0a16 | 2476 | resultobj = SWIG_FromInt((int)result); |
44127b65 RD |
2477 | return resultobj; |
2478 | fail: | |
2479 | return NULL; | |
2480 | } | |
2481 | ||
2482 | ||
2483 | static PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2484 | PyObject *resultobj; | |
2485 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
2486 | int result; | |
2487 | PyObject * obj0 = 0 ; | |
2488 | char *kwnames[] = { | |
2489 | (char *) "self", NULL | |
2490 | }; | |
2491 | ||
2492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetSelectedImage",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2493 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeListColumnInfo, |
2494 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
2495 | { |
2496 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2497 | result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage(); | |
2498 | ||
2499 | wxPyEndAllowThreads(__tstate); | |
2500 | if (PyErr_Occurred()) SWIG_fail; | |
2501 | } | |
2f4c0a16 | 2502 | resultobj = SWIG_FromInt((int)result); |
44127b65 RD |
2503 | return resultobj; |
2504 | fail: | |
2505 | return NULL; | |
2506 | } | |
2507 | ||
2508 | ||
2509 | static PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2510 | PyObject *resultobj; | |
2511 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
2512 | size_t result; | |
2513 | PyObject * obj0 = 0 ; | |
2514 | char *kwnames[] = { | |
2515 | (char *) "self", NULL | |
2516 | }; | |
2517 | ||
2518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetWidth",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2519 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeListColumnInfo, |
2520 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
2521 | { |
2522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2523 | result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth(); | |
2524 | ||
2525 | wxPyEndAllowThreads(__tstate); | |
2526 | if (PyErr_Occurred()) SWIG_fail; | |
2527 | } | |
2f4c0a16 | 2528 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
44127b65 RD |
2529 | return resultobj; |
2530 | fail: | |
2531 | return NULL; | |
2532 | } | |
2533 | ||
2534 | ||
629f3c1b RD |
2535 | static PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *self, PyObject *args, PyObject *kwargs) { |
2536 | PyObject *resultobj; | |
2537 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
2538 | bool arg2 ; | |
2539 | PyObject * obj0 = 0 ; | |
2540 | PyObject * obj1 = 0 ; | |
2541 | char *kwnames[] = { | |
2542 | (char *) "self",(char *) "shown", NULL | |
2543 | }; | |
2544 | ||
2545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) goto fail; | |
2546 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeListColumnInfo, | |
2547 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2548 | arg2 = (bool) SWIG_AsBool(obj1); | |
2549 | if (PyErr_Occurred()) SWIG_fail; | |
2550 | { | |
2551 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2552 | (arg1)->SetShown(arg2); | |
2553 | ||
2554 | wxPyEndAllowThreads(__tstate); | |
2555 | if (PyErr_Occurred()) SWIG_fail; | |
2556 | } | |
2557 | Py_INCREF(Py_None); resultobj = Py_None; | |
2558 | return resultobj; | |
2559 | fail: | |
2560 | return NULL; | |
2561 | } | |
2562 | ||
2563 | ||
44127b65 RD |
2564 | static PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { |
2565 | PyObject *resultobj; | |
2566 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
2567 | int arg2 ; | |
2568 | PyObject * obj0 = 0 ; | |
8edf1c75 | 2569 | PyObject * obj1 = 0 ; |
44127b65 RD |
2570 | char *kwnames[] = { |
2571 | (char *) "self",(char *) "alignment", NULL | |
2572 | }; | |
2573 | ||
8edf1c75 | 2574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
2575 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeListColumnInfo, |
2576 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2577 | arg2 = (wxTreeListColumnAlign) SWIG_AsInt(obj1); | |
2578 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
2579 | { |
2580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2581 | (arg1)->SetAlignment((wxTreeListColumnAlign )arg2); | |
2582 | ||
2583 | wxPyEndAllowThreads(__tstate); | |
2584 | if (PyErr_Occurred()) SWIG_fail; | |
2585 | } | |
2586 | Py_INCREF(Py_None); resultobj = Py_None; | |
2587 | return resultobj; | |
2588 | fail: | |
2589 | return NULL; | |
2590 | } | |
2591 | ||
2592 | ||
2593 | static PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2594 | PyObject *resultobj; | |
2595 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
2596 | wxString *arg2 = 0 ; | |
2597 | bool temp2 = False ; | |
2598 | PyObject * obj0 = 0 ; | |
2599 | PyObject * obj1 = 0 ; | |
2600 | char *kwnames[] = { | |
2601 | (char *) "self",(char *) "text", NULL | |
2602 | }; | |
2603 | ||
2604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2605 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeListColumnInfo, |
2606 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
2607 | { |
2608 | arg2 = wxString_in_helper(obj1); | |
2609 | if (arg2 == NULL) SWIG_fail; | |
2610 | temp2 = True; | |
2611 | } | |
2612 | { | |
2613 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2614 | (arg1)->SetText((wxString const &)*arg2); | |
2615 | ||
2616 | wxPyEndAllowThreads(__tstate); | |
2617 | if (PyErr_Occurred()) SWIG_fail; | |
2618 | } | |
2619 | Py_INCREF(Py_None); resultobj = Py_None; | |
2620 | { | |
2621 | if (temp2) | |
2622 | delete arg2; | |
2623 | } | |
2624 | return resultobj; | |
2625 | fail: | |
2626 | { | |
2627 | if (temp2) | |
2628 | delete arg2; | |
2629 | } | |
2630 | return NULL; | |
2631 | } | |
2632 | ||
2633 | ||
2634 | static PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2635 | PyObject *resultobj; | |
2636 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
2637 | int arg2 ; | |
2638 | PyObject * obj0 = 0 ; | |
8edf1c75 | 2639 | PyObject * obj1 = 0 ; |
44127b65 RD |
2640 | char *kwnames[] = { |
2641 | (char *) "self",(char *) "image", NULL | |
2642 | }; | |
2643 | ||
8edf1c75 | 2644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
2645 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeListColumnInfo, |
2646 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2647 | arg2 = (int) SWIG_AsInt(obj1); | |
2648 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
2649 | { |
2650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2651 | (arg1)->SetImage(arg2); | |
2652 | ||
2653 | wxPyEndAllowThreads(__tstate); | |
2654 | if (PyErr_Occurred()) SWIG_fail; | |
2655 | } | |
2656 | Py_INCREF(Py_None); resultobj = Py_None; | |
2657 | return resultobj; | |
2658 | fail: | |
2659 | return NULL; | |
2660 | } | |
2661 | ||
2662 | ||
2663 | static PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2664 | PyObject *resultobj; | |
2665 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
2666 | int arg2 ; | |
2667 | PyObject * obj0 = 0 ; | |
8edf1c75 | 2668 | PyObject * obj1 = 0 ; |
44127b65 RD |
2669 | char *kwnames[] = { |
2670 | (char *) "self",(char *) "image", NULL | |
2671 | }; | |
2672 | ||
8edf1c75 | 2673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) goto fail; |
2f4c0a16 RD |
2674 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeListColumnInfo, |
2675 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2676 | arg2 = (int) SWIG_AsInt(obj1); | |
2677 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
2678 | { |
2679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2680 | (arg1)->SetSelectedImage(arg2); | |
2681 | ||
2682 | wxPyEndAllowThreads(__tstate); | |
2683 | if (PyErr_Occurred()) SWIG_fail; | |
2684 | } | |
2685 | Py_INCREF(Py_None); resultobj = Py_None; | |
2686 | return resultobj; | |
2687 | fail: | |
2688 | return NULL; | |
2689 | } | |
2690 | ||
2691 | ||
2692 | static PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2693 | PyObject *resultobj; | |
2694 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
2695 | size_t arg2 ; | |
2696 | PyObject * obj0 = 0 ; | |
2697 | PyObject * obj1 = 0 ; | |
2698 | char *kwnames[] = { | |
2699 | (char *) "self",(char *) "with", NULL | |
2700 | }; | |
2701 | ||
2702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
2703 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeListColumnInfo, |
2704 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2705 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
2706 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
2707 | { |
2708 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2709 | (arg1)->SetWidth(arg2); | |
2710 | ||
2711 | wxPyEndAllowThreads(__tstate); | |
2712 | if (PyErr_Occurred()) SWIG_fail; | |
2713 | } | |
2714 | Py_INCREF(Py_None); resultobj = Py_None; | |
2715 | return resultobj; | |
2716 | fail: | |
2717 | return NULL; | |
2718 | } | |
2719 | ||
2720 | ||
2721 | static PyObject * TreeListColumnInfo_swigregister(PyObject *self, PyObject *args) { | |
2722 | PyObject *obj; | |
2723 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2724 | SWIG_TypeClientData(SWIGTYPE_p_wxTreeListColumnInfo, obj); | |
2725 | Py_INCREF(obj); | |
2726 | return Py_BuildValue((char *)""); | |
2727 | } | |
2728 | static PyObject *_wrap_new_TreeListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2729 | PyObject *resultobj; | |
2730 | wxWindow *arg1 = (wxWindow *) 0 ; | |
2731 | int arg2 = (int) -1 ; | |
2732 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
2733 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
2734 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
2735 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
2736 | long arg5 = (long) wxTR_DEFAULT_STYLE ; | |
2737 | wxValidator const &arg6_defvalue = wxDefaultValidator ; | |
2738 | wxValidator *arg6 = (wxValidator *) &arg6_defvalue ; | |
2739 | wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ; | |
2740 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2741 | wxPyTreeListCtrl *result; | |
2742 | wxPoint temp3 ; | |
2743 | wxSize temp4 ; | |
2744 | bool temp7 = False ; | |
2745 | PyObject * obj0 = 0 ; | |
8edf1c75 | 2746 | PyObject * obj1 = 0 ; |
44127b65 RD |
2747 | PyObject * obj2 = 0 ; |
2748 | PyObject * obj3 = 0 ; | |
8edf1c75 | 2749 | PyObject * obj4 = 0 ; |
44127b65 RD |
2750 | PyObject * obj5 = 0 ; |
2751 | PyObject * obj6 = 0 ; | |
2752 | char *kwnames[] = { | |
2753 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL | |
2754 | }; | |
2755 | ||
8edf1c75 | 2756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
2757 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow, |
2758 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 2759 | if (obj1) { |
2f4c0a16 RD |
2760 | arg2 = (int) SWIG_AsInt(obj1); |
2761 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 2762 | } |
44127b65 RD |
2763 | if (obj2) { |
2764 | { | |
2765 | arg3 = &temp3; | |
2766 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
2767 | } | |
2768 | } | |
2769 | if (obj3) { | |
2770 | { | |
2771 | arg4 = &temp4; | |
2772 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
2773 | } | |
2774 | } | |
8edf1c75 | 2775 | if (obj4) { |
2f4c0a16 RD |
2776 | arg5 = (long) SWIG_AsLong(obj4); |
2777 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 2778 | } |
44127b65 | 2779 | if (obj5) { |
2f4c0a16 RD |
2780 | if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator, |
2781 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2782 | SWIG_fail; | |
44127b65 | 2783 | if (arg6 == NULL) { |
2f4c0a16 RD |
2784 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2785 | SWIG_fail; | |
44127b65 RD |
2786 | } |
2787 | } | |
2788 | if (obj6) { | |
2789 | { | |
2790 | arg7 = wxString_in_helper(obj6); | |
2791 | if (arg7 == NULL) SWIG_fail; | |
2792 | temp7 = True; | |
2793 | } | |
2794 | } | |
2795 | { | |
0439c23b | 2796 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
2797 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2798 | result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7); | |
2799 | ||
2800 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2801 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 2802 | } |
2f4c0a16 | 2803 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1); |
44127b65 RD |
2804 | { |
2805 | if (temp7) | |
2806 | delete arg7; | |
2807 | } | |
2808 | return resultobj; | |
2809 | fail: | |
2810 | { | |
2811 | if (temp7) | |
2812 | delete arg7; | |
2813 | } | |
2814 | return NULL; | |
2815 | } | |
2816 | ||
2817 | ||
2818 | static PyObject *_wrap_new_PreTreeListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2819 | PyObject *resultobj; | |
2820 | wxPyTreeListCtrl *result; | |
2821 | char *kwnames[] = { | |
2822 | NULL | |
2823 | }; | |
2824 | ||
2825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeListCtrl",kwnames)) goto fail; | |
2826 | { | |
0439c23b | 2827 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
2828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2829 | result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(); | |
2830 | ||
2831 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2832 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 2833 | } |
2f4c0a16 | 2834 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1); |
44127b65 RD |
2835 | return resultobj; |
2836 | fail: | |
2837 | return NULL; | |
2838 | } | |
2839 | ||
2840 | ||
2841 | static PyObject *_wrap_TreeListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2842 | PyObject *resultobj; | |
2843 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2844 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2845 | int arg3 = (int) -1 ; | |
2846 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2847 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2848 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2849 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2850 | long arg6 = (long) wxTR_DEFAULT_STYLE ; | |
2851 | wxValidator const &arg7_defvalue = wxDefaultValidator ; | |
2852 | wxValidator *arg7 = (wxValidator *) &arg7_defvalue ; | |
2853 | wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ; | |
2854 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
2855 | bool result; | |
2856 | wxPoint temp4 ; | |
2857 | wxSize temp5 ; | |
2858 | bool temp8 = False ; | |
2859 | PyObject * obj0 = 0 ; | |
2860 | PyObject * obj1 = 0 ; | |
8edf1c75 | 2861 | PyObject * obj2 = 0 ; |
44127b65 RD |
2862 | PyObject * obj3 = 0 ; |
2863 | PyObject * obj4 = 0 ; | |
8edf1c75 | 2864 | PyObject * obj5 = 0 ; |
44127b65 RD |
2865 | PyObject * obj6 = 0 ; |
2866 | PyObject * obj7 = 0 ; | |
2867 | char *kwnames[] = { | |
2868 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL | |
2869 | }; | |
2870 | ||
8edf1c75 | 2871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
2f4c0a16 RD |
2872 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
2873 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
2874 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow, | |
2875 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
8edf1c75 | 2876 | if (obj2) { |
2f4c0a16 RD |
2877 | arg3 = (int) SWIG_AsInt(obj2); |
2878 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 2879 | } |
44127b65 RD |
2880 | if (obj3) { |
2881 | { | |
2882 | arg4 = &temp4; | |
2883 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2884 | } | |
2885 | } | |
2886 | if (obj4) { | |
2887 | { | |
2888 | arg5 = &temp5; | |
2889 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2890 | } | |
2891 | } | |
8edf1c75 | 2892 | if (obj5) { |
2f4c0a16 RD |
2893 | arg6 = (long) SWIG_AsLong(obj5); |
2894 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 2895 | } |
44127b65 | 2896 | if (obj6) { |
2f4c0a16 RD |
2897 | if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator, |
2898 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
2899 | SWIG_fail; | |
44127b65 | 2900 | if (arg7 == NULL) { |
2f4c0a16 RD |
2901 | PyErr_SetString(PyExc_TypeError,"null reference"); |
2902 | SWIG_fail; | |
44127b65 RD |
2903 | } |
2904 | } | |
2905 | if (obj7) { | |
2906 | { | |
2907 | arg8 = wxString_in_helper(obj7); | |
2908 | if (arg8 == NULL) SWIG_fail; | |
2909 | temp8 = True; | |
2910 | } | |
2911 | } | |
2912 | { | |
2913 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2914 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8); | |
2915 | ||
2916 | wxPyEndAllowThreads(__tstate); | |
2917 | if (PyErr_Occurred()) SWIG_fail; | |
2918 | } | |
4f89f6a3 RD |
2919 | { |
2920 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2921 | } | |
44127b65 RD |
2922 | { |
2923 | if (temp8) | |
2924 | delete arg8; | |
2925 | } | |
2926 | return resultobj; | |
2927 | fail: | |
2928 | { | |
2929 | if (temp8) | |
2930 | delete arg8; | |
2931 | } | |
2932 | return NULL; | |
2933 | } | |
2934 | ||
2935 | ||
2936 | static PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2937 | PyObject *resultobj; | |
2938 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2939 | PyObject *arg2 = (PyObject *) 0 ; | |
2940 | PyObject *arg3 = (PyObject *) 0 ; | |
2941 | PyObject * obj0 = 0 ; | |
2942 | PyObject * obj1 = 0 ; | |
2943 | PyObject * obj2 = 0 ; | |
2944 | char *kwnames[] = { | |
2945 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
2946 | }; | |
2947 | ||
2948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
2949 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
2950 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
2951 | arg2 = obj1; |
2952 | arg3 = obj2; | |
2953 | { | |
2954 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2955 | (arg1)->_setCallbackInfo(arg2,arg3); | |
2956 | ||
2957 | wxPyEndAllowThreads(__tstate); | |
2958 | if (PyErr_Occurred()) SWIG_fail; | |
2959 | } | |
2960 | Py_INCREF(Py_None); resultobj = Py_None; | |
2961 | return resultobj; | |
2962 | fail: | |
2963 | return NULL; | |
2964 | } | |
2965 | ||
2966 | ||
2967 | static PyObject *_wrap_TreeListCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2968 | PyObject *resultobj; | |
2969 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2970 | size_t result; | |
2971 | PyObject * obj0 = 0 ; | |
2972 | char *kwnames[] = { | |
2973 | (char *) "self", NULL | |
2974 | }; | |
2975 | ||
2976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetCount",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
2977 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
2978 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
2979 | { |
2980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2981 | result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount(); | |
2982 | ||
2983 | wxPyEndAllowThreads(__tstate); | |
2984 | if (PyErr_Occurred()) SWIG_fail; | |
2985 | } | |
2f4c0a16 | 2986 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
44127b65 RD |
2987 | return resultobj; |
2988 | fail: | |
2989 | return NULL; | |
2990 | } | |
2991 | ||
2992 | ||
2993 | static PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2994 | PyObject *resultobj; | |
2995 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
2996 | unsigned int result; | |
2997 | PyObject * obj0 = 0 ; | |
2998 | char *kwnames[] = { | |
2999 | (char *) "self", NULL | |
3000 | }; | |
3001 | ||
3002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetIndent",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3003 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3004 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
3005 | { |
3006 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3007 | result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent(); | |
3008 | ||
3009 | wxPyEndAllowThreads(__tstate); | |
3010 | if (PyErr_Occurred()) SWIG_fail; | |
3011 | } | |
2f4c0a16 | 3012 | resultobj = SWIG_FromUnsignedInt((unsigned int)result); |
44127b65 RD |
3013 | return resultobj; |
3014 | fail: | |
3015 | return NULL; | |
3016 | } | |
3017 | ||
3018 | ||
3019 | static PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3020 | PyObject *resultobj; | |
3021 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3022 | unsigned int arg2 ; | |
3023 | PyObject * obj0 = 0 ; | |
3024 | PyObject * obj1 = 0 ; | |
3025 | char *kwnames[] = { | |
3026 | (char *) "self",(char *) "indent", NULL | |
3027 | }; | |
3028 | ||
3029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3030 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3031 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3032 | arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1); | |
3033 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
3034 | { |
3035 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3036 | (arg1)->SetIndent(arg2); | |
3037 | ||
3038 | wxPyEndAllowThreads(__tstate); | |
3039 | if (PyErr_Occurred()) SWIG_fail; | |
3040 | } | |
3041 | Py_INCREF(Py_None); resultobj = Py_None; | |
3042 | return resultobj; | |
3043 | fail: | |
3044 | return NULL; | |
3045 | } | |
3046 | ||
3047 | ||
44127b65 RD |
3048 | static PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { |
3049 | PyObject *resultobj; | |
3050 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3051 | unsigned int result; | |
3052 | PyObject * obj0 = 0 ; | |
3053 | char *kwnames[] = { | |
3054 | (char *) "self", NULL | |
3055 | }; | |
3056 | ||
3057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetLineSpacing",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3058 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3059 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
3060 | { |
3061 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3062 | result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing(); | |
3063 | ||
3064 | wxPyEndAllowThreads(__tstate); | |
3065 | if (PyErr_Occurred()) SWIG_fail; | |
3066 | } | |
2f4c0a16 | 3067 | resultobj = SWIG_FromUnsignedInt((unsigned int)result); |
44127b65 RD |
3068 | return resultobj; |
3069 | fail: | |
3070 | return NULL; | |
3071 | } | |
3072 | ||
3073 | ||
3074 | static PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3075 | PyObject *resultobj; | |
3076 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3077 | unsigned int arg2 ; | |
3078 | PyObject * obj0 = 0 ; | |
3079 | PyObject * obj1 = 0 ; | |
3080 | char *kwnames[] = { | |
3081 | (char *) "self",(char *) "spacing", NULL | |
3082 | }; | |
3083 | ||
3084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3085 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3086 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3087 | arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1); | |
3088 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
3089 | { |
3090 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3091 | (arg1)->SetLineSpacing(arg2); | |
3092 | ||
3093 | wxPyEndAllowThreads(__tstate); | |
3094 | if (PyErr_Occurred()) SWIG_fail; | |
3095 | } | |
3096 | Py_INCREF(Py_None); resultobj = Py_None; | |
3097 | return resultobj; | |
3098 | fail: | |
3099 | return NULL; | |
3100 | } | |
3101 | ||
3102 | ||
3103 | static PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3104 | PyObject *resultobj; | |
3105 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3106 | wxImageList *result; | |
3107 | PyObject * obj0 = 0 ; | |
3108 | char *kwnames[] = { | |
3109 | (char *) "self", NULL | |
3110 | }; | |
3111 | ||
3112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetImageList",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3113 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3114 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
3115 | { |
3116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3117 | result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList(); | |
3118 | ||
3119 | wxPyEndAllowThreads(__tstate); | |
3120 | if (PyErr_Occurred()) SWIG_fail; | |
3121 | } | |
3122 | { | |
412d302d | 3123 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
3124 | } |
3125 | return resultobj; | |
3126 | fail: | |
3127 | return NULL; | |
3128 | } | |
3129 | ||
3130 | ||
3131 | static PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3132 | PyObject *resultobj; | |
3133 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3134 | wxImageList *result; | |
3135 | PyObject * obj0 = 0 ; | |
3136 | char *kwnames[] = { | |
3137 | (char *) "self", NULL | |
3138 | }; | |
3139 | ||
3140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetStateImageList",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3141 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3142 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
3143 | { |
3144 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3145 | result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList(); | |
3146 | ||
3147 | wxPyEndAllowThreads(__tstate); | |
3148 | if (PyErr_Occurred()) SWIG_fail; | |
3149 | } | |
3150 | { | |
412d302d | 3151 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
3152 | } |
3153 | return resultobj; | |
3154 | fail: | |
3155 | return NULL; | |
3156 | } | |
3157 | ||
3158 | ||
3159 | static PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3160 | PyObject *resultobj; | |
3161 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3162 | wxImageList *result; | |
3163 | PyObject * obj0 = 0 ; | |
3164 | char *kwnames[] = { | |
3165 | (char *) "self", NULL | |
3166 | }; | |
3167 | ||
3168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetButtonsImageList",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3169 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3170 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
3171 | { |
3172 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3173 | result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList(); | |
3174 | ||
3175 | wxPyEndAllowThreads(__tstate); | |
3176 | if (PyErr_Occurred()) SWIG_fail; | |
3177 | } | |
3178 | { | |
412d302d | 3179 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
3180 | } |
3181 | return resultobj; | |
3182 | fail: | |
3183 | return NULL; | |
3184 | } | |
3185 | ||
3186 | ||
3187 | static PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3188 | PyObject *resultobj; | |
3189 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3190 | wxImageList *arg2 = (wxImageList *) 0 ; | |
3191 | PyObject * obj0 = 0 ; | |
3192 | PyObject * obj1 = 0 ; | |
3193 | char *kwnames[] = { | |
3194 | (char *) "self",(char *) "imageList", NULL | |
3195 | }; | |
3196 | ||
3197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3198 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3199 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3200 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList, | |
3201 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
3202 | { |
3203 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3204 | (arg1)->SetImageList(arg2); | |
3205 | ||
3206 | wxPyEndAllowThreads(__tstate); | |
3207 | if (PyErr_Occurred()) SWIG_fail; | |
3208 | } | |
3209 | Py_INCREF(Py_None); resultobj = Py_None; | |
3210 | return resultobj; | |
3211 | fail: | |
3212 | return NULL; | |
3213 | } | |
3214 | ||
3215 | ||
3216 | static PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3217 | PyObject *resultobj; | |
3218 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3219 | wxImageList *arg2 = (wxImageList *) 0 ; | |
3220 | PyObject * obj0 = 0 ; | |
3221 | PyObject * obj1 = 0 ; | |
3222 | char *kwnames[] = { | |
3223 | (char *) "self",(char *) "imageList", NULL | |
3224 | }; | |
3225 | ||
3226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3227 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3228 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3229 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList, | |
3230 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
3231 | { |
3232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3233 | (arg1)->SetStateImageList(arg2); | |
3234 | ||
3235 | wxPyEndAllowThreads(__tstate); | |
3236 | if (PyErr_Occurred()) SWIG_fail; | |
3237 | } | |
3238 | Py_INCREF(Py_None); resultobj = Py_None; | |
3239 | return resultobj; | |
3240 | fail: | |
3241 | return NULL; | |
3242 | } | |
3243 | ||
3244 | ||
3245 | static PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3246 | PyObject *resultobj; | |
3247 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3248 | wxImageList *arg2 = (wxImageList *) 0 ; | |
3249 | PyObject * obj0 = 0 ; | |
3250 | PyObject * obj1 = 0 ; | |
3251 | char *kwnames[] = { | |
3252 | (char *) "self",(char *) "imageList", NULL | |
3253 | }; | |
3254 | ||
3255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3256 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3257 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3258 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList, | |
3259 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
3260 | { |
3261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3262 | (arg1)->SetButtonsImageList(arg2); | |
3263 | ||
3264 | wxPyEndAllowThreads(__tstate); | |
3265 | if (PyErr_Occurred()) SWIG_fail; | |
3266 | } | |
3267 | Py_INCREF(Py_None); resultobj = Py_None; | |
3268 | return resultobj; | |
3269 | fail: | |
3270 | return NULL; | |
3271 | } | |
3272 | ||
3273 | ||
3274 | static PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3275 | PyObject *resultobj; | |
3276 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3277 | wxImageList *arg2 = (wxImageList *) 0 ; | |
3278 | PyObject * obj0 = 0 ; | |
3279 | PyObject * obj1 = 0 ; | |
3280 | char *kwnames[] = { | |
3281 | (char *) "self",(char *) "imageList", NULL | |
3282 | }; | |
3283 | ||
3284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3285 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3286 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3287 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList, | |
3288 | SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail; | |
44127b65 RD |
3289 | { |
3290 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3291 | (arg1)->AssignImageList(arg2); | |
3292 | ||
3293 | wxPyEndAllowThreads(__tstate); | |
3294 | if (PyErr_Occurred()) SWIG_fail; | |
3295 | } | |
3296 | Py_INCREF(Py_None); resultobj = Py_None; | |
3297 | return resultobj; | |
3298 | fail: | |
3299 | return NULL; | |
3300 | } | |
3301 | ||
3302 | ||
3303 | static PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3304 | PyObject *resultobj; | |
3305 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3306 | wxImageList *arg2 = (wxImageList *) 0 ; | |
3307 | PyObject * obj0 = 0 ; | |
3308 | PyObject * obj1 = 0 ; | |
3309 | char *kwnames[] = { | |
3310 | (char *) "self",(char *) "imageList", NULL | |
3311 | }; | |
3312 | ||
3313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3314 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3315 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3316 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList, | |
3317 | SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail; | |
44127b65 RD |
3318 | { |
3319 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3320 | (arg1)->AssignStateImageList(arg2); | |
3321 | ||
3322 | wxPyEndAllowThreads(__tstate); | |
3323 | if (PyErr_Occurred()) SWIG_fail; | |
3324 | } | |
3325 | Py_INCREF(Py_None); resultobj = Py_None; | |
3326 | return resultobj; | |
3327 | fail: | |
3328 | return NULL; | |
3329 | } | |
3330 | ||
3331 | ||
3332 | static PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3333 | PyObject *resultobj; | |
3334 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3335 | wxImageList *arg2 = (wxImageList *) 0 ; | |
3336 | PyObject * obj0 = 0 ; | |
3337 | PyObject * obj1 = 0 ; | |
3338 | char *kwnames[] = { | |
3339 | (char *) "self",(char *) "imageList", NULL | |
3340 | }; | |
3341 | ||
3342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3343 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3344 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3345 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList, | |
3346 | SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail; | |
44127b65 RD |
3347 | { |
3348 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3349 | (arg1)->AssignButtonsImageList(arg2); | |
3350 | ||
3351 | wxPyEndAllowThreads(__tstate); | |
3352 | if (PyErr_Occurred()) SWIG_fail; | |
3353 | } | |
3354 | Py_INCREF(Py_None); resultobj = Py_None; | |
3355 | return resultobj; | |
3356 | fail: | |
3357 | return NULL; | |
3358 | } | |
3359 | ||
3360 | ||
3361 | static PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3362 | PyObject *resultobj; | |
3363 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3364 | wxString *arg2 = 0 ; | |
3365 | bool temp2 = False ; | |
3366 | PyObject * obj0 = 0 ; | |
3367 | PyObject * obj1 = 0 ; | |
3368 | char *kwnames[] = { | |
3369 | (char *) "self",(char *) "text", NULL | |
3370 | }; | |
3371 | ||
3372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3373 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3374 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
3375 | { |
3376 | arg2 = wxString_in_helper(obj1); | |
3377 | if (arg2 == NULL) SWIG_fail; | |
3378 | temp2 = True; | |
3379 | } | |
3380 | { | |
3381 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3382 | (arg1)->AddColumn((wxString const &)*arg2); | |
3383 | ||
3384 | wxPyEndAllowThreads(__tstate); | |
3385 | if (PyErr_Occurred()) SWIG_fail; | |
3386 | } | |
3387 | Py_INCREF(Py_None); resultobj = Py_None; | |
3388 | { | |
3389 | if (temp2) | |
3390 | delete arg2; | |
3391 | } | |
3392 | return resultobj; | |
3393 | fail: | |
3394 | { | |
3395 | if (temp2) | |
3396 | delete arg2; | |
3397 | } | |
3398 | return NULL; | |
3399 | } | |
3400 | ||
3401 | ||
3402 | static PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3403 | PyObject *resultobj; | |
3404 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3405 | wxTreeListColumnInfo *arg2 = 0 ; | |
3406 | PyObject * obj0 = 0 ; | |
3407 | PyObject * obj1 = 0 ; | |
3408 | char *kwnames[] = { | |
3409 | (char *) "self",(char *) "col", NULL | |
3410 | }; | |
3411 | ||
3412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3413 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3414 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3415 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeListColumnInfo, | |
3416 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
3417 | SWIG_fail; | |
44127b65 | 3418 | if (arg2 == NULL) { |
2f4c0a16 RD |
3419 | PyErr_SetString(PyExc_TypeError,"null reference"); |
3420 | SWIG_fail; | |
44127b65 RD |
3421 | } |
3422 | { | |
3423 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3424 | (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2); | |
3425 | ||
3426 | wxPyEndAllowThreads(__tstate); | |
3427 | if (PyErr_Occurred()) SWIG_fail; | |
3428 | } | |
3429 | Py_INCREF(Py_None); resultobj = Py_None; | |
3430 | return resultobj; | |
3431 | fail: | |
3432 | return NULL; | |
3433 | } | |
3434 | ||
3435 | ||
3436 | static PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3437 | PyObject *resultobj; | |
3438 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3439 | size_t arg2 ; | |
3440 | wxString *arg3 = 0 ; | |
3441 | bool temp3 = False ; | |
3442 | PyObject * obj0 = 0 ; | |
3443 | PyObject * obj1 = 0 ; | |
3444 | PyObject * obj2 = 0 ; | |
3445 | char *kwnames[] = { | |
3446 | (char *) "self",(char *) "before",(char *) "text", NULL | |
3447 | }; | |
3448 | ||
3449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
3450 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3451 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3452 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
3453 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
3454 | { |
3455 | arg3 = wxString_in_helper(obj2); | |
3456 | if (arg3 == NULL) SWIG_fail; | |
3457 | temp3 = True; | |
3458 | } | |
3459 | { | |
3460 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3461 | (arg1)->InsertColumn(arg2,(wxString const &)*arg3); | |
3462 | ||
3463 | wxPyEndAllowThreads(__tstate); | |
3464 | if (PyErr_Occurred()) SWIG_fail; | |
3465 | } | |
3466 | Py_INCREF(Py_None); resultobj = Py_None; | |
3467 | { | |
3468 | if (temp3) | |
3469 | delete arg3; | |
3470 | } | |
3471 | return resultobj; | |
3472 | fail: | |
3473 | { | |
3474 | if (temp3) | |
3475 | delete arg3; | |
3476 | } | |
3477 | return NULL; | |
3478 | } | |
3479 | ||
3480 | ||
3481 | static PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3482 | PyObject *resultobj; | |
3483 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3484 | size_t arg2 ; | |
3485 | wxTreeListColumnInfo *arg3 = 0 ; | |
3486 | PyObject * obj0 = 0 ; | |
3487 | PyObject * obj1 = 0 ; | |
3488 | PyObject * obj2 = 0 ; | |
3489 | char *kwnames[] = { | |
3490 | (char *) "self",(char *) "before",(char *) "col", NULL | |
3491 | }; | |
3492 | ||
3493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
3494 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3495 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3496 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
3497 | if (PyErr_Occurred()) SWIG_fail; | |
3498 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeListColumnInfo, | |
3499 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
3500 | SWIG_fail; | |
44127b65 | 3501 | if (arg3 == NULL) { |
2f4c0a16 RD |
3502 | PyErr_SetString(PyExc_TypeError,"null reference"); |
3503 | SWIG_fail; | |
44127b65 RD |
3504 | } |
3505 | { | |
3506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3507 | (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3); | |
3508 | ||
3509 | wxPyEndAllowThreads(__tstate); | |
3510 | if (PyErr_Occurred()) SWIG_fail; | |
3511 | } | |
3512 | Py_INCREF(Py_None); resultobj = Py_None; | |
3513 | return resultobj; | |
3514 | fail: | |
3515 | return NULL; | |
3516 | } | |
3517 | ||
3518 | ||
3519 | static PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3520 | PyObject *resultobj; | |
3521 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3522 | size_t arg2 ; | |
3523 | PyObject * obj0 = 0 ; | |
3524 | PyObject * obj1 = 0 ; | |
3525 | char *kwnames[] = { | |
3526 | (char *) "self",(char *) "column", NULL | |
3527 | }; | |
3528 | ||
3529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3530 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3531 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3532 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
3533 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
3534 | { |
3535 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3536 | (arg1)->RemoveColumn(arg2); | |
3537 | ||
3538 | wxPyEndAllowThreads(__tstate); | |
3539 | if (PyErr_Occurred()) SWIG_fail; | |
3540 | } | |
3541 | Py_INCREF(Py_None); resultobj = Py_None; | |
3542 | return resultobj; | |
3543 | fail: | |
3544 | return NULL; | |
3545 | } | |
3546 | ||
3547 | ||
3548 | static PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3549 | PyObject *resultobj; | |
3550 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3551 | size_t result; | |
3552 | PyObject * obj0 = 0 ; | |
3553 | char *kwnames[] = { | |
3554 | (char *) "self", NULL | |
3555 | }; | |
3556 | ||
3557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetColumnCount",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3558 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3559 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
3560 | { |
3561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3562 | result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount(); | |
3563 | ||
3564 | wxPyEndAllowThreads(__tstate); | |
3565 | if (PyErr_Occurred()) SWIG_fail; | |
3566 | } | |
2f4c0a16 | 3567 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
44127b65 RD |
3568 | return resultobj; |
3569 | fail: | |
3570 | return NULL; | |
3571 | } | |
3572 | ||
3573 | ||
3574 | static PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3575 | PyObject *resultobj; | |
3576 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3577 | size_t arg2 ; | |
3578 | size_t arg3 ; | |
3579 | PyObject * obj0 = 0 ; | |
3580 | PyObject * obj1 = 0 ; | |
3581 | PyObject * obj2 = 0 ; | |
3582 | char *kwnames[] = { | |
3583 | (char *) "self",(char *) "column",(char *) "width", NULL | |
3584 | }; | |
3585 | ||
3586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
3587 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3588 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3589 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
3590 | if (PyErr_Occurred()) SWIG_fail; | |
3591 | arg3 = (size_t) SWIG_AsUnsignedLong(obj2); | |
3592 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
3593 | { |
3594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3595 | (arg1)->SetColumnWidth(arg2,arg3); | |
3596 | ||
3597 | wxPyEndAllowThreads(__tstate); | |
3598 | if (PyErr_Occurred()) SWIG_fail; | |
3599 | } | |
3600 | Py_INCREF(Py_None); resultobj = Py_None; | |
3601 | return resultobj; | |
3602 | fail: | |
3603 | return NULL; | |
3604 | } | |
3605 | ||
3606 | ||
3607 | static PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3608 | PyObject *resultobj; | |
3609 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3610 | size_t arg2 ; | |
3611 | int result; | |
3612 | PyObject * obj0 = 0 ; | |
3613 | PyObject * obj1 = 0 ; | |
3614 | char *kwnames[] = { | |
3615 | (char *) "self",(char *) "column", NULL | |
3616 | }; | |
3617 | ||
3618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3619 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3620 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3621 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
3622 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
3623 | { |
3624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3625 | result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2); | |
3626 | ||
3627 | wxPyEndAllowThreads(__tstate); | |
3628 | if (PyErr_Occurred()) SWIG_fail; | |
3629 | } | |
2f4c0a16 | 3630 | resultobj = SWIG_FromInt((int)result); |
44127b65 RD |
3631 | return resultobj; |
3632 | fail: | |
3633 | return NULL; | |
3634 | } | |
3635 | ||
3636 | ||
3637 | static PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3638 | PyObject *resultobj; | |
3639 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3640 | size_t arg2 ; | |
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_SetMainColumn",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3648 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3649 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3650 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
3651 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
3652 | { |
3653 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3654 | (arg1)->SetMainColumn(arg2); | |
3655 | ||
3656 | wxPyEndAllowThreads(__tstate); | |
3657 | if (PyErr_Occurred()) SWIG_fail; | |
3658 | } | |
3659 | Py_INCREF(Py_None); resultobj = Py_None; | |
3660 | return resultobj; | |
3661 | fail: | |
3662 | return NULL; | |
3663 | } | |
3664 | ||
3665 | ||
3666 | static PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3667 | PyObject *resultobj; | |
3668 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3669 | size_t result; | |
3670 | PyObject * obj0 = 0 ; | |
3671 | char *kwnames[] = { | |
3672 | (char *) "self", NULL | |
3673 | }; | |
3674 | ||
3675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainColumn",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
3676 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3677 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
3678 | { |
3679 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3680 | result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn(); | |
3681 | ||
3682 | wxPyEndAllowThreads(__tstate); | |
3683 | if (PyErr_Occurred()) SWIG_fail; | |
3684 | } | |
2f4c0a16 | 3685 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
44127b65 RD |
3686 | return resultobj; |
3687 | fail: | |
3688 | return NULL; | |
3689 | } | |
3690 | ||
3691 | ||
3692 | static PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3693 | PyObject *resultobj; | |
3694 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3695 | size_t arg2 ; | |
3696 | wxString *arg3 = 0 ; | |
3697 | bool temp3 = False ; | |
3698 | PyObject * obj0 = 0 ; | |
3699 | PyObject * obj1 = 0 ; | |
3700 | PyObject * obj2 = 0 ; | |
3701 | char *kwnames[] = { | |
3702 | (char *) "self",(char *) "column",(char *) "text", NULL | |
3703 | }; | |
3704 | ||
3705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
3706 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3707 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3708 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
3709 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
3710 | { |
3711 | arg3 = wxString_in_helper(obj2); | |
3712 | if (arg3 == NULL) SWIG_fail; | |
3713 | temp3 = True; | |
3714 | } | |
3715 | { | |
3716 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3717 | (arg1)->SetColumnText(arg2,(wxString const &)*arg3); | |
3718 | ||
3719 | wxPyEndAllowThreads(__tstate); | |
3720 | if (PyErr_Occurred()) SWIG_fail; | |
3721 | } | |
3722 | Py_INCREF(Py_None); resultobj = Py_None; | |
3723 | { | |
3724 | if (temp3) | |
3725 | delete arg3; | |
3726 | } | |
3727 | return resultobj; | |
3728 | fail: | |
3729 | { | |
3730 | if (temp3) | |
3731 | delete arg3; | |
3732 | } | |
3733 | return NULL; | |
3734 | } | |
3735 | ||
3736 | ||
3737 | static PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3738 | PyObject *resultobj; | |
3739 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3740 | size_t arg2 ; | |
3741 | wxString result; | |
3742 | PyObject * obj0 = 0 ; | |
3743 | PyObject * obj1 = 0 ; | |
3744 | char *kwnames[] = { | |
3745 | (char *) "self",(char *) "column", NULL | |
3746 | }; | |
3747 | ||
3748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3749 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3750 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3751 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
3752 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
3753 | { |
3754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3755 | result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2); | |
3756 | ||
3757 | wxPyEndAllowThreads(__tstate); | |
3758 | if (PyErr_Occurred()) SWIG_fail; | |
3759 | } | |
3760 | { | |
3761 | #if wxUSE_UNICODE | |
3762 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
3763 | #else | |
3764 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
3765 | #endif | |
3766 | } | |
3767 | return resultobj; | |
3768 | fail: | |
3769 | return NULL; | |
3770 | } | |
3771 | ||
3772 | ||
3773 | static PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3774 | PyObject *resultobj; | |
3775 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3776 | size_t arg2 ; | |
3777 | wxTreeListColumnInfo *arg3 = 0 ; | |
3778 | PyObject * obj0 = 0 ; | |
3779 | PyObject * obj1 = 0 ; | |
3780 | PyObject * obj2 = 0 ; | |
3781 | char *kwnames[] = { | |
3782 | (char *) "self",(char *) "column",(char *) "info", NULL | |
3783 | }; | |
3784 | ||
3785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
3786 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3787 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3788 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
3789 | if (PyErr_Occurred()) SWIG_fail; | |
3790 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeListColumnInfo, | |
3791 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
3792 | SWIG_fail; | |
44127b65 | 3793 | if (arg3 == NULL) { |
2f4c0a16 RD |
3794 | PyErr_SetString(PyExc_TypeError,"null reference"); |
3795 | SWIG_fail; | |
44127b65 RD |
3796 | } |
3797 | { | |
3798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3799 | (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3); | |
3800 | ||
3801 | wxPyEndAllowThreads(__tstate); | |
3802 | if (PyErr_Occurred()) SWIG_fail; | |
3803 | } | |
3804 | Py_INCREF(Py_None); resultobj = Py_None; | |
3805 | return resultobj; | |
3806 | fail: | |
3807 | return NULL; | |
3808 | } | |
3809 | ||
3810 | ||
3811 | static PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3812 | PyObject *resultobj; | |
3813 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3814 | size_t arg2 ; | |
3815 | wxTreeListColumnInfo *result; | |
3816 | PyObject * obj0 = 0 ; | |
3817 | PyObject * obj1 = 0 ; | |
3818 | char *kwnames[] = { | |
3819 | (char *) "self",(char *) "column", NULL | |
3820 | }; | |
3821 | ||
3822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3823 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3824 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3825 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
3826 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
3827 | { |
3828 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3829 | { | |
3830 | wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2); | |
3831 | result = (wxTreeListColumnInfo *) &_result_ref; | |
3832 | } | |
3833 | ||
3834 | wxPyEndAllowThreads(__tstate); | |
3835 | if (PyErr_Occurred()) SWIG_fail; | |
3836 | } | |
2f4c0a16 | 3837 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 0); |
44127b65 RD |
3838 | return resultobj; |
3839 | fail: | |
3840 | return NULL; | |
3841 | } | |
3842 | ||
3843 | ||
3844 | static PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3845 | PyObject *resultobj; | |
3846 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3847 | size_t arg2 ; | |
3848 | int arg3 ; | |
3849 | PyObject * obj0 = 0 ; | |
3850 | PyObject * obj1 = 0 ; | |
8edf1c75 | 3851 | PyObject * obj2 = 0 ; |
44127b65 RD |
3852 | char *kwnames[] = { |
3853 | (char *) "self",(char *) "column",(char *) "align", NULL | |
3854 | }; | |
3855 | ||
8edf1c75 | 3856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
3857 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3858 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3859 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
3860 | if (PyErr_Occurred()) SWIG_fail; | |
3861 | arg3 = (wxTreeListColumnAlign) SWIG_AsInt(obj2); | |
3862 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
3863 | { |
3864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3865 | (arg1)->SetColumnAlignment(arg2,(wxTreeListColumnAlign )arg3); | |
3866 | ||
3867 | wxPyEndAllowThreads(__tstate); | |
3868 | if (PyErr_Occurred()) SWIG_fail; | |
3869 | } | |
3870 | Py_INCREF(Py_None); resultobj = Py_None; | |
3871 | return resultobj; | |
3872 | fail: | |
3873 | return NULL; | |
3874 | } | |
3875 | ||
3876 | ||
3877 | static PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3878 | PyObject *resultobj; | |
3879 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3880 | size_t arg2 ; | |
3881 | int result; | |
3882 | PyObject * obj0 = 0 ; | |
3883 | PyObject * obj1 = 0 ; | |
3884 | char *kwnames[] = { | |
3885 | (char *) "self",(char *) "column", NULL | |
3886 | }; | |
3887 | ||
3888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3889 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3890 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3891 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
3892 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
3893 | { |
3894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3895 | result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2); | |
3896 | ||
3897 | wxPyEndAllowThreads(__tstate); | |
3898 | if (PyErr_Occurred()) SWIG_fail; | |
3899 | } | |
2f4c0a16 | 3900 | resultobj = SWIG_FromInt((int)result); |
44127b65 RD |
3901 | return resultobj; |
3902 | fail: | |
3903 | return NULL; | |
3904 | } | |
3905 | ||
3906 | ||
3907 | static PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3908 | PyObject *resultobj; | |
3909 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3910 | size_t arg2 ; | |
3911 | int arg3 ; | |
3912 | PyObject * obj0 = 0 ; | |
3913 | PyObject * obj1 = 0 ; | |
8edf1c75 | 3914 | PyObject * obj2 = 0 ; |
44127b65 RD |
3915 | char *kwnames[] = { |
3916 | (char *) "self",(char *) "column",(char *) "image", NULL | |
3917 | }; | |
3918 | ||
8edf1c75 | 3919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
3920 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3921 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3922 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
3923 | if (PyErr_Occurred()) SWIG_fail; | |
3924 | arg3 = (int) SWIG_AsInt(obj2); | |
3925 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
3926 | { |
3927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3928 | (arg1)->SetColumnImage(arg2,arg3); | |
3929 | ||
3930 | wxPyEndAllowThreads(__tstate); | |
3931 | if (PyErr_Occurred()) SWIG_fail; | |
3932 | } | |
3933 | Py_INCREF(Py_None); resultobj = Py_None; | |
3934 | return resultobj; | |
3935 | fail: | |
3936 | return NULL; | |
3937 | } | |
3938 | ||
3939 | ||
3940 | static PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3941 | PyObject *resultobj; | |
3942 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3943 | size_t arg2 ; | |
3944 | int result; | |
3945 | PyObject * obj0 = 0 ; | |
3946 | PyObject * obj1 = 0 ; | |
3947 | char *kwnames[] = { | |
3948 | (char *) "self",(char *) "column", NULL | |
3949 | }; | |
3950 | ||
3951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
3952 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
3953 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3954 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
3955 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
3956 | { |
3957 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3958 | result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2); | |
3959 | ||
3960 | wxPyEndAllowThreads(__tstate); | |
3961 | if (PyErr_Occurred()) SWIG_fail; | |
3962 | } | |
2f4c0a16 | 3963 | resultobj = SWIG_FromInt((int)result); |
44127b65 RD |
3964 | return resultobj; |
3965 | fail: | |
3966 | return NULL; | |
3967 | } | |
3968 | ||
3969 | ||
629f3c1b RD |
3970 | static PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *self, PyObject *args, PyObject *kwargs) { |
3971 | PyObject *resultobj; | |
3972 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
3973 | size_t arg2 ; | |
3974 | bool arg3 ; | |
3975 | PyObject * obj0 = 0 ; | |
3976 | PyObject * obj1 = 0 ; | |
3977 | PyObject * obj2 = 0 ; | |
3978 | char *kwnames[] = { | |
3979 | (char *) "self",(char *) "column",(char *) "shown", NULL | |
3980 | }; | |
3981 | ||
3982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_ShowColumn",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3983 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, | |
3984 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
3985 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
3986 | if (PyErr_Occurred()) SWIG_fail; | |
3987 | arg3 = (bool) SWIG_AsBool(obj2); | |
3988 | if (PyErr_Occurred()) SWIG_fail; | |
3989 | { | |
3990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3991 | (arg1)->ShowColumn(arg2,arg3); | |
3992 | ||
3993 | wxPyEndAllowThreads(__tstate); | |
3994 | if (PyErr_Occurred()) SWIG_fail; | |
3995 | } | |
3996 | Py_INCREF(Py_None); resultobj = Py_None; | |
3997 | return resultobj; | |
3998 | fail: | |
3999 | return NULL; | |
4000 | } | |
4001 | ||
4002 | ||
4003 | static PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4004 | PyObject *resultobj; | |
4005 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4006 | size_t arg2 ; | |
4007 | bool result; | |
4008 | PyObject * obj0 = 0 ; | |
4009 | PyObject * obj1 = 0 ; | |
4010 | char *kwnames[] = { | |
4011 | (char *) "self",(char *) "column", NULL | |
4012 | }; | |
4013 | ||
4014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) goto fail; | |
4015 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, | |
4016 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4017 | arg2 = (size_t) SWIG_AsUnsignedLong(obj1); | |
4018 | if (PyErr_Occurred()) SWIG_fail; | |
4019 | { | |
4020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4021 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2); | |
4022 | ||
4023 | wxPyEndAllowThreads(__tstate); | |
4024 | if (PyErr_Occurred()) SWIG_fail; | |
4025 | } | |
4026 | { | |
4027 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4028 | } | |
4029 | return resultobj; | |
4030 | fail: | |
4031 | return NULL; | |
4032 | } | |
4033 | ||
4034 | ||
44127b65 RD |
4035 | static PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) { |
4036 | PyObject *resultobj; | |
4037 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4038 | wxTreeItemId *arg2 = 0 ; | |
4039 | int arg3 = (int) -1 ; | |
4040 | wxString result; | |
4041 | PyObject * obj0 = 0 ; | |
4042 | PyObject * obj1 = 0 ; | |
8edf1c75 | 4043 | PyObject * obj2 = 0 ; |
44127b65 RD |
4044 | char *kwnames[] = { |
4045 | (char *) "self",(char *) "item",(char *) "column", NULL | |
4046 | }; | |
4047 | ||
8edf1c75 | 4048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
4049 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4050 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4051 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4052 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4053 | SWIG_fail; | |
44127b65 | 4054 | if (arg2 == NULL) { |
2f4c0a16 RD |
4055 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4056 | SWIG_fail; | |
44127b65 | 4057 | } |
8edf1c75 | 4058 | if (obj2) { |
2f4c0a16 RD |
4059 | arg3 = (int) SWIG_AsInt(obj2); |
4060 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4061 | } |
44127b65 RD |
4062 | { |
4063 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4064 | result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3); | |
4065 | ||
4066 | wxPyEndAllowThreads(__tstate); | |
4067 | if (PyErr_Occurred()) SWIG_fail; | |
4068 | } | |
4069 | { | |
4070 | #if wxUSE_UNICODE | |
4071 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4072 | #else | |
4073 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4074 | #endif | |
4075 | } | |
4076 | return resultobj; | |
4077 | fail: | |
4078 | return NULL; | |
4079 | } | |
4080 | ||
4081 | ||
4082 | static PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4083 | PyObject *resultobj; | |
4084 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4085 | wxTreeItemId *arg2 = 0 ; | |
4086 | int arg3 = (int) -1 ; | |
4087 | int arg4 = (int) wxTreeItemIcon_Normal ; | |
4088 | int result; | |
4089 | PyObject * obj0 = 0 ; | |
4090 | PyObject * obj1 = 0 ; | |
8edf1c75 RD |
4091 | PyObject * obj2 = 0 ; |
4092 | PyObject * obj3 = 0 ; | |
44127b65 RD |
4093 | char *kwnames[] = { |
4094 | (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL | |
4095 | }; | |
4096 | ||
8edf1c75 | 4097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
4098 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4099 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4100 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4101 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4102 | SWIG_fail; | |
44127b65 | 4103 | if (arg2 == NULL) { |
2f4c0a16 RD |
4104 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4105 | SWIG_fail; | |
44127b65 | 4106 | } |
8edf1c75 | 4107 | if (obj2) { |
2f4c0a16 RD |
4108 | arg3 = (int) SWIG_AsInt(obj2); |
4109 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
4110 | } |
4111 | if (obj3) { | |
2f4c0a16 RD |
4112 | arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3); |
4113 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4114 | } |
44127b65 RD |
4115 | { |
4116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4117 | result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4); | |
4118 | ||
4119 | wxPyEndAllowThreads(__tstate); | |
4120 | if (PyErr_Occurred()) SWIG_fail; | |
4121 | } | |
2f4c0a16 | 4122 | resultobj = SWIG_FromInt((int)result); |
44127b65 RD |
4123 | return resultobj; |
4124 | fail: | |
4125 | return NULL; | |
4126 | } | |
4127 | ||
4128 | ||
4129 | static PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4130 | PyObject *resultobj; | |
4131 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4132 | wxTreeItemId *arg2 = 0 ; | |
4133 | wxString *arg3 = 0 ; | |
4134 | int arg4 = (int) -1 ; | |
4135 | bool temp3 = False ; | |
4136 | PyObject * obj0 = 0 ; | |
4137 | PyObject * obj1 = 0 ; | |
4138 | PyObject * obj2 = 0 ; | |
8edf1c75 | 4139 | PyObject * obj3 = 0 ; |
44127b65 RD |
4140 | char *kwnames[] = { |
4141 | (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL | |
4142 | }; | |
4143 | ||
8edf1c75 | 4144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
4145 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4146 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4147 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4148 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4149 | SWIG_fail; | |
44127b65 | 4150 | if (arg2 == NULL) { |
2f4c0a16 RD |
4151 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4152 | SWIG_fail; | |
44127b65 RD |
4153 | } |
4154 | { | |
4155 | arg3 = wxString_in_helper(obj2); | |
4156 | if (arg3 == NULL) SWIG_fail; | |
4157 | temp3 = True; | |
4158 | } | |
8edf1c75 | 4159 | if (obj3) { |
2f4c0a16 RD |
4160 | arg4 = (int) SWIG_AsInt(obj3); |
4161 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4162 | } |
44127b65 RD |
4163 | { |
4164 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4165 | wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4); | |
4166 | ||
4167 | wxPyEndAllowThreads(__tstate); | |
4168 | if (PyErr_Occurred()) SWIG_fail; | |
4169 | } | |
4170 | Py_INCREF(Py_None); resultobj = Py_None; | |
4171 | { | |
4172 | if (temp3) | |
4173 | delete arg3; | |
4174 | } | |
4175 | return resultobj; | |
4176 | fail: | |
4177 | { | |
4178 | if (temp3) | |
4179 | delete arg3; | |
4180 | } | |
4181 | return NULL; | |
4182 | } | |
4183 | ||
4184 | ||
4185 | static PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4186 | PyObject *resultobj; | |
4187 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4188 | wxTreeItemId *arg2 = 0 ; | |
4189 | int arg3 ; | |
4190 | int arg4 = (int) -1 ; | |
4191 | int arg5 = (int) wxTreeItemIcon_Normal ; | |
4192 | PyObject * obj0 = 0 ; | |
4193 | PyObject * obj1 = 0 ; | |
8edf1c75 RD |
4194 | PyObject * obj2 = 0 ; |
4195 | PyObject * obj3 = 0 ; | |
4196 | PyObject * obj4 = 0 ; | |
44127b65 RD |
4197 | char *kwnames[] = { |
4198 | (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL | |
4199 | }; | |
4200 | ||
8edf1c75 | 4201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
4202 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4203 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4204 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4205 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4206 | SWIG_fail; | |
44127b65 | 4207 | if (arg2 == NULL) { |
2f4c0a16 RD |
4208 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4209 | SWIG_fail; | |
8edf1c75 | 4210 | } |
2f4c0a16 RD |
4211 | arg3 = (int) SWIG_AsInt(obj2); |
4212 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4213 | if (obj3) { |
2f4c0a16 RD |
4214 | arg4 = (int) SWIG_AsInt(obj3); |
4215 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
4216 | } |
4217 | if (obj4) { | |
2f4c0a16 RD |
4218 | arg5 = (wxTreeItemIcon) SWIG_AsInt(obj4); |
4219 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 4220 | } |
44127b65 RD |
4221 | { |
4222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4223 | wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,(wxTreeItemIcon )arg5); | |
4224 | ||
4225 | wxPyEndAllowThreads(__tstate); | |
4226 | if (PyErr_Occurred()) SWIG_fail; | |
4227 | } | |
4228 | Py_INCREF(Py_None); resultobj = Py_None; | |
4229 | return resultobj; | |
4230 | fail: | |
4231 | return NULL; | |
4232 | } | |
4233 | ||
4234 | ||
4235 | static PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4236 | PyObject *resultobj; | |
4237 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4238 | wxTreeItemId *arg2 = 0 ; | |
4239 | wxPyTreeItemData *result; | |
4240 | PyObject * obj0 = 0 ; | |
4241 | PyObject * obj1 = 0 ; | |
4242 | char *kwnames[] = { | |
4243 | (char *) "self",(char *) "item", NULL | |
4244 | }; | |
4245 | ||
4246 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4247 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4248 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4249 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4250 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4251 | SWIG_fail; | |
44127b65 | 4252 | if (arg2 == NULL) { |
2f4c0a16 RD |
4253 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4254 | SWIG_fail; | |
44127b65 RD |
4255 | } |
4256 | { | |
4257 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4258 | result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2); | |
4259 | ||
4260 | wxPyEndAllowThreads(__tstate); | |
4261 | if (PyErr_Occurred()) SWIG_fail; | |
4262 | } | |
2f4c0a16 | 4263 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0); |
44127b65 RD |
4264 | return resultobj; |
4265 | fail: | |
4266 | return NULL; | |
4267 | } | |
4268 | ||
4269 | ||
4270 | static PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4271 | PyObject *resultobj; | |
4272 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4273 | wxTreeItemId *arg2 = 0 ; | |
4274 | wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ; | |
4275 | PyObject * obj0 = 0 ; | |
4276 | PyObject * obj1 = 0 ; | |
4277 | PyObject * obj2 = 0 ; | |
4278 | char *kwnames[] = { | |
4279 | (char *) "self",(char *) "item",(char *) "data", NULL | |
4280 | }; | |
4281 | ||
4282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
4283 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4284 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4285 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4286 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4287 | SWIG_fail; | |
44127b65 | 4288 | if (arg2 == NULL) { |
2f4c0a16 RD |
4289 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4290 | SWIG_fail; | |
44127b65 | 4291 | } |
2f4c0a16 RD |
4292 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData, |
4293 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
4294 | { |
4295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4296 | wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3); | |
4297 | ||
4298 | wxPyEndAllowThreads(__tstate); | |
4299 | if (PyErr_Occurred()) SWIG_fail; | |
4300 | } | |
4301 | Py_INCREF(Py_None); resultobj = Py_None; | |
4302 | return resultobj; | |
4303 | fail: | |
4304 | return NULL; | |
4305 | } | |
4306 | ||
4307 | ||
4308 | static PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4309 | PyObject *resultobj; | |
4310 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4311 | wxTreeItemId *arg2 = 0 ; | |
4312 | PyObject *result; | |
4313 | PyObject * obj0 = 0 ; | |
4314 | PyObject * obj1 = 0 ; | |
4315 | char *kwnames[] = { | |
4316 | (char *) "self",(char *) "item", NULL | |
4317 | }; | |
4318 | ||
4319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4320 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4321 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4322 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4323 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4324 | SWIG_fail; | |
44127b65 | 4325 | if (arg2 == NULL) { |
2f4c0a16 RD |
4326 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4327 | SWIG_fail; | |
44127b65 RD |
4328 | } |
4329 | { | |
4330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4331 | result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2); | |
4332 | ||
4333 | wxPyEndAllowThreads(__tstate); | |
4334 | if (PyErr_Occurred()) SWIG_fail; | |
4335 | } | |
4336 | resultobj = result; | |
4337 | return resultobj; | |
4338 | fail: | |
4339 | return NULL; | |
4340 | } | |
4341 | ||
4342 | ||
4343 | static PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4344 | PyObject *resultobj; | |
4345 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4346 | wxTreeItemId *arg2 = 0 ; | |
4347 | PyObject *arg3 = (PyObject *) 0 ; | |
4348 | PyObject * obj0 = 0 ; | |
4349 | PyObject * obj1 = 0 ; | |
4350 | PyObject * obj2 = 0 ; | |
4351 | char *kwnames[] = { | |
4352 | (char *) "self",(char *) "item",(char *) "obj", NULL | |
4353 | }; | |
4354 | ||
4355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
4356 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4357 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4358 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4359 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4360 | SWIG_fail; | |
44127b65 | 4361 | if (arg2 == NULL) { |
2f4c0a16 RD |
4362 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4363 | SWIG_fail; | |
44127b65 RD |
4364 | } |
4365 | arg3 = obj2; | |
4366 | { | |
4367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4368 | wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3); | |
4369 | ||
4370 | wxPyEndAllowThreads(__tstate); | |
4371 | if (PyErr_Occurred()) SWIG_fail; | |
4372 | } | |
4373 | Py_INCREF(Py_None); resultobj = Py_None; | |
4374 | return resultobj; | |
4375 | fail: | |
4376 | return NULL; | |
4377 | } | |
4378 | ||
4379 | ||
4380 | static PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4381 | PyObject *resultobj; | |
4382 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4383 | wxTreeItemId *arg2 = 0 ; | |
4384 | bool arg3 = (bool) True ; | |
4385 | PyObject * obj0 = 0 ; | |
4386 | PyObject * obj1 = 0 ; | |
4387 | PyObject * obj2 = 0 ; | |
4388 | char *kwnames[] = { | |
4389 | (char *) "self",(char *) "item",(char *) "has", NULL | |
4390 | }; | |
4391 | ||
4392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
4393 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4394 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4395 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4396 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4397 | SWIG_fail; | |
44127b65 | 4398 | if (arg2 == NULL) { |
2f4c0a16 RD |
4399 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4400 | SWIG_fail; | |
44127b65 RD |
4401 | } |
4402 | if (obj2) { | |
2f4c0a16 RD |
4403 | arg3 = (bool) SWIG_AsBool(obj2); |
4404 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
4405 | } |
4406 | { | |
4407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4408 | (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3); | |
4409 | ||
4410 | wxPyEndAllowThreads(__tstate); | |
4411 | if (PyErr_Occurred()) SWIG_fail; | |
4412 | } | |
4413 | Py_INCREF(Py_None); resultobj = Py_None; | |
4414 | return resultobj; | |
4415 | fail: | |
4416 | return NULL; | |
4417 | } | |
4418 | ||
4419 | ||
4420 | static PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4421 | PyObject *resultobj; | |
4422 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4423 | wxTreeItemId *arg2 = 0 ; | |
4424 | bool arg3 = (bool) True ; | |
4425 | PyObject * obj0 = 0 ; | |
4426 | PyObject * obj1 = 0 ; | |
4427 | PyObject * obj2 = 0 ; | |
4428 | char *kwnames[] = { | |
4429 | (char *) "self",(char *) "item",(char *) "bold", NULL | |
4430 | }; | |
4431 | ||
4432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
4433 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4434 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4435 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4436 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4437 | SWIG_fail; | |
44127b65 | 4438 | if (arg2 == NULL) { |
2f4c0a16 RD |
4439 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4440 | SWIG_fail; | |
44127b65 RD |
4441 | } |
4442 | if (obj2) { | |
2f4c0a16 RD |
4443 | arg3 = (bool) SWIG_AsBool(obj2); |
4444 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
4445 | } |
4446 | { | |
4447 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4448 | (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3); | |
4449 | ||
4450 | wxPyEndAllowThreads(__tstate); | |
4451 | if (PyErr_Occurred()) SWIG_fail; | |
4452 | } | |
4453 | Py_INCREF(Py_None); resultobj = Py_None; | |
4454 | return resultobj; | |
4455 | fail: | |
4456 | return NULL; | |
4457 | } | |
4458 | ||
4459 | ||
4460 | static PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4461 | PyObject *resultobj; | |
4462 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4463 | wxTreeItemId *arg2 = 0 ; | |
4464 | wxColour *arg3 = 0 ; | |
4465 | wxColour temp3 ; | |
4466 | PyObject * obj0 = 0 ; | |
4467 | PyObject * obj1 = 0 ; | |
4468 | PyObject * obj2 = 0 ; | |
4469 | char *kwnames[] = { | |
629f3c1b | 4470 | (char *) "self",(char *) "item",(char *) "colour", NULL |
44127b65 RD |
4471 | }; |
4472 | ||
4473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
4474 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4475 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4476 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4477 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4478 | SWIG_fail; | |
44127b65 | 4479 | if (arg2 == NULL) { |
2f4c0a16 RD |
4480 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4481 | SWIG_fail; | |
44127b65 RD |
4482 | } |
4483 | { | |
4484 | arg3 = &temp3; | |
4485 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4486 | } | |
4487 | { | |
4488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4489 | (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3); | |
4490 | ||
4491 | wxPyEndAllowThreads(__tstate); | |
4492 | if (PyErr_Occurred()) SWIG_fail; | |
4493 | } | |
4494 | Py_INCREF(Py_None); resultobj = Py_None; | |
4495 | return resultobj; | |
4496 | fail: | |
4497 | return NULL; | |
4498 | } | |
4499 | ||
4500 | ||
4501 | static PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4502 | PyObject *resultobj; | |
4503 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4504 | wxTreeItemId *arg2 = 0 ; | |
4505 | wxColour *arg3 = 0 ; | |
4506 | wxColour temp3 ; | |
4507 | PyObject * obj0 = 0 ; | |
4508 | PyObject * obj1 = 0 ; | |
4509 | PyObject * obj2 = 0 ; | |
4510 | char *kwnames[] = { | |
629f3c1b | 4511 | (char *) "self",(char *) "item",(char *) "colour", NULL |
44127b65 RD |
4512 | }; |
4513 | ||
4514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
4515 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4516 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4517 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4518 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4519 | SWIG_fail; | |
44127b65 | 4520 | if (arg2 == NULL) { |
2f4c0a16 RD |
4521 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4522 | SWIG_fail; | |
44127b65 RD |
4523 | } |
4524 | { | |
4525 | arg3 = &temp3; | |
4526 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
4527 | } | |
4528 | { | |
4529 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4530 | (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3); | |
4531 | ||
4532 | wxPyEndAllowThreads(__tstate); | |
4533 | if (PyErr_Occurred()) SWIG_fail; | |
4534 | } | |
4535 | Py_INCREF(Py_None); resultobj = Py_None; | |
4536 | return resultobj; | |
4537 | fail: | |
4538 | return NULL; | |
4539 | } | |
4540 | ||
4541 | ||
4542 | static PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4543 | PyObject *resultobj; | |
4544 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4545 | wxTreeItemId *arg2 = 0 ; | |
4546 | wxFont *arg3 = 0 ; | |
4547 | PyObject * obj0 = 0 ; | |
4548 | PyObject * obj1 = 0 ; | |
4549 | PyObject * obj2 = 0 ; | |
4550 | char *kwnames[] = { | |
4551 | (char *) "self",(char *) "item",(char *) "font", NULL | |
4552 | }; | |
4553 | ||
4554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
4555 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4556 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4557 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4558 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4559 | SWIG_fail; | |
44127b65 | 4560 | if (arg2 == NULL) { |
2f4c0a16 RD |
4561 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4562 | SWIG_fail; | |
44127b65 | 4563 | } |
2f4c0a16 RD |
4564 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont, |
4565 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4566 | SWIG_fail; | |
44127b65 | 4567 | if (arg3 == NULL) { |
2f4c0a16 RD |
4568 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4569 | SWIG_fail; | |
44127b65 RD |
4570 | } |
4571 | { | |
4572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4573 | (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3); | |
4574 | ||
4575 | wxPyEndAllowThreads(__tstate); | |
4576 | if (PyErr_Occurred()) SWIG_fail; | |
4577 | } | |
4578 | Py_INCREF(Py_None); resultobj = Py_None; | |
4579 | return resultobj; | |
4580 | fail: | |
4581 | return NULL; | |
4582 | } | |
4583 | ||
4584 | ||
4585 | static PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4586 | PyObject *resultobj; | |
4587 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4588 | wxTreeItemId *arg2 = 0 ; | |
4589 | bool result; | |
4590 | PyObject * obj0 = 0 ; | |
4591 | PyObject * obj1 = 0 ; | |
4592 | char *kwnames[] = { | |
4593 | (char *) "self",(char *) "item", NULL | |
4594 | }; | |
4595 | ||
4596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4597 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4598 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4599 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4600 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4601 | SWIG_fail; | |
44127b65 | 4602 | if (arg2 == NULL) { |
2f4c0a16 RD |
4603 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4604 | SWIG_fail; | |
44127b65 RD |
4605 | } |
4606 | { | |
4607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4608 | result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2); | |
4609 | ||
4610 | wxPyEndAllowThreads(__tstate); | |
4611 | if (PyErr_Occurred()) SWIG_fail; | |
4612 | } | |
4f89f6a3 RD |
4613 | { |
4614 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4615 | } | |
44127b65 RD |
4616 | return resultobj; |
4617 | fail: | |
4618 | return NULL; | |
4619 | } | |
4620 | ||
4621 | ||
4622 | static PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4623 | PyObject *resultobj; | |
4624 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4625 | wxTreeItemId *arg2 = 0 ; | |
4626 | wxColour result; | |
4627 | PyObject * obj0 = 0 ; | |
4628 | PyObject * obj1 = 0 ; | |
4629 | char *kwnames[] = { | |
4630 | (char *) "self",(char *) "item", NULL | |
4631 | }; | |
4632 | ||
4633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4634 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4635 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4636 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4637 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4638 | SWIG_fail; | |
44127b65 | 4639 | if (arg2 == NULL) { |
2f4c0a16 RD |
4640 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4641 | SWIG_fail; | |
44127b65 RD |
4642 | } |
4643 | { | |
4644 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4645 | result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2); | |
4646 | ||
4647 | wxPyEndAllowThreads(__tstate); | |
4648 | if (PyErr_Occurred()) SWIG_fail; | |
4649 | } | |
4650 | { | |
4651 | wxColour * resultptr; | |
4652 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 4653 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
44127b65 RD |
4654 | } |
4655 | return resultobj; | |
4656 | fail: | |
4657 | return NULL; | |
4658 | } | |
4659 | ||
4660 | ||
4661 | static PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4662 | PyObject *resultobj; | |
4663 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4664 | wxTreeItemId *arg2 = 0 ; | |
4665 | wxColour result; | |
4666 | PyObject * obj0 = 0 ; | |
4667 | PyObject * obj1 = 0 ; | |
4668 | char *kwnames[] = { | |
4669 | (char *) "self",(char *) "item", NULL | |
4670 | }; | |
4671 | ||
4672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4673 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4674 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4675 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4676 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4677 | SWIG_fail; | |
44127b65 | 4678 | if (arg2 == NULL) { |
2f4c0a16 RD |
4679 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4680 | SWIG_fail; | |
44127b65 RD |
4681 | } |
4682 | { | |
4683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4684 | result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2); | |
4685 | ||
4686 | wxPyEndAllowThreads(__tstate); | |
4687 | if (PyErr_Occurred()) SWIG_fail; | |
4688 | } | |
4689 | { | |
4690 | wxColour * resultptr; | |
4691 | resultptr = new wxColour((wxColour &) result); | |
2f4c0a16 | 4692 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
44127b65 RD |
4693 | } |
4694 | return resultobj; | |
4695 | fail: | |
4696 | return NULL; | |
4697 | } | |
4698 | ||
4699 | ||
4700 | static PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4701 | PyObject *resultobj; | |
4702 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4703 | wxTreeItemId *arg2 = 0 ; | |
4704 | wxFont result; | |
4705 | PyObject * obj0 = 0 ; | |
4706 | PyObject * obj1 = 0 ; | |
4707 | char *kwnames[] = { | |
4708 | (char *) "self",(char *) "item", NULL | |
4709 | }; | |
4710 | ||
4711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4712 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4713 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4714 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4715 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4716 | SWIG_fail; | |
44127b65 | 4717 | if (arg2 == NULL) { |
2f4c0a16 RD |
4718 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4719 | SWIG_fail; | |
44127b65 RD |
4720 | } |
4721 | { | |
4722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4723 | result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2); | |
4724 | ||
4725 | wxPyEndAllowThreads(__tstate); | |
4726 | if (PyErr_Occurred()) SWIG_fail; | |
4727 | } | |
4728 | { | |
4729 | wxFont * resultptr; | |
4730 | resultptr = new wxFont((wxFont &) result); | |
2f4c0a16 | 4731 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
44127b65 RD |
4732 | } |
4733 | return resultobj; | |
4734 | fail: | |
4735 | return NULL; | |
4736 | } | |
4737 | ||
4738 | ||
4739 | static PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4740 | PyObject *resultobj; | |
4741 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4742 | wxTreeItemId *arg2 = 0 ; | |
4743 | bool result; | |
4744 | PyObject * obj0 = 0 ; | |
4745 | PyObject * obj1 = 0 ; | |
4746 | char *kwnames[] = { | |
4747 | (char *) "self",(char *) "item", NULL | |
4748 | }; | |
4749 | ||
4750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4751 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4752 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4753 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4754 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4755 | SWIG_fail; | |
44127b65 | 4756 | if (arg2 == NULL) { |
2f4c0a16 RD |
4757 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4758 | SWIG_fail; | |
44127b65 RD |
4759 | } |
4760 | { | |
4761 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4762 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2); | |
4763 | ||
4764 | wxPyEndAllowThreads(__tstate); | |
4765 | if (PyErr_Occurred()) SWIG_fail; | |
4766 | } | |
4f89f6a3 RD |
4767 | { |
4768 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4769 | } | |
44127b65 RD |
4770 | return resultobj; |
4771 | fail: | |
4772 | return NULL; | |
4773 | } | |
4774 | ||
4775 | ||
4776 | static PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4777 | PyObject *resultobj; | |
4778 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4779 | wxTreeItemId *arg2 = 0 ; | |
4780 | bool result; | |
4781 | PyObject * obj0 = 0 ; | |
4782 | PyObject * obj1 = 0 ; | |
4783 | char *kwnames[] = { | |
4784 | (char *) "self",(char *) "item", NULL | |
4785 | }; | |
4786 | ||
4787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4788 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4789 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4790 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4791 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4792 | SWIG_fail; | |
44127b65 | 4793 | if (arg2 == NULL) { |
2f4c0a16 RD |
4794 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4795 | SWIG_fail; | |
44127b65 RD |
4796 | } |
4797 | { | |
4798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4799 | result = (bool)((wxPyTreeListCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2); | |
4800 | ||
4801 | wxPyEndAllowThreads(__tstate); | |
4802 | if (PyErr_Occurred()) SWIG_fail; | |
4803 | } | |
4f89f6a3 RD |
4804 | { |
4805 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4806 | } | |
44127b65 RD |
4807 | return resultobj; |
4808 | fail: | |
4809 | return NULL; | |
4810 | } | |
4811 | ||
4812 | ||
4813 | static PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4814 | PyObject *resultobj; | |
4815 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4816 | wxTreeItemId *arg2 = 0 ; | |
4817 | bool result; | |
4818 | PyObject * obj0 = 0 ; | |
4819 | PyObject * obj1 = 0 ; | |
4820 | char *kwnames[] = { | |
4821 | (char *) "self",(char *) "item", NULL | |
4822 | }; | |
4823 | ||
4824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4825 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4826 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4827 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4828 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4829 | SWIG_fail; | |
44127b65 | 4830 | if (arg2 == NULL) { |
2f4c0a16 RD |
4831 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4832 | SWIG_fail; | |
44127b65 RD |
4833 | } |
4834 | { | |
4835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4836 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2); | |
4837 | ||
4838 | wxPyEndAllowThreads(__tstate); | |
4839 | if (PyErr_Occurred()) SWIG_fail; | |
4840 | } | |
4f89f6a3 RD |
4841 | { |
4842 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4843 | } | |
44127b65 RD |
4844 | return resultobj; |
4845 | fail: | |
4846 | return NULL; | |
4847 | } | |
4848 | ||
4849 | ||
4850 | static PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4851 | PyObject *resultobj; | |
4852 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4853 | wxTreeItemId *arg2 = 0 ; | |
4854 | bool result; | |
4855 | PyObject * obj0 = 0 ; | |
4856 | PyObject * obj1 = 0 ; | |
4857 | char *kwnames[] = { | |
4858 | (char *) "self",(char *) "item", NULL | |
4859 | }; | |
4860 | ||
4861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4862 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4863 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4864 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4865 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4866 | SWIG_fail; | |
44127b65 | 4867 | if (arg2 == NULL) { |
2f4c0a16 RD |
4868 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4869 | SWIG_fail; | |
44127b65 RD |
4870 | } |
4871 | { | |
4872 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4873 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2); | |
4874 | ||
4875 | wxPyEndAllowThreads(__tstate); | |
4876 | if (PyErr_Occurred()) SWIG_fail; | |
4877 | } | |
4f89f6a3 RD |
4878 | { |
4879 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4880 | } | |
44127b65 RD |
4881 | return resultobj; |
4882 | fail: | |
4883 | return NULL; | |
4884 | } | |
4885 | ||
4886 | ||
4887 | static PyObject *_wrap_TreeListCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4888 | PyObject *resultobj; | |
4889 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4890 | wxTreeItemId *arg2 = 0 ; | |
4891 | bool result; | |
4892 | PyObject * obj0 = 0 ; | |
4893 | PyObject * obj1 = 0 ; | |
4894 | char *kwnames[] = { | |
4895 | (char *) "self",(char *) "item", NULL | |
4896 | }; | |
4897 | ||
4898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
4899 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4900 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4901 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4902 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4903 | SWIG_fail; | |
44127b65 | 4904 | if (arg2 == NULL) { |
2f4c0a16 RD |
4905 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4906 | SWIG_fail; | |
44127b65 RD |
4907 | } |
4908 | { | |
4909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4910 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2); | |
4911 | ||
4912 | wxPyEndAllowThreads(__tstate); | |
4913 | if (PyErr_Occurred()) SWIG_fail; | |
4914 | } | |
4f89f6a3 RD |
4915 | { |
4916 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4917 | } | |
44127b65 RD |
4918 | return resultobj; |
4919 | fail: | |
4920 | return NULL; | |
4921 | } | |
4922 | ||
4923 | ||
4924 | static PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4925 | PyObject *resultobj; | |
4926 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4927 | wxTreeItemId *arg2 = 0 ; | |
4928 | bool arg3 = (bool) True ; | |
4929 | size_t result; | |
4930 | PyObject * obj0 = 0 ; | |
4931 | PyObject * obj1 = 0 ; | |
4932 | PyObject * obj2 = 0 ; | |
4933 | char *kwnames[] = { | |
4934 | (char *) "self",(char *) "item",(char *) "recursively", NULL | |
4935 | }; | |
4936 | ||
4937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
4938 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4939 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
4940 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
4941 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
4942 | SWIG_fail; | |
44127b65 | 4943 | if (arg2 == NULL) { |
2f4c0a16 RD |
4944 | PyErr_SetString(PyExc_TypeError,"null reference"); |
4945 | SWIG_fail; | |
44127b65 RD |
4946 | } |
4947 | if (obj2) { | |
2f4c0a16 RD |
4948 | arg3 = (bool) SWIG_AsBool(obj2); |
4949 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
4950 | } |
4951 | { | |
4952 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4953 | result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3); | |
4954 | ||
4955 | wxPyEndAllowThreads(__tstate); | |
4956 | if (PyErr_Occurred()) SWIG_fail; | |
4957 | } | |
2f4c0a16 | 4958 | resultobj = SWIG_FromUnsignedLong((unsigned long)result); |
44127b65 RD |
4959 | return resultobj; |
4960 | fail: | |
4961 | return NULL; | |
4962 | } | |
4963 | ||
4964 | ||
4965 | static PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4966 | PyObject *resultobj; | |
4967 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4968 | wxTreeItemId result; | |
4969 | PyObject * obj0 = 0 ; | |
4970 | char *kwnames[] = { | |
4971 | (char *) "self", NULL | |
4972 | }; | |
4973 | ||
4974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetRootItem",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
4975 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
4976 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
4977 | { |
4978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4979 | result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem(); | |
4980 | ||
4981 | wxPyEndAllowThreads(__tstate); | |
4982 | if (PyErr_Occurred()) SWIG_fail; | |
4983 | } | |
4984 | { | |
4985 | wxTreeItemId * resultptr; | |
4986 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
2f4c0a16 | 4987 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
4988 | } |
4989 | return resultobj; | |
4990 | fail: | |
4991 | return NULL; | |
4992 | } | |
4993 | ||
4994 | ||
4995 | static PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4996 | PyObject *resultobj; | |
4997 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4998 | wxTreeItemId result; | |
4999 | PyObject * obj0 = 0 ; | |
5000 | char *kwnames[] = { | |
5001 | (char *) "self", NULL | |
5002 | }; | |
5003 | ||
5004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelection",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5005 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5006 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
5007 | { |
5008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5009 | result = ((wxPyTreeListCtrl const *)arg1)->GetSelection(); | |
5010 | ||
5011 | wxPyEndAllowThreads(__tstate); | |
5012 | if (PyErr_Occurred()) SWIG_fail; | |
5013 | } | |
5014 | { | |
5015 | wxTreeItemId * resultptr; | |
5016 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
2f4c0a16 | 5017 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
5018 | } |
5019 | return resultobj; | |
5020 | fail: | |
5021 | return NULL; | |
5022 | } | |
5023 | ||
5024 | ||
5025 | static PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5026 | PyObject *resultobj; | |
5027 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5028 | PyObject *result; | |
5029 | PyObject * obj0 = 0 ; | |
5030 | char *kwnames[] = { | |
5031 | (char *) "self", NULL | |
5032 | }; | |
5033 | ||
5034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelections",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5035 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5036 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
5037 | { |
5038 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5039 | result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1); | |
5040 | ||
5041 | wxPyEndAllowThreads(__tstate); | |
5042 | if (PyErr_Occurred()) SWIG_fail; | |
5043 | } | |
5044 | resultobj = result; | |
5045 | return resultobj; | |
5046 | fail: | |
5047 | return NULL; | |
5048 | } | |
5049 | ||
5050 | ||
5051 | static PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5052 | PyObject *resultobj; | |
5053 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5054 | wxTreeItemId *arg2 = 0 ; | |
5055 | wxTreeItemId result; | |
5056 | PyObject * obj0 = 0 ; | |
5057 | PyObject * obj1 = 0 ; | |
5058 | char *kwnames[] = { | |
5059 | (char *) "self",(char *) "item", NULL | |
5060 | }; | |
5061 | ||
5062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5063 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5064 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5065 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
5066 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5067 | SWIG_fail; | |
44127b65 | 5068 | if (arg2 == NULL) { |
2f4c0a16 RD |
5069 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5070 | SWIG_fail; | |
44127b65 RD |
5071 | } |
5072 | { | |
5073 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
629f3c1b | 5074 | result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2); |
44127b65 RD |
5075 | |
5076 | wxPyEndAllowThreads(__tstate); | |
5077 | if (PyErr_Occurred()) SWIG_fail; | |
5078 | } | |
5079 | { | |
5080 | wxTreeItemId * resultptr; | |
5081 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
2f4c0a16 | 5082 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
5083 | } |
5084 | return resultobj; | |
5085 | fail: | |
5086 | return NULL; | |
5087 | } | |
5088 | ||
5089 | ||
5090 | static PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5091 | PyObject *resultobj; | |
5092 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5093 | wxTreeItemId *arg2 = 0 ; | |
5094 | PyObject *result; | |
5095 | PyObject * obj0 = 0 ; | |
5096 | PyObject * obj1 = 0 ; | |
5097 | char *kwnames[] = { | |
5098 | (char *) "self",(char *) "item", NULL | |
5099 | }; | |
5100 | ||
5101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5102 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5103 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5104 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
5105 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5106 | SWIG_fail; | |
44127b65 | 5107 | if (arg2 == NULL) { |
2f4c0a16 RD |
5108 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5109 | SWIG_fail; | |
44127b65 RD |
5110 | } |
5111 | { | |
5112 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5113 | result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2); | |
5114 | ||
5115 | wxPyEndAllowThreads(__tstate); | |
5116 | if (PyErr_Occurred()) SWIG_fail; | |
5117 | } | |
5118 | resultobj = result; | |
5119 | return resultobj; | |
5120 | fail: | |
5121 | return NULL; | |
5122 | } | |
5123 | ||
5124 | ||
5125 | static PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5126 | PyObject *resultobj; | |
5127 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5128 | wxTreeItemId *arg2 = 0 ; | |
629f3c1b | 5129 | void *arg3 = (void *) 0 ; |
44127b65 RD |
5130 | PyObject *result; |
5131 | PyObject * obj0 = 0 ; | |
5132 | PyObject * obj1 = 0 ; | |
8edf1c75 | 5133 | PyObject * obj2 = 0 ; |
44127b65 RD |
5134 | char *kwnames[] = { |
5135 | (char *) "self",(char *) "item",(char *) "cookie", NULL | |
5136 | }; | |
5137 | ||
8edf1c75 | 5138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail; |
2f4c0a16 RD |
5139 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5140 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5141 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
5142 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5143 | SWIG_fail; | |
44127b65 | 5144 | if (arg2 == NULL) { |
2f4c0a16 RD |
5145 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5146 | SWIG_fail; | |
8edf1c75 | 5147 | } |
629f3c1b | 5148 | if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; |
44127b65 RD |
5149 | { |
5150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5151 | result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3); | |
5152 | ||
5153 | wxPyEndAllowThreads(__tstate); | |
5154 | if (PyErr_Occurred()) SWIG_fail; | |
5155 | } | |
5156 | resultobj = result; | |
5157 | return resultobj; | |
5158 | fail: | |
5159 | return NULL; | |
5160 | } | |
5161 | ||
5162 | ||
5163 | static PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5164 | PyObject *resultobj; | |
5165 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5166 | wxTreeItemId *arg2 = 0 ; | |
5167 | wxTreeItemId result; | |
5168 | PyObject * obj0 = 0 ; | |
5169 | PyObject * obj1 = 0 ; | |
5170 | char *kwnames[] = { | |
5171 | (char *) "self",(char *) "item", NULL | |
5172 | }; | |
5173 | ||
5174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5175 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5176 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5177 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
5178 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5179 | SWIG_fail; | |
44127b65 | 5180 | if (arg2 == NULL) { |
2f4c0a16 RD |
5181 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5182 | SWIG_fail; | |
44127b65 RD |
5183 | } |
5184 | { | |
5185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5186 | result = ((wxPyTreeListCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2); | |
5187 | ||
5188 | wxPyEndAllowThreads(__tstate); | |
5189 | if (PyErr_Occurred()) SWIG_fail; | |
5190 | } | |
5191 | { | |
5192 | wxTreeItemId * resultptr; | |
5193 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
2f4c0a16 | 5194 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
5195 | } |
5196 | return resultobj; | |
5197 | fail: | |
5198 | return NULL; | |
5199 | } | |
5200 | ||
5201 | ||
5202 | static PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5203 | PyObject *resultobj; | |
5204 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5205 | wxTreeItemId *arg2 = 0 ; | |
5206 | wxTreeItemId result; | |
5207 | PyObject * obj0 = 0 ; | |
5208 | PyObject * obj1 = 0 ; | |
5209 | char *kwnames[] = { | |
5210 | (char *) "self",(char *) "item", NULL | |
5211 | }; | |
5212 | ||
5213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5214 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5215 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5216 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
5217 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5218 | SWIG_fail; | |
44127b65 | 5219 | if (arg2 == NULL) { |
2f4c0a16 RD |
5220 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5221 | SWIG_fail; | |
44127b65 RD |
5222 | } |
5223 | { | |
5224 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5225 | result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2); | |
5226 | ||
5227 | wxPyEndAllowThreads(__tstate); | |
5228 | if (PyErr_Occurred()) SWIG_fail; | |
5229 | } | |
5230 | { | |
5231 | wxTreeItemId * resultptr; | |
5232 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
2f4c0a16 | 5233 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
5234 | } |
5235 | return resultobj; | |
5236 | fail: | |
5237 | return NULL; | |
5238 | } | |
5239 | ||
5240 | ||
5241 | static PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5242 | PyObject *resultobj; | |
5243 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5244 | wxTreeItemId *arg2 = 0 ; | |
5245 | wxTreeItemId result; | |
5246 | PyObject * obj0 = 0 ; | |
5247 | PyObject * obj1 = 0 ; | |
5248 | char *kwnames[] = { | |
5249 | (char *) "self",(char *) "item", NULL | |
5250 | }; | |
5251 | ||
5252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5253 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5254 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5255 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
5256 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5257 | SWIG_fail; | |
44127b65 | 5258 | if (arg2 == NULL) { |
2f4c0a16 RD |
5259 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5260 | SWIG_fail; | |
44127b65 RD |
5261 | } |
5262 | { | |
5263 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5264 | result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2); | |
5265 | ||
5266 | wxPyEndAllowThreads(__tstate); | |
5267 | if (PyErr_Occurred()) SWIG_fail; | |
5268 | } | |
5269 | { | |
5270 | wxTreeItemId * resultptr; | |
5271 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
2f4c0a16 | 5272 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
5273 | } |
5274 | return resultobj; | |
5275 | fail: | |
5276 | return NULL; | |
5277 | } | |
5278 | ||
5279 | ||
5280 | static PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5281 | PyObject *resultobj; | |
5282 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5283 | wxTreeItemId result; | |
5284 | PyObject * obj0 = 0 ; | |
5285 | char *kwnames[] = { | |
5286 | (char *) "self", NULL | |
5287 | }; | |
5288 | ||
5289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5290 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5291 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
5292 | { |
5293 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5294 | result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem(); | |
5295 | ||
5296 | wxPyEndAllowThreads(__tstate); | |
5297 | if (PyErr_Occurred()) SWIG_fail; | |
5298 | } | |
5299 | { | |
5300 | wxTreeItemId * resultptr; | |
5301 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
2f4c0a16 | 5302 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
5303 | } |
5304 | return resultobj; | |
5305 | fail: | |
5306 | return NULL; | |
5307 | } | |
5308 | ||
5309 | ||
5310 | static PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5311 | PyObject *resultobj; | |
5312 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5313 | wxTreeItemId *arg2 = 0 ; | |
5314 | wxTreeItemId result; | |
5315 | PyObject * obj0 = 0 ; | |
5316 | PyObject * obj1 = 0 ; | |
5317 | char *kwnames[] = { | |
5318 | (char *) "self",(char *) "item", NULL | |
5319 | }; | |
5320 | ||
5321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5322 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5323 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5324 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
5325 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5326 | SWIG_fail; | |
44127b65 | 5327 | if (arg2 == NULL) { |
2f4c0a16 RD |
5328 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5329 | SWIG_fail; | |
44127b65 RD |
5330 | } |
5331 | { | |
5332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5333 | result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2); | |
5334 | ||
5335 | wxPyEndAllowThreads(__tstate); | |
5336 | if (PyErr_Occurred()) SWIG_fail; | |
5337 | } | |
5338 | { | |
5339 | wxTreeItemId * resultptr; | |
5340 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
2f4c0a16 | 5341 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
5342 | } |
5343 | return resultobj; | |
5344 | fail: | |
5345 | return NULL; | |
5346 | } | |
5347 | ||
5348 | ||
5349 | static PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5350 | PyObject *resultobj; | |
5351 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5352 | wxTreeItemId *arg2 = 0 ; | |
5353 | wxTreeItemId result; | |
5354 | PyObject * obj0 = 0 ; | |
5355 | PyObject * obj1 = 0 ; | |
5356 | char *kwnames[] = { | |
5357 | (char *) "self",(char *) "item", NULL | |
5358 | }; | |
5359 | ||
5360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5361 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5362 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5363 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
5364 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5365 | SWIG_fail; | |
44127b65 | 5366 | if (arg2 == NULL) { |
2f4c0a16 RD |
5367 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5368 | SWIG_fail; | |
44127b65 RD |
5369 | } |
5370 | { | |
5371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5372 | result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2); | |
5373 | ||
5374 | wxPyEndAllowThreads(__tstate); | |
5375 | if (PyErr_Occurred()) SWIG_fail; | |
5376 | } | |
5377 | { | |
5378 | wxTreeItemId * resultptr; | |
5379 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
2f4c0a16 | 5380 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
5381 | } |
5382 | return resultobj; | |
5383 | fail: | |
5384 | return NULL; | |
5385 | } | |
5386 | ||
5387 | ||
5388 | static PyObject *_wrap_TreeListCtrl_GetNext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5389 | PyObject *resultobj; | |
5390 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5391 | wxTreeItemId *arg2 = 0 ; | |
5392 | wxTreeItemId result; | |
5393 | PyObject * obj0 = 0 ; | |
5394 | PyObject * obj1 = 0 ; | |
5395 | char *kwnames[] = { | |
5396 | (char *) "self",(char *) "item", NULL | |
5397 | }; | |
5398 | ||
5399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5400 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5401 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5402 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
5403 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5404 | SWIG_fail; | |
44127b65 | 5405 | if (arg2 == NULL) { |
2f4c0a16 RD |
5406 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5407 | SWIG_fail; | |
44127b65 RD |
5408 | } |
5409 | { | |
5410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5411 | result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2); | |
5412 | ||
5413 | wxPyEndAllowThreads(__tstate); | |
5414 | if (PyErr_Occurred()) SWIG_fail; | |
5415 | } | |
5416 | { | |
5417 | wxTreeItemId * resultptr; | |
5418 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
2f4c0a16 | 5419 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
5420 | } |
5421 | return resultobj; | |
5422 | fail: | |
5423 | return NULL; | |
5424 | } | |
5425 | ||
5426 | ||
5427 | static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5428 | PyObject *resultobj; | |
5429 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5430 | wxString *arg2 = 0 ; | |
5431 | int arg3 = (int) -1 ; | |
5432 | int arg4 = (int) -1 ; | |
5433 | wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ; | |
5434 | wxTreeItemId result; | |
5435 | bool temp2 = False ; | |
5436 | PyObject * obj0 = 0 ; | |
5437 | PyObject * obj1 = 0 ; | |
8edf1c75 RD |
5438 | PyObject * obj2 = 0 ; |
5439 | PyObject * obj3 = 0 ; | |
44127b65 RD |
5440 | PyObject * obj4 = 0 ; |
5441 | char *kwnames[] = { | |
5442 | (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
5443 | }; | |
5444 | ||
8edf1c75 | 5445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
2f4c0a16 RD |
5446 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5447 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
5448 | { |
5449 | arg2 = wxString_in_helper(obj1); | |
5450 | if (arg2 == NULL) SWIG_fail; | |
5451 | temp2 = True; | |
5452 | } | |
8edf1c75 | 5453 | if (obj2) { |
2f4c0a16 RD |
5454 | arg3 = (int) SWIG_AsInt(obj2); |
5455 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
5456 | } |
5457 | if (obj3) { | |
2f4c0a16 RD |
5458 | arg4 = (int) SWIG_AsInt(obj3); |
5459 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5460 | } |
44127b65 | 5461 | if (obj4) { |
2f4c0a16 RD |
5462 | if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData, |
5463 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
5464 | } |
5465 | { | |
5466 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5467 | result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5); | |
5468 | ||
5469 | wxPyEndAllowThreads(__tstate); | |
5470 | if (PyErr_Occurred()) SWIG_fail; | |
5471 | } | |
5472 | { | |
5473 | wxTreeItemId * resultptr; | |
5474 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
2f4c0a16 | 5475 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
5476 | } |
5477 | { | |
5478 | if (temp2) | |
5479 | delete arg2; | |
5480 | } | |
5481 | return resultobj; | |
5482 | fail: | |
5483 | { | |
5484 | if (temp2) | |
5485 | delete arg2; | |
5486 | } | |
5487 | return NULL; | |
5488 | } | |
5489 | ||
5490 | ||
5491 | static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5492 | PyObject *resultobj; | |
5493 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5494 | wxTreeItemId *arg2 = 0 ; | |
5495 | wxString *arg3 = 0 ; | |
5496 | int arg4 = (int) -1 ; | |
5497 | int arg5 = (int) -1 ; | |
5498 | wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ; | |
5499 | wxTreeItemId result; | |
5500 | bool temp3 = False ; | |
5501 | PyObject * obj0 = 0 ; | |
5502 | PyObject * obj1 = 0 ; | |
5503 | PyObject * obj2 = 0 ; | |
8edf1c75 RD |
5504 | PyObject * obj3 = 0 ; |
5505 | PyObject * obj4 = 0 ; | |
44127b65 RD |
5506 | PyObject * obj5 = 0 ; |
5507 | char *kwnames[] = { | |
5508 | (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
5509 | }; | |
5510 | ||
8edf1c75 | 5511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
5512 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5513 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5514 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
5515 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5516 | SWIG_fail; | |
44127b65 | 5517 | if (arg2 == NULL) { |
2f4c0a16 RD |
5518 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5519 | SWIG_fail; | |
44127b65 RD |
5520 | } |
5521 | { | |
5522 | arg3 = wxString_in_helper(obj2); | |
5523 | if (arg3 == NULL) SWIG_fail; | |
5524 | temp3 = True; | |
5525 | } | |
8edf1c75 | 5526 | if (obj3) { |
2f4c0a16 RD |
5527 | arg4 = (int) SWIG_AsInt(obj3); |
5528 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
5529 | } |
5530 | if (obj4) { | |
2f4c0a16 RD |
5531 | arg5 = (int) SWIG_AsInt(obj4); |
5532 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5533 | } |
44127b65 | 5534 | if (obj5) { |
2f4c0a16 RD |
5535 | if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData, |
5536 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
5537 | } |
5538 | { | |
5539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5540 | result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6); | |
5541 | ||
5542 | wxPyEndAllowThreads(__tstate); | |
5543 | if (PyErr_Occurred()) SWIG_fail; | |
5544 | } | |
5545 | { | |
5546 | wxTreeItemId * resultptr; | |
5547 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
2f4c0a16 | 5548 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
5549 | } |
5550 | { | |
5551 | if (temp3) | |
5552 | delete arg3; | |
5553 | } | |
5554 | return resultobj; | |
5555 | fail: | |
5556 | { | |
5557 | if (temp3) | |
5558 | delete arg3; | |
5559 | } | |
5560 | return NULL; | |
5561 | } | |
5562 | ||
5563 | ||
5564 | static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5565 | PyObject *resultobj; | |
5566 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5567 | wxTreeItemId *arg2 = 0 ; | |
5568 | wxTreeItemId *arg3 = 0 ; | |
5569 | wxString *arg4 = 0 ; | |
5570 | int arg5 = (int) -1 ; | |
5571 | int arg6 = (int) -1 ; | |
5572 | wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ; | |
5573 | wxTreeItemId result; | |
5574 | bool temp4 = False ; | |
5575 | PyObject * obj0 = 0 ; | |
5576 | PyObject * obj1 = 0 ; | |
5577 | PyObject * obj2 = 0 ; | |
5578 | PyObject * obj3 = 0 ; | |
8edf1c75 RD |
5579 | PyObject * obj4 = 0 ; |
5580 | PyObject * obj5 = 0 ; | |
44127b65 RD |
5581 | PyObject * obj6 = 0 ; |
5582 | char *kwnames[] = { | |
5583 | (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
5584 | }; | |
5585 | ||
8edf1c75 | 5586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
5587 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5588 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5589 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
5590 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5591 | SWIG_fail; | |
44127b65 | 5592 | if (arg2 == NULL) { |
2f4c0a16 RD |
5593 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5594 | SWIG_fail; | |
44127b65 | 5595 | } |
2f4c0a16 RD |
5596 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId, |
5597 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5598 | SWIG_fail; | |
44127b65 | 5599 | if (arg3 == NULL) { |
2f4c0a16 RD |
5600 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5601 | SWIG_fail; | |
44127b65 RD |
5602 | } |
5603 | { | |
5604 | arg4 = wxString_in_helper(obj3); | |
5605 | if (arg4 == NULL) SWIG_fail; | |
5606 | temp4 = True; | |
5607 | } | |
8edf1c75 | 5608 | if (obj4) { |
2f4c0a16 RD |
5609 | arg5 = (int) SWIG_AsInt(obj4); |
5610 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
5611 | } |
5612 | if (obj5) { | |
2f4c0a16 RD |
5613 | arg6 = (int) SWIG_AsInt(obj5); |
5614 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5615 | } |
44127b65 | 5616 | if (obj6) { |
2f4c0a16 RD |
5617 | if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData, |
5618 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
5619 | } |
5620 | { | |
5621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5622 | result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7); | |
5623 | ||
5624 | wxPyEndAllowThreads(__tstate); | |
5625 | if (PyErr_Occurred()) SWIG_fail; | |
5626 | } | |
5627 | { | |
5628 | wxTreeItemId * resultptr; | |
5629 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
2f4c0a16 | 5630 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
5631 | } |
5632 | { | |
5633 | if (temp4) | |
5634 | delete arg4; | |
5635 | } | |
5636 | return resultobj; | |
5637 | fail: | |
5638 | { | |
5639 | if (temp4) | |
5640 | delete arg4; | |
5641 | } | |
5642 | return NULL; | |
5643 | } | |
5644 | ||
5645 | ||
5646 | static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5647 | PyObject *resultobj; | |
5648 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5649 | wxTreeItemId *arg2 = 0 ; | |
5650 | size_t arg3 ; | |
5651 | wxString *arg4 = 0 ; | |
5652 | int arg5 = (int) -1 ; | |
5653 | int arg6 = (int) -1 ; | |
5654 | wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ; | |
5655 | wxTreeItemId result; | |
5656 | bool temp4 = False ; | |
5657 | PyObject * obj0 = 0 ; | |
5658 | PyObject * obj1 = 0 ; | |
5659 | PyObject * obj2 = 0 ; | |
5660 | PyObject * obj3 = 0 ; | |
8edf1c75 RD |
5661 | PyObject * obj4 = 0 ; |
5662 | PyObject * obj5 = 0 ; | |
44127b65 RD |
5663 | PyObject * obj6 = 0 ; |
5664 | char *kwnames[] = { | |
5665 | (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
5666 | }; | |
5667 | ||
8edf1c75 | 5668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
2f4c0a16 RD |
5669 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5670 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5671 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
5672 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5673 | SWIG_fail; | |
44127b65 | 5674 | if (arg2 == NULL) { |
2f4c0a16 RD |
5675 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5676 | SWIG_fail; | |
83448d71 | 5677 | } |
2f4c0a16 RD |
5678 | arg3 = (size_t) SWIG_AsUnsignedLong(obj2); |
5679 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
5680 | { |
5681 | arg4 = wxString_in_helper(obj3); | |
5682 | if (arg4 == NULL) SWIG_fail; | |
5683 | temp4 = True; | |
5684 | } | |
8edf1c75 | 5685 | if (obj4) { |
2f4c0a16 RD |
5686 | arg5 = (int) SWIG_AsInt(obj4); |
5687 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
5688 | } |
5689 | if (obj5) { | |
2f4c0a16 RD |
5690 | arg6 = (int) SWIG_AsInt(obj5); |
5691 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5692 | } |
44127b65 | 5693 | if (obj6) { |
2f4c0a16 RD |
5694 | if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData, |
5695 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
5696 | } |
5697 | { | |
5698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5699 | result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7); | |
5700 | ||
5701 | wxPyEndAllowThreads(__tstate); | |
5702 | if (PyErr_Occurred()) SWIG_fail; | |
5703 | } | |
5704 | { | |
5705 | wxTreeItemId * resultptr; | |
5706 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
2f4c0a16 | 5707 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
5708 | } |
5709 | { | |
5710 | if (temp4) | |
5711 | delete arg4; | |
5712 | } | |
5713 | return resultobj; | |
5714 | fail: | |
5715 | { | |
5716 | if (temp4) | |
5717 | delete arg4; | |
5718 | } | |
5719 | return NULL; | |
5720 | } | |
5721 | ||
5722 | ||
5723 | static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5724 | PyObject *resultobj; | |
5725 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5726 | wxTreeItemId *arg2 = 0 ; | |
5727 | wxString *arg3 = 0 ; | |
5728 | int arg4 = (int) -1 ; | |
5729 | int arg5 = (int) -1 ; | |
5730 | wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ; | |
5731 | wxTreeItemId result; | |
5732 | bool temp3 = False ; | |
5733 | PyObject * obj0 = 0 ; | |
5734 | PyObject * obj1 = 0 ; | |
5735 | PyObject * obj2 = 0 ; | |
8edf1c75 RD |
5736 | PyObject * obj3 = 0 ; |
5737 | PyObject * obj4 = 0 ; | |
44127b65 RD |
5738 | PyObject * obj5 = 0 ; |
5739 | char *kwnames[] = { | |
5740 | (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
5741 | }; | |
5742 | ||
8edf1c75 | 5743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
2f4c0a16 RD |
5744 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5745 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5746 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
5747 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5748 | SWIG_fail; | |
44127b65 | 5749 | if (arg2 == NULL) { |
2f4c0a16 RD |
5750 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5751 | SWIG_fail; | |
44127b65 RD |
5752 | } |
5753 | { | |
5754 | arg3 = wxString_in_helper(obj2); | |
5755 | if (arg3 == NULL) SWIG_fail; | |
5756 | temp3 = True; | |
5757 | } | |
8edf1c75 | 5758 | if (obj3) { |
2f4c0a16 RD |
5759 | arg4 = (int) SWIG_AsInt(obj3); |
5760 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 RD |
5761 | } |
5762 | if (obj4) { | |
2f4c0a16 RD |
5763 | arg5 = (int) SWIG_AsInt(obj4); |
5764 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 5765 | } |
44127b65 | 5766 | if (obj5) { |
2f4c0a16 RD |
5767 | if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData, |
5768 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
5769 | } |
5770 | { | |
5771 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5772 | result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6); | |
5773 | ||
5774 | wxPyEndAllowThreads(__tstate); | |
5775 | if (PyErr_Occurred()) SWIG_fail; | |
5776 | } | |
5777 | { | |
5778 | wxTreeItemId * resultptr; | |
5779 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
2f4c0a16 | 5780 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
5781 | } |
5782 | { | |
5783 | if (temp3) | |
5784 | delete arg3; | |
5785 | } | |
5786 | return resultobj; | |
5787 | fail: | |
5788 | { | |
5789 | if (temp3) | |
5790 | delete arg3; | |
5791 | } | |
5792 | return NULL; | |
5793 | } | |
5794 | ||
5795 | ||
5796 | static PyObject *_wrap_TreeListCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5797 | PyObject *resultobj; | |
5798 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5799 | wxTreeItemId *arg2 = 0 ; | |
5800 | PyObject * obj0 = 0 ; | |
5801 | PyObject * obj1 = 0 ; | |
5802 | char *kwnames[] = { | |
5803 | (char *) "self",(char *) "item", NULL | |
5804 | }; | |
5805 | ||
5806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5807 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5808 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5809 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
5810 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5811 | SWIG_fail; | |
44127b65 | 5812 | if (arg2 == NULL) { |
2f4c0a16 RD |
5813 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5814 | SWIG_fail; | |
44127b65 RD |
5815 | } |
5816 | { | |
5817 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5818 | (arg1)->Delete((wxTreeItemId const &)*arg2); | |
5819 | ||
5820 | wxPyEndAllowThreads(__tstate); | |
5821 | if (PyErr_Occurred()) SWIG_fail; | |
5822 | } | |
5823 | Py_INCREF(Py_None); resultobj = Py_None; | |
5824 | return resultobj; | |
5825 | fail: | |
5826 | return NULL; | |
5827 | } | |
5828 | ||
5829 | ||
5830 | static PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5831 | PyObject *resultobj; | |
5832 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5833 | wxTreeItemId *arg2 = 0 ; | |
5834 | PyObject * obj0 = 0 ; | |
5835 | PyObject * obj1 = 0 ; | |
5836 | char *kwnames[] = { | |
5837 | (char *) "self",(char *) "item", NULL | |
5838 | }; | |
5839 | ||
5840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5841 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5842 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5843 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
5844 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5845 | SWIG_fail; | |
44127b65 | 5846 | if (arg2 == NULL) { |
2f4c0a16 RD |
5847 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5848 | SWIG_fail; | |
44127b65 RD |
5849 | } |
5850 | { | |
5851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5852 | (arg1)->DeleteChildren((wxTreeItemId const &)*arg2); | |
5853 | ||
5854 | wxPyEndAllowThreads(__tstate); | |
5855 | if (PyErr_Occurred()) SWIG_fail; | |
5856 | } | |
5857 | Py_INCREF(Py_None); resultobj = Py_None; | |
5858 | return resultobj; | |
5859 | fail: | |
5860 | return NULL; | |
5861 | } | |
5862 | ||
5863 | ||
5864 | static PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5865 | PyObject *resultobj; | |
5866 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5867 | PyObject * obj0 = 0 ; | |
5868 | char *kwnames[] = { | |
5869 | (char *) "self", NULL | |
5870 | }; | |
5871 | ||
5872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
5873 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5874 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
5875 | { |
5876 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5877 | (arg1)->DeleteAllItems(); | |
5878 | ||
5879 | wxPyEndAllowThreads(__tstate); | |
5880 | if (PyErr_Occurred()) SWIG_fail; | |
5881 | } | |
5882 | Py_INCREF(Py_None); resultobj = Py_None; | |
5883 | return resultobj; | |
5884 | fail: | |
5885 | return NULL; | |
5886 | } | |
5887 | ||
5888 | ||
5889 | static PyObject *_wrap_TreeListCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5890 | PyObject *resultobj; | |
5891 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5892 | wxTreeItemId *arg2 = 0 ; | |
5893 | PyObject * obj0 = 0 ; | |
5894 | PyObject * obj1 = 0 ; | |
5895 | char *kwnames[] = { | |
5896 | (char *) "self",(char *) "item", NULL | |
5897 | }; | |
5898 | ||
5899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5900 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5901 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5902 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
5903 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5904 | SWIG_fail; | |
44127b65 | 5905 | if (arg2 == NULL) { |
2f4c0a16 RD |
5906 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5907 | SWIG_fail; | |
44127b65 RD |
5908 | } |
5909 | { | |
5910 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5911 | (arg1)->Expand((wxTreeItemId const &)*arg2); | |
5912 | ||
5913 | wxPyEndAllowThreads(__tstate); | |
5914 | if (PyErr_Occurred()) SWIG_fail; | |
5915 | } | |
5916 | Py_INCREF(Py_None); resultobj = Py_None; | |
5917 | return resultobj; | |
5918 | fail: | |
5919 | return NULL; | |
5920 | } | |
5921 | ||
5922 | ||
5923 | static PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5924 | PyObject *resultobj; | |
5925 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5926 | wxTreeItemId *arg2 = 0 ; | |
5927 | PyObject * obj0 = 0 ; | |
5928 | PyObject * obj1 = 0 ; | |
5929 | char *kwnames[] = { | |
5930 | (char *) "self",(char *) "item", NULL | |
5931 | }; | |
5932 | ||
5933 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5934 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5935 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5936 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
5937 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5938 | SWIG_fail; | |
44127b65 | 5939 | if (arg2 == NULL) { |
2f4c0a16 RD |
5940 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5941 | SWIG_fail; | |
44127b65 RD |
5942 | } |
5943 | { | |
5944 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5945 | (arg1)->ExpandAll((wxTreeItemId const &)*arg2); | |
5946 | ||
5947 | wxPyEndAllowThreads(__tstate); | |
5948 | if (PyErr_Occurred()) SWIG_fail; | |
5949 | } | |
5950 | Py_INCREF(Py_None); resultobj = Py_None; | |
5951 | return resultobj; | |
5952 | fail: | |
5953 | return NULL; | |
5954 | } | |
5955 | ||
5956 | ||
5957 | static PyObject *_wrap_TreeListCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5958 | PyObject *resultobj; | |
5959 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5960 | wxTreeItemId *arg2 = 0 ; | |
5961 | PyObject * obj0 = 0 ; | |
5962 | PyObject * obj1 = 0 ; | |
5963 | char *kwnames[] = { | |
5964 | (char *) "self",(char *) "item", NULL | |
5965 | }; | |
5966 | ||
5967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
5968 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
5969 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
5970 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
5971 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
5972 | SWIG_fail; | |
44127b65 | 5973 | if (arg2 == NULL) { |
2f4c0a16 RD |
5974 | PyErr_SetString(PyExc_TypeError,"null reference"); |
5975 | SWIG_fail; | |
44127b65 RD |
5976 | } |
5977 | { | |
5978 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5979 | (arg1)->Collapse((wxTreeItemId const &)*arg2); | |
5980 | ||
5981 | wxPyEndAllowThreads(__tstate); | |
5982 | if (PyErr_Occurred()) SWIG_fail; | |
5983 | } | |
5984 | Py_INCREF(Py_None); resultobj = Py_None; | |
5985 | return resultobj; | |
5986 | fail: | |
5987 | return NULL; | |
5988 | } | |
5989 | ||
5990 | ||
5991 | static PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5992 | PyObject *resultobj; | |
5993 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5994 | wxTreeItemId *arg2 = 0 ; | |
5995 | PyObject * obj0 = 0 ; | |
5996 | PyObject * obj1 = 0 ; | |
5997 | char *kwnames[] = { | |
5998 | (char *) "self",(char *) "item", NULL | |
5999 | }; | |
6000 | ||
6001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6002 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
6003 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6004 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
6005 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
6006 | SWIG_fail; | |
44127b65 | 6007 | if (arg2 == NULL) { |
2f4c0a16 RD |
6008 | PyErr_SetString(PyExc_TypeError,"null reference"); |
6009 | SWIG_fail; | |
44127b65 RD |
6010 | } |
6011 | { | |
6012 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6013 | (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2); | |
6014 | ||
6015 | wxPyEndAllowThreads(__tstate); | |
6016 | if (PyErr_Occurred()) SWIG_fail; | |
6017 | } | |
6018 | Py_INCREF(Py_None); resultobj = Py_None; | |
6019 | return resultobj; | |
6020 | fail: | |
6021 | return NULL; | |
6022 | } | |
6023 | ||
6024 | ||
6025 | static PyObject *_wrap_TreeListCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6026 | PyObject *resultobj; | |
6027 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6028 | wxTreeItemId *arg2 = 0 ; | |
6029 | PyObject * obj0 = 0 ; | |
6030 | PyObject * obj1 = 0 ; | |
6031 | char *kwnames[] = { | |
6032 | (char *) "self",(char *) "item", NULL | |
6033 | }; | |
6034 | ||
6035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6036 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
6037 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6038 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
6039 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
6040 | SWIG_fail; | |
44127b65 | 6041 | if (arg2 == NULL) { |
2f4c0a16 RD |
6042 | PyErr_SetString(PyExc_TypeError,"null reference"); |
6043 | SWIG_fail; | |
44127b65 RD |
6044 | } |
6045 | { | |
6046 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6047 | (arg1)->Toggle((wxTreeItemId const &)*arg2); | |
6048 | ||
6049 | wxPyEndAllowThreads(__tstate); | |
6050 | if (PyErr_Occurred()) SWIG_fail; | |
6051 | } | |
6052 | Py_INCREF(Py_None); resultobj = Py_None; | |
6053 | return resultobj; | |
6054 | fail: | |
6055 | return NULL; | |
6056 | } | |
6057 | ||
6058 | ||
6059 | static PyObject *_wrap_TreeListCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6060 | PyObject *resultobj; | |
6061 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6062 | PyObject * obj0 = 0 ; | |
6063 | char *kwnames[] = { | |
6064 | (char *) "self", NULL | |
6065 | }; | |
6066 | ||
6067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_Unselect",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6068 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
6069 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
6070 | { |
6071 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6072 | (arg1)->Unselect(); | |
6073 | ||
6074 | wxPyEndAllowThreads(__tstate); | |
6075 | if (PyErr_Occurred()) SWIG_fail; | |
6076 | } | |
6077 | Py_INCREF(Py_None); resultobj = Py_None; | |
6078 | return resultobj; | |
6079 | fail: | |
6080 | return NULL; | |
6081 | } | |
6082 | ||
6083 | ||
6084 | static PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6085 | PyObject *resultobj; | |
6086 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6087 | PyObject * obj0 = 0 ; | |
6088 | char *kwnames[] = { | |
6089 | (char *) "self", NULL | |
6090 | }; | |
6091 | ||
6092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_UnselectAll",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6093 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
6094 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
6095 | { |
6096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6097 | (arg1)->UnselectAll(); | |
6098 | ||
6099 | wxPyEndAllowThreads(__tstate); | |
6100 | if (PyErr_Occurred()) SWIG_fail; | |
6101 | } | |
6102 | Py_INCREF(Py_None); resultobj = Py_None; | |
6103 | return resultobj; | |
6104 | fail: | |
6105 | return NULL; | |
6106 | } | |
6107 | ||
6108 | ||
6109 | static PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6110 | PyObject *resultobj; | |
6111 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6112 | wxTreeItemId *arg2 = 0 ; | |
6113 | bool arg3 = (bool) True ; | |
6114 | bool arg4 = (bool) False ; | |
6115 | PyObject * obj0 = 0 ; | |
6116 | PyObject * obj1 = 0 ; | |
6117 | PyObject * obj2 = 0 ; | |
6118 | PyObject * obj3 = 0 ; | |
6119 | char *kwnames[] = { | |
6120 | (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL | |
6121 | }; | |
6122 | ||
6123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
2f4c0a16 RD |
6124 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
6125 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6126 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
6127 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
6128 | SWIG_fail; | |
44127b65 | 6129 | if (arg2 == NULL) { |
2f4c0a16 RD |
6130 | PyErr_SetString(PyExc_TypeError,"null reference"); |
6131 | SWIG_fail; | |
44127b65 RD |
6132 | } |
6133 | if (obj2) { | |
2f4c0a16 RD |
6134 | arg3 = (bool) SWIG_AsBool(obj2); |
6135 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
6136 | } |
6137 | if (obj3) { | |
2f4c0a16 RD |
6138 | arg4 = (bool) SWIG_AsBool(obj3); |
6139 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
6140 | } |
6141 | { | |
6142 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6143 | (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3,arg4); | |
6144 | ||
6145 | wxPyEndAllowThreads(__tstate); | |
6146 | if (PyErr_Occurred()) SWIG_fail; | |
6147 | } | |
6148 | Py_INCREF(Py_None); resultobj = Py_None; | |
6149 | return resultobj; | |
6150 | fail: | |
6151 | return NULL; | |
6152 | } | |
6153 | ||
6154 | ||
629f3c1b RD |
6155 | static PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) { |
6156 | PyObject *resultobj; | |
6157 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6158 | bool arg2 = (bool) False ; | |
6159 | PyObject * obj0 = 0 ; | |
6160 | PyObject * obj1 = 0 ; | |
6161 | char *kwnames[] = { | |
6162 | (char *) "self",(char *) "extended_select", NULL | |
6163 | }; | |
6164 | ||
6165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SelectAll",kwnames,&obj0,&obj1)) goto fail; | |
6166 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, | |
6167 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6168 | if (obj1) { | |
6169 | arg2 = (bool) SWIG_AsBool(obj1); | |
6170 | if (PyErr_Occurred()) SWIG_fail; | |
6171 | } | |
6172 | { | |
6173 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6174 | (arg1)->SelectAll(arg2); | |
6175 | ||
6176 | wxPyEndAllowThreads(__tstate); | |
6177 | if (PyErr_Occurred()) SWIG_fail; | |
6178 | } | |
6179 | Py_INCREF(Py_None); resultobj = Py_None; | |
6180 | return resultobj; | |
6181 | fail: | |
6182 | return NULL; | |
6183 | } | |
6184 | ||
6185 | ||
44127b65 RD |
6186 | static PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
6187 | PyObject *resultobj; | |
6188 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6189 | wxTreeItemId *arg2 = 0 ; | |
6190 | PyObject * obj0 = 0 ; | |
6191 | PyObject * obj1 = 0 ; | |
6192 | char *kwnames[] = { | |
6193 | (char *) "self",(char *) "item", NULL | |
6194 | }; | |
6195 | ||
6196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6197 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
6198 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6199 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
6200 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
6201 | SWIG_fail; | |
44127b65 | 6202 | if (arg2 == NULL) { |
2f4c0a16 RD |
6203 | PyErr_SetString(PyExc_TypeError,"null reference"); |
6204 | SWIG_fail; | |
44127b65 RD |
6205 | } |
6206 | { | |
6207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6208 | (arg1)->EnsureVisible((wxTreeItemId const &)*arg2); | |
6209 | ||
6210 | wxPyEndAllowThreads(__tstate); | |
6211 | if (PyErr_Occurred()) SWIG_fail; | |
6212 | } | |
6213 | Py_INCREF(Py_None); resultobj = Py_None; | |
6214 | return resultobj; | |
6215 | fail: | |
6216 | return NULL; | |
6217 | } | |
6218 | ||
6219 | ||
6220 | static PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6221 | PyObject *resultobj; | |
6222 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6223 | wxTreeItemId *arg2 = 0 ; | |
6224 | PyObject * obj0 = 0 ; | |
6225 | PyObject * obj1 = 0 ; | |
6226 | char *kwnames[] = { | |
6227 | (char *) "self",(char *) "item", NULL | |
6228 | }; | |
6229 | ||
6230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6231 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
6232 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6233 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
6234 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
6235 | SWIG_fail; | |
44127b65 | 6236 | if (arg2 == NULL) { |
2f4c0a16 RD |
6237 | PyErr_SetString(PyExc_TypeError,"null reference"); |
6238 | SWIG_fail; | |
44127b65 RD |
6239 | } |
6240 | { | |
6241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6242 | (arg1)->ScrollTo((wxTreeItemId const &)*arg2); | |
6243 | ||
6244 | wxPyEndAllowThreads(__tstate); | |
6245 | if (PyErr_Occurred()) SWIG_fail; | |
6246 | } | |
6247 | Py_INCREF(Py_None); resultobj = Py_None; | |
6248 | return resultobj; | |
6249 | fail: | |
6250 | return NULL; | |
6251 | } | |
6252 | ||
6253 | ||
6254 | static PyObject *_wrap_TreeListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6255 | PyObject *resultobj; | |
6256 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6257 | wxPoint *arg2 = 0 ; | |
6258 | int *arg3 = 0 ; | |
6259 | int *arg4 = 0 ; | |
6260 | wxTreeItemId result; | |
6261 | wxPoint temp2 ; | |
6262 | int temp3 ; | |
6263 | int temp4 ; | |
6264 | PyObject * obj0 = 0 ; | |
6265 | PyObject * obj1 = 0 ; | |
6266 | char *kwnames[] = { | |
6267 | (char *) "self",(char *) "point", NULL | |
6268 | }; | |
6269 | ||
6270 | arg3 = &temp3; | |
6271 | arg4 = &temp4; | |
6272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6273 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
6274 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
6275 | { |
6276 | arg2 = &temp2; | |
6277 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
6278 | } | |
6279 | { | |
6280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6281 | result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4); | |
6282 | ||
6283 | wxPyEndAllowThreads(__tstate); | |
6284 | if (PyErr_Occurred()) SWIG_fail; | |
6285 | } | |
6286 | { | |
6287 | wxTreeItemId * resultptr; | |
6288 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
2f4c0a16 | 6289 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
6290 | } |
6291 | { | |
6292 | PyObject *o = PyInt_FromLong((long) (*arg3)); | |
6293 | resultobj = t_output_helper(resultobj,o); | |
6294 | } | |
6295 | { | |
6296 | PyObject *o = PyInt_FromLong((long) (*arg4)); | |
6297 | resultobj = t_output_helper(resultobj,o); | |
6298 | } | |
6299 | return resultobj; | |
6300 | fail: | |
6301 | return NULL; | |
6302 | } | |
6303 | ||
6304 | ||
6305 | static PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6306 | PyObject *resultobj; | |
6307 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6308 | wxTreeItemId *arg2 = 0 ; | |
6309 | bool arg3 = (bool) False ; | |
6310 | PyObject *result; | |
6311 | PyObject * obj0 = 0 ; | |
6312 | PyObject * obj1 = 0 ; | |
6313 | PyObject * obj2 = 0 ; | |
6314 | char *kwnames[] = { | |
6315 | (char *) "self",(char *) "item",(char *) "textOnly", NULL | |
6316 | }; | |
6317 | ||
6318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2f4c0a16 RD |
6319 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
6320 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6321 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
6322 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
6323 | SWIG_fail; | |
44127b65 | 6324 | if (arg2 == NULL) { |
2f4c0a16 RD |
6325 | PyErr_SetString(PyExc_TypeError,"null reference"); |
6326 | SWIG_fail; | |
44127b65 RD |
6327 | } |
6328 | if (obj2) { | |
2f4c0a16 RD |
6329 | arg3 = (bool) SWIG_AsBool(obj2); |
6330 | if (PyErr_Occurred()) SWIG_fail; | |
44127b65 RD |
6331 | } |
6332 | { | |
6333 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6334 | result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3); | |
6335 | ||
6336 | wxPyEndAllowThreads(__tstate); | |
6337 | if (PyErr_Occurred()) SWIG_fail; | |
6338 | } | |
6339 | resultobj = result; | |
6340 | return resultobj; | |
6341 | fail: | |
6342 | return NULL; | |
6343 | } | |
6344 | ||
6345 | ||
6346 | static PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6347 | PyObject *resultobj; | |
6348 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6349 | wxTreeItemId *arg2 = 0 ; | |
6350 | PyObject * obj0 = 0 ; | |
6351 | PyObject * obj1 = 0 ; | |
6352 | char *kwnames[] = { | |
6353 | (char *) "self",(char *) "item", NULL | |
6354 | }; | |
6355 | ||
6356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6357 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
6358 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6359 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
6360 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
6361 | SWIG_fail; | |
44127b65 | 6362 | if (arg2 == NULL) { |
2f4c0a16 RD |
6363 | PyErr_SetString(PyExc_TypeError,"null reference"); |
6364 | SWIG_fail; | |
44127b65 RD |
6365 | } |
6366 | { | |
6367 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6368 | (arg1)->EditLabel((wxTreeItemId const &)*arg2); | |
6369 | ||
6370 | wxPyEndAllowThreads(__tstate); | |
6371 | if (PyErr_Occurred()) SWIG_fail; | |
6372 | } | |
6373 | Py_INCREF(Py_None); resultobj = Py_None; | |
6374 | return resultobj; | |
6375 | fail: | |
6376 | return NULL; | |
6377 | } | |
6378 | ||
6379 | ||
6380 | static PyObject *_wrap_TreeListCtrl_Edit(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6381 | PyObject *resultobj; | |
6382 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6383 | wxTreeItemId *arg2 = 0 ; | |
6384 | PyObject * obj0 = 0 ; | |
6385 | PyObject * obj1 = 0 ; | |
6386 | char *kwnames[] = { | |
6387 | (char *) "self",(char *) "item", NULL | |
6388 | }; | |
6389 | ||
6390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Edit",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6391 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
6392 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6393 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
6394 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
6395 | SWIG_fail; | |
44127b65 | 6396 | if (arg2 == NULL) { |
2f4c0a16 RD |
6397 | PyErr_SetString(PyExc_TypeError,"null reference"); |
6398 | SWIG_fail; | |
44127b65 RD |
6399 | } |
6400 | { | |
6401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6402 | (arg1)->Edit((wxTreeItemId const &)*arg2); | |
6403 | ||
6404 | wxPyEndAllowThreads(__tstate); | |
6405 | if (PyErr_Occurred()) SWIG_fail; | |
6406 | } | |
6407 | Py_INCREF(Py_None); resultobj = Py_None; | |
6408 | return resultobj; | |
6409 | fail: | |
6410 | return NULL; | |
6411 | } | |
6412 | ||
6413 | ||
6414 | static PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6415 | PyObject *resultobj; | |
6416 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6417 | wxTreeItemId *arg2 = 0 ; | |
6418 | PyObject * obj0 = 0 ; | |
6419 | PyObject * obj1 = 0 ; | |
6420 | char *kwnames[] = { | |
6421 | (char *) "self",(char *) "item", NULL | |
6422 | }; | |
6423 | ||
6424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail; | |
2f4c0a16 RD |
6425 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
6426 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6427 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
6428 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
6429 | SWIG_fail; | |
44127b65 | 6430 | if (arg2 == NULL) { |
2f4c0a16 RD |
6431 | PyErr_SetString(PyExc_TypeError,"null reference"); |
6432 | SWIG_fail; | |
44127b65 RD |
6433 | } |
6434 | { | |
6435 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6436 | (arg1)->SortChildren((wxTreeItemId const &)*arg2); | |
6437 | ||
6438 | wxPyEndAllowThreads(__tstate); | |
6439 | if (PyErr_Occurred()) SWIG_fail; | |
6440 | } | |
6441 | Py_INCREF(Py_None); resultobj = Py_None; | |
6442 | return resultobj; | |
6443 | fail: | |
6444 | return NULL; | |
6445 | } | |
6446 | ||
6447 | ||
629f3c1b | 6448 | static PyObject *_wrap_TreeListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
44127b65 RD |
6449 | PyObject *resultobj; |
6450 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6451 | wxTreeItemId *arg2 = 0 ; | |
629f3c1b RD |
6452 | wxString *arg3 = 0 ; |
6453 | int arg4 = (int) 0 ; | |
6454 | wxTreeItemId result; | |
6455 | bool temp3 = False ; | |
44127b65 RD |
6456 | PyObject * obj0 = 0 ; |
6457 | PyObject * obj1 = 0 ; | |
629f3c1b RD |
6458 | PyObject * obj2 = 0 ; |
6459 | PyObject * obj3 = 0 ; | |
44127b65 | 6460 | char *kwnames[] = { |
629f3c1b | 6461 | (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL |
44127b65 RD |
6462 | }; |
6463 | ||
629f3c1b | 6464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
2f4c0a16 RD |
6465 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
6466 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
6467 | if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId, | |
6468 | SWIG_POINTER_EXCEPTION | 0)) == -1) | |
6469 | SWIG_fail; | |
44127b65 | 6470 | if (arg2 == NULL) { |
2f4c0a16 RD |
6471 | PyErr_SetString(PyExc_TypeError,"null reference"); |
6472 | SWIG_fail; | |
44127b65 RD |
6473 | } |
6474 | { | |
629f3c1b RD |
6475 | arg3 = wxString_in_helper(obj2); |
6476 | if (arg3 == NULL) SWIG_fail; | |
6477 | temp3 = True; | |
44127b65 | 6478 | } |
629f3c1b RD |
6479 | if (obj3) { |
6480 | arg4 = (int) SWIG_AsInt(obj3); | |
6481 | if (PyErr_Occurred()) SWIG_fail; | |
8edf1c75 | 6482 | } |
44127b65 RD |
6483 | { |
6484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
629f3c1b | 6485 | result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4); |
44127b65 RD |
6486 | |
6487 | wxPyEndAllowThreads(__tstate); | |
6488 | if (PyErr_Occurred()) SWIG_fail; | |
6489 | } | |
629f3c1b RD |
6490 | { |
6491 | wxTreeItemId * resultptr; | |
6492 | resultptr = new wxTreeItemId((wxTreeItemId &) result); | |
6493 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); | |
6494 | } | |
6495 | { | |
6496 | if (temp3) | |
6497 | delete arg3; | |
6498 | } | |
44127b65 RD |
6499 | return resultobj; |
6500 | fail: | |
629f3c1b RD |
6501 | { |
6502 | if (temp3) | |
6503 | delete arg3; | |
6504 | } | |
44127b65 RD |
6505 | return NULL; |
6506 | } | |
6507 | ||
6508 | ||
6509 | static PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6510 | PyObject *resultobj; | |
6511 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6512 | wxWindow *result; | |
6513 | PyObject * obj0 = 0 ; | |
6514 | char *kwnames[] = { | |
6515 | (char *) "self", NULL | |
6516 | }; | |
6517 | ||
6518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetHeaderWindow",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6519 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
6520 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
6521 | { |
6522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6523 | result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow(); | |
6524 | ||
6525 | wxPyEndAllowThreads(__tstate); | |
6526 | if (PyErr_Occurred()) SWIG_fail; | |
6527 | } | |
6528 | { | |
412d302d | 6529 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
6530 | } |
6531 | return resultobj; | |
6532 | fail: | |
6533 | return NULL; | |
6534 | } | |
6535 | ||
6536 | ||
6537 | static PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6538 | PyObject *resultobj; | |
6539 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
412d302d | 6540 | wxScrolledWindow *result; |
44127b65 RD |
6541 | PyObject * obj0 = 0 ; |
6542 | char *kwnames[] = { | |
6543 | (char *) "self", NULL | |
6544 | }; | |
6545 | ||
6546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainWindow",kwnames,&obj0)) goto fail; | |
2f4c0a16 RD |
6547 | if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeListCtrl, |
6548 | SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail; | |
44127b65 RD |
6549 | { |
6550 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
412d302d | 6551 | result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow(); |
44127b65 RD |
6552 | |
6553 | wxPyEndAllowThreads(__tstate); | |
6554 | if (PyErr_Occurred()) SWIG_fail; | |
6555 | } | |
6556 | { | |
412d302d | 6557 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
6558 | } |
6559 | return resultobj; | |
6560 | fail: | |
6561 | return NULL; | |
6562 | } | |
6563 | ||
6564 | ||
6565 | static PyObject * TreeListCtrl_swigregister(PyObject *self, PyObject *args) { | |
6566 | PyObject *obj; | |
6567 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
6568 | SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeListCtrl, obj); | |
6569 | Py_INCREF(obj); | |
6570 | return Py_BuildValue((char *)""); | |
6571 | } | |
6572 | static PyMethodDef SwigMethods[] = { | |
6573 | { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS }, | |
6574 | { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS }, | |
6575 | { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS }, | |
6576 | { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS }, | |
6577 | { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS }, | |
6578 | { (char *)"new_PreDynamicSashWindow", (PyCFunction) _wrap_new_PreDynamicSashWindow, METH_VARARGS | METH_KEYWORDS }, | |
6579 | { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS }, | |
6580 | { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
6581 | { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS }, | |
6582 | { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS }, | |
6583 | { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS }, | |
6584 | { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS }, | |
6585 | { (char *)"EditableListBox_GetStrings", (PyCFunction) _wrap_EditableListBox_GetStrings, METH_VARARGS | METH_KEYWORDS }, | |
6586 | { (char *)"EditableListBox_GetListCtrl", (PyCFunction) _wrap_EditableListBox_GetListCtrl, METH_VARARGS | METH_KEYWORDS }, | |
6587 | { (char *)"EditableListBox_GetDelButton", (PyCFunction) _wrap_EditableListBox_GetDelButton, METH_VARARGS | METH_KEYWORDS }, | |
6588 | { (char *)"EditableListBox_GetNewButton", (PyCFunction) _wrap_EditableListBox_GetNewButton, METH_VARARGS | METH_KEYWORDS }, | |
6589 | { (char *)"EditableListBox_GetUpButton", (PyCFunction) _wrap_EditableListBox_GetUpButton, METH_VARARGS | METH_KEYWORDS }, | |
6590 | { (char *)"EditableListBox_GetDownButton", (PyCFunction) _wrap_EditableListBox_GetDownButton, METH_VARARGS | METH_KEYWORDS }, | |
6591 | { (char *)"EditableListBox_GetEditButton", (PyCFunction) _wrap_EditableListBox_GetEditButton, METH_VARARGS | METH_KEYWORDS }, | |
6592 | { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS }, | |
6593 | { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS }, | |
6594 | { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_VARARGS | METH_KEYWORDS }, | |
6595 | { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_VARARGS | METH_KEYWORDS }, | |
6596 | { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
6597 | { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS }, | |
6598 | { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS }, | |
6599 | { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_VARARGS | METH_KEYWORDS }, | |
6600 | { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS }, | |
6601 | { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS }, | |
6602 | { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
6603 | { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS }, | |
6604 | { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS }, | |
6605 | { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS }, | |
6606 | { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS }, | |
6607 | { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS }, | |
6608 | { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS }, | |
6609 | { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS }, | |
6610 | { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS }, | |
6611 | { (char *)"new_PreLEDNumberCtrl", (PyCFunction) _wrap_new_PreLEDNumberCtrl, METH_VARARGS | METH_KEYWORDS }, | |
6612 | { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS }, | |
6613 | { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_GetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
6614 | { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_GetDrawFaded, METH_VARARGS | METH_KEYWORDS }, | |
6615 | { (char *)"LEDNumberCtrl_GetValue", (PyCFunction) _wrap_LEDNumberCtrl_GetValue, METH_VARARGS | METH_KEYWORDS }, | |
6616 | { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS }, | |
6617 | { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS }, | |
6618 | { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS }, | |
6619 | { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS }, | |
6620 | { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS }, | |
629f3c1b | 6621 | { (char *)"TreeListColumnInfo_GetShown", (PyCFunction) _wrap_TreeListColumnInfo_GetShown, METH_VARARGS | METH_KEYWORDS }, |
44127b65 RD |
6622 | { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_GetAlignment, METH_VARARGS | METH_KEYWORDS }, |
6623 | { (char *)"TreeListColumnInfo_GetText", (PyCFunction) _wrap_TreeListColumnInfo_GetText, METH_VARARGS | METH_KEYWORDS }, | |
6624 | { (char *)"TreeListColumnInfo_GetImage", (PyCFunction) _wrap_TreeListColumnInfo_GetImage, METH_VARARGS | METH_KEYWORDS }, | |
6625 | { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_GetSelectedImage, METH_VARARGS | METH_KEYWORDS }, | |
6626 | { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction) _wrap_TreeListColumnInfo_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
629f3c1b | 6627 | { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS }, |
44127b65 RD |
6628 | { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS }, |
6629 | { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS }, | |
6630 | { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS }, | |
6631 | { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS }, | |
6632 | { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS }, | |
6633 | { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS }, | |
6634 | { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS }, | |
6635 | { (char *)"new_PreTreeListCtrl", (PyCFunction) _wrap_new_PreTreeListCtrl, METH_VARARGS | METH_KEYWORDS }, | |
6636 | { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS }, | |
6637 | { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, | |
6638 | { (char *)"TreeListCtrl_GetCount", (PyCFunction) _wrap_TreeListCtrl_GetCount, METH_VARARGS | METH_KEYWORDS }, | |
6639 | { (char *)"TreeListCtrl_GetIndent", (PyCFunction) _wrap_TreeListCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
6640 | { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
44127b65 RD |
6641 | { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_GetLineSpacing, METH_VARARGS | METH_KEYWORDS }, |
6642 | { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS }, | |
6643 | { (char *)"TreeListCtrl_GetImageList", (PyCFunction) _wrap_TreeListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS }, | |
6644 | { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction) _wrap_TreeListCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS }, | |
6645 | { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_GetButtonsImageList, METH_VARARGS | METH_KEYWORDS }, | |
6646 | { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS }, | |
6647 | { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS }, | |
6648 | { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS }, | |
6649 | { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS }, | |
6650 | { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS }, | |
6651 | { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS }, | |
6652 | { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS }, | |
6653 | { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS }, | |
6654 | { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS }, | |
6655 | { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS }, | |
6656 | { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS }, | |
6657 | { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction) _wrap_TreeListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS }, | |
6658 | { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS }, | |
6659 | { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS }, | |
6660 | { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS }, | |
6661 | { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction) _wrap_TreeListCtrl_GetMainColumn, METH_VARARGS | METH_KEYWORDS }, | |
6662 | { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS }, | |
6663 | { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS }, | |
6664 | { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS }, | |
6665 | { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
6666 | { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS }, | |
6667 | { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS }, | |
6668 | { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS }, | |
6669 | { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS }, | |
629f3c1b RD |
6670 | { (char *)"TreeListCtrl_ShowColumn", (PyCFunction) _wrap_TreeListCtrl_ShowColumn, METH_VARARGS | METH_KEYWORDS }, |
6671 | { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS }, | |
44127b65 RD |
6672 | { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS }, |
6673 | { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS }, | |
6674 | { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS }, | |
6675 | { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS }, | |
6676 | { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS }, | |
6677 | { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS }, | |
6678 | { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS }, | |
6679 | { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS }, | |
6680 | { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS }, | |
6681 | { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS }, | |
6682 | { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS }, | |
6683 | { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
6684 | { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS }, | |
6685 | { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS }, | |
6686 | { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS }, | |
6687 | { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
6688 | { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS }, | |
6689 | { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
6690 | { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS }, | |
6691 | { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS }, | |
6692 | { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS }, | |
6693 | { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS }, | |
6694 | { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS }, | |
6695 | { (char *)"TreeListCtrl_GetRootItem", (PyCFunction) _wrap_TreeListCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS }, | |
6696 | { (char *)"TreeListCtrl_GetSelection", (PyCFunction) _wrap_TreeListCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, | |
6697 | { (char *)"TreeListCtrl_GetSelections", (PyCFunction) _wrap_TreeListCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS }, | |
6698 | { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS }, | |
6699 | { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
6700 | { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS }, | |
6701 | { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS }, | |
6702 | { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS }, | |
6703 | { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS }, | |
6704 | { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS }, | |
6705 | { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS }, | |
6706 | { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS }, | |
6707 | { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS }, | |
6708 | { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS }, | |
6709 | { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS }, | |
6710 | { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS }, | |
6711 | { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS }, | |
6712 | { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS }, | |
6713 | { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS }, | |
6714 | { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS }, | |
6715 | { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS }, | |
6716 | { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS }, | |
6717 | { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS }, | |
6718 | { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS }, | |
6719 | { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS }, | |
6720 | { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS }, | |
6721 | { (char *)"TreeListCtrl_Unselect", (PyCFunction) _wrap_TreeListCtrl_Unselect, METH_VARARGS | METH_KEYWORDS }, | |
6722 | { (char *)"TreeListCtrl_UnselectAll", (PyCFunction) _wrap_TreeListCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS }, | |
6723 | { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS }, | |
629f3c1b | 6724 | { (char *)"TreeListCtrl_SelectAll", (PyCFunction) _wrap_TreeListCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS }, |
44127b65 RD |
6725 | { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, |
6726 | { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS }, | |
6727 | { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
6728 | { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS }, | |
6729 | { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS }, | |
6730 | { (char *)"TreeListCtrl_Edit", (PyCFunction) _wrap_TreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS }, | |
6731 | { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS }, | |
629f3c1b | 6732 | { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS }, |
44127b65 RD |
6733 | { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction) _wrap_TreeListCtrl_GetHeaderWindow, METH_VARARGS | METH_KEYWORDS }, |
6734 | { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction) _wrap_TreeListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS }, | |
6735 | { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS }, | |
6736 | { NULL, NULL } | |
6737 | }; | |
6738 | ||
6739 | ||
6740 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
6741 | ||
6742 | static void *_p_wxPyValidatorTo_p_wxValidator(void *x) { | |
6743 | return (void *)((wxValidator *) ((wxPyValidator *) x)); | |
6744 | } | |
6745 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
6746 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
6747 | } | |
6748 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
6749 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
6750 | } | |
a2482628 RD |
6751 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
6752 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
6753 | } | |
44127b65 RD |
6754 | static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) { |
6755 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
6756 | } | |
6757 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
6758 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
6759 | } | |
6760 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
6761 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
6762 | } | |
6763 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
6764 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
6765 | } | |
6766 | static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) { | |
6767 | return (void *)((wxPanel *) ((wxEditableListBox *) x)); | |
6768 | } | |
6769 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
6770 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
6771 | } | |
6772 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
6773 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
6774 | } | |
6775 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
6776 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
6777 | } | |
6778 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
6779 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
6780 | } | |
6781 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
6782 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
6783 | } | |
6784 | static void *_p_wxCheckBoxTo_p_wxWindow(void *x) { | |
6785 | return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x)); | |
6786 | } | |
6787 | static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) { | |
6788 | return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x)); | |
6789 | } | |
6790 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) { | |
6791 | return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
6792 | } | |
6793 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
6794 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
6795 | } | |
6796 | static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) { | |
6797 | return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x)); | |
6798 | } | |
6799 | static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) { | |
6800 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
6801 | } | |
6802 | static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) { | |
6803 | return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x)); | |
6804 | } | |
6805 | static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) { | |
6806 | return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x)); | |
6807 | } | |
6808 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
6809 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
6810 | } | |
6811 | static void *_p_wxStaticLineTo_p_wxWindow(void *x) { | |
6812 | return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x)); | |
6813 | } | |
44127b65 RD |
6814 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
6815 | return (void *)((wxWindow *) ((wxControl *) x)); | |
6816 | } | |
a2482628 RD |
6817 | static void *_p_wxPyControlTo_p_wxWindow(void *x) { |
6818 | return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x)); | |
6819 | } | |
44127b65 RD |
6820 | static void *_p_wxGaugeTo_p_wxWindow(void *x) { |
6821 | return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x)); | |
6822 | } | |
6823 | static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) { | |
6824 | return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x)); | |
6825 | } | |
6826 | static void *_p_wxToggleButtonTo_p_wxWindow(void *x) { | |
6827 | return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x)); | |
6828 | } | |
6829 | static void *_p_wxRadioButtonTo_p_wxWindow(void *x) { | |
6830 | return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x)); | |
6831 | } | |
6832 | static void *_p_wxChoiceTo_p_wxWindow(void *x) { | |
6833 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x)); | |
6834 | } | |
6835 | static void *_p_wxListViewTo_p_wxWindow(void *x) { | |
6836 | return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x)); | |
6837 | } | |
6838 | static void *_p_wxTextCtrlTo_p_wxWindow(void *x) { | |
6839 | return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x)); | |
6840 | } | |
6841 | static void *_p_wxNotebookTo_p_wxWindow(void *x) { | |
6842 | return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x)); | |
6843 | } | |
6844 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
6845 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
6846 | } | |
6847 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
6848 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
6849 | } | |
6850 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
6851 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
6852 | } | |
6853 | static void *_p_wxListbookTo_p_wxWindow(void *x) { | |
6854 | return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x)); | |
6855 | } | |
6856 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
6857 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
6858 | } | |
6859 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
6860 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
6861 | } | |
6862 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
6863 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
6864 | } | |
6865 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
6866 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
6867 | } | |
6868 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
6869 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
6870 | } | |
6871 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
6872 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
6873 | } | |
6874 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
6875 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
6876 | } | |
6877 | static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) { | |
6878 | return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x)); | |
6879 | } | |
6880 | static void *_p_wxSliderTo_p_wxWindow(void *x) { | |
6881 | return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x)); | |
6882 | } | |
6883 | static void *_p_wxStaticBoxTo_p_wxWindow(void *x) { | |
6884 | return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x)); | |
6885 | } | |
6886 | static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) { | |
6887 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
6888 | } | |
6889 | static void *_p_wxListBoxTo_p_wxWindow(void *x) { | |
6890 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x)); | |
6891 | } | |
6892 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
6893 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
6894 | } | |
6895 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
6896 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
6897 | } | |
6898 | static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) { | |
6899 | return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x)); | |
6900 | } | |
6901 | static void *_p_wxBookCtrlTo_p_wxWindow(void *x) { | |
6902 | return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x)); | |
6903 | } | |
6904 | static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) { | |
6905 | return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x)); | |
6906 | } | |
6907 | static void *_p_wxSpinButtonTo_p_wxWindow(void *x) { | |
6908 | return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x)); | |
6909 | } | |
6910 | static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) { | |
6911 | return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x)); | |
6912 | } | |
6913 | static void *_p_wxButtonTo_p_wxWindow(void *x) { | |
6914 | return (void *)((wxWindow *) (wxControl *) ((wxButton *) x)); | |
6915 | } | |
6916 | static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) { | |
6917 | return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
6918 | } | |
6919 | static void *_p_wxRadioBoxTo_p_wxWindow(void *x) { | |
6920 | return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x)); | |
6921 | } | |
6922 | static void *_p_wxScrollBarTo_p_wxWindow(void *x) { | |
6923 | return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x)); | |
6924 | } | |
6925 | static void *_p_wxComboBoxTo_p_wxWindow(void *x) { | |
6926 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x)); | |
6927 | } | |
6928 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
6929 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
6930 | } | |
6931 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
6932 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
6933 | } | |
6934 | static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) { | |
6935 | return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x)); | |
6936 | } | |
6937 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
6938 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
6939 | } | |
6940 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
6941 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
6942 | } | |
a2482628 RD |
6943 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
6944 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
6945 | } | |
44127b65 RD |
6946 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { |
6947 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
6948 | } | |
6949 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
6950 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
6951 | } | |
6952 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
6953 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
6954 | } | |
6955 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
6956 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
6957 | } | |
6958 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
6959 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
6960 | } | |
6961 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
6962 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
6963 | } | |
6964 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
6965 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
6966 | } | |
6967 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
6968 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
6969 | } | |
6970 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
6971 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
6972 | } | |
6973 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
6974 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
6975 | } | |
6976 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
6977 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
6978 | } | |
6979 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
6980 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
6981 | } | |
6982 | static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) { | |
6983 | return (void *)((wxWindow *) ((wxDynamicSashWindow *) x)); | |
6984 | } | |
6985 | static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) { | |
6986 | return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x)); | |
6987 | } | |
6988 | static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) { | |
6989 | return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
6990 | } | |
6991 | static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) { | |
6992 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
6993 | } | |
6994 | static void *_p_wxPrintDialogTo_p_wxWindow(void *x) { | |
6995 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
6996 | } | |
6997 | static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) { | |
6998 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
6999 | } | |
7000 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
7001 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
7002 | } | |
7003 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
7004 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
7005 | } | |
7006 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
7007 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
7008 | } | |
7009 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
7010 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
7011 | } | |
7012 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
7013 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
7014 | } | |
7015 | static void *_p_wxStaticTextTo_p_wxWindow(void *x) { | |
7016 | return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x)); | |
7017 | } | |
7018 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
7019 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
7020 | } | |
7021 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
7022 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
7023 | } | |
7024 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
7025 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
7026 | } | |
7027 | static void *_p_wxToolBarTo_p_wxWindow(void *x) { | |
7028 | return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x)); | |
7029 | } | |
7030 | static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) { | |
7031 | return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
7032 | } | |
a2482628 RD |
7033 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
7034 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
7035 | } | |
44127b65 RD |
7036 | static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) { |
7037 | return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
7038 | } | |
7039 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
7040 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
7041 | } | |
7042 | static void *_p_wxBookCtrlTo_p_wxControl(void *x) { | |
7043 | return (void *)((wxControl *) ((wxBookCtrl *) x)); | |
7044 | } | |
7045 | static void *_p_wxToolBarTo_p_wxControl(void *x) { | |
7046 | return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x)); | |
7047 | } | |
7048 | static void *_p_wxToggleButtonTo_p_wxControl(void *x) { | |
7049 | return (void *)((wxControl *) ((wxToggleButton *) x)); | |
7050 | } | |
7051 | static void *_p_wxRadioButtonTo_p_wxControl(void *x) { | |
7052 | return (void *)((wxControl *) ((wxRadioButton *) x)); | |
7053 | } | |
7054 | static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) { | |
7055 | return (void *)((wxControl *) ((wxLEDNumberCtrl *) x)); | |
7056 | } | |
7057 | static void *_p_wxPyControlTo_p_wxControl(void *x) { | |
7058 | return (void *)((wxControl *) ((wxPyControl *) x)); | |
7059 | } | |
7060 | static void *_p_wxToolBarBaseTo_p_wxControl(void *x) { | |
7061 | return (void *)((wxControl *) ((wxToolBarBase *) x)); | |
7062 | } | |
7063 | static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) { | |
7064 | return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
7065 | } | |
7066 | static void *_p_wxPyListCtrlTo_p_wxControl(void *x) { | |
7067 | return (void *)((wxControl *) ((wxPyListCtrl *) x)); | |
7068 | } | |
7069 | static void *_p_wxComboBoxTo_p_wxControl(void *x) { | |
7070 | return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x)); | |
7071 | } | |
7072 | static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) { | |
7073 | return (void *)((wxControl *) ((wxPyTreeListCtrl *) x)); | |
7074 | } | |
7075 | static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) { | |
7076 | return (void *)((wxControl *) ((wxGenericDirCtrl *) x)); | |
7077 | } | |
7078 | static void *_p_wxScrollBarTo_p_wxControl(void *x) { | |
7079 | return (void *)((wxControl *) ((wxScrollBar *) x)); | |
7080 | } | |
7081 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
7082 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
7083 | } | |
7084 | static void *_p_wxGaugeTo_p_wxControl(void *x) { | |
7085 | return (void *)((wxControl *) ((wxGauge *) x)); | |
7086 | } | |
7087 | static void *_p_wxStaticLineTo_p_wxControl(void *x) { | |
7088 | return (void *)((wxControl *) ((wxStaticLine *) x)); | |
7089 | } | |
7090 | static void *_p_wxListbookTo_p_wxControl(void *x) { | |
7091 | return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x)); | |
7092 | } | |
7093 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) { | |
7094 | return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
7095 | } | |
7096 | static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) { | |
7097 | return (void *)((wxControl *) ((wxPyTreeCtrl *) x)); | |
7098 | } | |
7099 | static void *_p_wxCheckBoxTo_p_wxControl(void *x) { | |
7100 | return (void *)((wxControl *) ((wxCheckBox *) x)); | |
7101 | } | |
7102 | static void *_p_wxRadioBoxTo_p_wxControl(void *x) { | |
7103 | return (void *)((wxControl *) ((wxRadioBox *) x)); | |
7104 | } | |
7105 | static void *_p_wxChoiceTo_p_wxControl(void *x) { | |
7106 | return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x)); | |
7107 | } | |
7108 | static void *_p_wxListBoxTo_p_wxControl(void *x) { | |
7109 | return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x)); | |
7110 | } | |
7111 | static void *_p_wxCheckListBoxTo_p_wxControl(void *x) { | |
7112 | return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
7113 | } | |
7114 | static void *_p_wxListViewTo_p_wxControl(void *x) { | |
7115 | return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x)); | |
7116 | } | |
7117 | static void *_p_wxNotebookTo_p_wxControl(void *x) { | |
7118 | return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x)); | |
7119 | } | |
7120 | static void *_p_wxStaticBitmapTo_p_wxControl(void *x) { | |
7121 | return (void *)((wxControl *) ((wxStaticBitmap *) x)); | |
7122 | } | |
7123 | static void *_p_wxSpinCtrlTo_p_wxControl(void *x) { | |
7124 | return (void *)((wxControl *) ((wxSpinCtrl *) x)); | |
7125 | } | |
7126 | static void *_p_wxStaticTextTo_p_wxControl(void *x) { | |
7127 | return (void *)((wxControl *) ((wxStaticText *) x)); | |
7128 | } | |
7129 | static void *_p_wxStaticBoxTo_p_wxControl(void *x) { | |
7130 | return (void *)((wxControl *) ((wxStaticBox *) x)); | |
7131 | } | |
7132 | static void *_p_wxSliderTo_p_wxControl(void *x) { | |
7133 | return (void *)((wxControl *) ((wxSlider *) x)); | |
7134 | } | |
7135 | static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) { | |
7136 | return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
7137 | } | |
7138 | static void *_p_wxSpinButtonTo_p_wxControl(void *x) { | |
7139 | return (void *)((wxControl *) ((wxSpinButton *) x)); | |
7140 | } | |
7141 | static void *_p_wxButtonTo_p_wxControl(void *x) { | |
7142 | return (void *)((wxControl *) ((wxButton *) x)); | |
7143 | } | |
7144 | static void *_p_wxBitmapButtonTo_p_wxControl(void *x) { | |
7145 | return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x)); | |
7146 | } | |
7147 | static void *_p_wxTextCtrlTo_p_wxControl(void *x) { | |
7148 | return (void *)((wxControl *) ((wxTextCtrl *) x)); | |
7149 | } | |
7150 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
7151 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
7152 | } | |
7153 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
7154 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
7155 | } | |
7156 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
7157 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
7158 | } | |
7159 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
7160 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
7161 | } | |
7162 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
7163 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
7164 | } | |
7165 | static void *_p_wxTreeEventTo_p_wxEvent(void *x) { | |
7166 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x)); | |
7167 | } | |
7168 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
7169 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
7170 | } | |
7171 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
7172 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
7173 | } | |
7174 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
7175 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
7176 | } | |
7177 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
7178 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
7179 | } | |
7180 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
7181 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
7182 | } | |
7183 | static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) { | |
7184 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x)); | |
7185 | } | |
7186 | static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) { | |
7187 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x)); | |
7188 | } | |
7189 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
7190 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
7191 | } | |
7192 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
7193 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
7194 | } | |
7195 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
7196 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
7197 | } | |
7198 | static void *_p_wxListEventTo_p_wxEvent(void *x) { | |
7199 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x)); | |
7200 | } | |
7201 | static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) { | |
7202 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x)); | |
7203 | } | |
7204 | static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) { | |
7205 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x)); | |
7206 | } | |
7207 | static void *_p_wxNotebookEventTo_p_wxEvent(void *x) { | |
7208 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x)); | |
7209 | } | |
7210 | static void *_p_wxListbookEventTo_p_wxEvent(void *x) { | |
7211 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x)); | |
7212 | } | |
7213 | static void *_p_wxHelpEventTo_p_wxEvent(void *x) { | |
7214 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x)); | |
7215 | } | |
7216 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
7217 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
7218 | } | |
7219 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
7220 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
7221 | } | |
7222 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
7223 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
7224 | } | |
7225 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
7226 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
7227 | } | |
7228 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
7229 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
7230 | } | |
7231 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
7232 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
7233 | } | |
7234 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
7235 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
7236 | } | |
7237 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
7238 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
7239 | } | |
7240 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
7241 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
7242 | } | |
7243 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
7244 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
7245 | } | |
7246 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
7247 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
7248 | } | |
7249 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
7250 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
7251 | } | |
7252 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
7253 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
7254 | } | |
7255 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
7256 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
7257 | } | |
7258 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
7259 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
7260 | } | |
7261 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
7262 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
7263 | } | |
7264 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
7265 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
7266 | } | |
7267 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
7268 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
7269 | } | |
7270 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
7271 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
7272 | } | |
7273 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
7274 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
7275 | } | |
7276 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
7277 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
7278 | } | |
7279 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
7280 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
7281 | } | |
7282 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
7283 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
7284 | } | |
7285 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
7286 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
7287 | } | |
7288 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
7289 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
7290 | } | |
7291 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
7292 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
7293 | } | |
7294 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
7295 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
7296 | } | |
7297 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
7298 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
7299 | } | |
83448d71 RD |
7300 | static void *_p_wxSpinEventTo_p_wxEvent(void *x) { |
7301 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x)); | |
7302 | } | |
44127b65 RD |
7303 | static void *_p_wxScrollBarTo_p_wxObject(void *x) { |
7304 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x)); | |
7305 | } | |
7306 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
7307 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
7308 | } | |
7309 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
7310 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
7311 | } | |
7312 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
7313 | return (void *)((wxObject *) ((wxEvent *) x)); | |
7314 | } | |
7315 | static void *_p_wxBookCtrlTo_p_wxObject(void *x) { | |
7316 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x)); | |
7317 | } | |
7318 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
7319 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
7320 | } | |
7321 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
7322 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
7323 | } | |
7324 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
7325 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
7326 | } | |
7327 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
7328 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
7329 | } | |
7330 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
7331 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
7332 | } | |
7333 | static void *_p_wxToolBarBaseTo_p_wxObject(void *x) { | |
7334 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x)); | |
7335 | } | |
7336 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
7337 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
7338 | } | |
7339 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
7340 | return (void *)((wxObject *) ((wxImage *) x)); | |
7341 | } | |
7342 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
7343 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
7344 | } | |
7345 | static void *_p_wxStaticBitmapTo_p_wxObject(void *x) { | |
7346 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x)); | |
7347 | } | |
7348 | static void *_p_wxGenericDragImageTo_p_wxObject(void *x) { | |
7349 | return (void *)((wxObject *) ((wxGenericDragImage *) x)); | |
7350 | } | |
7351 | static void *_p_wxComboBoxTo_p_wxObject(void *x) { | |
7352 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x)); | |
7353 | } | |
7354 | static void *_p_wxTaskBarIconTo_p_wxObject(void *x) { | |
7355 | return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
7356 | } | |
7357 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
7358 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
7359 | } | |
7360 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
7361 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
7362 | } | |
7363 | static void *_p_wxNotebookTo_p_wxObject(void *x) { | |
7364 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x)); | |
7365 | } | |
7366 | static void *_p_wxListItemTo_p_wxObject(void *x) { | |
7367 | return (void *)((wxObject *) ((wxListItem *) x)); | |
7368 | } | |
7369 | static void *_p_wxNotebookSizerTo_p_wxObject(void *x) { | |
7370 | return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x)); | |
7371 | } | |
7372 | static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) { | |
7373 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x)); | |
7374 | } | |
7375 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) { | |
7376 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
7377 | } | |
7378 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
7379 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
7380 | } | |
7381 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
7382 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
7383 | } | |
7384 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
7385 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
7386 | } | |
7387 | static void *_p_wxStaticLineTo_p_wxObject(void *x) { | |
7388 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x)); | |
7389 | } | |
7390 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
7391 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
7392 | } | |
7393 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
7394 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
7395 | } | |
7396 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
7397 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
7398 | } | |
7399 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
7400 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
7401 | } | |
7402 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
7403 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
7404 | } | |
7405 | static void *_p_wxTreeEventTo_p_wxObject(void *x) { | |
7406 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x)); | |
7407 | } | |
7408 | static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) { | |
7409 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x)); | |
7410 | } | |
7411 | static void *_p_wxTextUrlEventTo_p_wxObject(void *x) { | |
7412 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x)); | |
7413 | } | |
7414 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
7415 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
7416 | } | |
7417 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
7418 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
7419 | } | |
7420 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
7421 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
7422 | } | |
7423 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
7424 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
7425 | } | |
7426 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
7427 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
7428 | } | |
7429 | static void *_p_wxRadioBoxTo_p_wxObject(void *x) { | |
7430 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x)); | |
7431 | } | |
7432 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
7433 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
7434 | } | |
7435 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
7436 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
7437 | } | |
7438 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
7439 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
7440 | } | |
7441 | static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) { | |
7442 | return (void *)((wxObject *) ((wxTreeListColumnInfo *) x)); | |
7443 | } | |
7444 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
7445 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
7446 | } | |
7447 | static void *_p_wxPyControlTo_p_wxObject(void *x) { | |
7448 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x)); | |
7449 | } | |
7450 | static void *_p_wxContextHelpTo_p_wxObject(void *x) { | |
7451 | return (void *)((wxObject *) ((wxContextHelp *) x)); | |
7452 | } | |
7453 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
7454 | return (void *)((wxObject *) ((wxColourData *) x)); | |
7455 | } | |
7456 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
7457 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
7458 | } | |
7459 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
7460 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
7461 | } | |
7462 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
7463 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
7464 | } | |
7465 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
7466 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
7467 | } | |
7468 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
7469 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
7470 | } | |
7471 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
7472 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
7473 | } | |
7474 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
7475 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
7476 | } | |
7477 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
7478 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
7479 | } | |
7480 | static void *_p_wxStaticTextTo_p_wxObject(void *x) { | |
7481 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x)); | |
7482 | } | |
7483 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
7484 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
7485 | } | |
7486 | static void *_p_wxListEventTo_p_wxObject(void *x) { | |
7487 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x)); | |
7488 | } | |
7489 | static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) { | |
7490 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x)); | |
7491 | } | |
7492 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
7493 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
7494 | } | |
7495 | static void *_p_wxGaugeTo_p_wxObject(void *x) { | |
7496 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x)); | |
7497 | } | |
7498 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
7499 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
7500 | } | |
7501 | static void *_p_wxChoiceTo_p_wxObject(void *x) { | |
7502 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x)); | |
7503 | } | |
7504 | static void *_p_wxSpinButtonTo_p_wxObject(void *x) { | |
7505 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x)); | |
7506 | } | |
7507 | static void *_p_wxBitmapButtonTo_p_wxObject(void *x) { | |
7508 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x)); | |
7509 | } | |
7510 | static void *_p_wxButtonTo_p_wxObject(void *x) { | |
7511 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x)); | |
7512 | } | |
7513 | static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) { | |
7514 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
7515 | } | |
7516 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
7517 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
7518 | } | |
7519 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
7520 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
7521 | } | |
7522 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
7523 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
7524 | } | |
7525 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
7526 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
7527 | } | |
7528 | static void *_p_wxCheckListBoxTo_p_wxObject(void *x) { | |
7529 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
7530 | } | |
7531 | static void *_p_wxListBoxTo_p_wxObject(void *x) { | |
7532 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x)); | |
7533 | } | |
7534 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
7535 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
7536 | } | |
7537 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
7538 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
7539 | } | |
7540 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
7541 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
7542 | } | |
7543 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
7544 | return (void *)((wxObject *) ((wxFontData *) x)); | |
7545 | } | |
7546 | static void *_p_wxEditableListBoxTo_p_wxObject(void *x) { | |
7547 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x)); | |
7548 | } | |
7549 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
7550 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
7551 | } | |
7552 | static void *_p_wxListbookTo_p_wxObject(void *x) { | |
7553 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x)); | |
7554 | } | |
7555 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
7556 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
7557 | } | |
7558 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
7559 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
7560 | } | |
7561 | static void *_p_wxStaticBoxTo_p_wxObject(void *x) { | |
7562 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x)); | |
7563 | } | |
7564 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
7565 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
7566 | } | |
7567 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
7568 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
7569 | } | |
7570 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
7571 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
7572 | } | |
7573 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
7574 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
7575 | } | |
7576 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
7577 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
7578 | } | |
7579 | static void *_p_wxListViewTo_p_wxObject(void *x) { | |
7580 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x)); | |
7581 | } | |
7582 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
7583 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
7584 | } | |
7585 | static void *_p_wxPyListCtrlTo_p_wxObject(void *x) { | |
7586 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x)); | |
7587 | } | |
7588 | static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) { | |
7589 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
7590 | } | |
7591 | static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) { | |
7592 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x)); | |
7593 | } | |
7594 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
7595 | return (void *)((wxObject *) ((wxSizer *) x)); | |
7596 | } | |
7597 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
7598 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
7599 | } | |
7600 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
7601 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
7602 | } | |
7603 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
7604 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
7605 | } | |
7606 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
7607 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
7608 | } | |
7609 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
7610 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
7611 | } | |
7612 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
7613 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
7614 | } | |
7615 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
7616 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
7617 | } | |
7618 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
7619 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
7620 | } | |
7621 | static void *_p_wxTextCtrlTo_p_wxObject(void *x) { | |
7622 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x)); | |
7623 | } | |
7624 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
7625 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
7626 | } | |
7627 | static void *_p_wxToggleButtonTo_p_wxObject(void *x) { | |
7628 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x)); | |
7629 | } | |
7630 | static void *_p_wxRadioButtonTo_p_wxObject(void *x) { | |
7631 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x)); | |
7632 | } | |
7633 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
7634 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
7635 | } | |
7636 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
7637 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
7638 | } | |
7639 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
7640 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
7641 | } | |
7642 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
7643 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
7644 | } | |
7645 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
7646 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
7647 | } | |
7648 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
7649 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
7650 | } | |
7651 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
7652 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
7653 | } | |
7654 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
7655 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
7656 | } | |
7657 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
7658 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
7659 | } | |
7660 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
7661 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
7662 | } | |
7663 | static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) { | |
7664 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x)); | |
7665 | } | |
7666 | static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) { | |
7667 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x)); | |
7668 | } | |
7669 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
7670 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
7671 | } | |
7672 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
7673 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
7674 | } | |
7675 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
7676 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
7677 | } | |
7678 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
7679 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
7680 | } | |
7681 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
7682 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
7683 | } | |
7684 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
7685 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
7686 | } | |
7687 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
7688 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
7689 | } | |
7690 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
7691 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
7692 | } | |
7693 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
7694 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
7695 | } | |
7696 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
7697 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
7698 | } | |
7699 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
7700 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
7701 | } | |
7702 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
7703 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
7704 | } | |
7705 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
7706 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
7707 | } | |
7708 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
7709 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
7710 | } | |
a2482628 RD |
7711 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
7712 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
7713 | } | |
44127b65 RD |
7714 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { |
7715 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
7716 | } | |
7717 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
7718 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
7719 | } | |
7720 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
7721 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
7722 | } | |
7723 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
7724 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
7725 | } | |
7726 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
7727 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
7728 | } | |
7729 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
7730 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
7731 | } | |
7732 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
7733 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
7734 | } | |
7735 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
7736 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
7737 | } | |
7738 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
7739 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
7740 | } | |
7741 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
7742 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
7743 | } | |
44127b65 RD |
7744 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
7745 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
7746 | } | |
41f1cec7 RD |
7747 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
7748 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
7749 | } | |
44127b65 RD |
7750 | static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) { |
7751 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x)); | |
7752 | } | |
7753 | static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) { | |
7754 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x)); | |
7755 | } | |
7756 | static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) { | |
7757 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
7758 | } | |
7759 | static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) { | |
7760 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
7761 | } | |
7762 | static void *_p_wxSpinCtrlTo_p_wxObject(void *x) { | |
7763 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x)); | |
7764 | } | |
44127b65 RD |
7765 | static void *_p_wxNotebookEventTo_p_wxObject(void *x) { |
7766 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x)); | |
7767 | } | |
83448d71 RD |
7768 | static void *_p_wxListbookEventTo_p_wxObject(void *x) { |
7769 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x)); | |
7770 | } | |
44127b65 RD |
7771 | static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) { |
7772 | return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x)); | |
7773 | } | |
7774 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
7775 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
7776 | } | |
7777 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
7778 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
7779 | } | |
7780 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
7781 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
7782 | } | |
7783 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
7784 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
7785 | } | |
7786 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
7787 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
7788 | } | |
7789 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
7790 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
7791 | } | |
7792 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
7793 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
7794 | } | |
7795 | static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) { | |
7796 | return (void *)((wxObject *) ((wxToolBarToolBase *) x)); | |
7797 | } | |
7798 | static void *_p_wxSliderTo_p_wxObject(void *x) { | |
7799 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x)); | |
7800 | } | |
7801 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
7802 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
7803 | } | |
7804 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
7805 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
7806 | } | |
7807 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
7808 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
7809 | } | |
7810 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
7811 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
7812 | } | |
7813 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
7814 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
7815 | } | |
7816 | static void *_p_wxCheckBoxTo_p_wxObject(void *x) { | |
7817 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x)); | |
7818 | } | |
7819 | static void *_p_wxHelpEventTo_p_wxObject(void *x) { | |
7820 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x)); | |
7821 | } | |
7822 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
7823 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
7824 | } | |
83448d71 RD |
7825 | static void *_p_wxSpinEventTo_p_wxObject(void *x) { |
7826 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x)); | |
7827 | } | |
44127b65 RD |
7828 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { |
7829 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
7830 | } | |
7831 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
7832 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
7833 | } | |
7834 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
7835 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
7836 | } | |
7837 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
7838 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
7839 | } | |
7840 | static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) { | |
7841 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x)); | |
7842 | } | |
7843 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
7844 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
7845 | } | |
7846 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
7847 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
7848 | } | |
7849 | static void *_p_wxToolBarTo_p_wxObject(void *x) { | |
7850 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x)); | |
7851 | } | |
7852 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
7853 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
7854 | } | |
7855 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
7856 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
7857 | } | |
7858 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
7859 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
7860 | } | |
7861 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
7862 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
7863 | } | |
7864 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
7865 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
7866 | } | |
7867 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
7868 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
7869 | } | |
7870 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
7871 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
7872 | } | |
7873 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
7874 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
7875 | } | |
7876 | static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) { | |
7877 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x)); | |
7878 | } | |
7879 | static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) { | |
7880 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x)); | |
7881 | } | |
7882 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) { | |
7883 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
7884 | } | |
7885 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
7886 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
7887 | } | |
7888 | static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) { | |
7889 | return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x)); | |
7890 | } | |
7891 | static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) { | |
7892 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x)); | |
7893 | } | |
7894 | static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) { | |
7895 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x)); | |
7896 | } | |
7897 | static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) { | |
7898 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
7899 | } | |
7900 | static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) { | |
7901 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x)); | |
7902 | } | |
7903 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
7904 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
7905 | } | |
7906 | static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) { | |
7907 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x)); | |
7908 | } | |
7909 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
7910 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
7911 | } | |
7912 | static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) { | |
7913 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x)); | |
7914 | } | |
7915 | static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) { | |
7916 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x)); | |
7917 | } | |
7918 | static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) { | |
7919 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x)); | |
7920 | } | |
7921 | static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) { | |
7922 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x)); | |
7923 | } | |
7924 | static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) { | |
7925 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x)); | |
7926 | } | |
7927 | static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) { | |
7928 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x)); | |
7929 | } | |
7930 | static void *_p_wxListViewTo_p_wxEvtHandler(void *x) { | |
7931 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x)); | |
7932 | } | |
7933 | static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) { | |
7934 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x)); | |
7935 | } | |
7936 | static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) { | |
7937 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x)); | |
7938 | } | |
7939 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
7940 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
7941 | } | |
7942 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
7943 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
7944 | } | |
7945 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
7946 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
7947 | } | |
7948 | static void *_p_wxListbookTo_p_wxEvtHandler(void *x) { | |
7949 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x)); | |
7950 | } | |
7951 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
7952 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
7953 | } | |
7954 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
7955 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
7956 | } | |
7957 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
7958 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
7959 | } | |
7960 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
7961 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
7962 | } | |
7963 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
7964 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
7965 | } | |
7966 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
7967 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
7968 | } | |
7969 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
7970 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
7971 | } | |
7972 | static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) { | |
7973 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x)); | |
7974 | } | |
7975 | static void *_p_wxSliderTo_p_wxEvtHandler(void *x) { | |
7976 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x)); | |
7977 | } | |
7978 | static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) { | |
7979 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x)); | |
7980 | } | |
7981 | static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) { | |
7982 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
7983 | } | |
7984 | static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) { | |
7985 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x)); | |
7986 | } | |
7987 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
7988 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
7989 | } | |
7990 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
7991 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
7992 | } | |
7993 | static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) { | |
7994 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x)); | |
7995 | } | |
7996 | static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) { | |
7997 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x)); | |
7998 | } | |
7999 | static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) { | |
8000 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x)); | |
8001 | } | |
8002 | static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) { | |
8003 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x)); | |
8004 | } | |
8005 | static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) { | |
8006 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x)); | |
8007 | } | |
8008 | static void *_p_wxButtonTo_p_wxEvtHandler(void *x) { | |
8009 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x)); | |
8010 | } | |
8011 | static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) { | |
8012 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
8013 | } | |
8014 | static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) { | |
8015 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x)); | |
8016 | } | |
8017 | static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) { | |
8018 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x)); | |
8019 | } | |
8020 | static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) { | |
8021 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x)); | |
8022 | } | |
8023 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
8024 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
8025 | } | |
8026 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
8027 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
8028 | } | |
8029 | static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) { | |
8030 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x)); | |
8031 | } | |
8032 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
8033 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
8034 | } | |
8035 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
8036 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
8037 | } | |
a2482628 RD |
8038 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { |
8039 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
8040 | } | |
44127b65 RD |
8041 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { |
8042 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
8043 | } | |
8044 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
8045 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
8046 | } | |
8047 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
8048 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
8049 | } | |
8050 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
8051 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
8052 | } | |
8053 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
8054 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
8055 | } | |
8056 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
8057 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
8058 | } | |
8059 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
8060 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
8061 | } | |
8062 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
8063 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
8064 | } | |
8065 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
8066 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
8067 | } | |
8068 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
8069 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
8070 | } | |
8071 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
8072 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
8073 | } | |
8074 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
8075 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
8076 | } | |
8077 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
8078 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
8079 | } | |
8080 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
8081 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
8082 | } | |
8083 | static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) { | |
8084 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x)); | |
8085 | } | |
8086 | static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) { | |
8087 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x)); | |
8088 | } | |
8089 | static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) { | |
8090 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
8091 | } | |
8092 | static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) { | |
8093 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
8094 | } | |
8095 | static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) { | |
8096 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x)); | |
8097 | } | |
8098 | static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) { | |
8099 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x)); | |
8100 | } | |
8101 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
8102 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
8103 | } | |
8104 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
8105 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
8106 | } | |
8107 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
8108 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
8109 | } | |
8110 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
8111 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
8112 | } | |
8113 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
8114 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
8115 | } | |
8116 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
8117 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
8118 | } | |
8119 | static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) { | |
8120 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x)); | |
8121 | } | |
8122 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
8123 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
8124 | } | |
8125 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
8126 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
8127 | } | |
8128 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
8129 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
8130 | } | |
8131 | static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) { | |
8132 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x)); | |
8133 | } | |
8134 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
8135 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
8136 | } | |
8137 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
8138 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
8139 | } | |
8140 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) { | |
8141 | return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
8142 | } | |
8143 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
8144 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
8145 | } | |
8146 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
8147 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
8148 | } | |
8149 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
8150 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
8151 | } | |
8152 | static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) { | |
8153 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x)); | |
8154 | } | |
8155 | static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) { | |
8156 | return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x)); | |
8157 | } | |
8158 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
8159 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
8160 | } | |
8161 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
8162 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
8163 | } | |
8164 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
8165 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
8166 | } | |
8167 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
8168 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
8169 | } | |
8170 | static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) { | |
8171 | return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x)); | |
8172 | } | |
8173 | static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) { | |
8174 | return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x)); | |
8175 | } | |
8176 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
8177 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
8178 | } | |
8179 | static void *_p_wxListEventTo_p_wxCommandEvent(void *x) { | |
8180 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x)); | |
8181 | } | |
8182 | static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) { | |
8183 | return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x)); | |
8184 | } | |
8185 | static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) { | |
8186 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x)); | |
8187 | } | |
83448d71 RD |
8188 | static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) { |
8189 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x)); | |
8190 | } | |
44127b65 RD |
8191 | static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) { |
8192 | return (void *)((wxCommandEvent *) ((wxHelpEvent *) x)); | |
8193 | } | |
8194 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
8195 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
8196 | } | |
8197 | static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) { | |
8198 | return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x)); | |
8199 | } | |
8200 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
8201 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
8202 | } | |
8203 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
8204 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
8205 | } | |
2f4c0a16 | 8206 | static swig_type_info _swigt__p_wxEditableListBox[] = {{"_p_wxEditableListBox", 0, "wxEditableListBox *", 0, 0, 0, 0},{"_p_wxEditableListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
a2482628 | 8207 | static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeListColumnInfo", _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
2f4c0a16 RD |
8208 | static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
8209 | static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
8210 | static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl[] = {{"_p_wxRemotelyScrolledTreeCtrl", 0, "wxRemotelyScrolledTreeCtrl *", 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
8211 | static swig_type_info _swigt__p_wxTreeListColumnInfo[] = {{"_p_wxTreeListColumnInfo", 0, "wxTreeListColumnInfo *", 0, 0, 0, 0},{"_p_wxTreeListColumnInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
8212 | static swig_type_info _swigt__p_wxPyTreeListCtrl[] = {{"_p_wxPyTreeListCtrl", 0, "wxPyTreeListCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
8213 | static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
8214 | static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
8215 | static swig_type_info _swigt__p_wxDynamicSashWindow[] = {{"_p_wxDynamicSashWindow", 0, "wxDynamicSashWindow *", 0, 0, 0, 0},{"_p_wxDynamicSashWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
a2482628 | 8216 | static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
2f4c0a16 | 8217 | static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxSplitterWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
a2482628 | 8218 | static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
2f4c0a16 RD |
8219 | static swig_type_info _swigt__p_wxPyTreeCompanionWindow[] = {{"_p_wxPyTreeCompanionWindow", 0, "wxPyTreeCompanionWindow *", 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
8220 | static swig_type_info _swigt__p_wxThinSplitterWindow[] = {{"_p_wxThinSplitterWindow", 0, "wxThinSplitterWindow *", 0, 0, 0, 0},{"_p_wxThinSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
8221 | static swig_type_info _swigt__p_wxSplitterScrolledWindow[] = {{"_p_wxSplitterScrolledWindow", 0, "wxSplitterScrolledWindow *", 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
8222 | static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
8223 | static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
8224 | static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
8225 | static swig_type_info _swigt__p_wxLEDNumberCtrl[] = {{"_p_wxLEDNumberCtrl", 0, "wxLEDNumberCtrl *", 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
8226 | static swig_type_info _swigt__p_wxDynamicSashSplitEvent[] = {{"_p_wxDynamicSashSplitEvent", 0, "wxDynamicSashSplitEvent *", 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
8227 | static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
8228 | static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
a2482628 | 8229 | static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
2f4c0a16 RD |
8230 | static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
8231 | static swig_type_info _swigt__p_wxDynamicSashUnifyEvent[] = {{"_p_wxDynamicSashUnifyEvent", 0, "wxDynamicSashUnifyEvent *", 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
8232 | static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
a2482628 | 8233 | static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
2f4c0a16 RD |
8234 | static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; |
8235 | static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
8236 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
44127b65 RD |
8237 | |
8238 | static swig_type_info *swig_types_initial[] = { | |
8239 | _swigt__p_wxEditableListBox, | |
8240 | _swigt__p_wxObject, | |
8241 | _swigt__p_wxColour, | |
8242 | _swigt__p_wxPyTreeCtrl, | |
8243 | _swigt__p_wxRemotelyScrolledTreeCtrl, | |
8244 | _swigt__p_wxTreeListColumnInfo, | |
8245 | _swigt__p_wxPyTreeListCtrl, | |
8246 | _swigt__p_wxImageList, | |
8247 | _swigt__p_wxScrollBar, | |
4e760a36 | 8248 | _swigt__p_wxDynamicSashWindow, |
44127b65 RD |
8249 | _swigt__p_wxScrolledWindow, |
8250 | _swigt__p_wxSplitterWindow, | |
8251 | _swigt__p_wxWindow, | |
8252 | _swigt__p_wxPyTreeCompanionWindow, | |
8253 | _swigt__p_wxThinSplitterWindow, | |
8254 | _swigt__p_wxSplitterScrolledWindow, | |
8255 | _swigt__p_wxValidator, | |
8256 | _swigt__p_wxCommandEvent, | |
8257 | _swigt__p_wxArrayString, | |
8258 | _swigt__p_wxLEDNumberCtrl, | |
8259 | _swigt__p_wxDynamicSashSplitEvent, | |
8260 | _swigt__p_wxTreeItemId, | |
8edf1c75 | 8261 | _swigt__p_char, |
44127b65 RD |
8262 | _swigt__p_wxEvtHandler, |
8263 | _swigt__p_wxFont, | |
8264 | _swigt__p_wxDynamicSashUnifyEvent, | |
8265 | _swigt__p_wxControl, | |
8266 | _swigt__p_wxPanel, | |
8267 | _swigt__p_wxPyTreeItemData, | |
8268 | _swigt__p_wxEvent, | |
8269 | _swigt__p_int, | |
8270 | 0 | |
8271 | }; | |
8272 | ||
8273 | ||
8274 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
8275 | ||
8276 | static swig_const_info swig_const_table[] = { | |
44127b65 RD |
8277 | {0}}; |
8278 | ||
8279 | #ifdef __cplusplus | |
8280 | } | |
8281 | #endif | |
8282 | ||
8283 | #ifdef __cplusplus | |
8284 | extern "C" | |
8285 | #endif | |
8286 | SWIGEXPORT(void) SWIG_init(void) { | |
8287 | static PyObject *SWIG_globals = 0; | |
8288 | static int typeinit = 0; | |
8289 | PyObject *m, *d; | |
8290 | int i; | |
8291 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
8292 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
8293 | d = PyModule_GetDict(m); | |
8294 | ||
8295 | if (!typeinit) { | |
8296 | for (i = 0; swig_types_initial[i]; i++) { | |
8297 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
8298 | } | |
8299 | typeinit = 1; | |
8300 | } | |
8301 | SWIG_InstallConstants(d,swig_const_table); | |
8302 | ||
d03fd34d RD |
8303 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
8304 | SWIG_addvarlink(SWIG_globals,(char*)"DynamicSashNameStr",_wrap_DynamicSashNameStr_get, _wrap_DynamicSashNameStr_set); | |
8305 | SWIG_addvarlink(SWIG_globals,(char*)"EditableListBoxNameStr",_wrap_EditableListBoxNameStr_get, _wrap_EditableListBoxNameStr_set); | |
8306 | SWIG_addvarlink(SWIG_globals,(char*)"TreeListCtrlNameStr",_wrap_TreeListCtrlNameStr_get, _wrap_TreeListCtrlNameStr_set); | |
2f4c0a16 RD |
8307 | PyDict_SetItemString(d,"wxEVT_DYNAMIC_SASH_SPLIT", SWIG_FromInt((int)wxEVT_DYNAMIC_SASH_SPLIT)); |
8308 | PyDict_SetItemString(d,"wxEVT_DYNAMIC_SASH_UNIFY", SWIG_FromInt((int)wxEVT_DYNAMIC_SASH_UNIFY)); | |
8309 | PyDict_SetItemString(d,"DS_MANAGE_SCROLLBARS", SWIG_FromInt((int)wxDS_MANAGE_SCROLLBARS)); | |
8310 | PyDict_SetItemString(d,"DS_DRAG_CORNER", SWIG_FromInt((int)wxDS_DRAG_CORNER)); | |
8311 | PyDict_SetItemString(d,"EL_ALLOW_NEW", SWIG_FromInt((int)wxEL_ALLOW_NEW)); | |
8312 | PyDict_SetItemString(d,"EL_ALLOW_EDIT", SWIG_FromInt((int)wxEL_ALLOW_EDIT)); | |
8313 | PyDict_SetItemString(d,"EL_ALLOW_DELETE", SWIG_FromInt((int)wxEL_ALLOW_DELETE)); | |
8314 | PyDict_SetItemString(d,"LED_ALIGN_LEFT", SWIG_FromInt((int)wxLED_ALIGN_LEFT)); | |
8315 | PyDict_SetItemString(d,"LED_ALIGN_RIGHT", SWIG_FromInt((int)wxLED_ALIGN_RIGHT)); | |
8316 | PyDict_SetItemString(d,"LED_ALIGN_CENTER", SWIG_FromInt((int)wxLED_ALIGN_CENTER)); | |
8317 | PyDict_SetItemString(d,"LED_ALIGN_MASK", SWIG_FromInt((int)wxLED_ALIGN_MASK)); | |
8318 | PyDict_SetItemString(d,"LED_DRAW_FADED", SWIG_FromInt((int)wxLED_DRAW_FADED)); | |
8319 | PyDict_SetItemString(d,"TL_ALIGN_LEFT", SWIG_FromInt((int)wxTL_ALIGN_LEFT)); | |
8320 | PyDict_SetItemString(d,"TL_ALIGN_RIGHT", SWIG_FromInt((int)wxTL_ALIGN_RIGHT)); | |
8321 | PyDict_SetItemString(d,"TL_ALIGN_CENTER", SWIG_FromInt((int)wxTL_ALIGN_CENTER)); | |
8322 | PyDict_SetItemString(d,"TREE_HITTEST_ONITEMCOLUMN", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMCOLUMN)); | |
629f3c1b RD |
8323 | PyDict_SetItemString(d,"TL_SEARCH_VISIBLE", SWIG_FromInt((int)wxTL_SEARCH_VISIBLE)); |
8324 | PyDict_SetItemString(d,"TL_SEARCH_LEVEL", SWIG_FromInt((int)wxTL_SEARCH_LEVEL)); | |
8325 | PyDict_SetItemString(d,"TL_SEARCH_FULL", SWIG_FromInt((int)wxTL_SEARCH_FULL)); | |
8326 | PyDict_SetItemString(d,"TL_SEARCH_PARTIAL", SWIG_FromInt((int)wxTL_SEARCH_PARTIAL)); | |
8327 | PyDict_SetItemString(d,"TL_SEARCH_NOCASE", SWIG_FromInt((int)wxTL_SEARCH_NOCASE)); | |
bb4524c4 | 8328 | PyDict_SetItemString(d,"TR_DONT_ADJUST_MAC", SWIG_FromInt((int)wxTR_DONT_ADJUST_MAC)); |
44127b65 RD |
8329 | |
8330 | ||
8331 | wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow"); | |
8332 | wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl"); | |
8333 | ||
8334 | } | |
8335 |