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