]>
Commit | Line | Data |
---|---|---|
8ab979d7 | 1 | /* |
9c039d08 | 2 | * FILE : msw/controls2.cpp |
8ab979d7 RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
1afc06c2 | 6 | * Version 1.1 (Build 810) |
8ab979d7 RD |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
1d99702e | 27 | # define SWIGEXPORT(a) __declspec(dllexport) a |
8ab979d7 RD |
28 | # else |
29 | # if defined(__BORLANDC__) | |
1d99702e | 30 | # define SWIGEXPORT(a) a _export |
8ab979d7 | 31 | # else |
1d99702e | 32 | # define SWIGEXPORT(a) a |
8ab979d7 RD |
33 | # endif |
34 | # endif | |
35 | #else | |
1d99702e | 36 | # define SWIGEXPORT(a) a |
8ab979d7 RD |
37 | #endif |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
42 | #include "Python.h" | |
43 | extern void SWIG_MakePtr(char *, void *, char *); | |
44 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
45 | extern char *SWIG_GetPtr(char *, void **, char *); | |
1d99702e | 46 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); |
8ab979d7 RD |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
8ab979d7 RD |
52 | #define SWIG_init initcontrols2c |
53 | ||
54 | #define SWIG_name "controls2c" | |
55 | ||
56 | #include "helpers.h" | |
2f90df85 RD |
57 | #ifdef __WXMSW__ |
58 | #include <windows.h> | |
59 | #endif | |
8ab979d7 RD |
60 | #include <wx/listctrl.h> |
61 | #include <wx/treectrl.h> | |
8ab979d7 RD |
62 | |
63 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
64 | PyObject* o2; | |
1d99702e RD |
65 | PyObject* o3; |
66 | if (!target) { | |
8ab979d7 | 67 | target = o; |
1d99702e | 68 | } else if (target == Py_None) { |
8ab979d7 RD |
69 | Py_DECREF(Py_None); |
70 | target = o; | |
1d99702e | 71 | } else { |
8ab979d7 RD |
72 | if (!PyList_Check(target)) { |
73 | o2 = target; | |
74 | target = PyList_New(0); | |
75 | PyList_Append(target, o2); | |
76 | Py_XDECREF(o2); | |
77 | } | |
78 | PyList_Append(target,o); | |
79 | Py_XDECREF(o); | |
80 | } | |
81 | return target; | |
82 | } | |
83 | ||
84 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
85 | PyObject* o2; | |
86 | PyObject* o3; | |
87 | ||
1d99702e | 88 | if (!target) { |
8ab979d7 | 89 | target = o; |
1d99702e | 90 | } else if (target == Py_None) { |
8ab979d7 RD |
91 | Py_DECREF(Py_None); |
92 | target = o; | |
1d99702e | 93 | } else { |
8ab979d7 RD |
94 | if (!PyTuple_Check(target)) { |
95 | o2 = target; | |
96 | target = PyTuple_New(1); | |
97 | PyTuple_SetItem(target, 0, o2); | |
98 | } | |
1d99702e RD |
99 | o3 = PyTuple_New(1); |
100 | PyTuple_SetItem(o3, 0, o); | |
8ab979d7 RD |
101 | |
102 | o2 = target; | |
1d99702e RD |
103 | target = PySequence_Concat(o2, o3); |
104 | Py_DECREF(o2); | |
8ab979d7 RD |
105 | Py_DECREF(o3); |
106 | } | |
107 | return target; | |
108 | } | |
109 | ||
8ab979d7 RD |
110 | static char* wxStringErrorMsg = "string type is required for parameter"; |
111 | ||
112 | extern wxValidator wxPyDefaultValidator; | |
cf694132 RD |
113 | |
114 | class wxPyTreeItemData : public wxTreeItemData { | |
115 | public: | |
116 | wxPyTreeItemData(PyObject* obj = NULL) { | |
117 | if (obj == NULL) | |
118 | obj = Py_None; | |
119 | Py_INCREF(obj); | |
120 | m_obj = obj; | |
121 | } | |
122 | ||
123 | ~wxPyTreeItemData() { | |
1afc06c2 | 124 | bool doSave = wxPyRestoreThread(); |
cf694132 | 125 | Py_DECREF(m_obj); |
1afc06c2 | 126 | wxPySaveThread(doSave); |
cf694132 RD |
127 | } |
128 | ||
129 | PyObject* GetData() { | |
130 | Py_INCREF(m_obj); | |
131 | return m_obj; | |
132 | } | |
133 | ||
134 | void SetData(PyObject* obj) { | |
135 | Py_DECREF(m_obj); | |
136 | m_obj = obj; | |
137 | Py_INCREF(obj); | |
138 | } | |
139 | ||
140 | PyObject* m_obj; | |
141 | }; | |
1d99702e RD |
142 | #ifdef __cplusplus |
143 | extern "C" { | |
144 | #endif | |
af309447 | 145 | #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval) |
efc5f224 | 146 | static PyObject *_wrap_wxListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
147 | PyObject * _resultobj; |
148 | long _result; | |
149 | wxListItem * _arg0; | |
150 | long _arg1; | |
1d99702e | 151 | PyObject * _argo0 = 0; |
efc5f224 | 152 | char *_kwnames[] = { "self","m_mask", NULL }; |
af309447 RD |
153 | |
154 | self = self; | |
efc5f224 | 155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_mask_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 156 | return NULL; |
1d99702e RD |
157 | if (_argo0) { |
158 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
159 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
af309447 RD |
160 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p."); |
161 | return NULL; | |
162 | } | |
163 | } | |
cf694132 RD |
164 | { |
165 | wxPy_BEGIN_ALLOW_THREADS; | |
166 | _result = (long )wxListItem_m_mask_set(_arg0,_arg1); | |
167 | ||
168 | wxPy_END_ALLOW_THREADS; | |
169 | } _resultobj = Py_BuildValue("l",_result); | |
af309447 RD |
170 | return _resultobj; |
171 | } | |
172 | ||
8ab979d7 | 173 | #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask) |
efc5f224 | 174 | static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
175 | PyObject * _resultobj; |
176 | long _result; | |
177 | wxListItem * _arg0; | |
1d99702e | 178 | PyObject * _argo0 = 0; |
efc5f224 | 179 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
180 | |
181 | self = self; | |
efc5f224 | 182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_mask_get",_kwnames,&_argo0)) |
8ab979d7 | 183 | return NULL; |
1d99702e RD |
184 | if (_argo0) { |
185 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
186 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
8ab979d7 RD |
187 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p."); |
188 | return NULL; | |
189 | } | |
190 | } | |
cf694132 RD |
191 | { |
192 | wxPy_BEGIN_ALLOW_THREADS; | |
193 | _result = (long )wxListItem_m_mask_get(_arg0); | |
194 | ||
195 | wxPy_END_ALLOW_THREADS; | |
196 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
197 | return _resultobj; |
198 | } | |
199 | ||
af309447 | 200 | #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval) |
efc5f224 | 201 | static PyObject *_wrap_wxListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
202 | PyObject * _resultobj; |
203 | long _result; | |
204 | wxListItem * _arg0; | |
205 | long _arg1; | |
1d99702e | 206 | PyObject * _argo0 = 0; |
efc5f224 | 207 | char *_kwnames[] = { "self","m_itemId", NULL }; |
af309447 RD |
208 | |
209 | self = self; | |
efc5f224 | 210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_itemId_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 211 | return NULL; |
1d99702e RD |
212 | if (_argo0) { |
213 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
214 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
af309447 RD |
215 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p."); |
216 | return NULL; | |
217 | } | |
218 | } | |
cf694132 RD |
219 | { |
220 | wxPy_BEGIN_ALLOW_THREADS; | |
221 | _result = (long )wxListItem_m_itemId_set(_arg0,_arg1); | |
222 | ||
223 | wxPy_END_ALLOW_THREADS; | |
224 | } _resultobj = Py_BuildValue("l",_result); | |
af309447 RD |
225 | return _resultobj; |
226 | } | |
227 | ||
8ab979d7 | 228 | #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId) |
efc5f224 | 229 | static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
230 | PyObject * _resultobj; |
231 | long _result; | |
232 | wxListItem * _arg0; | |
1d99702e | 233 | PyObject * _argo0 = 0; |
efc5f224 | 234 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
235 | |
236 | self = self; | |
efc5f224 | 237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_itemId_get",_kwnames,&_argo0)) |
8ab979d7 | 238 | return NULL; |
1d99702e RD |
239 | if (_argo0) { |
240 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
241 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
8ab979d7 RD |
242 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p."); |
243 | return NULL; | |
244 | } | |
245 | } | |
cf694132 RD |
246 | { |
247 | wxPy_BEGIN_ALLOW_THREADS; | |
248 | _result = (long )wxListItem_m_itemId_get(_arg0); | |
249 | ||
250 | wxPy_END_ALLOW_THREADS; | |
251 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
252 | return _resultobj; |
253 | } | |
254 | ||
af309447 | 255 | #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval) |
efc5f224 | 256 | static PyObject *_wrap_wxListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
257 | PyObject * _resultobj; |
258 | int _result; | |
259 | wxListItem * _arg0; | |
260 | int _arg1; | |
1d99702e | 261 | PyObject * _argo0 = 0; |
efc5f224 | 262 | char *_kwnames[] = { "self","m_col", NULL }; |
af309447 RD |
263 | |
264 | self = self; | |
efc5f224 | 265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_col_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 266 | return NULL; |
1d99702e RD |
267 | if (_argo0) { |
268 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
269 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
af309447 RD |
270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p."); |
271 | return NULL; | |
272 | } | |
273 | } | |
cf694132 RD |
274 | { |
275 | wxPy_BEGIN_ALLOW_THREADS; | |
276 | _result = (int )wxListItem_m_col_set(_arg0,_arg1); | |
277 | ||
278 | wxPy_END_ALLOW_THREADS; | |
279 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
280 | return _resultobj; |
281 | } | |
282 | ||
8ab979d7 | 283 | #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col) |
efc5f224 | 284 | static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
285 | PyObject * _resultobj; |
286 | int _result; | |
287 | wxListItem * _arg0; | |
1d99702e | 288 | PyObject * _argo0 = 0; |
efc5f224 | 289 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
290 | |
291 | self = self; | |
efc5f224 | 292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_col_get",_kwnames,&_argo0)) |
8ab979d7 | 293 | return NULL; |
1d99702e RD |
294 | if (_argo0) { |
295 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
296 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
8ab979d7 RD |
297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p."); |
298 | return NULL; | |
299 | } | |
300 | } | |
cf694132 RD |
301 | { |
302 | wxPy_BEGIN_ALLOW_THREADS; | |
303 | _result = (int )wxListItem_m_col_get(_arg0); | |
304 | ||
305 | wxPy_END_ALLOW_THREADS; | |
306 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
307 | return _resultobj; |
308 | } | |
309 | ||
af309447 | 310 | #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval) |
efc5f224 | 311 | static PyObject *_wrap_wxListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
312 | PyObject * _resultobj; |
313 | long _result; | |
314 | wxListItem * _arg0; | |
315 | long _arg1; | |
1d99702e | 316 | PyObject * _argo0 = 0; |
efc5f224 | 317 | char *_kwnames[] = { "self","m_state", NULL }; |
af309447 RD |
318 | |
319 | self = self; | |
efc5f224 | 320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_state_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 321 | return NULL; |
1d99702e RD |
322 | if (_argo0) { |
323 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
324 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
af309447 RD |
325 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p."); |
326 | return NULL; | |
327 | } | |
328 | } | |
cf694132 RD |
329 | { |
330 | wxPy_BEGIN_ALLOW_THREADS; | |
331 | _result = (long )wxListItem_m_state_set(_arg0,_arg1); | |
332 | ||
333 | wxPy_END_ALLOW_THREADS; | |
334 | } _resultobj = Py_BuildValue("l",_result); | |
af309447 RD |
335 | return _resultobj; |
336 | } | |
337 | ||
8ab979d7 | 338 | #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state) |
efc5f224 | 339 | static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
340 | PyObject * _resultobj; |
341 | long _result; | |
342 | wxListItem * _arg0; | |
1d99702e | 343 | PyObject * _argo0 = 0; |
efc5f224 | 344 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
345 | |
346 | self = self; | |
efc5f224 | 347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_state_get",_kwnames,&_argo0)) |
8ab979d7 | 348 | return NULL; |
1d99702e RD |
349 | if (_argo0) { |
350 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
351 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
8ab979d7 RD |
352 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p."); |
353 | return NULL; | |
354 | } | |
355 | } | |
cf694132 RD |
356 | { |
357 | wxPy_BEGIN_ALLOW_THREADS; | |
358 | _result = (long )wxListItem_m_state_get(_arg0); | |
359 | ||
360 | wxPy_END_ALLOW_THREADS; | |
361 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
362 | return _resultobj; |
363 | } | |
364 | ||
af309447 | 365 | #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval) |
efc5f224 | 366 | static PyObject *_wrap_wxListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
367 | PyObject * _resultobj; |
368 | long _result; | |
369 | wxListItem * _arg0; | |
370 | long _arg1; | |
1d99702e | 371 | PyObject * _argo0 = 0; |
efc5f224 | 372 | char *_kwnames[] = { "self","m_stateMask", NULL }; |
af309447 RD |
373 | |
374 | self = self; | |
efc5f224 | 375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_stateMask_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 376 | return NULL; |
1d99702e RD |
377 | if (_argo0) { |
378 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
379 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
af309447 RD |
380 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p."); |
381 | return NULL; | |
382 | } | |
383 | } | |
cf694132 RD |
384 | { |
385 | wxPy_BEGIN_ALLOW_THREADS; | |
386 | _result = (long )wxListItem_m_stateMask_set(_arg0,_arg1); | |
387 | ||
388 | wxPy_END_ALLOW_THREADS; | |
389 | } _resultobj = Py_BuildValue("l",_result); | |
af309447 RD |
390 | return _resultobj; |
391 | } | |
392 | ||
8ab979d7 | 393 | #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask) |
efc5f224 | 394 | static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
395 | PyObject * _resultobj; |
396 | long _result; | |
397 | wxListItem * _arg0; | |
1d99702e | 398 | PyObject * _argo0 = 0; |
efc5f224 | 399 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
400 | |
401 | self = self; | |
efc5f224 | 402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_stateMask_get",_kwnames,&_argo0)) |
8ab979d7 | 403 | return NULL; |
1d99702e RD |
404 | if (_argo0) { |
405 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
406 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
8ab979d7 RD |
407 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p."); |
408 | return NULL; | |
409 | } | |
410 | } | |
cf694132 RD |
411 | { |
412 | wxPy_BEGIN_ALLOW_THREADS; | |
413 | _result = (long )wxListItem_m_stateMask_get(_arg0); | |
414 | ||
415 | wxPy_END_ALLOW_THREADS; | |
416 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
417 | return _resultobj; |
418 | } | |
419 | ||
af309447 | 420 | #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval) |
efc5f224 | 421 | static PyObject *_wrap_wxListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
422 | PyObject * _resultobj; |
423 | wxString * _result; | |
424 | wxListItem * _arg0; | |
425 | wxString * _arg1; | |
1d99702e | 426 | PyObject * _argo0 = 0; |
af309447 | 427 | PyObject * _obj1 = 0; |
efc5f224 | 428 | char *_kwnames[] = { "self","m_text", NULL }; |
af309447 RD |
429 | |
430 | self = self; | |
efc5f224 | 431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_m_text_set",_kwnames,&_argo0,&_obj1)) |
af309447 | 432 | return NULL; |
1d99702e RD |
433 | if (_argo0) { |
434 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
435 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
af309447 RD |
436 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p."); |
437 | return NULL; | |
438 | } | |
439 | } | |
440 | { | |
441 | if (!PyString_Check(_obj1)) { | |
442 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
443 | return NULL; | |
444 | } | |
cf694132 | 445 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
af309447 | 446 | } |
af309447 | 447 | { |
cf694132 RD |
448 | wxPy_BEGIN_ALLOW_THREADS; |
449 | _result = (wxString *)wxListItem_m_text_set(_arg0,_arg1); | |
450 | ||
451 | wxPy_END_ALLOW_THREADS; | |
452 | }{ | |
eec92d76 | 453 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
af309447 RD |
454 | } |
455 | { | |
456 | if (_obj1) | |
457 | delete _arg1; | |
458 | } | |
459 | return _resultobj; | |
460 | } | |
461 | ||
8ab979d7 | 462 | #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text) |
efc5f224 | 463 | static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
464 | PyObject * _resultobj; |
465 | wxString * _result; | |
466 | wxListItem * _arg0; | |
1d99702e | 467 | PyObject * _argo0 = 0; |
efc5f224 | 468 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
469 | |
470 | self = self; | |
efc5f224 | 471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_text_get",_kwnames,&_argo0)) |
8ab979d7 | 472 | return NULL; |
1d99702e RD |
473 | if (_argo0) { |
474 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
475 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
8ab979d7 RD |
476 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p."); |
477 | return NULL; | |
478 | } | |
479 | } | |
8ab979d7 | 480 | { |
cf694132 RD |
481 | wxPy_BEGIN_ALLOW_THREADS; |
482 | _result = (wxString *)wxListItem_m_text_get(_arg0); | |
483 | ||
484 | wxPy_END_ALLOW_THREADS; | |
485 | }{ | |
eec92d76 | 486 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
8ab979d7 RD |
487 | } |
488 | return _resultobj; | |
489 | } | |
490 | ||
af309447 | 491 | #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval) |
efc5f224 | 492 | static PyObject *_wrap_wxListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
493 | PyObject * _resultobj; |
494 | int _result; | |
495 | wxListItem * _arg0; | |
496 | int _arg1; | |
1d99702e | 497 | PyObject * _argo0 = 0; |
efc5f224 | 498 | char *_kwnames[] = { "self","m_image", NULL }; |
af309447 RD |
499 | |
500 | self = self; | |
efc5f224 | 501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_image_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 502 | return NULL; |
1d99702e RD |
503 | if (_argo0) { |
504 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
505 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
af309447 RD |
506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p."); |
507 | return NULL; | |
508 | } | |
509 | } | |
cf694132 RD |
510 | { |
511 | wxPy_BEGIN_ALLOW_THREADS; | |
512 | _result = (int )wxListItem_m_image_set(_arg0,_arg1); | |
513 | ||
514 | wxPy_END_ALLOW_THREADS; | |
515 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
516 | return _resultobj; |
517 | } | |
518 | ||
8ab979d7 | 519 | #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image) |
efc5f224 | 520 | static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
521 | PyObject * _resultobj; |
522 | int _result; | |
523 | wxListItem * _arg0; | |
1d99702e | 524 | PyObject * _argo0 = 0; |
efc5f224 | 525 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
526 | |
527 | self = self; | |
efc5f224 | 528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_image_get",_kwnames,&_argo0)) |
8ab979d7 | 529 | return NULL; |
1d99702e RD |
530 | if (_argo0) { |
531 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
532 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
8ab979d7 RD |
533 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p."); |
534 | return NULL; | |
535 | } | |
536 | } | |
cf694132 RD |
537 | { |
538 | wxPy_BEGIN_ALLOW_THREADS; | |
539 | _result = (int )wxListItem_m_image_get(_arg0); | |
540 | ||
541 | wxPy_END_ALLOW_THREADS; | |
542 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
543 | return _resultobj; |
544 | } | |
545 | ||
af309447 | 546 | #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval) |
efc5f224 | 547 | static PyObject *_wrap_wxListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
548 | PyObject * _resultobj; |
549 | long _result; | |
550 | wxListItem * _arg0; | |
551 | long _arg1; | |
1d99702e | 552 | PyObject * _argo0 = 0; |
efc5f224 | 553 | char *_kwnames[] = { "self","m_data", NULL }; |
af309447 RD |
554 | |
555 | self = self; | |
efc5f224 | 556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_data_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 557 | return NULL; |
1d99702e RD |
558 | if (_argo0) { |
559 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
560 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
af309447 RD |
561 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p."); |
562 | return NULL; | |
563 | } | |
564 | } | |
cf694132 RD |
565 | { |
566 | wxPy_BEGIN_ALLOW_THREADS; | |
567 | _result = (long )wxListItem_m_data_set(_arg0,_arg1); | |
568 | ||
569 | wxPy_END_ALLOW_THREADS; | |
570 | } _resultobj = Py_BuildValue("l",_result); | |
af309447 RD |
571 | return _resultobj; |
572 | } | |
573 | ||
8ab979d7 | 574 | #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data) |
efc5f224 | 575 | static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
576 | PyObject * _resultobj; |
577 | long _result; | |
578 | wxListItem * _arg0; | |
1d99702e | 579 | PyObject * _argo0 = 0; |
efc5f224 | 580 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
581 | |
582 | self = self; | |
efc5f224 | 583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_data_get",_kwnames,&_argo0)) |
8ab979d7 | 584 | return NULL; |
1d99702e RD |
585 | if (_argo0) { |
586 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
587 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
8ab979d7 RD |
588 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p."); |
589 | return NULL; | |
590 | } | |
591 | } | |
cf694132 RD |
592 | { |
593 | wxPy_BEGIN_ALLOW_THREADS; | |
594 | _result = (long )wxListItem_m_data_get(_arg0); | |
595 | ||
596 | wxPy_END_ALLOW_THREADS; | |
597 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
598 | return _resultobj; |
599 | } | |
600 | ||
af309447 | 601 | #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval) |
efc5f224 | 602 | static PyObject *_wrap_wxListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
603 | PyObject * _resultobj; |
604 | int _result; | |
605 | wxListItem * _arg0; | |
606 | int _arg1; | |
1d99702e | 607 | PyObject * _argo0 = 0; |
efc5f224 | 608 | char *_kwnames[] = { "self","m_format", NULL }; |
af309447 RD |
609 | |
610 | self = self; | |
efc5f224 | 611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_format_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 612 | return NULL; |
1d99702e RD |
613 | if (_argo0) { |
614 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
615 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
af309447 RD |
616 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p."); |
617 | return NULL; | |
618 | } | |
619 | } | |
cf694132 RD |
620 | { |
621 | wxPy_BEGIN_ALLOW_THREADS; | |
622 | _result = (int )wxListItem_m_format_set(_arg0,_arg1); | |
623 | ||
624 | wxPy_END_ALLOW_THREADS; | |
625 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
626 | return _resultobj; |
627 | } | |
628 | ||
8ab979d7 | 629 | #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format) |
efc5f224 | 630 | static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
631 | PyObject * _resultobj; |
632 | int _result; | |
633 | wxListItem * _arg0; | |
1d99702e | 634 | PyObject * _argo0 = 0; |
efc5f224 | 635 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
636 | |
637 | self = self; | |
efc5f224 | 638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_format_get",_kwnames,&_argo0)) |
8ab979d7 | 639 | return NULL; |
1d99702e RD |
640 | if (_argo0) { |
641 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
642 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
8ab979d7 RD |
643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p."); |
644 | return NULL; | |
645 | } | |
646 | } | |
cf694132 RD |
647 | { |
648 | wxPy_BEGIN_ALLOW_THREADS; | |
649 | _result = (int )wxListItem_m_format_get(_arg0); | |
650 | ||
651 | wxPy_END_ALLOW_THREADS; | |
652 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
653 | return _resultobj; |
654 | } | |
655 | ||
af309447 | 656 | #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval) |
efc5f224 | 657 | static PyObject *_wrap_wxListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
658 | PyObject * _resultobj; |
659 | int _result; | |
660 | wxListItem * _arg0; | |
661 | int _arg1; | |
1d99702e | 662 | PyObject * _argo0 = 0; |
efc5f224 | 663 | char *_kwnames[] = { "self","m_width", NULL }; |
af309447 RD |
664 | |
665 | self = self; | |
efc5f224 | 666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_width_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 667 | return NULL; |
1d99702e RD |
668 | if (_argo0) { |
669 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
670 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
af309447 RD |
671 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p."); |
672 | return NULL; | |
673 | } | |
674 | } | |
cf694132 RD |
675 | { |
676 | wxPy_BEGIN_ALLOW_THREADS; | |
677 | _result = (int )wxListItem_m_width_set(_arg0,_arg1); | |
678 | ||
679 | wxPy_END_ALLOW_THREADS; | |
680 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
681 | return _resultobj; |
682 | } | |
683 | ||
8ab979d7 | 684 | #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width) |
efc5f224 | 685 | static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
686 | PyObject * _resultobj; |
687 | int _result; | |
688 | wxListItem * _arg0; | |
1d99702e | 689 | PyObject * _argo0 = 0; |
efc5f224 | 690 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
691 | |
692 | self = self; | |
efc5f224 | 693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_width_get",_kwnames,&_argo0)) |
8ab979d7 | 694 | return NULL; |
1d99702e RD |
695 | if (_argo0) { |
696 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
697 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
8ab979d7 RD |
698 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p."); |
699 | return NULL; | |
700 | } | |
701 | } | |
cf694132 RD |
702 | { |
703 | wxPy_BEGIN_ALLOW_THREADS; | |
704 | _result = (int )wxListItem_m_width_get(_arg0); | |
705 | ||
706 | wxPy_END_ALLOW_THREADS; | |
707 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
708 | return _resultobj; |
709 | } | |
710 | ||
711 | #define new_wxListItem() (new wxListItem()) | |
efc5f224 | 712 | static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
713 | PyObject * _resultobj; |
714 | wxListItem * _result; | |
efc5f224 | 715 | char *_kwnames[] = { NULL }; |
8ab979d7 RD |
716 | char _ptemp[128]; |
717 | ||
718 | self = self; | |
efc5f224 | 719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItem",_kwnames)) |
8ab979d7 | 720 | return NULL; |
cf694132 RD |
721 | { |
722 | wxPy_BEGIN_ALLOW_THREADS; | |
723 | _result = (wxListItem *)new_wxListItem(); | |
724 | ||
725 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
726 | } if (_result) { |
727 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p"); | |
728 | _resultobj = Py_BuildValue("s",_ptemp); | |
729 | } else { | |
730 | Py_INCREF(Py_None); | |
731 | _resultobj = Py_None; | |
732 | } | |
8ab979d7 RD |
733 | return _resultobj; |
734 | } | |
735 | ||
736 | #define delete_wxListItem(_swigobj) (delete _swigobj) | |
efc5f224 | 737 | static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
738 | PyObject * _resultobj; |
739 | wxListItem * _arg0; | |
1d99702e | 740 | PyObject * _argo0 = 0; |
efc5f224 | 741 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
742 | |
743 | self = self; | |
efc5f224 | 744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxListItem",_kwnames,&_argo0)) |
8ab979d7 | 745 | return NULL; |
1d99702e RD |
746 | if (_argo0) { |
747 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
748 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
8ab979d7 RD |
749 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p."); |
750 | return NULL; | |
751 | } | |
752 | } | |
cf694132 RD |
753 | { |
754 | wxPy_BEGIN_ALLOW_THREADS; | |
755 | delete_wxListItem(_arg0); | |
756 | ||
757 | wxPy_END_ALLOW_THREADS; | |
758 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
759 | _resultobj = Py_None; |
760 | return _resultobj; | |
761 | } | |
762 | ||
763 | static void *SwigwxListEventTowxCommandEvent(void *ptr) { | |
764 | wxListEvent *src; | |
765 | wxCommandEvent *dest; | |
766 | src = (wxListEvent *) ptr; | |
767 | dest = (wxCommandEvent *) src; | |
768 | return (void *) dest; | |
769 | } | |
770 | ||
771 | static void *SwigwxListEventTowxEvent(void *ptr) { | |
772 | wxListEvent *src; | |
773 | wxEvent *dest; | |
774 | src = (wxListEvent *) ptr; | |
775 | dest = (wxEvent *) src; | |
776 | return (void *) dest; | |
777 | } | |
778 | ||
af309447 | 779 | #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval) |
efc5f224 | 780 | static PyObject *_wrap_wxListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
781 | PyObject * _resultobj; |
782 | int _result; | |
783 | wxListEvent * _arg0; | |
784 | int _arg1; | |
1d99702e | 785 | PyObject * _argo0 = 0; |
efc5f224 | 786 | char *_kwnames[] = { "self","m_code", NULL }; |
af309447 RD |
787 | |
788 | self = self; | |
efc5f224 | 789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_code_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 790 | return NULL; |
1d99702e RD |
791 | if (_argo0) { |
792 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
793 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
af309447 RD |
794 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p."); |
795 | return NULL; | |
796 | } | |
797 | } | |
cf694132 RD |
798 | { |
799 | wxPy_BEGIN_ALLOW_THREADS; | |
800 | _result = (int )wxListEvent_m_code_set(_arg0,_arg1); | |
801 | ||
802 | wxPy_END_ALLOW_THREADS; | |
803 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
804 | return _resultobj; |
805 | } | |
806 | ||
8ab979d7 | 807 | #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code) |
efc5f224 | 808 | static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
809 | PyObject * _resultobj; |
810 | int _result; | |
811 | wxListEvent * _arg0; | |
1d99702e | 812 | PyObject * _argo0 = 0; |
efc5f224 | 813 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
814 | |
815 | self = self; | |
efc5f224 | 816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_code_get",_kwnames,&_argo0)) |
8ab979d7 | 817 | return NULL; |
1d99702e RD |
818 | if (_argo0) { |
819 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
820 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
8ab979d7 RD |
821 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p."); |
822 | return NULL; | |
823 | } | |
824 | } | |
cf694132 RD |
825 | { |
826 | wxPy_BEGIN_ALLOW_THREADS; | |
827 | _result = (int )wxListEvent_m_code_get(_arg0); | |
828 | ||
829 | wxPy_END_ALLOW_THREADS; | |
830 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
831 | return _resultobj; |
832 | } | |
833 | ||
af309447 | 834 | #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval) |
efc5f224 | 835 | static PyObject *_wrap_wxListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
836 | PyObject * _resultobj; |
837 | long _result; | |
838 | wxListEvent * _arg0; | |
839 | long _arg1; | |
1d99702e | 840 | PyObject * _argo0 = 0; |
efc5f224 | 841 | char *_kwnames[] = { "self","m_itemIndex", NULL }; |
af309447 RD |
842 | |
843 | self = self; | |
efc5f224 | 844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_itemIndex_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 845 | return NULL; |
1d99702e RD |
846 | if (_argo0) { |
847 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
848 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
af309447 RD |
849 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p."); |
850 | return NULL; | |
851 | } | |
852 | } | |
cf694132 RD |
853 | { |
854 | wxPy_BEGIN_ALLOW_THREADS; | |
855 | _result = (long )wxListEvent_m_itemIndex_set(_arg0,_arg1); | |
856 | ||
857 | wxPy_END_ALLOW_THREADS; | |
858 | } _resultobj = Py_BuildValue("l",_result); | |
af309447 RD |
859 | return _resultobj; |
860 | } | |
861 | ||
8ab979d7 | 862 | #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex) |
efc5f224 | 863 | static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
864 | PyObject * _resultobj; |
865 | long _result; | |
866 | wxListEvent * _arg0; | |
1d99702e | 867 | PyObject * _argo0 = 0; |
efc5f224 | 868 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
869 | |
870 | self = self; | |
efc5f224 | 871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_itemIndex_get",_kwnames,&_argo0)) |
8ab979d7 | 872 | return NULL; |
1d99702e RD |
873 | if (_argo0) { |
874 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
875 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
8ab979d7 RD |
876 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p."); |
877 | return NULL; | |
878 | } | |
879 | } | |
cf694132 RD |
880 | { |
881 | wxPy_BEGIN_ALLOW_THREADS; | |
882 | _result = (long )wxListEvent_m_itemIndex_get(_arg0); | |
883 | ||
884 | wxPy_END_ALLOW_THREADS; | |
885 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
886 | return _resultobj; |
887 | } | |
888 | ||
af309447 | 889 | #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval) |
efc5f224 | 890 | static PyObject *_wrap_wxListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
891 | PyObject * _resultobj; |
892 | long _result; | |
893 | wxListEvent * _arg0; | |
894 | long _arg1; | |
1d99702e | 895 | PyObject * _argo0 = 0; |
efc5f224 | 896 | char *_kwnames[] = { "self","m_oldItemIndex", NULL }; |
af309447 RD |
897 | |
898 | self = self; | |
efc5f224 | 899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 900 | return NULL; |
1d99702e RD |
901 | if (_argo0) { |
902 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
903 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
af309447 RD |
904 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p."); |
905 | return NULL; | |
906 | } | |
907 | } | |
cf694132 RD |
908 | { |
909 | wxPy_BEGIN_ALLOW_THREADS; | |
910 | _result = (long )wxListEvent_m_oldItemIndex_set(_arg0,_arg1); | |
911 | ||
912 | wxPy_END_ALLOW_THREADS; | |
913 | } _resultobj = Py_BuildValue("l",_result); | |
af309447 RD |
914 | return _resultobj; |
915 | } | |
916 | ||
8ab979d7 | 917 | #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex) |
efc5f224 | 918 | static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
919 | PyObject * _resultobj; |
920 | long _result; | |
921 | wxListEvent * _arg0; | |
1d99702e | 922 | PyObject * _argo0 = 0; |
efc5f224 | 923 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
924 | |
925 | self = self; | |
efc5f224 | 926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_oldItemIndex_get",_kwnames,&_argo0)) |
8ab979d7 | 927 | return NULL; |
1d99702e RD |
928 | if (_argo0) { |
929 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
930 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
8ab979d7 RD |
931 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p."); |
932 | return NULL; | |
933 | } | |
934 | } | |
cf694132 RD |
935 | { |
936 | wxPy_BEGIN_ALLOW_THREADS; | |
937 | _result = (long )wxListEvent_m_oldItemIndex_get(_arg0); | |
938 | ||
939 | wxPy_END_ALLOW_THREADS; | |
940 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
941 | return _resultobj; |
942 | } | |
943 | ||
af309447 | 944 | #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval) |
efc5f224 | 945 | static PyObject *_wrap_wxListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
946 | PyObject * _resultobj; |
947 | int _result; | |
948 | wxListEvent * _arg0; | |
949 | int _arg1; | |
1d99702e | 950 | PyObject * _argo0 = 0; |
efc5f224 | 951 | char *_kwnames[] = { "self","m_col", NULL }; |
af309447 RD |
952 | |
953 | self = self; | |
efc5f224 | 954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_col_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 955 | return NULL; |
1d99702e RD |
956 | if (_argo0) { |
957 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
958 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
af309447 RD |
959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p."); |
960 | return NULL; | |
961 | } | |
962 | } | |
cf694132 RD |
963 | { |
964 | wxPy_BEGIN_ALLOW_THREADS; | |
965 | _result = (int )wxListEvent_m_col_set(_arg0,_arg1); | |
966 | ||
967 | wxPy_END_ALLOW_THREADS; | |
968 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
969 | return _resultobj; |
970 | } | |
971 | ||
8ab979d7 | 972 | #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col) |
efc5f224 | 973 | static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
974 | PyObject * _resultobj; |
975 | int _result; | |
976 | wxListEvent * _arg0; | |
1d99702e | 977 | PyObject * _argo0 = 0; |
efc5f224 | 978 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
979 | |
980 | self = self; | |
efc5f224 | 981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_col_get",_kwnames,&_argo0)) |
8ab979d7 | 982 | return NULL; |
1d99702e RD |
983 | if (_argo0) { |
984 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
985 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
8ab979d7 RD |
986 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p."); |
987 | return NULL; | |
988 | } | |
989 | } | |
cf694132 RD |
990 | { |
991 | wxPy_BEGIN_ALLOW_THREADS; | |
992 | _result = (int )wxListEvent_m_col_get(_arg0); | |
993 | ||
994 | wxPy_END_ALLOW_THREADS; | |
995 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
996 | return _resultobj; |
997 | } | |
998 | ||
af309447 | 999 | #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval) |
efc5f224 | 1000 | static PyObject *_wrap_wxListEvent_m_cancelled_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
1001 | PyObject * _resultobj; |
1002 | bool _result; | |
1003 | wxListEvent * _arg0; | |
1004 | bool _arg1; | |
1d99702e | 1005 | PyObject * _argo0 = 0; |
af309447 | 1006 | int tempbool1; |
efc5f224 | 1007 | char *_kwnames[] = { "self","m_cancelled", NULL }; |
af309447 RD |
1008 | |
1009 | self = self; | |
efc5f224 | 1010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_cancelled_set",_kwnames,&_argo0,&tempbool1)) |
af309447 | 1011 | return NULL; |
1d99702e RD |
1012 | if (_argo0) { |
1013 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1014 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
af309447 RD |
1015 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p."); |
1016 | return NULL; | |
1017 | } | |
1018 | } | |
1019 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
1020 | { |
1021 | wxPy_BEGIN_ALLOW_THREADS; | |
1022 | _result = (bool )wxListEvent_m_cancelled_set(_arg0,_arg1); | |
1023 | ||
1024 | wxPy_END_ALLOW_THREADS; | |
1025 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
1026 | return _resultobj; |
1027 | } | |
1028 | ||
8ab979d7 | 1029 | #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled) |
efc5f224 | 1030 | static PyObject *_wrap_wxListEvent_m_cancelled_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1031 | PyObject * _resultobj; |
1032 | bool _result; | |
1033 | wxListEvent * _arg0; | |
1d99702e | 1034 | PyObject * _argo0 = 0; |
efc5f224 | 1035 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
1036 | |
1037 | self = self; | |
efc5f224 | 1038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_cancelled_get",_kwnames,&_argo0)) |
8ab979d7 | 1039 | return NULL; |
1d99702e RD |
1040 | if (_argo0) { |
1041 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1042 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
8ab979d7 RD |
1043 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p."); |
1044 | return NULL; | |
1045 | } | |
1046 | } | |
cf694132 RD |
1047 | { |
1048 | wxPy_BEGIN_ALLOW_THREADS; | |
1049 | _result = (bool )wxListEvent_m_cancelled_get(_arg0); | |
1050 | ||
1051 | wxPy_END_ALLOW_THREADS; | |
1052 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
1053 | return _resultobj; |
1054 | } | |
1055 | ||
af309447 | 1056 | #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval) |
efc5f224 | 1057 | static PyObject *_wrap_wxListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
1058 | PyObject * _resultobj; |
1059 | wxPoint * _result; | |
1060 | wxListEvent * _arg0; | |
1061 | wxPoint * _arg1; | |
1d99702e | 1062 | PyObject * _argo0 = 0; |
2f90df85 RD |
1063 | wxPoint temp; |
1064 | PyObject * _obj1 = 0; | |
efc5f224 | 1065 | char *_kwnames[] = { "self","m_pointDrag", NULL }; |
af309447 RD |
1066 | char _ptemp[128]; |
1067 | ||
1068 | self = self; | |
2f90df85 | 1069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_pointDrag_set",_kwnames,&_argo0,&_obj1)) |
af309447 | 1070 | return NULL; |
1d99702e RD |
1071 | if (_argo0) { |
1072 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1073 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
af309447 RD |
1074 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p."); |
1075 | return NULL; | |
1076 | } | |
1077 | } | |
2f90df85 RD |
1078 | { |
1079 | _arg1 = &temp; | |
1080 | if (! wxPoint_helper(_obj1, &_arg1)) | |
af309447 | 1081 | return NULL; |
2f90df85 | 1082 | } |
cf694132 RD |
1083 | { |
1084 | wxPy_BEGIN_ALLOW_THREADS; | |
1085 | _result = (wxPoint *)wxListEvent_m_pointDrag_set(_arg0,_arg1); | |
1086 | ||
1087 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1088 | } if (_result) { |
1089 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); | |
1090 | _resultobj = Py_BuildValue("s",_ptemp); | |
1091 | } else { | |
1092 | Py_INCREF(Py_None); | |
1093 | _resultobj = Py_None; | |
1094 | } | |
af309447 RD |
1095 | return _resultobj; |
1096 | } | |
1097 | ||
8ab979d7 | 1098 | #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag) |
efc5f224 | 1099 | static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1100 | PyObject * _resultobj; |
1101 | wxPoint * _result; | |
1102 | wxListEvent * _arg0; | |
1d99702e | 1103 | PyObject * _argo0 = 0; |
efc5f224 | 1104 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
1105 | char _ptemp[128]; |
1106 | ||
1107 | self = self; | |
efc5f224 | 1108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0)) |
8ab979d7 | 1109 | return NULL; |
1d99702e RD |
1110 | if (_argo0) { |
1111 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1112 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
8ab979d7 RD |
1113 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p."); |
1114 | return NULL; | |
1115 | } | |
1116 | } | |
cf694132 RD |
1117 | { |
1118 | wxPy_BEGIN_ALLOW_THREADS; | |
1119 | _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0); | |
1120 | ||
1121 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1122 | } if (_result) { |
1123 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); | |
1124 | _resultobj = Py_BuildValue("s",_ptemp); | |
1125 | } else { | |
1126 | Py_INCREF(Py_None); | |
1127 | _resultobj = Py_None; | |
1128 | } | |
8ab979d7 RD |
1129 | return _resultobj; |
1130 | } | |
1131 | ||
af309447 | 1132 | #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval) |
efc5f224 | 1133 | static PyObject *_wrap_wxListEvent_m_item_set(PyObject *self, PyObject *args, PyObject *kwargs) { |
af309447 RD |
1134 | PyObject * _resultobj; |
1135 | wxListItem * _result; | |
1136 | wxListEvent * _arg0; | |
1137 | wxListItem * _arg1; | |
1d99702e RD |
1138 | PyObject * _argo0 = 0; |
1139 | PyObject * _argo1 = 0; | |
efc5f224 | 1140 | char *_kwnames[] = { "self","m_item", NULL }; |
af309447 RD |
1141 | char _ptemp[128]; |
1142 | ||
1143 | self = self; | |
efc5f224 | 1144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_item_set",_kwnames,&_argo0,&_argo1)) |
af309447 | 1145 | return NULL; |
1d99702e RD |
1146 | if (_argo0) { |
1147 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1148 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
af309447 RD |
1149 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p."); |
1150 | return NULL; | |
1151 | } | |
1152 | } | |
1d99702e RD |
1153 | if (_argo1) { |
1154 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1155 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) { | |
af309447 RD |
1156 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p."); |
1157 | return NULL; | |
1158 | } | |
1159 | } | |
cf694132 RD |
1160 | { |
1161 | wxPy_BEGIN_ALLOW_THREADS; | |
1162 | _result = (wxListItem *)wxListEvent_m_item_set(_arg0,_arg1); | |
1163 | ||
1164 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1165 | } if (_result) { |
1166 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p"); | |
1167 | _resultobj = Py_BuildValue("s",_ptemp); | |
1168 | } else { | |
1169 | Py_INCREF(Py_None); | |
1170 | _resultobj = Py_None; | |
1171 | } | |
af309447 RD |
1172 | return _resultobj; |
1173 | } | |
1174 | ||
8ab979d7 | 1175 | #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item) |
efc5f224 | 1176 | static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1177 | PyObject * _resultobj; |
1178 | wxListItem * _result; | |
1179 | wxListEvent * _arg0; | |
1d99702e | 1180 | PyObject * _argo0 = 0; |
efc5f224 | 1181 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
1182 | char _ptemp[128]; |
1183 | ||
1184 | self = self; | |
efc5f224 | 1185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0)) |
8ab979d7 | 1186 | return NULL; |
1d99702e RD |
1187 | if (_argo0) { |
1188 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1189 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
8ab979d7 RD |
1190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p."); |
1191 | return NULL; | |
1192 | } | |
1193 | } | |
cf694132 RD |
1194 | { |
1195 | wxPy_BEGIN_ALLOW_THREADS; | |
1196 | _result = (wxListItem *)wxListEvent_m_item_get(_arg0); | |
1197 | ||
1198 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1199 | } if (_result) { |
1200 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p"); | |
1201 | _resultobj = Py_BuildValue("s",_ptemp); | |
1202 | } else { | |
1203 | Py_INCREF(Py_None); | |
1204 | _resultobj = Py_None; | |
1205 | } | |
8ab979d7 RD |
1206 | return _resultobj; |
1207 | } | |
1208 | ||
1209 | static void *SwigwxListCtrlTowxControl(void *ptr) { | |
1210 | wxListCtrl *src; | |
1211 | wxControl *dest; | |
1212 | src = (wxListCtrl *) ptr; | |
1213 | dest = (wxControl *) src; | |
1214 | return (void *) dest; | |
1215 | } | |
1216 | ||
1217 | static void *SwigwxListCtrlTowxWindow(void *ptr) { | |
1218 | wxListCtrl *src; | |
1219 | wxWindow *dest; | |
1220 | src = (wxListCtrl *) ptr; | |
1221 | dest = (wxWindow *) src; | |
1222 | return (void *) dest; | |
1223 | } | |
1224 | ||
1225 | static void *SwigwxListCtrlTowxEvtHandler(void *ptr) { | |
1226 | wxListCtrl *src; | |
1227 | wxEvtHandler *dest; | |
1228 | src = (wxListCtrl *) ptr; | |
1229 | dest = (wxEvtHandler *) src; | |
1230 | return (void *) dest; | |
1231 | } | |
1232 | ||
1233 | #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
efc5f224 | 1234 | static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1235 | PyObject * _resultobj; |
1236 | wxListCtrl * _result; | |
1237 | wxWindow * _arg0; | |
1238 | wxWindowID _arg1; | |
1d99702e RD |
1239 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; |
1240 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
1241 | long _arg4 = (long ) wxLC_ICON; | |
1242 | wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator; | |
1243 | char * _arg6 = (char *) "listCtrl"; | |
1244 | PyObject * _argo0 = 0; | |
2f90df85 RD |
1245 | wxPoint temp; |
1246 | PyObject * _obj2 = 0; | |
1247 | wxSize temp0; | |
1248 | PyObject * _obj3 = 0; | |
1d99702e | 1249 | PyObject * _argo5 = 0; |
efc5f224 | 1250 | char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL }; |
8ab979d7 RD |
1251 | char _ptemp[128]; |
1252 | ||
1253 | self = self; | |
2f90df85 | 1254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOs:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6)) |
8ab979d7 | 1255 | return NULL; |
1d99702e RD |
1256 | if (_argo0) { |
1257 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1258 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
8ab979d7 RD |
1259 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p."); |
1260 | return NULL; | |
1261 | } | |
1262 | } | |
2f90df85 RD |
1263 | if (_obj2) |
1264 | { | |
1265 | _arg2 = &temp; | |
1266 | if (! wxPoint_helper(_obj2, &_arg2)) | |
8ab979d7 | 1267 | return NULL; |
2f90df85 RD |
1268 | } |
1269 | if (_obj3) | |
1270 | { | |
1271 | _arg3 = &temp0; | |
1272 | if (! wxSize_helper(_obj3, &_arg3)) | |
8ab979d7 | 1273 | return NULL; |
2f90df85 | 1274 | } |
1d99702e RD |
1275 | if (_argo5) { |
1276 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
1277 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) { | |
8ab979d7 RD |
1278 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p."); |
1279 | return NULL; | |
1280 | } | |
1281 | } | |
cf694132 RD |
1282 | { |
1283 | wxPy_BEGIN_ALLOW_THREADS; | |
1284 | _result = (wxListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6); | |
1285 | ||
1286 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1287 | } if (_result) { |
1288 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListCtrl_p"); | |
1289 | _resultobj = Py_BuildValue("s",_ptemp); | |
1290 | } else { | |
1291 | Py_INCREF(Py_None); | |
1292 | _resultobj = Py_None; | |
1293 | } | |
8ab979d7 RD |
1294 | return _resultobj; |
1295 | } | |
1296 | ||
1297 | #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0)) | |
efc5f224 | 1298 | static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1299 | PyObject * _resultobj; |
1300 | bool _result; | |
1301 | wxListCtrl * _arg0; | |
1d99702e RD |
1302 | int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT); |
1303 | PyObject * _argo0 = 0; | |
efc5f224 | 1304 | char *_kwnames[] = { "self","flag", NULL }; |
8ab979d7 RD |
1305 | |
1306 | self = self; | |
efc5f224 | 1307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 1308 | return NULL; |
1d99702e RD |
1309 | if (_argo0) { |
1310 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1311 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1312 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p."); |
1313 | return NULL; | |
1314 | } | |
1315 | } | |
cf694132 RD |
1316 | { |
1317 | wxPy_BEGIN_ALLOW_THREADS; | |
1318 | _result = (bool )wxListCtrl_Arrange(_arg0,_arg1); | |
1319 | ||
1320 | wxPy_END_ALLOW_THREADS; | |
1321 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
1322 | return _resultobj; |
1323 | } | |
1324 | ||
1325 | #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0)) | |
efc5f224 | 1326 | static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1327 | PyObject * _resultobj; |
1328 | bool _result; | |
1329 | wxListCtrl * _arg0; | |
1330 | long _arg1; | |
1d99702e | 1331 | PyObject * _argo0 = 0; |
efc5f224 | 1332 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
1333 | |
1334 | self = self; | |
efc5f224 | 1335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 1336 | return NULL; |
1d99702e RD |
1337 | if (_argo0) { |
1338 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1339 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1340 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p."); |
1341 | return NULL; | |
1342 | } | |
1343 | } | |
cf694132 RD |
1344 | { |
1345 | wxPy_BEGIN_ALLOW_THREADS; | |
1346 | _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1); | |
1347 | ||
1348 | wxPy_END_ALLOW_THREADS; | |
1349 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
1350 | return _resultobj; |
1351 | } | |
1352 | ||
1353 | #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems()) | |
efc5f224 | 1354 | static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1355 | PyObject * _resultobj; |
1356 | bool _result; | |
1357 | wxListCtrl * _arg0; | |
1d99702e | 1358 | PyObject * _argo0 = 0; |
efc5f224 | 1359 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
1360 | |
1361 | self = self; | |
efc5f224 | 1362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0)) |
8ab979d7 | 1363 | return NULL; |
1d99702e RD |
1364 | if (_argo0) { |
1365 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1366 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p."); |
1368 | return NULL; | |
1369 | } | |
1370 | } | |
cf694132 RD |
1371 | { |
1372 | wxPy_BEGIN_ALLOW_THREADS; | |
1373 | _result = (bool )wxListCtrl_DeleteAllItems(_arg0); | |
1374 | ||
1375 | wxPy_END_ALLOW_THREADS; | |
1376 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
1377 | return _resultobj; |
1378 | } | |
1379 | ||
1380 | #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0)) | |
efc5f224 | 1381 | static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1382 | PyObject * _resultobj; |
1383 | bool _result; | |
1384 | wxListCtrl * _arg0; | |
1385 | int _arg1; | |
1d99702e | 1386 | PyObject * _argo0 = 0; |
efc5f224 | 1387 | char *_kwnames[] = { "self","col", NULL }; |
8ab979d7 RD |
1388 | |
1389 | self = self; | |
efc5f224 | 1390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 1391 | return NULL; |
1d99702e RD |
1392 | if (_argo0) { |
1393 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1394 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1395 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p."); |
1396 | return NULL; | |
1397 | } | |
1398 | } | |
cf694132 RD |
1399 | { |
1400 | wxPy_BEGIN_ALLOW_THREADS; | |
1401 | _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1); | |
1402 | ||
1403 | wxPy_END_ALLOW_THREADS; | |
1404 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
1405 | return _resultobj; |
1406 | } | |
1407 | ||
1408 | #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns()) | |
efc5f224 | 1409 | static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1410 | PyObject * _resultobj; |
1411 | bool _result; | |
1412 | wxListCtrl * _arg0; | |
1d99702e | 1413 | PyObject * _argo0 = 0; |
efc5f224 | 1414 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
1415 | |
1416 | self = self; | |
efc5f224 | 1417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0)) |
8ab979d7 | 1418 | return NULL; |
1d99702e RD |
1419 | if (_argo0) { |
1420 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1421 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1422 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p."); |
1423 | return NULL; | |
1424 | } | |
1425 | } | |
cf694132 RD |
1426 | { |
1427 | wxPy_BEGIN_ALLOW_THREADS; | |
1428 | _result = (bool )wxListCtrl_DeleteAllColumns(_arg0); | |
1429 | ||
1430 | wxPy_END_ALLOW_THREADS; | |
1431 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
1432 | return _resultobj; |
1433 | } | |
1434 | ||
1435 | #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll()) | |
efc5f224 | 1436 | static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1437 | PyObject * _resultobj; |
1438 | wxListCtrl * _arg0; | |
1d99702e | 1439 | PyObject * _argo0 = 0; |
efc5f224 | 1440 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
1441 | |
1442 | self = self; | |
efc5f224 | 1443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_kwnames,&_argo0)) |
8ab979d7 | 1444 | return NULL; |
1d99702e RD |
1445 | if (_argo0) { |
1446 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1447 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1448 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p."); |
1449 | return NULL; | |
1450 | } | |
1451 | } | |
cf694132 RD |
1452 | { |
1453 | wxPy_BEGIN_ALLOW_THREADS; | |
1454 | wxListCtrl_ClearAll(_arg0); | |
1455 | ||
1456 | wxPy_END_ALLOW_THREADS; | |
1457 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
1458 | _resultobj = Py_None; |
1459 | return _resultobj; | |
1460 | } | |
1461 | ||
1462 | #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0)) | |
efc5f224 | 1463 | static PyObject *_wrap_wxListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1464 | PyObject * _resultobj; |
1465 | wxTextCtrl * _result; | |
1466 | wxListCtrl * _arg0; | |
1467 | long _arg1; | |
1d99702e | 1468 | PyObject * _argo0 = 0; |
efc5f224 | 1469 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
1470 | char _ptemp[128]; |
1471 | ||
1472 | self = self; | |
efc5f224 | 1473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EditLabel",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 1474 | return NULL; |
1d99702e RD |
1475 | if (_argo0) { |
1476 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1477 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1478 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p."); |
1479 | return NULL; | |
1480 | } | |
1481 | } | |
cf694132 RD |
1482 | { |
1483 | wxPy_BEGIN_ALLOW_THREADS; | |
1484 | _result = (wxTextCtrl *)wxListCtrl_EditLabel(_arg0,_arg1); | |
1485 | ||
1486 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1487 | } if (_result) { |
1488 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p"); | |
1489 | _resultobj = Py_BuildValue("s",_ptemp); | |
1490 | } else { | |
1491 | Py_INCREF(Py_None); | |
1492 | _resultobj = Py_None; | |
1493 | } | |
8ab979d7 RD |
1494 | return _resultobj; |
1495 | } | |
1496 | ||
1497 | #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0)) | |
efc5f224 | 1498 | static PyObject *_wrap_wxListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1499 | PyObject * _resultobj; |
1500 | bool _result; | |
1501 | wxListCtrl * _arg0; | |
1502 | bool _arg1; | |
1d99702e | 1503 | PyObject * _argo0 = 0; |
8ab979d7 | 1504 | int tempbool1; |
efc5f224 | 1505 | char *_kwnames[] = { "self","cancel", NULL }; |
8ab979d7 RD |
1506 | |
1507 | self = self; | |
efc5f224 | 1508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_EndEditLabel",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 1509 | return NULL; |
1d99702e RD |
1510 | if (_argo0) { |
1511 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1512 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxListCtrl_p."); |
1514 | return NULL; | |
1515 | } | |
1516 | } | |
1517 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
1518 | { |
1519 | wxPy_BEGIN_ALLOW_THREADS; | |
1520 | _result = (bool )wxListCtrl_EndEditLabel(_arg0,_arg1); | |
1521 | ||
1522 | wxPy_END_ALLOW_THREADS; | |
1523 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
1524 | return _resultobj; |
1525 | } | |
1526 | ||
be4d9c1f | 1527 | #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl()) |
efc5f224 | 1528 | static PyObject *_wrap_wxListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { |
be4d9c1f RD |
1529 | PyObject * _resultobj; |
1530 | wxTextCtrl * _result; | |
1531 | wxListCtrl * _arg0; | |
1d99702e | 1532 | PyObject * _argo0 = 0; |
efc5f224 | 1533 | char *_kwnames[] = { "self", NULL }; |
be4d9c1f RD |
1534 | char _ptemp[128]; |
1535 | ||
1536 | self = self; | |
efc5f224 | 1537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetEditControl",_kwnames,&_argo0)) |
be4d9c1f | 1538 | return NULL; |
1d99702e RD |
1539 | if (_argo0) { |
1540 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1541 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
be4d9c1f RD |
1542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxListCtrl_p."); |
1543 | return NULL; | |
1544 | } | |
1545 | } | |
cf694132 RD |
1546 | { |
1547 | wxPy_BEGIN_ALLOW_THREADS; | |
1548 | _result = (wxTextCtrl *)wxListCtrl_GetEditControl(_arg0); | |
1549 | ||
1550 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1551 | } if (_result) { |
1552 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p"); | |
1553 | _resultobj = Py_BuildValue("s",_ptemp); | |
1554 | } else { | |
1555 | Py_INCREF(Py_None); | |
1556 | _resultobj = Py_None; | |
1557 | } | |
be4d9c1f RD |
1558 | return _resultobj; |
1559 | } | |
1560 | ||
8ab979d7 | 1561 | #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0)) |
efc5f224 | 1562 | static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1563 | PyObject * _resultobj; |
1564 | bool _result; | |
1565 | wxListCtrl * _arg0; | |
1566 | long _arg1; | |
1d99702e | 1567 | PyObject * _argo0 = 0; |
efc5f224 | 1568 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
1569 | |
1570 | self = self; | |
efc5f224 | 1571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 1572 | return NULL; |
1d99702e RD |
1573 | if (_argo0) { |
1574 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1575 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1576 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p."); |
1577 | return NULL; | |
1578 | } | |
1579 | } | |
cf694132 RD |
1580 | { |
1581 | wxPy_BEGIN_ALLOW_THREADS; | |
1582 | _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1); | |
1583 | ||
1584 | wxPy_END_ALLOW_THREADS; | |
1585 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
1586 | return _resultobj; |
1587 | } | |
1588 | ||
1589 | #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 1590 | static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1591 | PyObject * _resultobj; |
1592 | long _result; | |
1593 | wxListCtrl * _arg0; | |
1594 | long _arg1; | |
1595 | wxString * _arg2; | |
1d99702e RD |
1596 | bool _arg3 = (bool ) FALSE; |
1597 | PyObject * _argo0 = 0; | |
8ab979d7 | 1598 | PyObject * _obj2 = 0; |
1d99702e | 1599 | int tempbool3 = (int) FALSE; |
efc5f224 | 1600 | char *_kwnames[] = { "self","start","str","partial", NULL }; |
8ab979d7 RD |
1601 | |
1602 | self = self; | |
efc5f224 | 1603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3)) |
8ab979d7 | 1604 | return NULL; |
1d99702e RD |
1605 | if (_argo0) { |
1606 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1607 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1608 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p."); |
1609 | return NULL; | |
1610 | } | |
1611 | } | |
1612 | { | |
1613 | if (!PyString_Check(_obj2)) { | |
1614 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1615 | return NULL; | |
1616 | } | |
cf694132 | 1617 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
8ab979d7 RD |
1618 | } |
1619 | _arg3 = (bool ) tempbool3; | |
cf694132 RD |
1620 | { |
1621 | wxPy_BEGIN_ALLOW_THREADS; | |
1622 | _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3); | |
1623 | ||
1624 | wxPy_END_ALLOW_THREADS; | |
1625 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
1626 | { |
1627 | if (_obj2) | |
1628 | delete _arg2; | |
1629 | } | |
1630 | return _resultobj; | |
1631 | } | |
1632 | ||
1633 | #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1)) | |
efc5f224 | 1634 | static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1635 | PyObject * _resultobj; |
1636 | long _result; | |
1637 | wxListCtrl * _arg0; | |
1638 | long _arg1; | |
1639 | long _arg2; | |
1d99702e | 1640 | PyObject * _argo0 = 0; |
efc5f224 | 1641 | char *_kwnames[] = { "self","start","data", NULL }; |
8ab979d7 RD |
1642 | |
1643 | self = self; | |
efc5f224 | 1644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 1645 | return NULL; |
1d99702e RD |
1646 | if (_argo0) { |
1647 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1648 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1649 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p."); |
1650 | return NULL; | |
1651 | } | |
1652 | } | |
cf694132 RD |
1653 | { |
1654 | wxPy_BEGIN_ALLOW_THREADS; | |
1655 | _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2); | |
1656 | ||
1657 | wxPy_END_ALLOW_THREADS; | |
1658 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
1659 | return _resultobj; |
1660 | } | |
1661 | ||
1662 | #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 1663 | static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1664 | PyObject * _resultobj; |
1665 | long _result; | |
1666 | wxListCtrl * _arg0; | |
1667 | long _arg1; | |
1668 | wxPoint * _arg2; | |
1669 | int _arg3; | |
1d99702e | 1670 | PyObject * _argo0 = 0; |
2f90df85 RD |
1671 | wxPoint temp; |
1672 | PyObject * _obj2 = 0; | |
efc5f224 | 1673 | char *_kwnames[] = { "self","start","pt","direction", NULL }; |
8ab979d7 RD |
1674 | |
1675 | self = self; | |
2f90df85 | 1676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3)) |
8ab979d7 | 1677 | return NULL; |
1d99702e RD |
1678 | if (_argo0) { |
1679 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1680 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1681 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p."); |
1682 | return NULL; | |
1683 | } | |
1684 | } | |
2f90df85 RD |
1685 | { |
1686 | _arg2 = &temp; | |
1687 | if (! wxPoint_helper(_obj2, &_arg2)) | |
8ab979d7 | 1688 | return NULL; |
2f90df85 | 1689 | } |
cf694132 RD |
1690 | { |
1691 | wxPy_BEGIN_ALLOW_THREADS; | |
1692 | _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3); | |
1693 | ||
1694 | wxPy_END_ALLOW_THREADS; | |
1695 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
1696 | return _resultobj; |
1697 | } | |
1698 | ||
1699 | #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1)) | |
efc5f224 | 1700 | static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1701 | PyObject * _resultobj; |
1702 | bool _result; | |
1703 | wxListCtrl * _arg0; | |
1704 | int _arg1; | |
1705 | wxListItem * _arg2; | |
1d99702e RD |
1706 | PyObject * _argo0 = 0; |
1707 | PyObject * _argo2 = 0; | |
efc5f224 | 1708 | char *_kwnames[] = { "self","col","item", NULL }; |
8ab979d7 RD |
1709 | |
1710 | self = self; | |
efc5f224 | 1711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1,&_argo2)) |
8ab979d7 | 1712 | return NULL; |
1d99702e RD |
1713 | if (_argo0) { |
1714 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1715 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p."); |
1717 | return NULL; | |
1718 | } | |
1719 | } | |
1d99702e RD |
1720 | if (_argo2) { |
1721 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1722 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) { | |
8ab979d7 RD |
1723 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p."); |
1724 | return NULL; | |
1725 | } | |
1726 | } | |
cf694132 RD |
1727 | { |
1728 | wxPy_BEGIN_ALLOW_THREADS; | |
1729 | _result = (bool )wxListCtrl_GetColumn(_arg0,_arg1,*_arg2); | |
1730 | ||
1731 | wxPy_END_ALLOW_THREADS; | |
1732 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
1733 | return _resultobj; |
1734 | } | |
1735 | ||
1736 | #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0)) | |
efc5f224 | 1737 | static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1738 | PyObject * _resultobj; |
1739 | int _result; | |
1740 | wxListCtrl * _arg0; | |
1741 | int _arg1; | |
1d99702e | 1742 | PyObject * _argo0 = 0; |
efc5f224 | 1743 | char *_kwnames[] = { "self","col", NULL }; |
8ab979d7 RD |
1744 | |
1745 | self = self; | |
efc5f224 | 1746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 1747 | return NULL; |
1d99702e RD |
1748 | if (_argo0) { |
1749 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1750 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p."); |
1752 | return NULL; | |
1753 | } | |
1754 | } | |
cf694132 RD |
1755 | { |
1756 | wxPy_BEGIN_ALLOW_THREADS; | |
1757 | _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1); | |
1758 | ||
1759 | wxPy_END_ALLOW_THREADS; | |
1760 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
1761 | return _resultobj; |
1762 | } | |
1763 | ||
1764 | #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage()) | |
efc5f224 | 1765 | static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1766 | PyObject * _resultobj; |
1767 | int _result; | |
1768 | wxListCtrl * _arg0; | |
1d99702e | 1769 | PyObject * _argo0 = 0; |
efc5f224 | 1770 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
1771 | |
1772 | self = self; | |
efc5f224 | 1773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0)) |
8ab979d7 | 1774 | return NULL; |
1d99702e RD |
1775 | if (_argo0) { |
1776 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1777 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1778 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p."); |
1779 | return NULL; | |
1780 | } | |
1781 | } | |
cf694132 RD |
1782 | { |
1783 | wxPy_BEGIN_ALLOW_THREADS; | |
1784 | _result = (int )wxListCtrl_GetCountPerPage(_arg0); | |
1785 | ||
1786 | wxPy_END_ALLOW_THREADS; | |
1787 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
1788 | return _resultobj; |
1789 | } | |
1790 | ||
1791 | #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0)) | |
efc5f224 | 1792 | static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1793 | PyObject * _resultobj; |
1794 | wxImageList * _result; | |
1795 | wxListCtrl * _arg0; | |
1796 | int _arg1; | |
1d99702e | 1797 | PyObject * _argo0 = 0; |
efc5f224 | 1798 | char *_kwnames[] = { "self","which", NULL }; |
8ab979d7 RD |
1799 | char _ptemp[128]; |
1800 | ||
1801 | self = self; | |
efc5f224 | 1802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 1803 | return NULL; |
1d99702e RD |
1804 | if (_argo0) { |
1805 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1806 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1807 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p."); |
1808 | return NULL; | |
1809 | } | |
1810 | } | |
cf694132 RD |
1811 | { |
1812 | wxPy_BEGIN_ALLOW_THREADS; | |
1813 | _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1); | |
1814 | ||
1815 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1816 | } if (_result) { |
1817 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p"); | |
1818 | _resultobj = Py_BuildValue("s",_ptemp); | |
1819 | } else { | |
1820 | Py_INCREF(Py_None); | |
1821 | _resultobj = Py_None; | |
1822 | } | |
8ab979d7 RD |
1823 | return _resultobj; |
1824 | } | |
1825 | ||
1826 | #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0)) | |
efc5f224 | 1827 | static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1828 | PyObject * _resultobj; |
1829 | long _result; | |
1830 | wxListCtrl * _arg0; | |
1831 | long _arg1; | |
1d99702e | 1832 | PyObject * _argo0 = 0; |
efc5f224 | 1833 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
1834 | |
1835 | self = self; | |
efc5f224 | 1836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 1837 | return NULL; |
1d99702e RD |
1838 | if (_argo0) { |
1839 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1840 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1841 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p."); |
1842 | return NULL; | |
1843 | } | |
1844 | } | |
cf694132 RD |
1845 | { |
1846 | wxPy_BEGIN_ALLOW_THREADS; | |
1847 | _result = (long )wxListCtrl_GetItemData(_arg0,_arg1); | |
1848 | ||
1849 | wxPy_END_ALLOW_THREADS; | |
1850 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
1851 | return _resultobj; |
1852 | } | |
1853 | ||
e166644c | 1854 | static wxListItem * wxListCtrl_GetItem(wxListCtrl *self,long itemId,int col) { |
8ab979d7 | 1855 | wxListItem* info = new wxListItem; |
0699c864 | 1856 | info->m_itemId = itemId; |
e166644c | 1857 | info->m_col = col; |
f17fee68 | 1858 | info->m_mask = 0xFFFF; |
8ab979d7 RD |
1859 | self->GetItem(*info); |
1860 | return info; | |
1861 | } | |
efc5f224 | 1862 | static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1863 | PyObject * _resultobj; |
1864 | wxListItem * _result; | |
1865 | wxListCtrl * _arg0; | |
0699c864 | 1866 | long _arg1; |
e166644c | 1867 | int _arg2 = (int ) 0; |
1d99702e | 1868 | PyObject * _argo0 = 0; |
e166644c | 1869 | char *_kwnames[] = { "self","itemId","col", NULL }; |
8ab979d7 RD |
1870 | char _ptemp[128]; |
1871 | ||
1872 | self = self; | |
e166644c | 1873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 1874 | return NULL; |
1d99702e RD |
1875 | if (_argo0) { |
1876 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1877 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1878 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p."); |
1879 | return NULL; | |
1880 | } | |
1881 | } | |
cf694132 RD |
1882 | { |
1883 | wxPy_BEGIN_ALLOW_THREADS; | |
e166644c | 1884 | _result = (wxListItem *)wxListCtrl_GetItem(_arg0,_arg1,_arg2); |
cf694132 RD |
1885 | |
1886 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1887 | } if (_result) { |
1888 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p"); | |
1889 | _resultobj = Py_BuildValue("s",_ptemp); | |
1890 | } else { | |
1891 | Py_INCREF(Py_None); | |
1892 | _resultobj = Py_None; | |
1893 | } | |
8ab979d7 RD |
1894 | return _resultobj; |
1895 | } | |
1896 | ||
1897 | static wxPoint * wxListCtrl_GetItemPosition(wxListCtrl *self,long item) { | |
1898 | wxPoint* pos = new wxPoint; | |
1899 | self->GetItemPosition(item, *pos); | |
1900 | return pos; | |
1901 | } | |
efc5f224 | 1902 | static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1903 | PyObject * _resultobj; |
1904 | wxPoint * _result; | |
1905 | wxListCtrl * _arg0; | |
1906 | long _arg1; | |
1d99702e | 1907 | PyObject * _argo0 = 0; |
efc5f224 | 1908 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
1909 | char _ptemp[128]; |
1910 | ||
1911 | self = self; | |
efc5f224 | 1912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 1913 | return NULL; |
1d99702e RD |
1914 | if (_argo0) { |
1915 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1916 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1917 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p."); |
1918 | return NULL; | |
1919 | } | |
1920 | } | |
cf694132 RD |
1921 | { |
1922 | wxPy_BEGIN_ALLOW_THREADS; | |
1923 | _result = (wxPoint *)wxListCtrl_GetItemPosition(_arg0,_arg1); | |
1924 | ||
1925 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1926 | } if (_result) { |
1927 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); | |
1928 | _resultobj = Py_BuildValue("s",_ptemp); | |
1929 | } else { | |
1930 | Py_INCREF(Py_None); | |
1931 | _resultobj = Py_None; | |
1932 | } | |
8ab979d7 RD |
1933 | return _resultobj; |
1934 | } | |
1935 | ||
1936 | static wxRect * wxListCtrl_GetItemRect(wxListCtrl *self,long item,int code) { | |
1937 | wxRect* rect= new wxRect; | |
1938 | self->GetItemRect(item, *rect, code); | |
1939 | return rect; | |
1940 | } | |
efc5f224 | 1941 | static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1942 | PyObject * _resultobj; |
1943 | wxRect * _result; | |
1944 | wxListCtrl * _arg0; | |
1945 | long _arg1; | |
1d99702e RD |
1946 | int _arg2 = (int ) (wxLIST_RECT_BOUNDS); |
1947 | PyObject * _argo0 = 0; | |
efc5f224 | 1948 | char *_kwnames[] = { "self","item","code", NULL }; |
8ab979d7 RD |
1949 | char _ptemp[128]; |
1950 | ||
1951 | self = self; | |
efc5f224 | 1952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 1953 | return NULL; |
1d99702e RD |
1954 | if (_argo0) { |
1955 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1956 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1957 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p."); |
1958 | return NULL; | |
1959 | } | |
1960 | } | |
cf694132 RD |
1961 | { |
1962 | wxPy_BEGIN_ALLOW_THREADS; | |
1963 | _result = (wxRect *)wxListCtrl_GetItemRect(_arg0,_arg1,_arg2); | |
1964 | ||
1965 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
1966 | } if (_result) { |
1967 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p"); | |
1968 | _resultobj = Py_BuildValue("s",_ptemp); | |
1969 | } else { | |
1970 | Py_INCREF(Py_None); | |
1971 | _resultobj = Py_None; | |
1972 | } | |
8ab979d7 RD |
1973 | return _resultobj; |
1974 | } | |
1975 | ||
1976 | #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1)) | |
efc5f224 | 1977 | static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
1978 | PyObject * _resultobj; |
1979 | int _result; | |
1980 | wxListCtrl * _arg0; | |
1981 | long _arg1; | |
1982 | long _arg2; | |
1d99702e | 1983 | PyObject * _argo0 = 0; |
efc5f224 | 1984 | char *_kwnames[] = { "self","item","stateMask", NULL }; |
8ab979d7 RD |
1985 | |
1986 | self = self; | |
efc5f224 | 1987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 1988 | return NULL; |
1d99702e RD |
1989 | if (_argo0) { |
1990 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1991 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
1992 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p."); |
1993 | return NULL; | |
1994 | } | |
1995 | } | |
cf694132 RD |
1996 | { |
1997 | wxPy_BEGIN_ALLOW_THREADS; | |
1998 | _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2); | |
1999 | ||
2000 | wxPy_END_ALLOW_THREADS; | |
2001 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2002 | return _resultobj; |
2003 | } | |
2004 | ||
2005 | #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount()) | |
efc5f224 | 2006 | static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2007 | PyObject * _resultobj; |
2008 | int _result; | |
2009 | wxListCtrl * _arg0; | |
1d99702e | 2010 | PyObject * _argo0 = 0; |
efc5f224 | 2011 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2012 | |
2013 | self = self; | |
efc5f224 | 2014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0)) |
8ab979d7 | 2015 | return NULL; |
1d99702e RD |
2016 | if (_argo0) { |
2017 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2018 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2019 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p."); |
2020 | return NULL; | |
2021 | } | |
2022 | } | |
cf694132 RD |
2023 | { |
2024 | wxPy_BEGIN_ALLOW_THREADS; | |
2025 | _result = (int )wxListCtrl_GetItemCount(_arg0); | |
2026 | ||
2027 | wxPy_END_ALLOW_THREADS; | |
2028 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2029 | return _resultobj; |
2030 | } | |
2031 | ||
2032 | #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0)) | |
efc5f224 | 2033 | static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2034 | PyObject * _resultobj; |
2035 | int _result; | |
2036 | wxListCtrl * _arg0; | |
2037 | bool _arg1; | |
1d99702e | 2038 | PyObject * _argo0 = 0; |
8ab979d7 | 2039 | int tempbool1; |
efc5f224 | 2040 | char *_kwnames[] = { "self","isSmall", NULL }; |
8ab979d7 RD |
2041 | |
2042 | self = self; | |
efc5f224 | 2043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 2044 | return NULL; |
1d99702e RD |
2045 | if (_argo0) { |
2046 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2047 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2048 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p."); |
2049 | return NULL; | |
2050 | } | |
2051 | } | |
2052 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
2053 | { |
2054 | wxPy_BEGIN_ALLOW_THREADS; | |
2055 | _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1); | |
2056 | ||
2057 | wxPy_END_ALLOW_THREADS; | |
2058 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2059 | return _resultobj; |
2060 | } | |
2061 | ||
2062 | #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0)) | |
efc5f224 | 2063 | static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2064 | PyObject * _resultobj; |
2065 | wxString * _result; | |
2066 | wxListCtrl * _arg0; | |
2067 | long _arg1; | |
1d99702e | 2068 | PyObject * _argo0 = 0; |
efc5f224 | 2069 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
2070 | |
2071 | self = self; | |
efc5f224 | 2072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 2073 | return NULL; |
1d99702e RD |
2074 | if (_argo0) { |
2075 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2076 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2077 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p."); |
2078 | return NULL; | |
2079 | } | |
2080 | } | |
8ab979d7 | 2081 | { |
cf694132 RD |
2082 | wxPy_BEGIN_ALLOW_THREADS; |
2083 | _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1)); | |
2084 | ||
2085 | wxPy_END_ALLOW_THREADS; | |
2086 | }{ | |
eec92d76 | 2087 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
8ab979d7 RD |
2088 | } |
2089 | { | |
2090 | delete _result; | |
2091 | } | |
2092 | return _resultobj; | |
2093 | } | |
2094 | ||
2095 | #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 2096 | static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2097 | PyObject * _resultobj; |
2098 | long _result; | |
2099 | wxListCtrl * _arg0; | |
2100 | long _arg1; | |
1d99702e RD |
2101 | int _arg2 = (int ) (wxLIST_NEXT_ALL); |
2102 | int _arg3 = (int ) (wxLIST_STATE_DONTCARE); | |
2103 | PyObject * _argo0 = 0; | |
efc5f224 | 2104 | char *_kwnames[] = { "self","item","geometry","state", NULL }; |
8ab979d7 RD |
2105 | |
2106 | self = self; | |
efc5f224 | 2107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
8ab979d7 | 2108 | return NULL; |
1d99702e RD |
2109 | if (_argo0) { |
2110 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2111 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2112 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p."); |
2113 | return NULL; | |
2114 | } | |
2115 | } | |
cf694132 RD |
2116 | { |
2117 | wxPy_BEGIN_ALLOW_THREADS; | |
2118 | _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3); | |
2119 | ||
2120 | wxPy_END_ALLOW_THREADS; | |
2121 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
2122 | return _resultobj; |
2123 | } | |
2124 | ||
2125 | #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount()) | |
efc5f224 | 2126 | static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2127 | PyObject * _resultobj; |
2128 | int _result; | |
2129 | wxListCtrl * _arg0; | |
1d99702e | 2130 | PyObject * _argo0 = 0; |
efc5f224 | 2131 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2132 | |
2133 | self = self; | |
efc5f224 | 2134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetSelectedItemCount",_kwnames,&_argo0)) |
8ab979d7 | 2135 | return NULL; |
1d99702e RD |
2136 | if (_argo0) { |
2137 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2138 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2139 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p."); |
2140 | return NULL; | |
2141 | } | |
2142 | } | |
cf694132 RD |
2143 | { |
2144 | wxPy_BEGIN_ALLOW_THREADS; | |
2145 | _result = (int )wxListCtrl_GetSelectedItemCount(_arg0); | |
2146 | ||
2147 | wxPy_END_ALLOW_THREADS; | |
2148 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2149 | return _resultobj; |
2150 | } | |
2151 | ||
2152 | #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour()) | |
efc5f224 | 2153 | static PyObject *_wrap_wxListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2154 | PyObject * _resultobj; |
2155 | wxColour * _result; | |
2156 | wxListCtrl * _arg0; | |
1d99702e | 2157 | PyObject * _argo0 = 0; |
efc5f224 | 2158 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2159 | char _ptemp[128]; |
2160 | ||
2161 | self = self; | |
efc5f224 | 2162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTextColour",_kwnames,&_argo0)) |
8ab979d7 | 2163 | return NULL; |
1d99702e RD |
2164 | if (_argo0) { |
2165 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2166 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2167 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxListCtrl_p."); |
2168 | return NULL; | |
2169 | } | |
2170 | } | |
cf694132 RD |
2171 | { |
2172 | wxPy_BEGIN_ALLOW_THREADS; | |
2173 | _result = new wxColour (wxListCtrl_GetTextColour(_arg0)); | |
2174 | ||
2175 | wxPy_END_ALLOW_THREADS; | |
2176 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
8ab979d7 RD |
2177 | _resultobj = Py_BuildValue("s",_ptemp); |
2178 | return _resultobj; | |
2179 | } | |
2180 | ||
be4d9c1f | 2181 | #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) |
efc5f224 | 2182 | static PyObject *_wrap_wxListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
be4d9c1f RD |
2183 | PyObject * _resultobj; |
2184 | wxListCtrl * _arg0; | |
2185 | wxColour * _arg1; | |
1d99702e RD |
2186 | PyObject * _argo0 = 0; |
2187 | PyObject * _argo1 = 0; | |
efc5f224 | 2188 | char *_kwnames[] = { "self","col", NULL }; |
be4d9c1f RD |
2189 | |
2190 | self = self; | |
efc5f224 | 2191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetTextColour",_kwnames,&_argo0,&_argo1)) |
be4d9c1f | 2192 | return NULL; |
1d99702e RD |
2193 | if (_argo0) { |
2194 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2195 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
be4d9c1f RD |
2196 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p."); |
2197 | return NULL; | |
2198 | } | |
2199 | } | |
1d99702e RD |
2200 | if (_argo1) { |
2201 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2202 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
be4d9c1f RD |
2203 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetTextColour. Expected _wxColour_p."); |
2204 | return NULL; | |
2205 | } | |
2206 | } | |
cf694132 RD |
2207 | { |
2208 | wxPy_BEGIN_ALLOW_THREADS; | |
2209 | wxListCtrl_SetTextColour(_arg0,*_arg1); | |
2210 | ||
2211 | wxPy_END_ALLOW_THREADS; | |
2212 | } Py_INCREF(Py_None); | |
be4d9c1f RD |
2213 | _resultobj = Py_None; |
2214 | return _resultobj; | |
2215 | } | |
2216 | ||
8ab979d7 | 2217 | #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem()) |
efc5f224 | 2218 | static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2219 | PyObject * _resultobj; |
2220 | long _result; | |
2221 | wxListCtrl * _arg0; | |
1d99702e | 2222 | PyObject * _argo0 = 0; |
efc5f224 | 2223 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2224 | |
2225 | self = self; | |
efc5f224 | 2226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0)) |
8ab979d7 | 2227 | return NULL; |
1d99702e RD |
2228 | if (_argo0) { |
2229 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2230 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2231 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p."); |
2232 | return NULL; | |
2233 | } | |
2234 | } | |
cf694132 RD |
2235 | { |
2236 | wxPy_BEGIN_ALLOW_THREADS; | |
2237 | _result = (long )wxListCtrl_GetTopItem(_arg0); | |
2238 | ||
2239 | wxPy_END_ALLOW_THREADS; | |
2240 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
2241 | return _resultobj; |
2242 | } | |
2243 | ||
2244 | #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1)) | |
efc5f224 | 2245 | static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2246 | PyObject * _resultobj; |
2247 | long _result; | |
2248 | wxListCtrl * _arg0; | |
2249 | wxPoint * _arg1; | |
2250 | int * _arg2; | |
2251 | int temp; | |
1d99702e | 2252 | PyObject * _argo0 = 0; |
2f90df85 RD |
2253 | wxPoint temp0; |
2254 | PyObject * _obj1 = 0; | |
efc5f224 | 2255 | char *_kwnames[] = { "self","point", NULL }; |
8ab979d7 RD |
2256 | |
2257 | self = self; | |
2258 | { | |
2259 | _arg2 = &temp; | |
2260 | } | |
2f90df85 | 2261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1)) |
8ab979d7 | 2262 | return NULL; |
1d99702e RD |
2263 | if (_argo0) { |
2264 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2265 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2266 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p."); |
2267 | return NULL; | |
2268 | } | |
2269 | } | |
2f90df85 RD |
2270 | { |
2271 | _arg1 = &temp0; | |
2272 | if (! wxPoint_helper(_obj1, &_arg1)) | |
8ab979d7 | 2273 | return NULL; |
2f90df85 | 2274 | } |
cf694132 RD |
2275 | { |
2276 | wxPy_BEGIN_ALLOW_THREADS; | |
2277 | _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2); | |
2278 | ||
2279 | wxPy_END_ALLOW_THREADS; | |
2280 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
2281 | { |
2282 | PyObject *o; | |
2283 | o = PyInt_FromLong((long) (*_arg2)); | |
2284 | _resultobj = t_output_helper(_resultobj, o); | |
2285 | } | |
2286 | return _resultobj; | |
2287 | } | |
2288 | ||
0699c864 | 2289 | #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1)) |
efc5f224 | 2290 | static PyObject *_wrap_wxListCtrl_InsertColumnWith(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2291 | PyObject * _resultobj; |
2292 | long _result; | |
2293 | wxListCtrl * _arg0; | |
2294 | long _arg1; | |
2295 | wxListItem * _arg2; | |
1d99702e RD |
2296 | PyObject * _argo0 = 0; |
2297 | PyObject * _argo2 = 0; | |
efc5f224 | 2298 | char *_kwnames[] = { "self","col","info", NULL }; |
8ab979d7 RD |
2299 | |
2300 | self = self; | |
efc5f224 | 2301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnWith",_kwnames,&_argo0,&_arg1,&_argo2)) |
8ab979d7 | 2302 | return NULL; |
1d99702e RD |
2303 | if (_argo0) { |
2304 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2305 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
0699c864 | 2306 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p."); |
8ab979d7 RD |
2307 | return NULL; |
2308 | } | |
2309 | } | |
1d99702e RD |
2310 | if (_argo2) { |
2311 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2312 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) { | |
0699c864 | 2313 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p."); |
8ab979d7 RD |
2314 | return NULL; |
2315 | } | |
2316 | } | |
cf694132 RD |
2317 | { |
2318 | wxPy_BEGIN_ALLOW_THREADS; | |
2319 | _result = (long )wxListCtrl_InsertColumnWith(_arg0,_arg1,*_arg2); | |
2320 | ||
2321 | wxPy_END_ALLOW_THREADS; | |
2322 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
2323 | return _resultobj; |
2324 | } | |
2325 | ||
2326 | #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
efc5f224 | 2327 | static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2328 | PyObject * _resultobj; |
2329 | long _result; | |
2330 | wxListCtrl * _arg0; | |
2331 | long _arg1; | |
2332 | wxString * _arg2; | |
1d99702e RD |
2333 | int _arg3 = (int ) (wxLIST_FORMAT_LEFT); |
2334 | int _arg4 = (int ) -1; | |
2335 | PyObject * _argo0 = 0; | |
8ab979d7 | 2336 | PyObject * _obj2 = 0; |
efc5f224 | 2337 | char *_kwnames[] = { "self","col","heading","format","width", NULL }; |
8ab979d7 RD |
2338 | |
2339 | self = self; | |
efc5f224 | 2340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4)) |
8ab979d7 | 2341 | return NULL; |
1d99702e RD |
2342 | if (_argo0) { |
2343 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2344 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2345 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p."); |
2346 | return NULL; | |
2347 | } | |
2348 | } | |
2349 | { | |
2350 | if (!PyString_Check(_obj2)) { | |
2351 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2352 | return NULL; | |
2353 | } | |
cf694132 | 2354 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
8ab979d7 | 2355 | } |
cf694132 RD |
2356 | { |
2357 | wxPy_BEGIN_ALLOW_THREADS; | |
2358 | _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4); | |
2359 | ||
2360 | wxPy_END_ALLOW_THREADS; | |
2361 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
2362 | { |
2363 | if (_obj2) | |
2364 | delete _arg2; | |
2365 | } | |
2366 | return _resultobj; | |
2367 | } | |
2368 | ||
2369 | #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0)) | |
efc5f224 | 2370 | static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2371 | PyObject * _resultobj; |
2372 | long _result; | |
2373 | wxListCtrl * _arg0; | |
2374 | wxListItem * _arg1; | |
1d99702e RD |
2375 | PyObject * _argo0 = 0; |
2376 | PyObject * _argo1 = 0; | |
efc5f224 | 2377 | char *_kwnames[] = { "self","info", NULL }; |
8ab979d7 RD |
2378 | |
2379 | self = self; | |
efc5f224 | 2380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 2381 | return NULL; |
1d99702e RD |
2382 | if (_argo0) { |
2383 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2384 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2385 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p."); |
2386 | return NULL; | |
2387 | } | |
2388 | } | |
1d99702e RD |
2389 | if (_argo1) { |
2390 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2391 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) { | |
8ab979d7 RD |
2392 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p."); |
2393 | return NULL; | |
2394 | } | |
2395 | } | |
cf694132 RD |
2396 | { |
2397 | wxPy_BEGIN_ALLOW_THREADS; | |
2398 | _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1); | |
2399 | ||
2400 | wxPy_END_ALLOW_THREADS; | |
2401 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
2402 | return _resultobj; |
2403 | } | |
2404 | ||
2405 | #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1)) | |
efc5f224 | 2406 | static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2407 | PyObject * _resultobj; |
2408 | long _result; | |
2409 | wxListCtrl * _arg0; | |
2410 | long _arg1; | |
2411 | wxString * _arg2; | |
1d99702e | 2412 | PyObject * _argo0 = 0; |
8ab979d7 | 2413 | PyObject * _obj2 = 0; |
efc5f224 | 2414 | char *_kwnames[] = { "self","index","label", NULL }; |
8ab979d7 RD |
2415 | |
2416 | self = self; | |
efc5f224 | 2417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2)) |
8ab979d7 | 2418 | return NULL; |
1d99702e RD |
2419 | if (_argo0) { |
2420 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2421 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2422 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p."); |
2423 | return NULL; | |
2424 | } | |
2425 | } | |
2426 | { | |
2427 | if (!PyString_Check(_obj2)) { | |
2428 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2429 | return NULL; | |
2430 | } | |
cf694132 | 2431 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
8ab979d7 | 2432 | } |
cf694132 RD |
2433 | { |
2434 | wxPy_BEGIN_ALLOW_THREADS; | |
2435 | _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2); | |
2436 | ||
2437 | wxPy_END_ALLOW_THREADS; | |
2438 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
2439 | { |
2440 | if (_obj2) | |
2441 | delete _arg2; | |
2442 | } | |
2443 | return _resultobj; | |
2444 | } | |
2445 | ||
2446 | #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1)) | |
efc5f224 | 2447 | static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2448 | PyObject * _resultobj; |
2449 | long _result; | |
2450 | wxListCtrl * _arg0; | |
2451 | long _arg1; | |
2452 | int _arg2; | |
1d99702e | 2453 | PyObject * _argo0 = 0; |
efc5f224 | 2454 | char *_kwnames[] = { "self","index","imageIndex", NULL }; |
8ab979d7 RD |
2455 | |
2456 | self = self; | |
efc5f224 | 2457 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 2458 | return NULL; |
1d99702e RD |
2459 | if (_argo0) { |
2460 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2461 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2462 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p."); |
2463 | return NULL; | |
2464 | } | |
2465 | } | |
cf694132 RD |
2466 | { |
2467 | wxPy_BEGIN_ALLOW_THREADS; | |
2468 | _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2); | |
2469 | ||
2470 | wxPy_END_ALLOW_THREADS; | |
2471 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
2472 | return _resultobj; |
2473 | } | |
2474 | ||
2475 | #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 2476 | static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2477 | PyObject * _resultobj; |
2478 | long _result; | |
2479 | wxListCtrl * _arg0; | |
2480 | long _arg1; | |
2481 | wxString * _arg2; | |
2482 | int _arg3; | |
1d99702e | 2483 | PyObject * _argo0 = 0; |
8ab979d7 | 2484 | PyObject * _obj2 = 0; |
efc5f224 | 2485 | char *_kwnames[] = { "self","index","label","imageIndex", NULL }; |
8ab979d7 RD |
2486 | |
2487 | self = self; | |
efc5f224 | 2488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3)) |
8ab979d7 | 2489 | return NULL; |
1d99702e RD |
2490 | if (_argo0) { |
2491 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2492 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2493 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p."); |
2494 | return NULL; | |
2495 | } | |
2496 | } | |
2497 | { | |
2498 | if (!PyString_Check(_obj2)) { | |
2499 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2500 | return NULL; | |
2501 | } | |
cf694132 | 2502 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
8ab979d7 | 2503 | } |
cf694132 RD |
2504 | { |
2505 | wxPy_BEGIN_ALLOW_THREADS; | |
2506 | _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3); | |
2507 | ||
2508 | wxPy_END_ALLOW_THREADS; | |
2509 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
2510 | { |
2511 | if (_obj2) | |
2512 | delete _arg2; | |
2513 | } | |
2514 | return _resultobj; | |
2515 | } | |
2516 | ||
2517 | #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1)) | |
efc5f224 | 2518 | static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2519 | PyObject * _resultobj; |
2520 | bool _result; | |
2521 | wxListCtrl * _arg0; | |
2522 | int _arg1; | |
2523 | int _arg2; | |
1d99702e | 2524 | PyObject * _argo0 = 0; |
efc5f224 | 2525 | char *_kwnames[] = { "self","dx","dy", NULL }; |
8ab979d7 RD |
2526 | |
2527 | self = self; | |
efc5f224 | 2528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 2529 | return NULL; |
1d99702e RD |
2530 | if (_argo0) { |
2531 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2532 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2533 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p."); |
2534 | return NULL; | |
2535 | } | |
2536 | } | |
cf694132 RD |
2537 | { |
2538 | wxPy_BEGIN_ALLOW_THREADS; | |
2539 | _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2); | |
2540 | ||
2541 | wxPy_END_ALLOW_THREADS; | |
2542 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2543 | return _resultobj; |
2544 | } | |
2545 | ||
2546 | #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
efc5f224 | 2547 | static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2548 | PyObject * _resultobj; |
2549 | wxListCtrl * _arg0; | |
2550 | wxColour * _arg1; | |
1d99702e RD |
2551 | PyObject * _argo0 = 0; |
2552 | PyObject * _argo1 = 0; | |
efc5f224 | 2553 | char *_kwnames[] = { "self","col", NULL }; |
8ab979d7 RD |
2554 | |
2555 | self = self; | |
efc5f224 | 2556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 2557 | return NULL; |
1d99702e RD |
2558 | if (_argo0) { |
2559 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2560 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2561 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p."); |
2562 | return NULL; | |
2563 | } | |
2564 | } | |
1d99702e RD |
2565 | if (_argo1) { |
2566 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2567 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
8ab979d7 RD |
2568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p."); |
2569 | return NULL; | |
2570 | } | |
2571 | } | |
cf694132 RD |
2572 | { |
2573 | wxPy_BEGIN_ALLOW_THREADS; | |
2574 | wxListCtrl_SetBackgroundColour(_arg0,*_arg1); | |
2575 | ||
2576 | wxPy_END_ALLOW_THREADS; | |
2577 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
2578 | _resultobj = Py_None; |
2579 | return _resultobj; | |
2580 | } | |
2581 | ||
2582 | #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1)) | |
efc5f224 | 2583 | static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2584 | PyObject * _resultobj; |
2585 | bool _result; | |
2586 | wxListCtrl * _arg0; | |
2587 | int _arg1; | |
2588 | wxListItem * _arg2; | |
1d99702e RD |
2589 | PyObject * _argo0 = 0; |
2590 | PyObject * _argo2 = 0; | |
efc5f224 | 2591 | char *_kwnames[] = { "self","col","item", NULL }; |
8ab979d7 RD |
2592 | |
2593 | self = self; | |
efc5f224 | 2594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2)) |
8ab979d7 | 2595 | return NULL; |
1d99702e RD |
2596 | if (_argo0) { |
2597 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2598 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p."); |
2600 | return NULL; | |
2601 | } | |
2602 | } | |
1d99702e RD |
2603 | if (_argo2) { |
2604 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2605 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) { | |
8ab979d7 RD |
2606 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p."); |
2607 | return NULL; | |
2608 | } | |
2609 | } | |
cf694132 RD |
2610 | { |
2611 | wxPy_BEGIN_ALLOW_THREADS; | |
2612 | _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2); | |
2613 | ||
2614 | wxPy_END_ALLOW_THREADS; | |
2615 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2616 | return _resultobj; |
2617 | } | |
2618 | ||
2619 | #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1)) | |
efc5f224 | 2620 | static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2621 | PyObject * _resultobj; |
2622 | bool _result; | |
2623 | wxListCtrl * _arg0; | |
2624 | int _arg1; | |
2625 | int _arg2; | |
1d99702e | 2626 | PyObject * _argo0 = 0; |
efc5f224 | 2627 | char *_kwnames[] = { "self","col","width", NULL }; |
8ab979d7 RD |
2628 | |
2629 | self = self; | |
efc5f224 | 2630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 2631 | return NULL; |
1d99702e RD |
2632 | if (_argo0) { |
2633 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2634 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2635 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p."); |
2636 | return NULL; | |
2637 | } | |
2638 | } | |
cf694132 RD |
2639 | { |
2640 | wxPy_BEGIN_ALLOW_THREADS; | |
2641 | _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2); | |
2642 | ||
2643 | wxPy_END_ALLOW_THREADS; | |
2644 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2645 | return _resultobj; |
2646 | } | |
2647 | ||
2648 | #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1)) | |
efc5f224 | 2649 | static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2650 | PyObject * _resultobj; |
2651 | wxListCtrl * _arg0; | |
2652 | wxImageList * _arg1; | |
2653 | int _arg2; | |
1d99702e RD |
2654 | PyObject * _argo0 = 0; |
2655 | PyObject * _argo1 = 0; | |
efc5f224 | 2656 | char *_kwnames[] = { "self","imageList","which", NULL }; |
8ab979d7 RD |
2657 | |
2658 | self = self; | |
efc5f224 | 2659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2)) |
8ab979d7 | 2660 | return NULL; |
1d99702e RD |
2661 | if (_argo0) { |
2662 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2663 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2664 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p."); |
2665 | return NULL; | |
2666 | } | |
2667 | } | |
1d99702e RD |
2668 | if (_argo1) { |
2669 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2670 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) { | |
8ab979d7 RD |
2671 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p."); |
2672 | return NULL; | |
2673 | } | |
2674 | } | |
cf694132 RD |
2675 | { |
2676 | wxPy_BEGIN_ALLOW_THREADS; | |
2677 | wxListCtrl_SetImageList(_arg0,_arg1,_arg2); | |
2678 | ||
2679 | wxPy_END_ALLOW_THREADS; | |
2680 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
2681 | _resultobj = Py_None; |
2682 | return _resultobj; | |
2683 | } | |
2684 | ||
2685 | #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0)) | |
efc5f224 | 2686 | static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2687 | PyObject * _resultobj; |
2688 | bool _result; | |
2689 | wxListCtrl * _arg0; | |
2690 | wxListItem * _arg1; | |
1d99702e RD |
2691 | PyObject * _argo0 = 0; |
2692 | PyObject * _argo1 = 0; | |
efc5f224 | 2693 | char *_kwnames[] = { "self","info", NULL }; |
8ab979d7 RD |
2694 | |
2695 | self = self; | |
efc5f224 | 2696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 2697 | return NULL; |
1d99702e RD |
2698 | if (_argo0) { |
2699 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2700 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2701 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p."); |
2702 | return NULL; | |
2703 | } | |
2704 | } | |
1d99702e RD |
2705 | if (_argo1) { |
2706 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2707 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) { | |
8ab979d7 RD |
2708 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p."); |
2709 | return NULL; | |
2710 | } | |
2711 | } | |
cf694132 RD |
2712 | { |
2713 | wxPy_BEGIN_ALLOW_THREADS; | |
2714 | _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1); | |
2715 | ||
2716 | wxPy_END_ALLOW_THREADS; | |
2717 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2718 | return _resultobj; |
2719 | } | |
2720 | ||
af309447 | 2721 | #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
efc5f224 | 2722 | static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2723 | PyObject * _resultobj; |
2724 | long _result; | |
2725 | wxListCtrl * _arg0; | |
2726 | long _arg1; | |
2727 | int _arg2; | |
2728 | wxString * _arg3; | |
1d99702e RD |
2729 | int _arg4 = (int ) -1; |
2730 | PyObject * _argo0 = 0; | |
8ab979d7 | 2731 | PyObject * _obj3 = 0; |
efc5f224 | 2732 | char *_kwnames[] = { "self","index","col","label","imageId", NULL }; |
8ab979d7 RD |
2733 | |
2734 | self = self; | |
efc5f224 | 2735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4)) |
8ab979d7 | 2736 | return NULL; |
1d99702e RD |
2737 | if (_argo0) { |
2738 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2739 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
af309447 | 2740 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p."); |
8ab979d7 RD |
2741 | return NULL; |
2742 | } | |
2743 | } | |
2744 | { | |
2745 | if (!PyString_Check(_obj3)) { | |
2746 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2747 | return NULL; | |
2748 | } | |
cf694132 | 2749 | _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3)); |
8ab979d7 | 2750 | } |
cf694132 RD |
2751 | { |
2752 | wxPy_BEGIN_ALLOW_THREADS; | |
2753 | _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4); | |
2754 | ||
2755 | wxPy_END_ALLOW_THREADS; | |
2756 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
2757 | { |
2758 | if (_obj3) | |
2759 | delete _arg3; | |
2760 | } | |
2761 | return _resultobj; | |
2762 | } | |
2763 | ||
2764 | #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1)) | |
efc5f224 | 2765 | static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2766 | PyObject * _resultobj; |
2767 | bool _result; | |
2768 | wxListCtrl * _arg0; | |
2769 | long _arg1; | |
2770 | long _arg2; | |
1d99702e | 2771 | PyObject * _argo0 = 0; |
efc5f224 | 2772 | char *_kwnames[] = { "self","item","data", NULL }; |
8ab979d7 RD |
2773 | |
2774 | self = self; | |
efc5f224 | 2775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 2776 | return NULL; |
1d99702e RD |
2777 | if (_argo0) { |
2778 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2779 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p."); |
2781 | return NULL; | |
2782 | } | |
2783 | } | |
cf694132 RD |
2784 | { |
2785 | wxPy_BEGIN_ALLOW_THREADS; | |
2786 | _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2); | |
2787 | ||
2788 | wxPy_END_ALLOW_THREADS; | |
2789 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2790 | return _resultobj; |
2791 | } | |
2792 | ||
2793 | #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 2794 | static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2795 | PyObject * _resultobj; |
2796 | bool _result; | |
2797 | wxListCtrl * _arg0; | |
2798 | long _arg1; | |
2799 | int _arg2; | |
2800 | int _arg3; | |
1d99702e | 2801 | PyObject * _argo0 = 0; |
efc5f224 | 2802 | char *_kwnames[] = { "self","item","image","selImage", NULL }; |
8ab979d7 RD |
2803 | |
2804 | self = self; | |
efc5f224 | 2805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
8ab979d7 | 2806 | return NULL; |
1d99702e RD |
2807 | if (_argo0) { |
2808 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2809 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2810 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p."); |
2811 | return NULL; | |
2812 | } | |
2813 | } | |
cf694132 RD |
2814 | { |
2815 | wxPy_BEGIN_ALLOW_THREADS; | |
2816 | _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3); | |
2817 | ||
2818 | wxPy_END_ALLOW_THREADS; | |
2819 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2820 | return _resultobj; |
2821 | } | |
2822 | ||
2823 | #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1)) | |
efc5f224 | 2824 | static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2825 | PyObject * _resultobj; |
2826 | bool _result; | |
2827 | wxListCtrl * _arg0; | |
2828 | long _arg1; | |
2829 | wxPoint * _arg2; | |
1d99702e | 2830 | PyObject * _argo0 = 0; |
2f90df85 RD |
2831 | wxPoint temp; |
2832 | PyObject * _obj2 = 0; | |
efc5f224 | 2833 | char *_kwnames[] = { "self","item","pos", NULL }; |
8ab979d7 RD |
2834 | |
2835 | self = self; | |
2f90df85 | 2836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2)) |
8ab979d7 | 2837 | return NULL; |
1d99702e RD |
2838 | if (_argo0) { |
2839 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2840 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2841 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p."); |
2842 | return NULL; | |
2843 | } | |
2844 | } | |
2f90df85 RD |
2845 | { |
2846 | _arg2 = &temp; | |
2847 | if (! wxPoint_helper(_obj2, &_arg2)) | |
8ab979d7 | 2848 | return NULL; |
2f90df85 | 2849 | } |
cf694132 RD |
2850 | { |
2851 | wxPy_BEGIN_ALLOW_THREADS; | |
2852 | _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2); | |
2853 | ||
2854 | wxPy_END_ALLOW_THREADS; | |
2855 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2856 | return _resultobj; |
2857 | } | |
2858 | ||
2859 | #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 2860 | static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2861 | PyObject * _resultobj; |
2862 | bool _result; | |
2863 | wxListCtrl * _arg0; | |
2864 | long _arg1; | |
2865 | long _arg2; | |
2866 | long _arg3; | |
1d99702e | 2867 | PyObject * _argo0 = 0; |
efc5f224 | 2868 | char *_kwnames[] = { "self","item","state","stateMask", NULL }; |
8ab979d7 RD |
2869 | |
2870 | self = self; | |
efc5f224 | 2871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
8ab979d7 | 2872 | return NULL; |
1d99702e RD |
2873 | if (_argo0) { |
2874 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2875 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2876 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p."); |
2877 | return NULL; | |
2878 | } | |
2879 | } | |
cf694132 RD |
2880 | { |
2881 | wxPy_BEGIN_ALLOW_THREADS; | |
2882 | _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3); | |
2883 | ||
2884 | wxPy_END_ALLOW_THREADS; | |
2885 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2886 | return _resultobj; |
2887 | } | |
2888 | ||
2889 | #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1)) | |
efc5f224 | 2890 | static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2891 | PyObject * _resultobj; |
2892 | wxListCtrl * _arg0; | |
2893 | long _arg1; | |
2894 | wxString * _arg2; | |
1d99702e | 2895 | PyObject * _argo0 = 0; |
8ab979d7 | 2896 | PyObject * _obj2 = 0; |
efc5f224 | 2897 | char *_kwnames[] = { "self","item","text", NULL }; |
8ab979d7 RD |
2898 | |
2899 | self = self; | |
efc5f224 | 2900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2)) |
8ab979d7 | 2901 | return NULL; |
1d99702e RD |
2902 | if (_argo0) { |
2903 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2904 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2905 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p."); |
2906 | return NULL; | |
2907 | } | |
2908 | } | |
2909 | { | |
2910 | if (!PyString_Check(_obj2)) { | |
2911 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2912 | return NULL; | |
2913 | } | |
cf694132 | 2914 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
8ab979d7 | 2915 | } |
cf694132 RD |
2916 | { |
2917 | wxPy_BEGIN_ALLOW_THREADS; | |
2918 | wxListCtrl_SetItemText(_arg0,_arg1,*_arg2); | |
2919 | ||
2920 | wxPy_END_ALLOW_THREADS; | |
2921 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
2922 | _resultobj = Py_None; |
2923 | { | |
2924 | if (_obj2) | |
2925 | delete _arg2; | |
2926 | } | |
2927 | return _resultobj; | |
2928 | } | |
2929 | ||
2930 | #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1)) | |
efc5f224 | 2931 | static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2932 | PyObject * _resultobj; |
2933 | wxListCtrl * _arg0; | |
2934 | long _arg1; | |
1d99702e RD |
2935 | bool _arg2 = (bool ) TRUE; |
2936 | PyObject * _argo0 = 0; | |
2937 | int tempbool2 = (int) TRUE; | |
efc5f224 | 2938 | char *_kwnames[] = { "self","style","add", NULL }; |
8ab979d7 RD |
2939 | |
2940 | self = self; | |
efc5f224 | 2941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2)) |
8ab979d7 | 2942 | return NULL; |
1d99702e RD |
2943 | if (_argo0) { |
2944 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2945 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2946 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p."); |
2947 | return NULL; | |
2948 | } | |
2949 | } | |
2950 | _arg2 = (bool ) tempbool2; | |
cf694132 RD |
2951 | { |
2952 | wxPy_BEGIN_ALLOW_THREADS; | |
2953 | wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2); | |
2954 | ||
2955 | wxPy_END_ALLOW_THREADS; | |
2956 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
2957 | _resultobj = Py_None; |
2958 | return _resultobj; | |
2959 | } | |
2960 | ||
8ab979d7 | 2961 | #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0)) |
efc5f224 | 2962 | static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2963 | PyObject * _resultobj; |
2964 | wxListCtrl * _arg0; | |
2965 | long _arg1; | |
1d99702e | 2966 | PyObject * _argo0 = 0; |
efc5f224 | 2967 | char *_kwnames[] = { "self","style", NULL }; |
8ab979d7 RD |
2968 | |
2969 | self = self; | |
efc5f224 | 2970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 2971 | return NULL; |
1d99702e RD |
2972 | if (_argo0) { |
2973 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2974 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2975 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p."); |
2976 | return NULL; | |
2977 | } | |
2978 | } | |
cf694132 RD |
2979 | { |
2980 | wxPy_BEGIN_ALLOW_THREADS; | |
2981 | wxListCtrl_SetWindowStyleFlag(_arg0,_arg1); | |
2982 | ||
2983 | wxPy_END_ALLOW_THREADS; | |
2984 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
2985 | _resultobj = Py_None; |
2986 | return _resultobj; | |
2987 | } | |
2988 | ||
d5c9047a | 2989 | #define new_wxTreeItemId() (new wxTreeItemId()) |
efc5f224 | 2990 | static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 2991 | PyObject * _resultobj; |
d5c9047a | 2992 | wxTreeItemId * _result; |
efc5f224 | 2993 | char *_kwnames[] = { NULL }; |
d5c9047a | 2994 | char _ptemp[128]; |
8ab979d7 RD |
2995 | |
2996 | self = self; | |
efc5f224 | 2997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames)) |
8ab979d7 | 2998 | return NULL; |
cf694132 RD |
2999 | { |
3000 | wxPy_BEGIN_ALLOW_THREADS; | |
3001 | _result = (wxTreeItemId *)new_wxTreeItemId(); | |
3002 | ||
3003 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
3004 | } if (_result) { |
3005 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p"); | |
3006 | _resultobj = Py_BuildValue("s",_ptemp); | |
3007 | } else { | |
3008 | Py_INCREF(Py_None); | |
3009 | _resultobj = Py_None; | |
3010 | } | |
8ab979d7 RD |
3011 | return _resultobj; |
3012 | } | |
3013 | ||
d5c9047a | 3014 | #define delete_wxTreeItemId(_swigobj) (delete _swigobj) |
efc5f224 | 3015 | static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3016 | PyObject * _resultobj; |
d5c9047a | 3017 | wxTreeItemId * _arg0; |
1d99702e | 3018 | PyObject * _argo0 = 0; |
efc5f224 | 3019 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3020 | |
3021 | self = self; | |
efc5f224 | 3022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0)) |
8ab979d7 | 3023 | return NULL; |
1d99702e RD |
3024 | if (_argo0) { |
3025 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3026 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) { | |
d5c9047a | 3027 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p."); |
8ab979d7 RD |
3028 | return NULL; |
3029 | } | |
3030 | } | |
cf694132 RD |
3031 | { |
3032 | wxPy_BEGIN_ALLOW_THREADS; | |
3033 | delete_wxTreeItemId(_arg0); | |
3034 | ||
3035 | wxPy_END_ALLOW_THREADS; | |
3036 | } Py_INCREF(Py_None); | |
d5c9047a | 3037 | _resultobj = Py_None; |
8ab979d7 RD |
3038 | return _resultobj; |
3039 | } | |
3040 | ||
d5c9047a | 3041 | #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk()) |
efc5f224 | 3042 | static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3043 | PyObject * _resultobj; |
d5c9047a RD |
3044 | bool _result; |
3045 | wxTreeItemId * _arg0; | |
1d99702e | 3046 | PyObject * _argo0 = 0; |
efc5f224 | 3047 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3048 | |
3049 | self = self; | |
efc5f224 | 3050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0)) |
8ab979d7 | 3051 | return NULL; |
1d99702e RD |
3052 | if (_argo0) { |
3053 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3054 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) { | |
d5c9047a | 3055 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p."); |
8ab979d7 RD |
3056 | return NULL; |
3057 | } | |
3058 | } | |
cf694132 RD |
3059 | { |
3060 | wxPy_BEGIN_ALLOW_THREADS; | |
3061 | _result = (bool )wxTreeItemId_IsOk(_arg0); | |
3062 | ||
3063 | wxPy_END_ALLOW_THREADS; | |
3064 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3065 | return _resultobj; |
3066 | } | |
3067 | ||
cf694132 | 3068 | #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0)) |
efc5f224 | 3069 | static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3070 | PyObject * _resultobj; |
cf694132 | 3071 | wxPyTreeItemData * _result; |
1d99702e | 3072 | PyObject * _arg0 = (PyObject *) NULL; |
cf694132 | 3073 | PyObject * _obj0 = 0; |
efc5f224 | 3074 | char *_kwnames[] = { "obj", NULL }; |
d5c9047a | 3075 | char _ptemp[128]; |
8ab979d7 RD |
3076 | |
3077 | self = self; | |
efc5f224 | 3078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0)) |
8ab979d7 | 3079 | return NULL; |
cf694132 RD |
3080 | if (_obj0) |
3081 | { | |
3082 | _arg0 = _obj0; | |
3083 | } | |
3084 | { | |
3085 | wxPy_BEGIN_ALLOW_THREADS; | |
3086 | _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0); | |
3087 | ||
3088 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
3089 | } if (_result) { |
3090 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p"); | |
3091 | _resultobj = Py_BuildValue("s",_ptemp); | |
3092 | } else { | |
3093 | Py_INCREF(Py_None); | |
3094 | _resultobj = Py_None; | |
3095 | } | |
8ab979d7 RD |
3096 | return _resultobj; |
3097 | } | |
3098 | ||
cf694132 | 3099 | #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData()) |
efc5f224 | 3100 | static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 RD |
3101 | PyObject * _resultobj; |
3102 | PyObject * _result; | |
3103 | wxPyTreeItemData * _arg0; | |
1d99702e | 3104 | PyObject * _argo0 = 0; |
efc5f224 | 3105 | char *_kwnames[] = { "self", NULL }; |
cf694132 RD |
3106 | |
3107 | self = self; | |
efc5f224 | 3108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0)) |
cf694132 | 3109 | return NULL; |
1d99702e RD |
3110 | if (_argo0) { |
3111 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3112 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) { | |
cf694132 RD |
3113 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p."); |
3114 | return NULL; | |
3115 | } | |
3116 | } | |
3117 | { | |
3118 | wxPy_BEGIN_ALLOW_THREADS; | |
3119 | _result = (PyObject *)wxTreeItemData_GetData(_arg0); | |
3120 | ||
3121 | wxPy_END_ALLOW_THREADS; | |
3122 | }{ | |
3123 | _resultobj = _result; | |
3124 | } | |
3125 | return _resultobj; | |
3126 | } | |
3127 | ||
3128 | #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0)) | |
efc5f224 | 3129 | static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3130 | PyObject * _resultobj; |
cf694132 RD |
3131 | wxPyTreeItemData * _arg0; |
3132 | PyObject * _arg1; | |
1d99702e | 3133 | PyObject * _argo0 = 0; |
cf694132 | 3134 | PyObject * _obj1 = 0; |
efc5f224 | 3135 | char *_kwnames[] = { "self","obj", NULL }; |
8ab979d7 RD |
3136 | |
3137 | self = self; | |
efc5f224 | 3138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1)) |
8ab979d7 | 3139 | return NULL; |
1d99702e RD |
3140 | if (_argo0) { |
3141 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3142 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) { | |
cf694132 | 3143 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p."); |
8ab979d7 RD |
3144 | return NULL; |
3145 | } | |
3146 | } | |
cf694132 RD |
3147 | { |
3148 | _arg1 = _obj1; | |
3149 | } | |
3150 | { | |
3151 | wxPy_BEGIN_ALLOW_THREADS; | |
3152 | wxTreeItemData_SetData(_arg0,_arg1); | |
3153 | ||
3154 | wxPy_END_ALLOW_THREADS; | |
3155 | } Py_INCREF(Py_None); | |
d5c9047a | 3156 | _resultobj = Py_None; |
8ab979d7 RD |
3157 | return _resultobj; |
3158 | } | |
3159 | ||
630d84f2 | 3160 | #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId()) |
efc5f224 | 3161 | static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3162 | PyObject * _resultobj; |
d5c9047a | 3163 | wxTreeItemId * _result; |
cf694132 | 3164 | wxPyTreeItemData * _arg0; |
1d99702e | 3165 | PyObject * _argo0 = 0; |
efc5f224 | 3166 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3167 | char _ptemp[128]; |
3168 | ||
3169 | self = self; | |
efc5f224 | 3170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0)) |
8ab979d7 | 3171 | return NULL; |
1d99702e RD |
3172 | if (_argo0) { |
3173 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3174 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) { | |
cf694132 | 3175 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p."); |
8ab979d7 RD |
3176 | return NULL; |
3177 | } | |
3178 | } | |
cf694132 RD |
3179 | { |
3180 | wxPy_BEGIN_ALLOW_THREADS; | |
3181 | const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0); | |
d5c9047a | 3182 | _result = (wxTreeItemId *) &_result_ref; |
cf694132 RD |
3183 | |
3184 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
3185 | } if (_result) { |
3186 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p"); | |
3187 | _resultobj = Py_BuildValue("s",_ptemp); | |
3188 | } else { | |
3189 | Py_INCREF(Py_None); | |
3190 | _resultobj = Py_None; | |
3191 | } | |
8ab979d7 RD |
3192 | return _resultobj; |
3193 | } | |
3194 | ||
630d84f2 | 3195 | #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0)) |
efc5f224 | 3196 | static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { |
630d84f2 | 3197 | PyObject * _resultobj; |
cf694132 | 3198 | wxPyTreeItemData * _arg0; |
630d84f2 | 3199 | wxTreeItemId * _arg1; |
1d99702e RD |
3200 | PyObject * _argo0 = 0; |
3201 | PyObject * _argo1 = 0; | |
efc5f224 | 3202 | char *_kwnames[] = { "self","id", NULL }; |
630d84f2 RD |
3203 | |
3204 | self = self; | |
efc5f224 | 3205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1)) |
630d84f2 | 3206 | return NULL; |
1d99702e RD |
3207 | if (_argo0) { |
3208 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3209 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) { | |
cf694132 | 3210 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p."); |
630d84f2 RD |
3211 | return NULL; |
3212 | } | |
3213 | } | |
1d99702e RD |
3214 | if (_argo1) { |
3215 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3216 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
630d84f2 RD |
3217 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p."); |
3218 | return NULL; | |
3219 | } | |
3220 | } | |
cf694132 RD |
3221 | { |
3222 | wxPy_BEGIN_ALLOW_THREADS; | |
3223 | wxTreeItemData_SetId(_arg0,*_arg1); | |
3224 | ||
3225 | wxPy_END_ALLOW_THREADS; | |
3226 | } Py_INCREF(Py_None); | |
630d84f2 RD |
3227 | _resultobj = Py_None; |
3228 | return _resultobj; | |
3229 | } | |
3230 | ||
8bf5d46e RD |
3231 | static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) { |
3232 | wxTreeEvent *src; | |
3233 | wxNotifyEvent *dest; | |
3234 | src = (wxTreeEvent *) ptr; | |
3235 | dest = (wxNotifyEvent *) src; | |
3236 | return (void *) dest; | |
3237 | } | |
3238 | ||
8ab979d7 RD |
3239 | static void *SwigwxTreeEventTowxCommandEvent(void *ptr) { |
3240 | wxTreeEvent *src; | |
3241 | wxCommandEvent *dest; | |
3242 | src = (wxTreeEvent *) ptr; | |
3243 | dest = (wxCommandEvent *) src; | |
3244 | return (void *) dest; | |
3245 | } | |
3246 | ||
3247 | static void *SwigwxTreeEventTowxEvent(void *ptr) { | |
3248 | wxTreeEvent *src; | |
3249 | wxEvent *dest; | |
3250 | src = (wxTreeEvent *) ptr; | |
3251 | dest = (wxEvent *) src; | |
3252 | return (void *) dest; | |
3253 | } | |
3254 | ||
d5c9047a | 3255 | #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem()) |
efc5f224 | 3256 | static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3257 | PyObject * _resultobj; |
d5c9047a | 3258 | wxTreeItemId * _result; |
8ab979d7 | 3259 | wxTreeEvent * _arg0; |
1d99702e | 3260 | PyObject * _argo0 = 0; |
efc5f224 | 3261 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 3262 | char _ptemp[128]; |
8ab979d7 RD |
3263 | |
3264 | self = self; | |
efc5f224 | 3265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0)) |
8ab979d7 | 3266 | return NULL; |
1d99702e RD |
3267 | if (_argo0) { |
3268 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3269 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
d5c9047a | 3270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p."); |
8ab979d7 RD |
3271 | return NULL; |
3272 | } | |
3273 | } | |
cf694132 RD |
3274 | { |
3275 | wxPy_BEGIN_ALLOW_THREADS; | |
3276 | _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0)); | |
3277 | ||
3278 | wxPy_END_ALLOW_THREADS; | |
3279 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 3280 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
3281 | return _resultobj; |
3282 | } | |
3283 | ||
d5c9047a | 3284 | #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem()) |
efc5f224 | 3285 | static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3286 | PyObject * _resultobj; |
d5c9047a | 3287 | wxTreeItemId * _result; |
8ab979d7 | 3288 | wxTreeEvent * _arg0; |
1d99702e | 3289 | PyObject * _argo0 = 0; |
efc5f224 | 3290 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3291 | char _ptemp[128]; |
3292 | ||
3293 | self = self; | |
efc5f224 | 3294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0)) |
8ab979d7 | 3295 | return NULL; |
1d99702e RD |
3296 | if (_argo0) { |
3297 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3298 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
d5c9047a | 3299 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p."); |
8ab979d7 RD |
3300 | return NULL; |
3301 | } | |
3302 | } | |
cf694132 RD |
3303 | { |
3304 | wxPy_BEGIN_ALLOW_THREADS; | |
3305 | _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0)); | |
3306 | ||
3307 | wxPy_END_ALLOW_THREADS; | |
3308 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
8ab979d7 RD |
3309 | _resultobj = Py_BuildValue("s",_ptemp); |
3310 | return _resultobj; | |
3311 | } | |
3312 | ||
d5c9047a | 3313 | #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint()) |
efc5f224 | 3314 | static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3315 | PyObject * _resultobj; |
d5c9047a | 3316 | wxPoint * _result; |
8ab979d7 | 3317 | wxTreeEvent * _arg0; |
1d99702e | 3318 | PyObject * _argo0 = 0; |
efc5f224 | 3319 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 3320 | char _ptemp[128]; |
8ab979d7 RD |
3321 | |
3322 | self = self; | |
efc5f224 | 3323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0)) |
8ab979d7 | 3324 | return NULL; |
1d99702e RD |
3325 | if (_argo0) { |
3326 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3327 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
d5c9047a | 3328 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p."); |
8ab979d7 RD |
3329 | return NULL; |
3330 | } | |
3331 | } | |
cf694132 RD |
3332 | { |
3333 | wxPy_BEGIN_ALLOW_THREADS; | |
3334 | _result = new wxPoint (wxTreeEvent_GetPoint(_arg0)); | |
3335 | ||
3336 | wxPy_END_ALLOW_THREADS; | |
3337 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
d5c9047a | 3338 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
3339 | return _resultobj; |
3340 | } | |
3341 | ||
d5c9047a | 3342 | #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode()) |
efc5f224 | 3343 | static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3344 | PyObject * _resultobj; |
d5c9047a | 3345 | int _result; |
8ab979d7 | 3346 | wxTreeEvent * _arg0; |
1d99702e | 3347 | PyObject * _argo0 = 0; |
efc5f224 | 3348 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3349 | |
3350 | self = self; | |
efc5f224 | 3351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetCode",_kwnames,&_argo0)) |
8ab979d7 | 3352 | return NULL; |
1d99702e RD |
3353 | if (_argo0) { |
3354 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3355 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
d5c9047a | 3356 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p."); |
8ab979d7 RD |
3357 | return NULL; |
3358 | } | |
3359 | } | |
cf694132 RD |
3360 | { |
3361 | wxPy_BEGIN_ALLOW_THREADS; | |
3362 | _result = (int )wxTreeEvent_GetCode(_arg0); | |
3363 | ||
3364 | wxPy_END_ALLOW_THREADS; | |
3365 | } _resultobj = Py_BuildValue("i",_result); | |
d5c9047a RD |
3366 | return _resultobj; |
3367 | } | |
3368 | ||
8bf5d46e | 3369 | #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel()) |
efc5f224 | 3370 | static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 3371 | PyObject * _resultobj; |
8bf5d46e | 3372 | wxString * _result; |
d5c9047a | 3373 | wxTreeEvent * _arg0; |
1d99702e | 3374 | PyObject * _argo0 = 0; |
efc5f224 | 3375 | char *_kwnames[] = { "self", NULL }; |
d5c9047a RD |
3376 | |
3377 | self = self; | |
efc5f224 | 3378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0)) |
d5c9047a | 3379 | return NULL; |
1d99702e RD |
3380 | if (_argo0) { |
3381 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3382 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
8bf5d46e | 3383 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p."); |
d5c9047a RD |
3384 | return NULL; |
3385 | } | |
3386 | } | |
cf694132 RD |
3387 | { |
3388 | wxPy_BEGIN_ALLOW_THREADS; | |
8bf5d46e RD |
3389 | const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0); |
3390 | _result = (wxString *) &_result_ref; | |
cf694132 RD |
3391 | |
3392 | wxPy_END_ALLOW_THREADS; | |
8bf5d46e | 3393 | }{ |
eec92d76 | 3394 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
8bf5d46e | 3395 | } |
8ab979d7 RD |
3396 | return _resultobj; |
3397 | } | |
3398 | ||
3399 | static void *SwigwxTreeCtrlTowxControl(void *ptr) { | |
3400 | wxTreeCtrl *src; | |
3401 | wxControl *dest; | |
3402 | src = (wxTreeCtrl *) ptr; | |
3403 | dest = (wxControl *) src; | |
3404 | return (void *) dest; | |
3405 | } | |
3406 | ||
3407 | static void *SwigwxTreeCtrlTowxWindow(void *ptr) { | |
3408 | wxTreeCtrl *src; | |
3409 | wxWindow *dest; | |
3410 | src = (wxTreeCtrl *) ptr; | |
3411 | dest = (wxWindow *) src; | |
3412 | return (void *) dest; | |
3413 | } | |
3414 | ||
3415 | static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr) { | |
3416 | wxTreeCtrl *src; | |
3417 | wxEvtHandler *dest; | |
3418 | src = (wxTreeCtrl *) ptr; | |
3419 | dest = (wxEvtHandler *) src; | |
3420 | return (void *) dest; | |
3421 | } | |
3422 | ||
3423 | #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
efc5f224 | 3424 | static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3425 | PyObject * _resultobj; |
3426 | wxTreeCtrl * _result; | |
3427 | wxWindow * _arg0; | |
1d99702e RD |
3428 | wxWindowID _arg1 = (wxWindowID ) -1; |
3429 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; | |
3430 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
3431 | long _arg4 = (long ) wxTR_HAS_BUTTONS|wxTR_LINES_AT_ROOT; | |
3432 | wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator; | |
3433 | char * _arg6 = (char *) "wxTreeCtrl"; | |
3434 | PyObject * _argo0 = 0; | |
2f90df85 RD |
3435 | wxPoint temp; |
3436 | PyObject * _obj2 = 0; | |
3437 | wxSize temp0; | |
3438 | PyObject * _obj3 = 0; | |
1d99702e | 3439 | PyObject * _argo5 = 0; |
efc5f224 | 3440 | char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL }; |
8ab979d7 RD |
3441 | char _ptemp[128]; |
3442 | ||
3443 | self = self; | |
2f90df85 | 3444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6)) |
8ab979d7 | 3445 | return NULL; |
1d99702e RD |
3446 | if (_argo0) { |
3447 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3448 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
8ab979d7 RD |
3449 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p."); |
3450 | return NULL; | |
3451 | } | |
3452 | } | |
2f90df85 RD |
3453 | if (_obj2) |
3454 | { | |
3455 | _arg2 = &temp; | |
3456 | if (! wxPoint_helper(_obj2, &_arg2)) | |
8ab979d7 | 3457 | return NULL; |
2f90df85 RD |
3458 | } |
3459 | if (_obj3) | |
3460 | { | |
3461 | _arg3 = &temp0; | |
3462 | if (! wxSize_helper(_obj3, &_arg3)) | |
8ab979d7 | 3463 | return NULL; |
2f90df85 | 3464 | } |
1d99702e RD |
3465 | if (_argo5) { |
3466 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
3467 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) { | |
8ab979d7 RD |
3468 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p."); |
3469 | return NULL; | |
3470 | } | |
3471 | } | |
cf694132 RD |
3472 | { |
3473 | wxPy_BEGIN_ALLOW_THREADS; | |
3474 | _result = (wxTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6); | |
3475 | ||
3476 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
3477 | } if (_result) { |
3478 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeCtrl_p"); | |
3479 | _resultobj = Py_BuildValue("s",_ptemp); | |
3480 | } else { | |
3481 | Py_INCREF(Py_None); | |
3482 | _resultobj = Py_None; | |
3483 | } | |
8ab979d7 RD |
3484 | return _resultobj; |
3485 | } | |
3486 | ||
d5c9047a | 3487 | #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount()) |
efc5f224 | 3488 | static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3489 | PyObject * _resultobj; |
c127177f | 3490 | size_t _result; |
8ab979d7 | 3491 | wxTreeCtrl * _arg0; |
1d99702e | 3492 | PyObject * _argo0 = 0; |
efc5f224 | 3493 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3494 | |
3495 | self = self; | |
efc5f224 | 3496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetCount",_kwnames,&_argo0)) |
8ab979d7 | 3497 | return NULL; |
1d99702e RD |
3498 | if (_argo0) { |
3499 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3500 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 3501 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
3502 | return NULL; |
3503 | } | |
3504 | } | |
cf694132 RD |
3505 | { |
3506 | wxPy_BEGIN_ALLOW_THREADS; | |
c127177f | 3507 | _result = (size_t )wxTreeCtrl_GetCount(_arg0); |
cf694132 RD |
3508 | |
3509 | wxPy_END_ALLOW_THREADS; | |
c127177f | 3510 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
3511 | return _resultobj; |
3512 | } | |
3513 | ||
d5c9047a | 3514 | #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent()) |
efc5f224 | 3515 | static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3516 | PyObject * _resultobj; |
d5c9047a | 3517 | unsigned int _result; |
8ab979d7 | 3518 | wxTreeCtrl * _arg0; |
1d99702e | 3519 | PyObject * _argo0 = 0; |
efc5f224 | 3520 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3521 | |
3522 | self = self; | |
efc5f224 | 3523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0)) |
8ab979d7 | 3524 | return NULL; |
1d99702e RD |
3525 | if (_argo0) { |
3526 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3527 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 3528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
3529 | return NULL; |
3530 | } | |
3531 | } | |
cf694132 RD |
3532 | { |
3533 | wxPy_BEGIN_ALLOW_THREADS; | |
3534 | _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0); | |
3535 | ||
3536 | wxPy_END_ALLOW_THREADS; | |
3537 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3538 | return _resultobj; |
3539 | } | |
3540 | ||
d5c9047a | 3541 | #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0)) |
efc5f224 | 3542 | static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3543 | PyObject * _resultobj; |
8ab979d7 | 3544 | wxTreeCtrl * _arg0; |
d5c9047a | 3545 | unsigned int _arg1; |
1d99702e | 3546 | PyObject * _argo0 = 0; |
efc5f224 | 3547 | char *_kwnames[] = { "self","indent", NULL }; |
8ab979d7 RD |
3548 | |
3549 | self = self; | |
efc5f224 | 3550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 3551 | return NULL; |
1d99702e RD |
3552 | if (_argo0) { |
3553 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3554 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 3555 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
3556 | return NULL; |
3557 | } | |
3558 | } | |
cf694132 RD |
3559 | { |
3560 | wxPy_BEGIN_ALLOW_THREADS; | |
3561 | wxTreeCtrl_SetIndent(_arg0,_arg1); | |
3562 | ||
3563 | wxPy_END_ALLOW_THREADS; | |
3564 | } Py_INCREF(Py_None); | |
d5c9047a | 3565 | _resultobj = Py_None; |
8ab979d7 RD |
3566 | return _resultobj; |
3567 | } | |
3568 | ||
d5c9047a | 3569 | #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList()) |
efc5f224 | 3570 | static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3571 | PyObject * _resultobj; |
d5c9047a | 3572 | wxImageList * _result; |
8ab979d7 | 3573 | wxTreeCtrl * _arg0; |
1d99702e | 3574 | PyObject * _argo0 = 0; |
efc5f224 | 3575 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 3576 | char _ptemp[128]; |
8ab979d7 RD |
3577 | |
3578 | self = self; | |
efc5f224 | 3579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0)) |
8ab979d7 | 3580 | return NULL; |
1d99702e RD |
3581 | if (_argo0) { |
3582 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3583 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 3584 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
3585 | return NULL; |
3586 | } | |
3587 | } | |
cf694132 RD |
3588 | { |
3589 | wxPy_BEGIN_ALLOW_THREADS; | |
3590 | _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0); | |
3591 | ||
3592 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
3593 | } if (_result) { |
3594 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p"); | |
3595 | _resultobj = Py_BuildValue("s",_ptemp); | |
3596 | } else { | |
3597 | Py_INCREF(Py_None); | |
3598 | _resultobj = Py_None; | |
3599 | } | |
8ab979d7 RD |
3600 | return _resultobj; |
3601 | } | |
3602 | ||
d5c9047a | 3603 | #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList()) |
efc5f224 | 3604 | static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3605 | PyObject * _resultobj; |
d5c9047a | 3606 | wxImageList * _result; |
8ab979d7 | 3607 | wxTreeCtrl * _arg0; |
1d99702e | 3608 | PyObject * _argo0 = 0; |
efc5f224 | 3609 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 3610 | char _ptemp[128]; |
8ab979d7 RD |
3611 | |
3612 | self = self; | |
efc5f224 | 3613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0)) |
8ab979d7 | 3614 | return NULL; |
1d99702e RD |
3615 | if (_argo0) { |
3616 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3617 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 3618 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
3619 | return NULL; |
3620 | } | |
3621 | } | |
cf694132 RD |
3622 | { |
3623 | wxPy_BEGIN_ALLOW_THREADS; | |
3624 | _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0); | |
3625 | ||
3626 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
3627 | } if (_result) { |
3628 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p"); | |
3629 | _resultobj = Py_BuildValue("s",_ptemp); | |
3630 | } else { | |
3631 | Py_INCREF(Py_None); | |
3632 | _resultobj = Py_None; | |
3633 | } | |
8ab979d7 RD |
3634 | return _resultobj; |
3635 | } | |
3636 | ||
d5c9047a | 3637 | #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0)) |
efc5f224 | 3638 | static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3639 | PyObject * _resultobj; |
8ab979d7 | 3640 | wxTreeCtrl * _arg0; |
d5c9047a | 3641 | wxImageList * _arg1; |
1d99702e RD |
3642 | PyObject * _argo0 = 0; |
3643 | PyObject * _argo1 = 0; | |
efc5f224 | 3644 | char *_kwnames[] = { "self","imageList", NULL }; |
8ab979d7 RD |
3645 | |
3646 | self = self; | |
efc5f224 | 3647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetImageList",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 3648 | return NULL; |
1d99702e RD |
3649 | if (_argo0) { |
3650 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3651 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 3652 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
3653 | return NULL; |
3654 | } | |
3655 | } | |
1d99702e RD |
3656 | if (_argo1) { |
3657 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3658 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) { | |
d5c9047a RD |
3659 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p."); |
3660 | return NULL; | |
3661 | } | |
3662 | } | |
cf694132 RD |
3663 | { |
3664 | wxPy_BEGIN_ALLOW_THREADS; | |
3665 | wxTreeCtrl_SetImageList(_arg0,_arg1); | |
3666 | ||
3667 | wxPy_END_ALLOW_THREADS; | |
3668 | } Py_INCREF(Py_None); | |
d5c9047a | 3669 | _resultobj = Py_None; |
8ab979d7 RD |
3670 | return _resultobj; |
3671 | } | |
3672 | ||
d5c9047a | 3673 | #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0)) |
efc5f224 | 3674 | static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3675 | PyObject * _resultobj; |
8ab979d7 | 3676 | wxTreeCtrl * _arg0; |
d5c9047a | 3677 | wxImageList * _arg1; |
1d99702e RD |
3678 | PyObject * _argo0 = 0; |
3679 | PyObject * _argo1 = 0; | |
efc5f224 | 3680 | char *_kwnames[] = { "self","imageList", NULL }; |
8ab979d7 RD |
3681 | |
3682 | self = self; | |
efc5f224 | 3683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 3684 | return NULL; |
1d99702e RD |
3685 | if (_argo0) { |
3686 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3687 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 3688 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
3689 | return NULL; |
3690 | } | |
3691 | } | |
1d99702e RD |
3692 | if (_argo1) { |
3693 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3694 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) { | |
d5c9047a RD |
3695 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p."); |
3696 | return NULL; | |
3697 | } | |
3698 | } | |
cf694132 RD |
3699 | { |
3700 | wxPy_BEGIN_ALLOW_THREADS; | |
3701 | wxTreeCtrl_SetStateImageList(_arg0,_arg1); | |
3702 | ||
3703 | wxPy_END_ALLOW_THREADS; | |
3704 | } Py_INCREF(Py_None); | |
d5c9047a | 3705 | _resultobj = Py_None; |
8ab979d7 RD |
3706 | return _resultobj; |
3707 | } | |
3708 | ||
b1462dfa RD |
3709 | #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing()) |
3710 | static PyObject *_wrap_wxTreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3711 | PyObject * _resultobj; | |
3712 | unsigned int _result; | |
3713 | wxTreeCtrl * _arg0; | |
3714 | PyObject * _argo0 = 0; | |
3715 | char *_kwnames[] = { "self", NULL }; | |
3716 | ||
3717 | self = self; | |
3718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSpacing",_kwnames,&_argo0)) | |
3719 | return NULL; | |
3720 | if (_argo0) { | |
3721 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3722 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3723 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxTreeCtrl_p."); | |
3724 | return NULL; | |
3725 | } | |
3726 | } | |
3727 | { | |
3728 | wxPy_BEGIN_ALLOW_THREADS; | |
3729 | _result = (unsigned int )wxTreeCtrl_GetSpacing(_arg0); | |
3730 | ||
3731 | wxPy_END_ALLOW_THREADS; | |
3732 | } _resultobj = Py_BuildValue("i",_result); | |
3733 | return _resultobj; | |
3734 | } | |
3735 | ||
3736 | #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0)) | |
3737 | static PyObject *_wrap_wxTreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3738 | PyObject * _resultobj; | |
3739 | wxTreeCtrl * _arg0; | |
3740 | unsigned int _arg1; | |
3741 | PyObject * _argo0 = 0; | |
3742 | char *_kwnames[] = { "self","spacing", NULL }; | |
3743 | ||
3744 | self = self; | |
3745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetSpacing",_kwnames,&_argo0,&_arg1)) | |
3746 | return NULL; | |
3747 | if (_argo0) { | |
3748 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3749 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3750 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxTreeCtrl_p."); | |
3751 | return NULL; | |
3752 | } | |
3753 | } | |
3754 | { | |
3755 | wxPy_BEGIN_ALLOW_THREADS; | |
3756 | wxTreeCtrl_SetSpacing(_arg0,_arg1); | |
3757 | ||
3758 | wxPy_END_ALLOW_THREADS; | |
3759 | } Py_INCREF(Py_None); | |
3760 | _resultobj = Py_None; | |
3761 | return _resultobj; | |
3762 | } | |
3763 | ||
d5c9047a | 3764 | #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0)) |
efc5f224 | 3765 | static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3766 | PyObject * _resultobj; |
d5c9047a | 3767 | wxString * _result; |
8ab979d7 | 3768 | wxTreeCtrl * _arg0; |
d5c9047a | 3769 | wxTreeItemId * _arg1; |
1d99702e RD |
3770 | PyObject * _argo0 = 0; |
3771 | PyObject * _argo1 = 0; | |
efc5f224 | 3772 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
3773 | |
3774 | self = self; | |
efc5f224 | 3775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 3776 | return NULL; |
1d99702e RD |
3777 | if (_argo0) { |
3778 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3779 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 3780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
3781 | return NULL; |
3782 | } | |
3783 | } | |
1d99702e RD |
3784 | if (_argo1) { |
3785 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3786 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
3787 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p."); |
3788 | return NULL; | |
3789 | } | |
3790 | } | |
d5c9047a | 3791 | { |
cf694132 RD |
3792 | wxPy_BEGIN_ALLOW_THREADS; |
3793 | _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1)); | |
3794 | ||
3795 | wxPy_END_ALLOW_THREADS; | |
3796 | }{ | |
eec92d76 | 3797 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
d5c9047a RD |
3798 | } |
3799 | { | |
3800 | delete _result; | |
3801 | } | |
8ab979d7 RD |
3802 | return _resultobj; |
3803 | } | |
3804 | ||
694759cf | 3805 | #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1)) |
efc5f224 | 3806 | static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3807 | PyObject * _resultobj; |
d5c9047a | 3808 | int _result; |
8ab979d7 | 3809 | wxTreeCtrl * _arg0; |
d5c9047a | 3810 | wxTreeItemId * _arg1; |
694759cf | 3811 | wxTreeItemIcon _arg2 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal); |
1d99702e RD |
3812 | PyObject * _argo0 = 0; |
3813 | PyObject * _argo1 = 0; | |
694759cf | 3814 | char *_kwnames[] = { "self","item","which", NULL }; |
8ab979d7 RD |
3815 | |
3816 | self = self; | |
694759cf | 3817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2)) |
8ab979d7 | 3818 | return NULL; |
1d99702e RD |
3819 | if (_argo0) { |
3820 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3821 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 3822 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
3823 | return NULL; |
3824 | } | |
3825 | } | |
1d99702e RD |
3826 | if (_argo1) { |
3827 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3828 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
3829 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p."); |
3830 | return NULL; | |
3831 | } | |
3832 | } | |
cf694132 RD |
3833 | { |
3834 | wxPy_BEGIN_ALLOW_THREADS; | |
694759cf | 3835 | _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1,_arg2); |
cf694132 RD |
3836 | |
3837 | wxPy_END_ALLOW_THREADS; | |
3838 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3839 | return _resultobj; |
3840 | } | |
3841 | ||
d5c9047a | 3842 | #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0)) |
efc5f224 | 3843 | static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3844 | PyObject * _resultobj; |
d5c9047a | 3845 | int _result; |
8ab979d7 | 3846 | wxTreeCtrl * _arg0; |
d5c9047a | 3847 | wxTreeItemId * _arg1; |
1d99702e RD |
3848 | PyObject * _argo0 = 0; |
3849 | PyObject * _argo1 = 0; | |
efc5f224 | 3850 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
3851 | |
3852 | self = self; | |
efc5f224 | 3853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 3854 | return NULL; |
1d99702e RD |
3855 | if (_argo0) { |
3856 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3857 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 3858 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
3859 | return NULL; |
3860 | } | |
3861 | } | |
1d99702e RD |
3862 | if (_argo1) { |
3863 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3864 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
3865 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p."); |
3866 | return NULL; | |
3867 | } | |
3868 | } | |
cf694132 RD |
3869 | { |
3870 | wxPy_BEGIN_ALLOW_THREADS; | |
3871 | _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1); | |
8ab979d7 | 3872 | |
cf694132 RD |
3873 | wxPy_END_ALLOW_THREADS; |
3874 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3875 | return _resultobj; |
3876 | } | |
3877 | ||
d5c9047a | 3878 | #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1)) |
efc5f224 | 3879 | static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3880 | PyObject * _resultobj; |
8ab979d7 | 3881 | wxTreeCtrl * _arg0; |
d5c9047a RD |
3882 | wxTreeItemId * _arg1; |
3883 | wxString * _arg2; | |
1d99702e RD |
3884 | PyObject * _argo0 = 0; |
3885 | PyObject * _argo1 = 0; | |
d5c9047a | 3886 | PyObject * _obj2 = 0; |
efc5f224 | 3887 | char *_kwnames[] = { "self","item","text", NULL }; |
8ab979d7 RD |
3888 | |
3889 | self = self; | |
efc5f224 | 3890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2)) |
8ab979d7 | 3891 | return NULL; |
1d99702e RD |
3892 | if (_argo0) { |
3893 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3894 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 3895 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
3896 | return NULL; |
3897 | } | |
3898 | } | |
1d99702e RD |
3899 | if (_argo1) { |
3900 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3901 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
3902 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p."); |
3903 | return NULL; | |
3904 | } | |
3905 | } | |
3906 | { | |
3907 | if (!PyString_Check(_obj2)) { | |
3908 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3909 | return NULL; | |
3910 | } | |
cf694132 | 3911 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
d5c9047a | 3912 | } |
cf694132 RD |
3913 | { |
3914 | wxPy_BEGIN_ALLOW_THREADS; | |
3915 | wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2); | |
3916 | ||
3917 | wxPy_END_ALLOW_THREADS; | |
3918 | } Py_INCREF(Py_None); | |
d5c9047a RD |
3919 | _resultobj = Py_None; |
3920 | { | |
3921 | if (_obj2) | |
3922 | delete _arg2; | |
3923 | } | |
8ab979d7 RD |
3924 | return _resultobj; |
3925 | } | |
3926 | ||
694759cf | 3927 | #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2)) |
efc5f224 | 3928 | static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3929 | PyObject * _resultobj; |
8ab979d7 | 3930 | wxTreeCtrl * _arg0; |
d5c9047a RD |
3931 | wxTreeItemId * _arg1; |
3932 | int _arg2; | |
694759cf | 3933 | wxTreeItemIcon _arg3 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal); |
1d99702e RD |
3934 | PyObject * _argo0 = 0; |
3935 | PyObject * _argo1 = 0; | |
694759cf | 3936 | char *_kwnames[] = { "self","item","image","which", NULL }; |
8ab979d7 RD |
3937 | |
3938 | self = self; | |
694759cf | 3939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) |
8ab979d7 | 3940 | return NULL; |
1d99702e RD |
3941 | if (_argo0) { |
3942 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3943 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 3944 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
3945 | return NULL; |
3946 | } | |
3947 | } | |
1d99702e RD |
3948 | if (_argo1) { |
3949 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3950 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
3951 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p."); |
3952 | return NULL; | |
3953 | } | |
3954 | } | |
cf694132 RD |
3955 | { |
3956 | wxPy_BEGIN_ALLOW_THREADS; | |
694759cf | 3957 | wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3); |
cf694132 RD |
3958 | |
3959 | wxPy_END_ALLOW_THREADS; | |
3960 | } Py_INCREF(Py_None); | |
d5c9047a | 3961 | _resultobj = Py_None; |
8ab979d7 RD |
3962 | return _resultobj; |
3963 | } | |
3964 | ||
d5c9047a | 3965 | #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1)) |
efc5f224 | 3966 | static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3967 | PyObject * _resultobj; |
8ab979d7 | 3968 | wxTreeCtrl * _arg0; |
d5c9047a RD |
3969 | wxTreeItemId * _arg1; |
3970 | int _arg2; | |
1d99702e RD |
3971 | PyObject * _argo0 = 0; |
3972 | PyObject * _argo1 = 0; | |
efc5f224 | 3973 | char *_kwnames[] = { "self","item","image", NULL }; |
8ab979d7 RD |
3974 | |
3975 | self = self; | |
efc5f224 | 3976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2)) |
8ab979d7 | 3977 | return NULL; |
1d99702e RD |
3978 | if (_argo0) { |
3979 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3980 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 3981 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
3982 | return NULL; |
3983 | } | |
3984 | } | |
1d99702e RD |
3985 | if (_argo1) { |
3986 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3987 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
3988 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p."); |
3989 | return NULL; | |
3990 | } | |
3991 | } | |
cf694132 RD |
3992 | { |
3993 | wxPy_BEGIN_ALLOW_THREADS; | |
3994 | wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2); | |
3995 | ||
3996 | wxPy_END_ALLOW_THREADS; | |
3997 | } Py_INCREF(Py_None); | |
3998 | _resultobj = Py_None; | |
3999 | return _resultobj; | |
4000 | } | |
4001 | ||
4002 | #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1)) | |
efc5f224 | 4003 | static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 RD |
4004 | PyObject * _resultobj; |
4005 | wxTreeCtrl * _arg0; | |
4006 | wxTreeItemId * _arg1; | |
1d99702e RD |
4007 | bool _arg2 = (bool ) TRUE; |
4008 | PyObject * _argo0 = 0; | |
4009 | PyObject * _argo1 = 0; | |
4010 | int tempbool2 = (int) TRUE; | |
efc5f224 | 4011 | char *_kwnames[] = { "self","item","hasChildren", NULL }; |
cf694132 RD |
4012 | |
4013 | self = self; | |
efc5f224 | 4014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2)) |
cf694132 | 4015 | return NULL; |
1d99702e RD |
4016 | if (_argo0) { |
4017 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4018 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
cf694132 RD |
4019 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p."); |
4020 | return NULL; | |
4021 | } | |
4022 | } | |
1d99702e RD |
4023 | if (_argo1) { |
4024 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4025 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
cf694132 RD |
4026 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p."); |
4027 | return NULL; | |
4028 | } | |
4029 | } | |
4030 | _arg2 = (bool ) tempbool2; | |
4031 | { | |
4032 | wxPy_BEGIN_ALLOW_THREADS; | |
4033 | wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2); | |
4034 | ||
4035 | wxPy_END_ALLOW_THREADS; | |
4036 | } Py_INCREF(Py_None); | |
d5c9047a | 4037 | _resultobj = Py_None; |
8ab979d7 RD |
4038 | return _resultobj; |
4039 | } | |
4040 | ||
cf694132 RD |
4041 | static wxPyTreeItemData * wxTreeCtrl_GetItemData(wxTreeCtrl *self,const wxTreeItemId & item) { |
4042 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); | |
4043 | if (data == NULL) { | |
4044 | data = new wxPyTreeItemData(); | |
4045 | self->SetItemData(item, data); | |
4046 | } | |
4047 | return data; | |
4048 | } | |
efc5f224 | 4049 | static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 RD |
4050 | PyObject * _resultobj; |
4051 | wxPyTreeItemData * _result; | |
4052 | wxTreeCtrl * _arg0; | |
4053 | wxTreeItemId * _arg1; | |
1d99702e RD |
4054 | PyObject * _argo0 = 0; |
4055 | PyObject * _argo1 = 0; | |
efc5f224 | 4056 | char *_kwnames[] = { "self","item", NULL }; |
cf694132 RD |
4057 | char _ptemp[128]; |
4058 | ||
4059 | self = self; | |
efc5f224 | 4060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1)) |
cf694132 | 4061 | return NULL; |
1d99702e RD |
4062 | if (_argo0) { |
4063 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4064 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
cf694132 RD |
4065 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p."); |
4066 | return NULL; | |
4067 | } | |
4068 | } | |
1d99702e RD |
4069 | if (_argo1) { |
4070 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4071 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
cf694132 RD |
4072 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p."); |
4073 | return NULL; | |
4074 | } | |
4075 | } | |
4076 | { | |
4077 | wxPy_BEGIN_ALLOW_THREADS; | |
4078 | _result = (wxPyTreeItemData *)wxTreeCtrl_GetItemData(_arg0,*_arg1); | |
4079 | ||
4080 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
4081 | } if (_result) { |
4082 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p"); | |
4083 | _resultobj = Py_BuildValue("s",_ptemp); | |
4084 | } else { | |
4085 | Py_INCREF(Py_None); | |
4086 | _resultobj = Py_None; | |
4087 | } | |
cf694132 RD |
4088 | return _resultobj; |
4089 | } | |
4090 | ||
4091 | static void wxTreeCtrl_SetItemData(wxTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) { | |
4092 | self->SetItemData(item, data); | |
4093 | } | |
efc5f224 | 4094 | static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4095 | PyObject * _resultobj; |
8ab979d7 | 4096 | wxTreeCtrl * _arg0; |
d5c9047a | 4097 | wxTreeItemId * _arg1; |
cf694132 | 4098 | wxPyTreeItemData * _arg2; |
1d99702e RD |
4099 | PyObject * _argo0 = 0; |
4100 | PyObject * _argo1 = 0; | |
4101 | PyObject * _argo2 = 0; | |
efc5f224 | 4102 | char *_kwnames[] = { "self","item","data", NULL }; |
8ab979d7 RD |
4103 | |
4104 | self = self; | |
efc5f224 | 4105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2)) |
8ab979d7 | 4106 | return NULL; |
1d99702e RD |
4107 | if (_argo0) { |
4108 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4109 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 4110 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
4111 | return NULL; |
4112 | } | |
4113 | } | |
1d99702e RD |
4114 | if (_argo1) { |
4115 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4116 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
4117 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p."); |
4118 | return NULL; | |
4119 | } | |
4120 | } | |
1d99702e RD |
4121 | if (_argo2) { |
4122 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4123 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) { | |
cf694132 | 4124 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p."); |
d5c9047a RD |
4125 | return NULL; |
4126 | } | |
4127 | } | |
cf694132 RD |
4128 | { |
4129 | wxPy_BEGIN_ALLOW_THREADS; | |
4130 | wxTreeCtrl_SetItemData(_arg0,*_arg1,_arg2); | |
4131 | ||
4132 | wxPy_END_ALLOW_THREADS; | |
4133 | } Py_INCREF(Py_None); | |
d5c9047a | 4134 | _resultobj = Py_None; |
8ab979d7 RD |
4135 | return _resultobj; |
4136 | } | |
4137 | ||
cf694132 RD |
4138 | static PyObject * wxTreeCtrl_GetPyData(wxTreeCtrl *self,const wxTreeItemId & item) { |
4139 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); | |
4140 | if (data == NULL) { | |
4141 | data = new wxPyTreeItemData(); | |
4142 | self->SetItemData(item, data); | |
4143 | } | |
4144 | return data->GetData(); | |
4145 | } | |
efc5f224 | 4146 | static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 | 4147 | PyObject * _resultobj; |
cf694132 | 4148 | PyObject * _result; |
08127323 RD |
4149 | wxTreeCtrl * _arg0; |
4150 | wxTreeItemId * _arg1; | |
1d99702e RD |
4151 | PyObject * _argo0 = 0; |
4152 | PyObject * _argo1 = 0; | |
efc5f224 | 4153 | char *_kwnames[] = { "self","item", NULL }; |
08127323 RD |
4154 | |
4155 | self = self; | |
efc5f224 | 4156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1)) |
08127323 | 4157 | return NULL; |
1d99702e RD |
4158 | if (_argo0) { |
4159 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4160 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
cf694132 | 4161 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxTreeCtrl_p."); |
08127323 RD |
4162 | return NULL; |
4163 | } | |
4164 | } | |
1d99702e RD |
4165 | if (_argo1) { |
4166 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4167 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
cf694132 | 4168 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p."); |
08127323 RD |
4169 | return NULL; |
4170 | } | |
4171 | } | |
cf694132 RD |
4172 | { |
4173 | wxPy_BEGIN_ALLOW_THREADS; | |
4174 | _result = (PyObject *)wxTreeCtrl_GetPyData(_arg0,*_arg1); | |
4175 | ||
4176 | wxPy_END_ALLOW_THREADS; | |
4177 | }{ | |
4178 | _resultobj = _result; | |
4179 | } | |
4180 | return _resultobj; | |
4181 | } | |
4182 | ||
4183 | static void wxTreeCtrl_SetPyData(wxTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) { | |
4184 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); | |
4185 | if (data == NULL) { | |
4186 | data = new wxPyTreeItemData(obj); | |
4187 | self->SetItemData(item, data); | |
4188 | } else | |
4189 | data->SetData(obj); | |
4190 | } | |
efc5f224 | 4191 | static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 RD |
4192 | PyObject * _resultobj; |
4193 | wxTreeCtrl * _arg0; | |
4194 | wxTreeItemId * _arg1; | |
4195 | PyObject * _arg2; | |
1d99702e RD |
4196 | PyObject * _argo0 = 0; |
4197 | PyObject * _argo1 = 0; | |
cf694132 | 4198 | PyObject * _obj2 = 0; |
efc5f224 | 4199 | char *_kwnames[] = { "self","item","obj", NULL }; |
cf694132 RD |
4200 | |
4201 | self = self; | |
efc5f224 | 4202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2)) |
cf694132 | 4203 | return NULL; |
1d99702e RD |
4204 | if (_argo0) { |
4205 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4206 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
cf694132 RD |
4207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxTreeCtrl_p."); |
4208 | return NULL; | |
4209 | } | |
4210 | } | |
1d99702e RD |
4211 | if (_argo1) { |
4212 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4213 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
cf694132 RD |
4214 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p."); |
4215 | return NULL; | |
4216 | } | |
4217 | } | |
4218 | { | |
4219 | _arg2 = _obj2; | |
4220 | } | |
4221 | { | |
4222 | wxPy_BEGIN_ALLOW_THREADS; | |
4223 | wxTreeCtrl_SetPyData(_arg0,*_arg1,_arg2); | |
4224 | ||
4225 | wxPy_END_ALLOW_THREADS; | |
4226 | } Py_INCREF(Py_None); | |
08127323 RD |
4227 | _resultobj = Py_None; |
4228 | return _resultobj; | |
4229 | } | |
4230 | ||
d5c9047a | 4231 | #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0)) |
efc5f224 | 4232 | static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4233 | PyObject * _resultobj; |
d5c9047a | 4234 | bool _result; |
8ab979d7 | 4235 | wxTreeCtrl * _arg0; |
d5c9047a | 4236 | wxTreeItemId * _arg1; |
1d99702e RD |
4237 | PyObject * _argo0 = 0; |
4238 | PyObject * _argo1 = 0; | |
efc5f224 | 4239 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
4240 | |
4241 | self = self; | |
efc5f224 | 4242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 4243 | return NULL; |
1d99702e RD |
4244 | if (_argo0) { |
4245 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4246 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 4247 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
4248 | return NULL; |
4249 | } | |
4250 | } | |
1d99702e RD |
4251 | if (_argo1) { |
4252 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4253 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
4254 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p."); |
4255 | return NULL; | |
4256 | } | |
4257 | } | |
cf694132 RD |
4258 | { |
4259 | wxPy_BEGIN_ALLOW_THREADS; | |
4260 | _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1); | |
4261 | ||
4262 | wxPy_END_ALLOW_THREADS; | |
4263 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4264 | return _resultobj; |
4265 | } | |
4266 | ||
d5c9047a | 4267 | #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0)) |
efc5f224 | 4268 | static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4269 | PyObject * _resultobj; |
d5c9047a | 4270 | bool _result; |
8ab979d7 | 4271 | wxTreeCtrl * _arg0; |
d5c9047a | 4272 | wxTreeItemId * _arg1; |
1d99702e RD |
4273 | PyObject * _argo0 = 0; |
4274 | PyObject * _argo1 = 0; | |
efc5f224 | 4275 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
4276 | |
4277 | self = self; | |
efc5f224 | 4278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 4279 | return NULL; |
1d99702e RD |
4280 | if (_argo0) { |
4281 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4282 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 4283 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
4284 | return NULL; |
4285 | } | |
4286 | } | |
1d99702e RD |
4287 | if (_argo1) { |
4288 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4289 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
4290 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p."); |
4291 | return NULL; | |
4292 | } | |
4293 | } | |
cf694132 RD |
4294 | { |
4295 | wxPy_BEGIN_ALLOW_THREADS; | |
4296 | _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1); | |
4297 | ||
4298 | wxPy_END_ALLOW_THREADS; | |
4299 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4300 | return _resultobj; |
4301 | } | |
4302 | ||
d5c9047a | 4303 | #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0)) |
efc5f224 | 4304 | static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4305 | PyObject * _resultobj; |
d5c9047a | 4306 | bool _result; |
8ab979d7 | 4307 | wxTreeCtrl * _arg0; |
d5c9047a | 4308 | wxTreeItemId * _arg1; |
1d99702e RD |
4309 | PyObject * _argo0 = 0; |
4310 | PyObject * _argo1 = 0; | |
efc5f224 | 4311 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
4312 | |
4313 | self = self; | |
efc5f224 | 4314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 4315 | return NULL; |
1d99702e RD |
4316 | if (_argo0) { |
4317 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4318 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 4319 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
4320 | return NULL; |
4321 | } | |
4322 | } | |
1d99702e RD |
4323 | if (_argo1) { |
4324 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4325 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
4326 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p."); |
4327 | return NULL; | |
4328 | } | |
4329 | } | |
cf694132 RD |
4330 | { |
4331 | wxPy_BEGIN_ALLOW_THREADS; | |
4332 | _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1); | |
4333 | ||
4334 | wxPy_END_ALLOW_THREADS; | |
4335 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4336 | return _resultobj; |
4337 | } | |
4338 | ||
d5c9047a | 4339 | #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0)) |
efc5f224 | 4340 | static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4341 | PyObject * _resultobj; |
d5c9047a | 4342 | bool _result; |
8ab979d7 | 4343 | wxTreeCtrl * _arg0; |
d5c9047a | 4344 | wxTreeItemId * _arg1; |
1d99702e RD |
4345 | PyObject * _argo0 = 0; |
4346 | PyObject * _argo1 = 0; | |
efc5f224 | 4347 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
4348 | |
4349 | self = self; | |
efc5f224 | 4350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 4351 | return NULL; |
1d99702e RD |
4352 | if (_argo0) { |
4353 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4354 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 4355 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
4356 | return NULL; |
4357 | } | |
4358 | } | |
1d99702e RD |
4359 | if (_argo1) { |
4360 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4361 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
4362 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p."); |
4363 | return NULL; | |
4364 | } | |
4365 | } | |
cf694132 RD |
4366 | { |
4367 | wxPy_BEGIN_ALLOW_THREADS; | |
4368 | _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1); | |
4369 | ||
4370 | wxPy_END_ALLOW_THREADS; | |
4371 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4372 | return _resultobj; |
4373 | } | |
4374 | ||
4375 | #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem()) | |
efc5f224 | 4376 | static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4377 | PyObject * _resultobj; |
d5c9047a | 4378 | wxTreeItemId * _result; |
8ab979d7 | 4379 | wxTreeCtrl * _arg0; |
1d99702e | 4380 | PyObject * _argo0 = 0; |
efc5f224 | 4381 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 4382 | char _ptemp[128]; |
8ab979d7 RD |
4383 | |
4384 | self = self; | |
efc5f224 | 4385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0)) |
8ab979d7 | 4386 | return NULL; |
1d99702e RD |
4387 | if (_argo0) { |
4388 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4389 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
8ab979d7 RD |
4390 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p."); |
4391 | return NULL; | |
4392 | } | |
4393 | } | |
cf694132 RD |
4394 | { |
4395 | wxPy_BEGIN_ALLOW_THREADS; | |
4396 | _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0)); | |
4397 | ||
4398 | wxPy_END_ALLOW_THREADS; | |
4399 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 4400 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
4401 | return _resultobj; |
4402 | } | |
4403 | ||
4404 | #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
efc5f224 | 4405 | static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4406 | PyObject * _resultobj; |
d5c9047a | 4407 | wxTreeItemId * _result; |
8ab979d7 | 4408 | wxTreeCtrl * _arg0; |
1d99702e | 4409 | PyObject * _argo0 = 0; |
efc5f224 | 4410 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 4411 | char _ptemp[128]; |
8ab979d7 RD |
4412 | |
4413 | self = self; | |
efc5f224 | 4414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0)) |
8ab979d7 | 4415 | return NULL; |
1d99702e RD |
4416 | if (_argo0) { |
4417 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4418 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
8ab979d7 RD |
4419 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p."); |
4420 | return NULL; | |
4421 | } | |
4422 | } | |
cf694132 RD |
4423 | { |
4424 | wxPy_BEGIN_ALLOW_THREADS; | |
4425 | _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0)); | |
4426 | ||
4427 | wxPy_END_ALLOW_THREADS; | |
4428 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 4429 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
4430 | return _resultobj; |
4431 | } | |
4432 | ||
eb715945 RD |
4433 | #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0)) |
4434 | static PyObject *_wrap_wxTreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 4435 | PyObject * _resultobj; |
d5c9047a | 4436 | wxTreeItemId * _result; |
8ab979d7 | 4437 | wxTreeCtrl * _arg0; |
d5c9047a | 4438 | wxTreeItemId * _arg1; |
1d99702e RD |
4439 | PyObject * _argo0 = 0; |
4440 | PyObject * _argo1 = 0; | |
efc5f224 | 4441 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a | 4442 | char _ptemp[128]; |
8ab979d7 RD |
4443 | |
4444 | self = self; | |
eb715945 | 4445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemParent",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 4446 | return NULL; |
1d99702e RD |
4447 | if (_argo0) { |
4448 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4449 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
eb715945 | 4450 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
4451 | return NULL; |
4452 | } | |
4453 | } | |
1d99702e RD |
4454 | if (_argo1) { |
4455 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4456 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
eb715945 | 4457 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p."); |
8ab979d7 RD |
4458 | return NULL; |
4459 | } | |
4460 | } | |
cf694132 RD |
4461 | { |
4462 | wxPy_BEGIN_ALLOW_THREADS; | |
eb715945 | 4463 | _result = new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0,*_arg1)); |
cf694132 RD |
4464 | |
4465 | wxPy_END_ALLOW_THREADS; | |
4466 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 4467 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
4468 | return _resultobj; |
4469 | } | |
4470 | ||
d426c97e | 4471 | static PyObject * wxTreeCtrl_GetSelections(wxTreeCtrl *self) { |
26b9cf27 | 4472 | bool doSave = wxPyRestoreThread(); |
d426c97e RD |
4473 | PyObject* rval = PyList_New(0); |
4474 | wxArrayTreeItemIds array; | |
4475 | size_t num, x; | |
4476 | num = self->GetSelections(array); | |
4477 | for (x=0; x < num; x++) { | |
4478 | PyObject* item = wxPyConstructObject((void*)&array.Item(x), | |
4479 | "wxTreeItemId"); | |
4480 | PyList_Append(rval, item); | |
4481 | } | |
26b9cf27 | 4482 | wxPySaveThread(doSave); |
d426c97e RD |
4483 | return rval; |
4484 | } | |
4485 | static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4486 | PyObject * _resultobj; | |
4487 | PyObject * _result; | |
4488 | wxTreeCtrl * _arg0; | |
4489 | PyObject * _argo0 = 0; | |
4490 | char *_kwnames[] = { "self", NULL }; | |
4491 | ||
4492 | self = self; | |
4493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0)) | |
4494 | return NULL; | |
4495 | if (_argo0) { | |
4496 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4497 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
4498 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxTreeCtrl_p."); | |
4499 | return NULL; | |
4500 | } | |
4501 | } | |
4502 | { | |
4503 | wxPy_BEGIN_ALLOW_THREADS; | |
4504 | _result = (PyObject *)wxTreeCtrl_GetSelections(_arg0); | |
4505 | ||
4506 | wxPy_END_ALLOW_THREADS; | |
4507 | }{ | |
4508 | _resultobj = _result; | |
4509 | } | |
4510 | return _resultobj; | |
4511 | } | |
4512 | ||
bb0054cd | 4513 | #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1)) |
efc5f224 | 4514 | static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
bb0054cd RD |
4515 | PyObject * _resultobj; |
4516 | size_t _result; | |
4517 | wxTreeCtrl * _arg0; | |
4518 | wxTreeItemId * _arg1; | |
1d99702e RD |
4519 | bool _arg2 = (bool ) TRUE; |
4520 | PyObject * _argo0 = 0; | |
4521 | PyObject * _argo1 = 0; | |
4522 | int tempbool2 = (int) TRUE; | |
efc5f224 | 4523 | char *_kwnames[] = { "self","item","recursively", NULL }; |
bb0054cd RD |
4524 | |
4525 | self = self; | |
efc5f224 | 4526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2)) |
bb0054cd | 4527 | return NULL; |
1d99702e RD |
4528 | if (_argo0) { |
4529 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4530 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
bb0054cd RD |
4531 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeCtrl_p."); |
4532 | return NULL; | |
4533 | } | |
4534 | } | |
1d99702e RD |
4535 | if (_argo1) { |
4536 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4537 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
bb0054cd RD |
4538 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p."); |
4539 | return NULL; | |
4540 | } | |
4541 | } | |
4542 | _arg2 = (bool ) tempbool2; | |
4543 | { | |
4544 | wxPy_BEGIN_ALLOW_THREADS; | |
4545 | _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2); | |
4546 | ||
4547 | wxPy_END_ALLOW_THREADS; | |
4548 | } _resultobj = Py_BuildValue("i",_result); | |
4549 | return _resultobj; | |
4550 | } | |
4551 | ||
d5c9047a | 4552 | #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1)) |
efc5f224 | 4553 | static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4554 | PyObject * _resultobj; |
d5c9047a | 4555 | wxTreeItemId * _result; |
8ab979d7 | 4556 | wxTreeCtrl * _arg0; |
d5c9047a RD |
4557 | wxTreeItemId * _arg1; |
4558 | long * _arg2; | |
1d99702e RD |
4559 | PyObject * _argo0 = 0; |
4560 | PyObject * _argo1 = 0; | |
d5c9047a RD |
4561 | long temp; |
4562 | PyObject * _obj2 = 0; | |
efc5f224 | 4563 | char *_kwnames[] = { "self","item","INOUT", NULL }; |
d5c9047a | 4564 | char _ptemp[128]; |
8ab979d7 RD |
4565 | |
4566 | self = self; | |
efc5f224 | 4567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2)) |
8ab979d7 | 4568 | return NULL; |
1d99702e RD |
4569 | if (_argo0) { |
4570 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4571 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 4572 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
4573 | return NULL; |
4574 | } | |
4575 | } | |
1d99702e RD |
4576 | if (_argo1) { |
4577 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4578 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a | 4579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p."); |
8ab979d7 RD |
4580 | return NULL; |
4581 | } | |
4582 | } | |
d5c9047a RD |
4583 | { |
4584 | temp = (long) PyInt_AsLong(_obj2); | |
4585 | _arg2 = &temp; | |
4586 | } | |
cf694132 RD |
4587 | { |
4588 | wxPy_BEGIN_ALLOW_THREADS; | |
4589 | _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2)); | |
4590 | ||
4591 | wxPy_END_ALLOW_THREADS; | |
4592 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a RD |
4593 | _resultobj = Py_BuildValue("s",_ptemp); |
4594 | { | |
4595 | PyObject *o; | |
4596 | o = PyInt_FromLong((long) (*_arg2)); | |
4597 | _resultobj = t_output_helper(_resultobj, o); | |
4598 | } | |
8ab979d7 RD |
4599 | return _resultobj; |
4600 | } | |
4601 | ||
d5c9047a | 4602 | #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1)) |
efc5f224 | 4603 | static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4604 | PyObject * _resultobj; |
d5c9047a | 4605 | wxTreeItemId * _result; |
8ab979d7 | 4606 | wxTreeCtrl * _arg0; |
d5c9047a RD |
4607 | wxTreeItemId * _arg1; |
4608 | long * _arg2; | |
1d99702e RD |
4609 | PyObject * _argo0 = 0; |
4610 | PyObject * _argo1 = 0; | |
d5c9047a | 4611 | long temp; |
8ab979d7 | 4612 | PyObject * _obj2 = 0; |
efc5f224 | 4613 | char *_kwnames[] = { "self","item","INOUT", NULL }; |
d5c9047a | 4614 | char _ptemp[128]; |
8ab979d7 RD |
4615 | |
4616 | self = self; | |
efc5f224 | 4617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2)) |
8ab979d7 | 4618 | return NULL; |
1d99702e RD |
4619 | if (_argo0) { |
4620 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4621 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 4622 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
4623 | return NULL; |
4624 | } | |
4625 | } | |
1d99702e RD |
4626 | if (_argo1) { |
4627 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4628 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a | 4629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p."); |
8ab979d7 | 4630 | return NULL; |
d5c9047a | 4631 | } |
8ab979d7 | 4632 | } |
d5c9047a RD |
4633 | { |
4634 | temp = (long) PyInt_AsLong(_obj2); | |
4635 | _arg2 = &temp; | |
8ab979d7 | 4636 | } |
cf694132 RD |
4637 | { |
4638 | wxPy_BEGIN_ALLOW_THREADS; | |
4639 | _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2)); | |
4640 | ||
4641 | wxPy_END_ALLOW_THREADS; | |
4642 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 4643 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 | 4644 | { |
d5c9047a RD |
4645 | PyObject *o; |
4646 | o = PyInt_FromLong((long) (*_arg2)); | |
4647 | _resultobj = t_output_helper(_resultobj, o); | |
8ab979d7 RD |
4648 | } |
4649 | return _resultobj; | |
4650 | } | |
4651 | ||
d5c9047a | 4652 | #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0)) |
efc5f224 | 4653 | static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4654 | PyObject * _resultobj; |
d5c9047a | 4655 | wxTreeItemId * _result; |
8ab979d7 | 4656 | wxTreeCtrl * _arg0; |
d5c9047a | 4657 | wxTreeItemId * _arg1; |
1d99702e RD |
4658 | PyObject * _argo0 = 0; |
4659 | PyObject * _argo1 = 0; | |
efc5f224 | 4660 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a | 4661 | char _ptemp[128]; |
8ab979d7 RD |
4662 | |
4663 | self = self; | |
efc5f224 | 4664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 4665 | return NULL; |
1d99702e RD |
4666 | if (_argo0) { |
4667 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4668 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 4669 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
4670 | return NULL; |
4671 | } | |
4672 | } | |
1d99702e RD |
4673 | if (_argo1) { |
4674 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4675 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
4676 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p."); |
4677 | return NULL; | |
4678 | } | |
4679 | } | |
cf694132 RD |
4680 | { |
4681 | wxPy_BEGIN_ALLOW_THREADS; | |
4682 | _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1)); | |
4683 | ||
4684 | wxPy_END_ALLOW_THREADS; | |
4685 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 4686 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
4687 | return _resultobj; |
4688 | } | |
4689 | ||
d5c9047a | 4690 | #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0)) |
efc5f224 | 4691 | static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4692 | PyObject * _resultobj; |
d5c9047a | 4693 | wxTreeItemId * _result; |
8ab979d7 | 4694 | wxTreeCtrl * _arg0; |
d5c9047a | 4695 | wxTreeItemId * _arg1; |
1d99702e RD |
4696 | PyObject * _argo0 = 0; |
4697 | PyObject * _argo1 = 0; | |
efc5f224 | 4698 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a | 4699 | char _ptemp[128]; |
8ab979d7 RD |
4700 | |
4701 | self = self; | |
efc5f224 | 4702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 4703 | return NULL; |
1d99702e RD |
4704 | if (_argo0) { |
4705 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4706 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 4707 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
4708 | return NULL; |
4709 | } | |
4710 | } | |
1d99702e RD |
4711 | if (_argo1) { |
4712 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4713 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
4714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p."); |
4715 | return NULL; | |
4716 | } | |
4717 | } | |
cf694132 RD |
4718 | { |
4719 | wxPy_BEGIN_ALLOW_THREADS; | |
4720 | _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1)); | |
4721 | ||
4722 | wxPy_END_ALLOW_THREADS; | |
4723 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 4724 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
4725 | return _resultobj; |
4726 | } | |
4727 | ||
d5c9047a | 4728 | #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem()) |
efc5f224 | 4729 | static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4730 | PyObject * _resultobj; |
d5c9047a | 4731 | wxTreeItemId * _result; |
8ab979d7 | 4732 | wxTreeCtrl * _arg0; |
1d99702e | 4733 | PyObject * _argo0 = 0; |
efc5f224 | 4734 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 4735 | char _ptemp[128]; |
8ab979d7 RD |
4736 | |
4737 | self = self; | |
efc5f224 | 4738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0)) |
8ab979d7 | 4739 | return NULL; |
1d99702e RD |
4740 | if (_argo0) { |
4741 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4742 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 4743 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
4744 | return NULL; |
4745 | } | |
4746 | } | |
cf694132 RD |
4747 | { |
4748 | wxPy_BEGIN_ALLOW_THREADS; | |
4749 | _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0)); | |
4750 | ||
4751 | wxPy_END_ALLOW_THREADS; | |
4752 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 4753 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
4754 | return _resultobj; |
4755 | } | |
4756 | ||
d5c9047a | 4757 | #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0)) |
efc5f224 | 4758 | static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4759 | PyObject * _resultobj; |
d5c9047a | 4760 | wxTreeItemId * _result; |
8ab979d7 | 4761 | wxTreeCtrl * _arg0; |
d5c9047a | 4762 | wxTreeItemId * _arg1; |
1d99702e RD |
4763 | PyObject * _argo0 = 0; |
4764 | PyObject * _argo1 = 0; | |
efc5f224 | 4765 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a | 4766 | char _ptemp[128]; |
8ab979d7 RD |
4767 | |
4768 | self = self; | |
efc5f224 | 4769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 4770 | return NULL; |
1d99702e RD |
4771 | if (_argo0) { |
4772 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4773 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 4774 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
4775 | return NULL; |
4776 | } | |
4777 | } | |
1d99702e RD |
4778 | if (_argo1) { |
4779 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4780 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
4781 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p."); |
4782 | return NULL; | |
4783 | } | |
4784 | } | |
cf694132 RD |
4785 | { |
4786 | wxPy_BEGIN_ALLOW_THREADS; | |
4787 | _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1)); | |
4788 | ||
4789 | wxPy_END_ALLOW_THREADS; | |
4790 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 4791 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
4792 | return _resultobj; |
4793 | } | |
4794 | ||
d5c9047a | 4795 | #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0)) |
efc5f224 | 4796 | static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4797 | PyObject * _resultobj; |
d5c9047a | 4798 | wxTreeItemId * _result; |
8ab979d7 | 4799 | wxTreeCtrl * _arg0; |
d5c9047a | 4800 | wxTreeItemId * _arg1; |
1d99702e RD |
4801 | PyObject * _argo0 = 0; |
4802 | PyObject * _argo1 = 0; | |
efc5f224 | 4803 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a | 4804 | char _ptemp[128]; |
8ab979d7 RD |
4805 | |
4806 | self = self; | |
efc5f224 | 4807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 4808 | return NULL; |
1d99702e RD |
4809 | if (_argo0) { |
4810 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4811 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 4812 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
4813 | return NULL; |
4814 | } | |
4815 | } | |
1d99702e RD |
4816 | if (_argo1) { |
4817 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4818 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a | 4819 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p."); |
8ab979d7 RD |
4820 | return NULL; |
4821 | } | |
4822 | } | |
cf694132 RD |
4823 | { |
4824 | wxPy_BEGIN_ALLOW_THREADS; | |
4825 | _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1)); | |
4826 | ||
4827 | wxPy_END_ALLOW_THREADS; | |
4828 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 4829 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
4830 | return _resultobj; |
4831 | } | |
4832 | ||
d426c97e RD |
4833 | #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0)) |
4834 | static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4835 | PyObject * _resultobj; | |
4836 | wxTreeItemId * _result; | |
4837 | wxTreeCtrl * _arg0; | |
4838 | wxTreeItemId * _arg1; | |
4839 | PyObject * _argo0 = 0; | |
4840 | PyObject * _argo1 = 0; | |
4841 | char *_kwnames[] = { "self","item", NULL }; | |
4842 | char _ptemp[128]; | |
4843 | ||
4844 | self = self; | |
4845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1)) | |
4846 | return NULL; | |
4847 | if (_argo0) { | |
4848 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4849 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
4850 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxTreeCtrl_p."); | |
4851 | return NULL; | |
4852 | } | |
4853 | } | |
4854 | if (_argo1) { | |
4855 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4856 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
4857 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p."); | |
4858 | return NULL; | |
4859 | } | |
4860 | } | |
4861 | { | |
4862 | wxPy_BEGIN_ALLOW_THREADS; | |
4863 | _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1)); | |
4864 | ||
4865 | wxPy_END_ALLOW_THREADS; | |
4866 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
4867 | _resultobj = Py_BuildValue("s",_ptemp); | |
4868 | return _resultobj; | |
4869 | } | |
4870 | ||
d5c9047a | 4871 | #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
efc5f224 | 4872 | static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4873 | PyObject * _resultobj; |
d5c9047a | 4874 | wxTreeItemId * _result; |
8ab979d7 | 4875 | wxTreeCtrl * _arg0; |
d5c9047a | 4876 | wxString * _arg1; |
1d99702e RD |
4877 | int _arg2 = (int ) -1; |
4878 | int _arg3 = (int ) -1; | |
4879 | wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL; | |
4880 | PyObject * _argo0 = 0; | |
d5c9047a | 4881 | PyObject * _obj1 = 0; |
1d99702e | 4882 | PyObject * _argo4 = 0; |
efc5f224 | 4883 | char *_kwnames[] = { "self","text","image","selectedImage","data", NULL }; |
d5c9047a | 4884 | char _ptemp[128]; |
8ab979d7 RD |
4885 | |
4886 | self = self; | |
efc5f224 | 4887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4)) |
8ab979d7 | 4888 | return NULL; |
1d99702e RD |
4889 | if (_argo0) { |
4890 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4891 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 4892 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
4893 | return NULL; |
4894 | } | |
4895 | } | |
d5c9047a RD |
4896 | { |
4897 | if (!PyString_Check(_obj1)) { | |
4898 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4899 | return NULL; | |
4900 | } | |
cf694132 | 4901 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
d5c9047a | 4902 | } |
1d99702e RD |
4903 | if (_argo4) { |
4904 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
4905 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) { | |
cf694132 | 4906 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p."); |
8ab979d7 RD |
4907 | return NULL; |
4908 | } | |
4909 | } | |
cf694132 RD |
4910 | { |
4911 | wxPy_BEGIN_ALLOW_THREADS; | |
4912 | _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4)); | |
4913 | ||
4914 | wxPy_END_ALLOW_THREADS; | |
4915 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a RD |
4916 | _resultobj = Py_BuildValue("s",_ptemp); |
4917 | { | |
4918 | if (_obj1) | |
4919 | delete _arg1; | |
4920 | } | |
8ab979d7 RD |
4921 | return _resultobj; |
4922 | } | |
4923 | ||
d5c9047a | 4924 | #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) |
efc5f224 | 4925 | static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4926 | PyObject * _resultobj; |
d5c9047a | 4927 | wxTreeItemId * _result; |
8ab979d7 | 4928 | wxTreeCtrl * _arg0; |
d5c9047a RD |
4929 | wxTreeItemId * _arg1; |
4930 | wxString * _arg2; | |
1d99702e RD |
4931 | int _arg3 = (int ) -1; |
4932 | int _arg4 = (int ) -1; | |
4933 | wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL; | |
4934 | PyObject * _argo0 = 0; | |
4935 | PyObject * _argo1 = 0; | |
d5c9047a | 4936 | PyObject * _obj2 = 0; |
1d99702e | 4937 | PyObject * _argo5 = 0; |
efc5f224 | 4938 | char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL }; |
d5c9047a | 4939 | char _ptemp[128]; |
8ab979d7 RD |
4940 | |
4941 | self = self; | |
efc5f224 | 4942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5)) |
8ab979d7 | 4943 | return NULL; |
1d99702e RD |
4944 | if (_argo0) { |
4945 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4946 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 4947 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
4948 | return NULL; |
4949 | } | |
4950 | } | |
1d99702e RD |
4951 | if (_argo1) { |
4952 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4953 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
4954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p."); |
4955 | return NULL; | |
4956 | } | |
4957 | } | |
4958 | { | |
4959 | if (!PyString_Check(_obj2)) { | |
4960 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4961 | return NULL; | |
4962 | } | |
cf694132 | 4963 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
d5c9047a | 4964 | } |
1d99702e RD |
4965 | if (_argo5) { |
4966 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
4967 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) { | |
cf694132 | 4968 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p."); |
d5c9047a RD |
4969 | return NULL; |
4970 | } | |
4971 | } | |
cf694132 RD |
4972 | { |
4973 | wxPy_BEGIN_ALLOW_THREADS; | |
4974 | _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5)); | |
4975 | ||
4976 | wxPy_END_ALLOW_THREADS; | |
4977 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a RD |
4978 | _resultobj = Py_BuildValue("s",_ptemp); |
4979 | { | |
4980 | if (_obj2) | |
4981 | delete _arg2; | |
4982 | } | |
8ab979d7 RD |
4983 | return _resultobj; |
4984 | } | |
4985 | ||
d5c9047a | 4986 | #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
efc5f224 | 4987 | static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4988 | PyObject * _resultobj; |
d5c9047a | 4989 | wxTreeItemId * _result; |
8ab979d7 | 4990 | wxTreeCtrl * _arg0; |
d5c9047a RD |
4991 | wxTreeItemId * _arg1; |
4992 | wxTreeItemId * _arg2; | |
4993 | wxString * _arg3; | |
1d99702e RD |
4994 | int _arg4 = (int ) -1; |
4995 | int _arg5 = (int ) -1; | |
4996 | wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL; | |
4997 | PyObject * _argo0 = 0; | |
4998 | PyObject * _argo1 = 0; | |
4999 | PyObject * _argo2 = 0; | |
d5c9047a | 5000 | PyObject * _obj3 = 0; |
1d99702e | 5001 | PyObject * _argo6 = 0; |
efc5f224 | 5002 | char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL }; |
d5c9047a | 5003 | char _ptemp[128]; |
8ab979d7 RD |
5004 | |
5005 | self = self; | |
efc5f224 | 5006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6)) |
8ab979d7 | 5007 | return NULL; |
1d99702e RD |
5008 | if (_argo0) { |
5009 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5010 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 5011 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
5012 | return NULL; |
5013 | } | |
5014 | } | |
1d99702e RD |
5015 | if (_argo1) { |
5016 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5017 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5018 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p."); |
5019 | return NULL; | |
5020 | } | |
5021 | } | |
1d99702e RD |
5022 | if (_argo2) { |
5023 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
5024 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5025 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p."); |
5026 | return NULL; | |
5027 | } | |
5028 | } | |
5029 | { | |
5030 | if (!PyString_Check(_obj3)) { | |
5031 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5032 | return NULL; | |
5033 | } | |
cf694132 | 5034 | _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3)); |
d5c9047a | 5035 | } |
1d99702e RD |
5036 | if (_argo6) { |
5037 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
5038 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) { | |
cf694132 | 5039 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p."); |
d5c9047a RD |
5040 | return NULL; |
5041 | } | |
5042 | } | |
cf694132 RD |
5043 | { |
5044 | wxPy_BEGIN_ALLOW_THREADS; | |
5045 | _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6)); | |
5046 | ||
5047 | wxPy_END_ALLOW_THREADS; | |
5048 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a RD |
5049 | _resultobj = Py_BuildValue("s",_ptemp); |
5050 | { | |
5051 | if (_obj3) | |
5052 | delete _arg3; | |
5053 | } | |
8ab979d7 RD |
5054 | return _resultobj; |
5055 | } | |
5056 | ||
d5c9047a | 5057 | #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) |
efc5f224 | 5058 | static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5059 | PyObject * _resultobj; |
d5c9047a | 5060 | wxTreeItemId * _result; |
8ab979d7 | 5061 | wxTreeCtrl * _arg0; |
d5c9047a | 5062 | wxTreeItemId * _arg1; |
8ab979d7 | 5063 | wxString * _arg2; |
1d99702e RD |
5064 | int _arg3 = (int ) -1; |
5065 | int _arg4 = (int ) -1; | |
5066 | wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL; | |
5067 | PyObject * _argo0 = 0; | |
5068 | PyObject * _argo1 = 0; | |
8ab979d7 | 5069 | PyObject * _obj2 = 0; |
1d99702e | 5070 | PyObject * _argo5 = 0; |
efc5f224 | 5071 | char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL }; |
d5c9047a | 5072 | char _ptemp[128]; |
8ab979d7 RD |
5073 | |
5074 | self = self; | |
efc5f224 | 5075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5)) |
8ab979d7 | 5076 | return NULL; |
1d99702e RD |
5077 | if (_argo0) { |
5078 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5079 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a RD |
5080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p."); |
5081 | return NULL; | |
5082 | } | |
5083 | } | |
1d99702e RD |
5084 | if (_argo1) { |
5085 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5086 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a | 5087 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p."); |
8ab979d7 RD |
5088 | return NULL; |
5089 | } | |
5090 | } | |
5091 | { | |
5092 | if (!PyString_Check(_obj2)) { | |
5093 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5094 | return NULL; | |
5095 | } | |
cf694132 | 5096 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
8ab979d7 | 5097 | } |
1d99702e RD |
5098 | if (_argo5) { |
5099 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
5100 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) { | |
cf694132 | 5101 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p."); |
d5c9047a RD |
5102 | return NULL; |
5103 | } | |
5104 | } | |
cf694132 RD |
5105 | { |
5106 | wxPy_BEGIN_ALLOW_THREADS; | |
5107 | _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5)); | |
5108 | ||
5109 | wxPy_END_ALLOW_THREADS; | |
5110 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 5111 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
5112 | { |
5113 | if (_obj2) | |
5114 | delete _arg2; | |
5115 | } | |
5116 | return _resultobj; | |
5117 | } | |
5118 | ||
d5c9047a | 5119 | #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0)) |
efc5f224 | 5120 | static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5121 | PyObject * _resultobj; |
8ab979d7 | 5122 | wxTreeCtrl * _arg0; |
d5c9047a | 5123 | wxTreeItemId * _arg1; |
1d99702e RD |
5124 | PyObject * _argo0 = 0; |
5125 | PyObject * _argo1 = 0; | |
efc5f224 | 5126 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
5127 | |
5128 | self = self; | |
efc5f224 | 5129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 5130 | return NULL; |
1d99702e RD |
5131 | if (_argo0) { |
5132 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5133 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a | 5134 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p."); |
8ab979d7 RD |
5135 | return NULL; |
5136 | } | |
5137 | } | |
1d99702e RD |
5138 | if (_argo1) { |
5139 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5140 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5141 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p."); |
5142 | return NULL; | |
5143 | } | |
5144 | } | |
cf694132 RD |
5145 | { |
5146 | wxPy_BEGIN_ALLOW_THREADS; | |
5147 | wxTreeCtrl_Delete(_arg0,*_arg1); | |
5148 | ||
5149 | wxPy_END_ALLOW_THREADS; | |
5150 | } Py_INCREF(Py_None); | |
d5c9047a RD |
5151 | _resultobj = Py_None; |
5152 | return _resultobj; | |
5153 | } | |
5154 | ||
08127323 | 5155 | #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0)) |
efc5f224 | 5156 | static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 RD |
5157 | PyObject * _resultobj; |
5158 | wxTreeCtrl * _arg0; | |
5159 | wxTreeItemId * _arg1; | |
1d99702e RD |
5160 | PyObject * _argo0 = 0; |
5161 | PyObject * _argo1 = 0; | |
efc5f224 | 5162 | char *_kwnames[] = { "self","item", NULL }; |
08127323 RD |
5163 | |
5164 | self = self; | |
efc5f224 | 5165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1)) |
08127323 | 5166 | return NULL; |
1d99702e RD |
5167 | if (_argo0) { |
5168 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5169 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
08127323 RD |
5170 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p."); |
5171 | return NULL; | |
5172 | } | |
5173 | } | |
1d99702e RD |
5174 | if (_argo1) { |
5175 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5176 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
08127323 RD |
5177 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p."); |
5178 | return NULL; | |
5179 | } | |
5180 | } | |
cf694132 RD |
5181 | { |
5182 | wxPy_BEGIN_ALLOW_THREADS; | |
5183 | wxTreeCtrl_DeleteChildren(_arg0,*_arg1); | |
5184 | ||
5185 | wxPy_END_ALLOW_THREADS; | |
5186 | } Py_INCREF(Py_None); | |
08127323 RD |
5187 | _resultobj = Py_None; |
5188 | return _resultobj; | |
5189 | } | |
5190 | ||
d5c9047a | 5191 | #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems()) |
efc5f224 | 5192 | static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a RD |
5193 | PyObject * _resultobj; |
5194 | wxTreeCtrl * _arg0; | |
1d99702e | 5195 | PyObject * _argo0 = 0; |
efc5f224 | 5196 | char *_kwnames[] = { "self", NULL }; |
d5c9047a RD |
5197 | |
5198 | self = self; | |
efc5f224 | 5199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0)) |
d5c9047a | 5200 | return NULL; |
1d99702e RD |
5201 | if (_argo0) { |
5202 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5203 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a RD |
5204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p."); |
5205 | return NULL; | |
5206 | } | |
5207 | } | |
cf694132 RD |
5208 | { |
5209 | wxPy_BEGIN_ALLOW_THREADS; | |
5210 | wxTreeCtrl_DeleteAllItems(_arg0); | |
5211 | ||
5212 | wxPy_END_ALLOW_THREADS; | |
5213 | } Py_INCREF(Py_None); | |
d5c9047a RD |
5214 | _resultobj = Py_None; |
5215 | return _resultobj; | |
5216 | } | |
5217 | ||
5218 | #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0)) | |
efc5f224 | 5219 | static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a RD |
5220 | PyObject * _resultobj; |
5221 | wxTreeCtrl * _arg0; | |
5222 | wxTreeItemId * _arg1; | |
1d99702e RD |
5223 | PyObject * _argo0 = 0; |
5224 | PyObject * _argo1 = 0; | |
efc5f224 | 5225 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
5226 | |
5227 | self = self; | |
efc5f224 | 5228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 5229 | return NULL; |
1d99702e RD |
5230 | if (_argo0) { |
5231 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5232 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a RD |
5233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p."); |
5234 | return NULL; | |
5235 | } | |
5236 | } | |
1d99702e RD |
5237 | if (_argo1) { |
5238 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5239 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5240 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p."); |
5241 | return NULL; | |
5242 | } | |
5243 | } | |
cf694132 RD |
5244 | { |
5245 | wxPy_BEGIN_ALLOW_THREADS; | |
5246 | wxTreeCtrl_Expand(_arg0,*_arg1); | |
5247 | ||
5248 | wxPy_END_ALLOW_THREADS; | |
5249 | } Py_INCREF(Py_None); | |
d5c9047a RD |
5250 | _resultobj = Py_None; |
5251 | return _resultobj; | |
5252 | } | |
5253 | ||
5254 | #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0)) | |
efc5f224 | 5255 | static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a RD |
5256 | PyObject * _resultobj; |
5257 | wxTreeCtrl * _arg0; | |
5258 | wxTreeItemId * _arg1; | |
1d99702e RD |
5259 | PyObject * _argo0 = 0; |
5260 | PyObject * _argo1 = 0; | |
efc5f224 | 5261 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
5262 | |
5263 | self = self; | |
efc5f224 | 5264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 5265 | return NULL; |
1d99702e RD |
5266 | if (_argo0) { |
5267 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5268 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a RD |
5269 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p."); |
5270 | return NULL; | |
5271 | } | |
5272 | } | |
1d99702e RD |
5273 | if (_argo1) { |
5274 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5275 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5276 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p."); |
5277 | return NULL; | |
5278 | } | |
5279 | } | |
cf694132 RD |
5280 | { |
5281 | wxPy_BEGIN_ALLOW_THREADS; | |
5282 | wxTreeCtrl_Collapse(_arg0,*_arg1); | |
5283 | ||
5284 | wxPy_END_ALLOW_THREADS; | |
5285 | } Py_INCREF(Py_None); | |
d5c9047a RD |
5286 | _resultobj = Py_None; |
5287 | return _resultobj; | |
5288 | } | |
5289 | ||
5290 | #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0)) | |
efc5f224 | 5291 | static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a RD |
5292 | PyObject * _resultobj; |
5293 | wxTreeCtrl * _arg0; | |
5294 | wxTreeItemId * _arg1; | |
1d99702e RD |
5295 | PyObject * _argo0 = 0; |
5296 | PyObject * _argo1 = 0; | |
efc5f224 | 5297 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
5298 | |
5299 | self = self; | |
efc5f224 | 5300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 5301 | return NULL; |
1d99702e RD |
5302 | if (_argo0) { |
5303 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5304 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a RD |
5305 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p."); |
5306 | return NULL; | |
5307 | } | |
5308 | } | |
1d99702e RD |
5309 | if (_argo1) { |
5310 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5311 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5312 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p."); |
5313 | return NULL; | |
5314 | } | |
5315 | } | |
cf694132 RD |
5316 | { |
5317 | wxPy_BEGIN_ALLOW_THREADS; | |
5318 | wxTreeCtrl_CollapseAndReset(_arg0,*_arg1); | |
5319 | ||
5320 | wxPy_END_ALLOW_THREADS; | |
5321 | } Py_INCREF(Py_None); | |
d5c9047a RD |
5322 | _resultobj = Py_None; |
5323 | return _resultobj; | |
5324 | } | |
5325 | ||
5326 | #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0)) | |
efc5f224 | 5327 | static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a RD |
5328 | PyObject * _resultobj; |
5329 | wxTreeCtrl * _arg0; | |
5330 | wxTreeItemId * _arg1; | |
1d99702e RD |
5331 | PyObject * _argo0 = 0; |
5332 | PyObject * _argo1 = 0; | |
efc5f224 | 5333 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
5334 | |
5335 | self = self; | |
efc5f224 | 5336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 5337 | return NULL; |
1d99702e RD |
5338 | if (_argo0) { |
5339 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5340 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a RD |
5341 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p."); |
5342 | return NULL; | |
5343 | } | |
5344 | } | |
1d99702e RD |
5345 | if (_argo1) { |
5346 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5347 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5348 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p."); |
5349 | return NULL; | |
5350 | } | |
5351 | } | |
cf694132 RD |
5352 | { |
5353 | wxPy_BEGIN_ALLOW_THREADS; | |
5354 | wxTreeCtrl_Toggle(_arg0,*_arg1); | |
5355 | ||
5356 | wxPy_END_ALLOW_THREADS; | |
5357 | } Py_INCREF(Py_None); | |
d5c9047a RD |
5358 | _resultobj = Py_None; |
5359 | return _resultobj; | |
5360 | } | |
5361 | ||
5362 | #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect()) | |
efc5f224 | 5363 | static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a RD |
5364 | PyObject * _resultobj; |
5365 | wxTreeCtrl * _arg0; | |
1d99702e | 5366 | PyObject * _argo0 = 0; |
efc5f224 | 5367 | char *_kwnames[] = { "self", NULL }; |
d5c9047a RD |
5368 | |
5369 | self = self; | |
efc5f224 | 5370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0)) |
d5c9047a | 5371 | return NULL; |
1d99702e RD |
5372 | if (_argo0) { |
5373 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5374 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a RD |
5375 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p."); |
5376 | return NULL; | |
5377 | } | |
5378 | } | |
cf694132 RD |
5379 | { |
5380 | wxPy_BEGIN_ALLOW_THREADS; | |
5381 | wxTreeCtrl_Unselect(_arg0); | |
5382 | ||
5383 | wxPy_END_ALLOW_THREADS; | |
5384 | } Py_INCREF(Py_None); | |
d5c9047a RD |
5385 | _resultobj = Py_None; |
5386 | return _resultobj; | |
5387 | } | |
5388 | ||
8bf5d46e | 5389 | #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll()) |
efc5f224 | 5390 | static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) { |
8bf5d46e RD |
5391 | PyObject * _resultobj; |
5392 | wxTreeCtrl * _arg0; | |
1d99702e | 5393 | PyObject * _argo0 = 0; |
efc5f224 | 5394 | char *_kwnames[] = { "self", NULL }; |
8bf5d46e RD |
5395 | |
5396 | self = self; | |
efc5f224 | 5397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0)) |
8bf5d46e | 5398 | return NULL; |
1d99702e RD |
5399 | if (_argo0) { |
5400 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5401 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
8bf5d46e RD |
5402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxTreeCtrl_p."); |
5403 | return NULL; | |
5404 | } | |
5405 | } | |
5406 | { | |
5407 | wxPy_BEGIN_ALLOW_THREADS; | |
5408 | wxTreeCtrl_UnselectAll(_arg0); | |
5409 | ||
5410 | wxPy_END_ALLOW_THREADS; | |
5411 | } Py_INCREF(Py_None); | |
5412 | _resultobj = Py_None; | |
5413 | return _resultobj; | |
5414 | } | |
5415 | ||
d5c9047a | 5416 | #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0)) |
efc5f224 | 5417 | static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a RD |
5418 | PyObject * _resultobj; |
5419 | wxTreeCtrl * _arg0; | |
5420 | wxTreeItemId * _arg1; | |
1d99702e RD |
5421 | PyObject * _argo0 = 0; |
5422 | PyObject * _argo1 = 0; | |
efc5f224 | 5423 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
5424 | |
5425 | self = self; | |
efc5f224 | 5426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 5427 | return NULL; |
1d99702e RD |
5428 | if (_argo0) { |
5429 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5430 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a RD |
5431 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p."); |
5432 | return NULL; | |
5433 | } | |
5434 | } | |
1d99702e RD |
5435 | if (_argo1) { |
5436 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5437 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5438 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p."); |
5439 | return NULL; | |
5440 | } | |
5441 | } | |
cf694132 RD |
5442 | { |
5443 | wxPy_BEGIN_ALLOW_THREADS; | |
5444 | wxTreeCtrl_SelectItem(_arg0,*_arg1); | |
5445 | ||
5446 | wxPy_END_ALLOW_THREADS; | |
5447 | } Py_INCREF(Py_None); | |
d5c9047a RD |
5448 | _resultobj = Py_None; |
5449 | return _resultobj; | |
5450 | } | |
5451 | ||
5452 | #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0)) | |
efc5f224 | 5453 | static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a RD |
5454 | PyObject * _resultobj; |
5455 | wxTreeCtrl * _arg0; | |
5456 | wxTreeItemId * _arg1; | |
1d99702e RD |
5457 | PyObject * _argo0 = 0; |
5458 | PyObject * _argo1 = 0; | |
efc5f224 | 5459 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
5460 | |
5461 | self = self; | |
efc5f224 | 5462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 5463 | return NULL; |
1d99702e RD |
5464 | if (_argo0) { |
5465 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5466 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a RD |
5467 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p."); |
5468 | return NULL; | |
5469 | } | |
5470 | } | |
1d99702e RD |
5471 | if (_argo1) { |
5472 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5473 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5474 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p."); |
5475 | return NULL; | |
5476 | } | |
5477 | } | |
cf694132 RD |
5478 | { |
5479 | wxPy_BEGIN_ALLOW_THREADS; | |
5480 | wxTreeCtrl_EnsureVisible(_arg0,*_arg1); | |
5481 | ||
5482 | wxPy_END_ALLOW_THREADS; | |
5483 | } Py_INCREF(Py_None); | |
d5c9047a RD |
5484 | _resultobj = Py_None; |
5485 | return _resultobj; | |
5486 | } | |
5487 | ||
5488 | #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0)) | |
efc5f224 | 5489 | static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a RD |
5490 | PyObject * _resultobj; |
5491 | wxTreeCtrl * _arg0; | |
5492 | wxTreeItemId * _arg1; | |
1d99702e RD |
5493 | PyObject * _argo0 = 0; |
5494 | PyObject * _argo1 = 0; | |
efc5f224 | 5495 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
5496 | |
5497 | self = self; | |
efc5f224 | 5498 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 5499 | return NULL; |
1d99702e RD |
5500 | if (_argo0) { |
5501 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5502 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a RD |
5503 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p."); |
5504 | return NULL; | |
5505 | } | |
5506 | } | |
1d99702e RD |
5507 | if (_argo1) { |
5508 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5509 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5510 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p."); |
5511 | return NULL; | |
5512 | } | |
5513 | } | |
cf694132 RD |
5514 | { |
5515 | wxPy_BEGIN_ALLOW_THREADS; | |
5516 | wxTreeCtrl_ScrollTo(_arg0,*_arg1); | |
5517 | ||
5518 | wxPy_END_ALLOW_THREADS; | |
5519 | } Py_INCREF(Py_None); | |
d5c9047a RD |
5520 | _resultobj = Py_None; |
5521 | return _resultobj; | |
5522 | } | |
5523 | ||
5524 | #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0)) | |
efc5f224 | 5525 | static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a RD |
5526 | PyObject * _resultobj; |
5527 | wxTextCtrl * _result; | |
5528 | wxTreeCtrl * _arg0; | |
5529 | wxTreeItemId * _arg1; | |
1d99702e RD |
5530 | PyObject * _argo0 = 0; |
5531 | PyObject * _argo1 = 0; | |
efc5f224 | 5532 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
5533 | char _ptemp[128]; |
5534 | ||
5535 | self = self; | |
efc5f224 | 5536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 5537 | return NULL; |
1d99702e RD |
5538 | if (_argo0) { |
5539 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5540 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a RD |
5541 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p."); |
5542 | return NULL; | |
5543 | } | |
5544 | } | |
1d99702e RD |
5545 | if (_argo1) { |
5546 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5547 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p."); |
5549 | return NULL; | |
5550 | } | |
5551 | } | |
cf694132 RD |
5552 | { |
5553 | wxPy_BEGIN_ALLOW_THREADS; | |
5554 | _result = (wxTextCtrl *)wxTreeCtrl_EditLabel(_arg0,*_arg1); | |
5555 | ||
5556 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
5557 | } if (_result) { |
5558 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p"); | |
5559 | _resultobj = Py_BuildValue("s",_ptemp); | |
5560 | } else { | |
5561 | Py_INCREF(Py_None); | |
5562 | _resultobj = Py_None; | |
5563 | } | |
d5c9047a RD |
5564 | return _resultobj; |
5565 | } | |
5566 | ||
5567 | #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl()) | |
efc5f224 | 5568 | static PyObject *_wrap_wxTreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a RD |
5569 | PyObject * _resultobj; |
5570 | wxTextCtrl * _result; | |
5571 | wxTreeCtrl * _arg0; | |
1d99702e | 5572 | PyObject * _argo0 = 0; |
efc5f224 | 5573 | char *_kwnames[] = { "self", NULL }; |
d5c9047a RD |
5574 | char _ptemp[128]; |
5575 | ||
5576 | self = self; | |
efc5f224 | 5577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetEditControl",_kwnames,&_argo0)) |
d5c9047a | 5578 | return NULL; |
1d99702e RD |
5579 | if (_argo0) { |
5580 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5581 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a RD |
5582 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p."); |
5583 | return NULL; | |
5584 | } | |
5585 | } | |
cf694132 RD |
5586 | { |
5587 | wxPy_BEGIN_ALLOW_THREADS; | |
5588 | _result = (wxTextCtrl *)wxTreeCtrl_GetEditControl(_arg0); | |
5589 | ||
5590 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
5591 | } if (_result) { |
5592 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p"); | |
5593 | _resultobj = Py_BuildValue("s",_ptemp); | |
5594 | } else { | |
5595 | Py_INCREF(Py_None); | |
5596 | _resultobj = Py_None; | |
5597 | } | |
d5c9047a RD |
5598 | return _resultobj; |
5599 | } | |
5600 | ||
5601 | #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1)) | |
efc5f224 | 5602 | static PyObject *_wrap_wxTreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a RD |
5603 | PyObject * _resultobj; |
5604 | wxTreeCtrl * _arg0; | |
5605 | wxTreeItemId * _arg1; | |
b1462dfa | 5606 | int _arg2 = (int ) FALSE; |
1d99702e RD |
5607 | PyObject * _argo0 = 0; |
5608 | PyObject * _argo1 = 0; | |
efc5f224 | 5609 | char *_kwnames[] = { "self","item","discardChanges", NULL }; |
d5c9047a RD |
5610 | |
5611 | self = self; | |
b1462dfa | 5612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames,&_argo0,&_argo1,&_arg2)) |
d5c9047a | 5613 | return NULL; |
1d99702e RD |
5614 | if (_argo0) { |
5615 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5616 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
d5c9047a RD |
5617 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p."); |
5618 | return NULL; | |
5619 | } | |
5620 | } | |
1d99702e RD |
5621 | if (_argo1) { |
5622 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5623 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5624 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p."); |
5625 | return NULL; | |
5626 | } | |
5627 | } | |
cf694132 RD |
5628 | { |
5629 | wxPy_BEGIN_ALLOW_THREADS; | |
5630 | wxTreeCtrl_EndEditLabel(_arg0,*_arg1,_arg2); | |
5631 | ||
5632 | wxPy_END_ALLOW_THREADS; | |
5633 | } Py_INCREF(Py_None); | |
d5c9047a | 5634 | _resultobj = Py_None; |
8ab979d7 RD |
5635 | return _resultobj; |
5636 | } | |
5637 | ||
d426c97e RD |
5638 | #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0)) |
5639 | static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5640 | PyObject * _resultobj; | |
5641 | wxTreeCtrl * _arg0; | |
5642 | wxTreeItemId * _arg1; | |
5643 | PyObject * _argo0 = 0; | |
5644 | PyObject * _argo1 = 0; | |
5645 | char *_kwnames[] = { "self","item", NULL }; | |
5646 | ||
5647 | self = self; | |
5648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1)) | |
5649 | return NULL; | |
5650 | if (_argo0) { | |
5651 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5652 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
5653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxTreeCtrl_p."); | |
5654 | return NULL; | |
5655 | } | |
5656 | } | |
5657 | if (_argo1) { | |
5658 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5659 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
5660 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p."); | |
5661 | return NULL; | |
5662 | } | |
5663 | } | |
5664 | { | |
5665 | wxPy_BEGIN_ALLOW_THREADS; | |
5666 | wxTreeCtrl_SortChildren(_arg0,*_arg1); | |
5667 | ||
5668 | wxPy_END_ALLOW_THREADS; | |
5669 | } Py_INCREF(Py_None); | |
5670 | _resultobj = Py_None; | |
5671 | return _resultobj; | |
5672 | } | |
5673 | ||
b8b8dda7 | 5674 | #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1)) |
efc5f224 | 5675 | static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) { |
b8b8dda7 RD |
5676 | PyObject * _resultobj; |
5677 | wxTreeCtrl * _arg0; | |
5678 | wxTreeItemId * _arg1; | |
b1462dfa | 5679 | int _arg2 = (int ) TRUE; |
1d99702e RD |
5680 | PyObject * _argo0 = 0; |
5681 | PyObject * _argo1 = 0; | |
efc5f224 | 5682 | char *_kwnames[] = { "self","item","bold", NULL }; |
b8b8dda7 RD |
5683 | |
5684 | self = self; | |
b1462dfa | 5685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2)) |
b8b8dda7 | 5686 | return NULL; |
1d99702e RD |
5687 | if (_argo0) { |
5688 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5689 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
b8b8dda7 RD |
5690 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p."); |
5691 | return NULL; | |
5692 | } | |
5693 | } | |
1d99702e RD |
5694 | if (_argo1) { |
5695 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5696 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
b8b8dda7 RD |
5697 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p."); |
5698 | return NULL; | |
5699 | } | |
5700 | } | |
cf694132 RD |
5701 | { |
5702 | wxPy_BEGIN_ALLOW_THREADS; | |
5703 | wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2); | |
5704 | ||
5705 | wxPy_END_ALLOW_THREADS; | |
5706 | } Py_INCREF(Py_None); | |
b8b8dda7 RD |
5707 | _resultobj = Py_None; |
5708 | return _resultobj; | |
5709 | } | |
5710 | ||
5711 | #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0)) | |
efc5f224 | 5712 | static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) { |
b8b8dda7 RD |
5713 | PyObject * _resultobj; |
5714 | bool _result; | |
5715 | wxTreeCtrl * _arg0; | |
5716 | wxTreeItemId * _arg1; | |
1d99702e RD |
5717 | PyObject * _argo0 = 0; |
5718 | PyObject * _argo1 = 0; | |
efc5f224 | 5719 | char *_kwnames[] = { "self","item", NULL }; |
b8b8dda7 RD |
5720 | |
5721 | self = self; | |
efc5f224 | 5722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1)) |
b8b8dda7 | 5723 | return NULL; |
1d99702e RD |
5724 | if (_argo0) { |
5725 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5726 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
b8b8dda7 RD |
5727 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p."); |
5728 | return NULL; | |
5729 | } | |
5730 | } | |
1d99702e RD |
5731 | if (_argo1) { |
5732 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5733 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
b8b8dda7 RD |
5734 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p."); |
5735 | return NULL; | |
5736 | } | |
5737 | } | |
cf694132 RD |
5738 | { |
5739 | wxPy_BEGIN_ALLOW_THREADS; | |
5740 | _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1); | |
5741 | ||
5742 | wxPy_END_ALLOW_THREADS; | |
5743 | } _resultobj = Py_BuildValue("i",_result); | |
b8b8dda7 RD |
5744 | return _resultobj; |
5745 | } | |
5746 | ||
164b735b | 5747 | #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1)) |
efc5f224 | 5748 | static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { |
b8b8dda7 RD |
5749 | PyObject * _resultobj; |
5750 | wxTreeItemId * _result; | |
5751 | wxTreeCtrl * _arg0; | |
5752 | wxPoint * _arg1; | |
164b735b RD |
5753 | int * _arg2; |
5754 | int temp; | |
1d99702e | 5755 | PyObject * _argo0 = 0; |
164b735b | 5756 | wxPoint temp0; |
2f90df85 | 5757 | PyObject * _obj1 = 0; |
efc5f224 | 5758 | char *_kwnames[] = { "self","point", NULL }; |
b8b8dda7 RD |
5759 | char _ptemp[128]; |
5760 | ||
5761 | self = self; | |
164b735b RD |
5762 | { |
5763 | _arg2 = &temp; | |
5764 | } | |
2f90df85 | 5765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1)) |
b8b8dda7 | 5766 | return NULL; |
1d99702e RD |
5767 | if (_argo0) { |
5768 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5769 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
b8b8dda7 RD |
5770 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p."); |
5771 | return NULL; | |
5772 | } | |
5773 | } | |
2f90df85 | 5774 | { |
164b735b | 5775 | _arg1 = &temp0; |
2f90df85 | 5776 | if (! wxPoint_helper(_obj1, &_arg1)) |
b8b8dda7 | 5777 | return NULL; |
2f90df85 | 5778 | } |
cf694132 RD |
5779 | { |
5780 | wxPy_BEGIN_ALLOW_THREADS; | |
164b735b | 5781 | _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2)); |
cf694132 RD |
5782 | |
5783 | wxPy_END_ALLOW_THREADS; | |
5784 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
b8b8dda7 | 5785 | _resultobj = Py_BuildValue("s",_ptemp); |
164b735b RD |
5786 | { |
5787 | PyObject *o; | |
5788 | o = PyInt_FromLong((long) (*_arg2)); | |
5789 | _resultobj = t_output_helper(_resultobj, o); | |
5790 | } | |
b8b8dda7 RD |
5791 | return _resultobj; |
5792 | } | |
5793 | ||
b7e72427 RD |
5794 | #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1)) |
5795 | static PyObject *_wrap_wxTreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5796 | PyObject * _resultobj; | |
5797 | wxTreeCtrl * _arg0; | |
5798 | wxTreeItemId * _arg1; | |
5799 | wxColour * _arg2; | |
5800 | PyObject * _argo0 = 0; | |
5801 | PyObject * _argo1 = 0; | |
5802 | PyObject * _argo2 = 0; | |
5803 | char *_kwnames[] = { "self","item","col", NULL }; | |
5804 | ||
5805 | self = self; | |
5806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_argo2)) | |
5807 | return NULL; | |
5808 | if (_argo0) { | |
5809 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5810 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
5811 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeCtrl_p."); | |
5812 | return NULL; | |
5813 | } | |
5814 | } | |
5815 | if (_argo1) { | |
5816 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5817 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
5818 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p."); | |
5819 | return NULL; | |
5820 | } | |
5821 | } | |
5822 | if (_argo2) { | |
5823 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
5824 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxColour_p")) { | |
5825 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemTextColour. Expected _wxColour_p."); | |
5826 | return NULL; | |
5827 | } | |
5828 | } | |
5829 | { | |
5830 | wxPy_BEGIN_ALLOW_THREADS; | |
5831 | wxTreeCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2); | |
5832 | ||
5833 | wxPy_END_ALLOW_THREADS; | |
5834 | } Py_INCREF(Py_None); | |
5835 | _resultobj = Py_None; | |
5836 | return _resultobj; | |
5837 | } | |
5838 | ||
5839 | #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1)) | |
5840 | static PyObject *_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5841 | PyObject * _resultobj; | |
5842 | wxTreeCtrl * _arg0; | |
5843 | wxTreeItemId * _arg1; | |
5844 | wxColour * _arg2; | |
5845 | PyObject * _argo0 = 0; | |
5846 | PyObject * _argo1 = 0; | |
5847 | PyObject * _argo2 = 0; | |
5848 | char *_kwnames[] = { "self","item","col", NULL }; | |
5849 | ||
5850 | self = self; | |
5851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_argo2)) | |
5852 | return NULL; | |
5853 | if (_argo0) { | |
5854 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5855 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
5856 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeCtrl_p."); | |
5857 | return NULL; | |
5858 | } | |
5859 | } | |
5860 | if (_argo1) { | |
5861 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5862 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
5863 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p."); | |
5864 | return NULL; | |
5865 | } | |
5866 | } | |
5867 | if (_argo2) { | |
5868 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
5869 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxColour_p")) { | |
5870 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxColour_p."); | |
5871 | return NULL; | |
5872 | } | |
5873 | } | |
5874 | { | |
5875 | wxPy_BEGIN_ALLOW_THREADS; | |
5876 | wxTreeCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2); | |
5877 | ||
5878 | wxPy_END_ALLOW_THREADS; | |
5879 | } Py_INCREF(Py_None); | |
5880 | _resultobj = Py_None; | |
5881 | return _resultobj; | |
5882 | } | |
5883 | ||
5884 | #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1)) | |
5885 | static PyObject *_wrap_wxTreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5886 | PyObject * _resultobj; | |
5887 | wxTreeCtrl * _arg0; | |
5888 | wxTreeItemId * _arg1; | |
5889 | wxFont * _arg2; | |
5890 | PyObject * _argo0 = 0; | |
5891 | PyObject * _argo1 = 0; | |
5892 | PyObject * _argo2 = 0; | |
5893 | char *_kwnames[] = { "self","item","font", NULL }; | |
5894 | ||
5895 | self = self; | |
5896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2)) | |
5897 | return NULL; | |
5898 | if (_argo0) { | |
5899 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5900 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
5901 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxTreeCtrl_p."); | |
5902 | return NULL; | |
5903 | } | |
5904 | } | |
5905 | if (_argo1) { | |
5906 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5907 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
5908 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p."); | |
5909 | return NULL; | |
5910 | } | |
5911 | } | |
5912 | if (_argo2) { | |
5913 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
5914 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) { | |
5915 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p."); | |
5916 | return NULL; | |
5917 | } | |
5918 | } | |
5919 | { | |
5920 | wxPy_BEGIN_ALLOW_THREADS; | |
5921 | wxTreeCtrl_SetItemFont(_arg0,*_arg1,*_arg2); | |
5922 | ||
5923 | wxPy_END_ALLOW_THREADS; | |
5924 | } Py_INCREF(Py_None); | |
5925 | _resultobj = Py_None; | |
5926 | return _resultobj; | |
5927 | } | |
5928 | ||
b1462dfa RD |
5929 | #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1)) |
5930 | static PyObject *_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5931 | PyObject * _resultobj; | |
5932 | wxTreeCtrl * _arg0; | |
5933 | wxTreeItemId * _arg1; | |
5934 | int _arg2 = (int ) TRUE; | |
5935 | PyObject * _argo0 = 0; | |
5936 | PyObject * _argo1 = 0; | |
5937 | char *_kwnames[] = { "self","item","highlight", NULL }; | |
5938 | ||
5939 | self = self; | |
5940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames,&_argo0,&_argo1,&_arg2)) | |
5941 | return NULL; | |
5942 | if (_argo0) { | |
5943 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5944 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
5945 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeCtrl_p."); | |
5946 | return NULL; | |
5947 | } | |
5948 | } | |
5949 | if (_argo1) { | |
5950 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5951 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
5952 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p."); | |
5953 | return NULL; | |
5954 | } | |
5955 | } | |
5956 | { | |
5957 | wxPy_BEGIN_ALLOW_THREADS; | |
5958 | wxTreeCtrl_SetItemDropHighlight(_arg0,*_arg1,_arg2); | |
5959 | ||
5960 | wxPy_END_ALLOW_THREADS; | |
5961 | } Py_INCREF(Py_None); | |
5962 | _resultobj = Py_None; | |
5963 | return _resultobj; | |
5964 | } | |
5965 | ||
d426c97e RD |
5966 | static PyObject * wxTreeCtrl_GetBoundingRect(wxTreeCtrl *self,const wxTreeItemId & item,int textOnly) { |
5967 | wxRect rect; | |
164b735b RD |
5968 | if (self->GetBoundingRect(item, rect, textOnly)) { |
5969 | bool doSave = wxPyRestoreThread(); | |
5970 | wxRect* r = new wxRect(rect); | |
5971 | PyObject* val = wxPyConstructObject((void*)r, "wxRect"); | |
5972 | wxPySaveThread(doSave); | |
5973 | return val; | |
5974 | } | |
d426c97e RD |
5975 | else { |
5976 | Py_INCREF(Py_None); | |
5977 | return Py_None; | |
5978 | } | |
5979 | } | |
5980 | static PyObject *_wrap_wxTreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5981 | PyObject * _resultobj; | |
5982 | PyObject * _result; | |
5983 | wxTreeCtrl * _arg0; | |
5984 | wxTreeItemId * _arg1; | |
5985 | int _arg2 = (int ) FALSE; | |
5986 | PyObject * _argo0 = 0; | |
5987 | PyObject * _argo1 = 0; | |
5988 | char *_kwnames[] = { "self","item","textOnly", NULL }; | |
5989 | ||
5990 | self = self; | |
5991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames,&_argo0,&_argo1,&_arg2)) | |
5992 | return NULL; | |
5993 | if (_argo0) { | |
5994 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5995 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
5996 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeCtrl_p."); | |
5997 | return NULL; | |
5998 | } | |
5999 | } | |
6000 | if (_argo1) { | |
6001 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6002 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
6003 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p."); | |
6004 | return NULL; | |
6005 | } | |
6006 | } | |
6007 | { | |
6008 | wxPy_BEGIN_ALLOW_THREADS; | |
6009 | _result = (PyObject *)wxTreeCtrl_GetBoundingRect(_arg0,*_arg1,_arg2); | |
6010 | ||
6011 | wxPy_END_ALLOW_THREADS; | |
6012 | }{ | |
6013 | _resultobj = _result; | |
6014 | } | |
6015 | return _resultobj; | |
6016 | } | |
6017 | ||
8ab979d7 | 6018 | static PyMethodDef controls2cMethods[] = { |
d426c97e | 6019 | { "wxTreeCtrl_GetBoundingRect", (PyCFunction) _wrap_wxTreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS }, |
b1462dfa | 6020 | { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_wxTreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS }, |
b7e72427 RD |
6021 | { "wxTreeCtrl_SetItemFont", (PyCFunction) _wrap_wxTreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS }, |
6022 | { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
6023 | { "wxTreeCtrl_SetItemTextColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
6024 | { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS }, |
6025 | { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS }, | |
6026 | { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS }, | |
d426c97e | 6027 | { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
6028 | { "wxTreeCtrl_EndEditLabel", (PyCFunction) _wrap_wxTreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS }, |
6029 | { "wxTreeCtrl_GetEditControl", (PyCFunction) _wrap_wxTreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS }, | |
6030 | { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS }, | |
6031 | { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS }, | |
6032 | { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
6033 | { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS }, | |
6034 | { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS }, | |
6035 | { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS }, | |
6036 | { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS }, | |
6037 | { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS }, | |
6038 | { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS }, | |
6039 | { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS }, | |
6040 | { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS }, | |
6041 | { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS }, | |
6042 | { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS }, | |
6043 | { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS }, | |
6044 | { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS }, | |
6045 | { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS }, | |
6046 | { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS }, | |
d426c97e | 6047 | { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
6048 | { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS }, |
6049 | { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS }, | |
6050 | { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS }, | |
6051 | { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS }, | |
6052 | { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS }, | |
6053 | { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS }, | |
6054 | { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
6055 | { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS }, | |
d426c97e | 6056 | { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS }, |
eb715945 | 6057 | { "wxTreeCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
6058 | { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, |
6059 | { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS }, | |
6060 | { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS }, | |
6061 | { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS }, | |
6062 | { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS }, | |
6063 | { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
6064 | { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS }, | |
6065 | { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS }, | |
6066 | { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS }, | |
6067 | { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS }, | |
6068 | { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS }, | |
6069 | { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS }, | |
6070 | { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS }, | |
6071 | { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS }, | |
6072 | { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS }, | |
6073 | { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS }, | |
6074 | { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS }, | |
b1462dfa RD |
6075 | { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS }, |
6076 | { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
6077 | { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS }, |
6078 | { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS }, | |
6079 | { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS }, | |
6080 | { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS }, | |
6081 | { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
6082 | { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
6083 | { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS }, | |
6084 | { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS }, | |
6085 | { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS }, | |
6086 | { "wxTreeEvent_GetCode", (PyCFunction) _wrap_wxTreeEvent_GetCode, METH_VARARGS | METH_KEYWORDS }, | |
6087 | { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS }, | |
6088 | { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS }, | |
6089 | { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS }, | |
6090 | { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS }, | |
6091 | { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS }, | |
6092 | { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS }, | |
6093 | { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS }, | |
6094 | { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS }, | |
6095 | { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS }, | |
6096 | { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS }, | |
6097 | { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS }, | |
6098 | { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS }, | |
6099 | { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS }, | |
6100 | { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS }, | |
6101 | { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS }, | |
6102 | { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS }, | |
6103 | { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS }, | |
6104 | { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS }, | |
6105 | { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS }, | |
6106 | { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS }, | |
6107 | { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS }, | |
6108 | { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS }, | |
6109 | { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS }, | |
6110 | { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
6111 | { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS }, | |
6112 | { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS }, | |
6113 | { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS }, | |
6114 | { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS }, | |
6115 | { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS }, | |
6116 | { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS }, | |
6117 | { "wxListCtrl_InsertColumnWith", (PyCFunction) _wrap_wxListCtrl_InsertColumnWith, METH_VARARGS | METH_KEYWORDS }, | |
6118 | { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
6119 | { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS }, | |
6120 | { "wxListCtrl_SetTextColour", (PyCFunction) _wrap_wxListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
6121 | { "wxListCtrl_GetTextColour", (PyCFunction) _wrap_wxListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
6122 | { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS }, | |
6123 | { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS }, | |
6124 | { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS }, | |
6125 | { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS }, | |
6126 | { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
6127 | { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS }, | |
6128 | { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS }, | |
6129 | { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS }, | |
6130 | { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS }, | |
6131 | { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS }, | |
6132 | { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS }, | |
6133 | { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS }, | |
6134 | { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS }, | |
6135 | { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
6136 | { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS }, | |
6137 | { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS }, | |
6138 | { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS }, | |
6139 | { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
6140 | { "wxListCtrl_GetEditControl", (PyCFunction) _wrap_wxListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS }, | |
6141 | { "wxListCtrl_EndEditLabel", (PyCFunction) _wrap_wxListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS }, | |
6142 | { "wxListCtrl_EditLabel", (PyCFunction) _wrap_wxListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS }, | |
6143 | { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS }, | |
6144 | { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS }, | |
6145 | { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS }, | |
6146 | { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS }, | |
6147 | { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS }, | |
6148 | { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS }, | |
6149 | { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS }, | |
6150 | { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS }, | |
6151 | { "wxListEvent_m_item_set", (PyCFunction) _wrap_wxListEvent_m_item_set, METH_VARARGS | METH_KEYWORDS }, | |
6152 | { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS }, | |
6153 | { "wxListEvent_m_pointDrag_set", (PyCFunction) _wrap_wxListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS }, | |
6154 | { "wxListEvent_m_cancelled_get", (PyCFunction) _wrap_wxListEvent_m_cancelled_get, METH_VARARGS | METH_KEYWORDS }, | |
6155 | { "wxListEvent_m_cancelled_set", (PyCFunction) _wrap_wxListEvent_m_cancelled_set, METH_VARARGS | METH_KEYWORDS }, | |
6156 | { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS }, | |
6157 | { "wxListEvent_m_col_set", (PyCFunction) _wrap_wxListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS }, | |
6158 | { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS }, | |
6159 | { "wxListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS }, | |
6160 | { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS }, | |
6161 | { "wxListEvent_m_itemIndex_set", (PyCFunction) _wrap_wxListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS }, | |
6162 | { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS }, | |
6163 | { "wxListEvent_m_code_set", (PyCFunction) _wrap_wxListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS }, | |
6164 | { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS }, | |
6165 | { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS }, | |
6166 | { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS }, | |
6167 | { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS }, | |
6168 | { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS }, | |
6169 | { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS }, | |
6170 | { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS }, | |
6171 | { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS }, | |
6172 | { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS }, | |
6173 | { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS }, | |
6174 | { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS }, | |
6175 | { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS }, | |
6176 | { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS }, | |
6177 | { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS }, | |
6178 | { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS }, | |
6179 | { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS }, | |
6180 | { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS }, | |
6181 | { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS }, | |
6182 | { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS }, | |
6183 | { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS }, | |
6184 | { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS }, | |
6185 | { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS }, | |
8ab979d7 RD |
6186 | { NULL, NULL } |
6187 | }; | |
1d99702e RD |
6188 | #ifdef __cplusplus |
6189 | } | |
6190 | #endif | |
6191 | /* | |
6192 | * This table is used by the pointer type-checker | |
6193 | */ | |
6194 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
6195 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
6196 | { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent}, | |
6197 | { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent}, | |
6198 | { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent}, | |
6199 | { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent}, | |
6200 | { "_wxEvent","_class_wxEvent",0}, | |
6201 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
6202 | { "_signed_long","_long",0}, | |
6203 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
65dd82cb | 6204 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
b1462dfa | 6205 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, |
2f90df85 | 6206 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
b1462dfa | 6207 | { "_wxPrintQuality","_wxCoord",0}, |
1d99702e RD |
6208 | { "_wxPrintQuality","_int",0}, |
6209 | { "_wxPrintQuality","_signed_int",0}, | |
6210 | { "_wxPrintQuality","_unsigned_int",0}, | |
6211 | { "_wxPrintQuality","_wxWindowID",0}, | |
6212 | { "_wxPrintQuality","_uint",0}, | |
6213 | { "_wxPrintQuality","_EBool",0}, | |
6214 | { "_wxPrintQuality","_size_t",0}, | |
b1462dfa | 6215 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
1d99702e | 6216 | { "_class_wxRegionIterator","_wxRegionIterator",0}, |
b1462dfa | 6217 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
1d99702e RD |
6218 | { "_class_wxMenuBar","_wxMenuBar",0}, |
6219 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
6220 | { "_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler}, | |
6221 | { "_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler}, | |
6222 | { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler}, | |
6223 | { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler}, | |
6224 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
6225 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
6226 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
6227 | { "_wxCursor","_class_wxCursor",0}, | |
6228 | { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent}, | |
6229 | { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent}, | |
6230 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
6231 | { "_class_wxTreeCtrl","_wxTreeCtrl",0}, | |
6232 | { "_wxMask","_class_wxMask",0}, | |
6233 | { "_wxPen","_class_wxPen",0}, | |
6234 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
6235 | { "_byte","_unsigned_char",0}, | |
b1462dfa | 6236 | { "_wxDataObject","_class_wxDataObject",0}, |
1d99702e | 6237 | { "_wxStaticBox","_class_wxStaticBox",0}, |
65dd82cb RD |
6238 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
6239 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
1d99702e RD |
6240 | { "_wxChoice","_class_wxChoice",0}, |
6241 | { "_wxSlider","_class_wxSlider",0}, | |
6242 | { "_long","_wxDash",0}, | |
6243 | { "_long","_unsigned_long",0}, | |
6244 | { "_long","_signed_long",0}, | |
6245 | { "_wxImageList","_class_wxImageList",0}, | |
b1462dfa | 6246 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
1d99702e RD |
6247 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
6248 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
6249 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
b1462dfa | 6250 | { "_class_wxClipboard","_wxClipboard",0}, |
1d99702e RD |
6251 | { "_class_wxGauge","_wxGauge",0}, |
6252 | { "_wxDC","_class_wxDC",0}, | |
b1462dfa | 6253 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
1d99702e RD |
6254 | { "_wxListEvent","_class_wxListEvent",0}, |
6255 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
b1462dfa | 6256 | { "_size_t","_wxCoord",0}, |
1d99702e RD |
6257 | { "_size_t","_wxPrintQuality",0}, |
6258 | { "_size_t","_unsigned_int",0}, | |
6259 | { "_size_t","_int",0}, | |
6260 | { "_size_t","_wxWindowID",0}, | |
6261 | { "_size_t","_uint",0}, | |
6262 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
48115f4a | 6263 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
1d99702e | 6264 | { "_wxPrinterDC","_class_wxPrinterDC",0}, |
48115f4a | 6265 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, |
1d99702e RD |
6266 | { "_class_wxMenuItem","_wxMenuItem",0}, |
6267 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
6268 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
6269 | { "_wxPanel","_class_wxPanel",0}, | |
6270 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
6271 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
6272 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
6273 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
6274 | { "_class_wxMask","_wxMask",0}, | |
b1462dfa | 6275 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
1d99702e RD |
6276 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
6277 | { "_wxColour","_class_wxColour",0}, | |
6278 | { "_class_wxDialog","_wxDialog",0}, | |
b1462dfa | 6279 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
1d99702e RD |
6280 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
6281 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
b1462dfa | 6282 | { "_class_wxDataObject","_wxDataObject",0}, |
1d99702e RD |
6283 | { "_wxStaticLine","_class_wxStaticLine",0}, |
6284 | { "_wxBrush","_class_wxBrush",0}, | |
b1462dfa RD |
6285 | { "_wxDataFormat","_class_wxDataFormat",0}, |
6286 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
1d99702e | 6287 | { "_wxShowEvent","_class_wxShowEvent",0}, |
b1462dfa | 6288 | { "_uint","_wxCoord",0}, |
1d99702e RD |
6289 | { "_uint","_wxPrintQuality",0}, |
6290 | { "_uint","_size_t",0}, | |
6291 | { "_uint","_unsigned_int",0}, | |
6292 | { "_uint","_int",0}, | |
6293 | { "_uint","_wxWindowID",0}, | |
2f90df85 | 6294 | { "_wxPyValidator","_class_wxPyValidator",0}, |
1d99702e RD |
6295 | { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent}, |
6296 | { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent}, | |
6297 | { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent}, | |
6298 | { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent}, | |
6299 | { "_class_wxEvent","_wxEvent",0}, | |
6300 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
6301 | { "_wxRect","_class_wxRect",0}, | |
6302 | { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent}, | |
6303 | { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent}, | |
6304 | { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent}, | |
6305 | { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent}, | |
6306 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
6307 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
6308 | { "_wxPoint","_class_wxPoint",0}, | |
6309 | { "_class_wxButton","_wxButton",0}, | |
6310 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
6311 | { "_wxBitmap","_class_wxBitmap",0}, | |
6312 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
6313 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
6314 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
6315 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
6316 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
6317 | { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent}, | |
6318 | { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent}, | |
6319 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
2f90df85 | 6320 | { "_class_wxValidator","_wxValidator",0}, |
1d99702e RD |
6321 | { "_class_wxPyEvent","_wxPyEvent",0}, |
6322 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
6323 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
6324 | { "_wxListItem","_class_wxListItem",0}, | |
b1462dfa | 6325 | { "_wxDropTarget","_class_wxDropTarget",0}, |
1d99702e RD |
6326 | { "_class_wxStaticLine","_wxStaticLine",0}, |
6327 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
b1462dfa | 6328 | { "_EBool","_wxCoord",0}, |
1d99702e RD |
6329 | { "_EBool","_wxPrintQuality",0}, |
6330 | { "_EBool","_signed_int",0}, | |
6331 | { "_EBool","_int",0}, | |
6332 | { "_EBool","_wxWindowID",0}, | |
6333 | { "_class_wxRegion","_wxRegion",0}, | |
b1462dfa | 6334 | { "_class_wxDataFormat","_wxDataFormat",0}, |
1d99702e | 6335 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
48115f4a | 6336 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
1d99702e RD |
6337 | { "_wxStaticText","_class_wxStaticText",0}, |
6338 | { "_wxFont","_class_wxFont",0}, | |
b1462dfa | 6339 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
1d99702e RD |
6340 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
6341 | { "_unsigned_long","_wxDash",0}, | |
6342 | { "_unsigned_long","_long",0}, | |
6343 | { "_class_wxRect","_wxRect",0}, | |
6344 | { "_class_wxDC","_wxDC",0}, | |
d426c97e | 6345 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
48115f4a RD |
6346 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
6347 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, | |
1d99702e RD |
6348 | { "_class_wxTreeEvent","_wxTreeEvent",0}, |
6349 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
6350 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
6351 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
6352 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
6353 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
6354 | { "_class_wxPanel","_wxPanel",0}, | |
6355 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
6356 | { "_wxComboBox","_class_wxComboBox",0}, | |
6357 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
b1462dfa | 6358 | { "_signed_int","_wxCoord",0}, |
1d99702e RD |
6359 | { "_signed_int","_wxPrintQuality",0}, |
6360 | { "_signed_int","_EBool",0}, | |
6361 | { "_signed_int","_wxWindowID",0}, | |
6362 | { "_signed_int","_int",0}, | |
6363 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
6364 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
6365 | { "_wxMetaFileDC","_class_wxMetaFileDC",0}, | |
b1462dfa | 6366 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
1d99702e RD |
6367 | { "_wxMenu","_class_wxMenu",0}, |
6368 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
6369 | { "_wxListBox","_class_wxListBox",0}, | |
6370 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
6371 | { "_WXTYPE","_short",0}, | |
6372 | { "_WXTYPE","_signed_short",0}, | |
6373 | { "_WXTYPE","_unsigned_short",0}, | |
b1462dfa | 6374 | { "_class_wxDropTarget","_wxDropTarget",0}, |
1d99702e RD |
6375 | { "_class_wxBrush","_wxBrush",0}, |
6376 | { "_unsigned_short","_WXTYPE",0}, | |
6377 | { "_unsigned_short","_short",0}, | |
6378 | { "_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow}, | |
6379 | { "_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow}, | |
6380 | { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow}, | |
6381 | { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow}, | |
6382 | { "_class_wxWindow","_wxWindow",0}, | |
6383 | { "_class_wxStaticText","_wxStaticText",0}, | |
6384 | { "_class_wxFont","_wxFont",0}, | |
b1462dfa | 6385 | { "_wxClipboard","_class_wxClipboard",0}, |
2f90df85 | 6386 | { "_class_wxPyValidator","_wxPyValidator",0}, |
1d99702e | 6387 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
2abc0a0f | 6388 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
1d99702e | 6389 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
48115f4a | 6390 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
65dd82cb | 6391 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, |
1d99702e RD |
6392 | { "_wxClientDC","_class_wxClientDC",0}, |
6393 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
6394 | { "_wxListCtrl","_class_wxListCtrl",0}, | |
6395 | { "_class_wxPoint","_wxPoint",0}, | |
6396 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
6397 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
6398 | { "_signed_short","_WXTYPE",0}, | |
6399 | { "_signed_short","_short",0}, | |
6400 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
65dd82cb | 6401 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
1d99702e RD |
6402 | { "_wxPaintDC","_class_wxPaintDC",0}, |
6403 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
6404 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
6405 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
6406 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
6407 | { "_class_wxCursor","_wxCursor",0}, | |
b1462dfa | 6408 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
1d99702e RD |
6409 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, |
6410 | { "_wxTreeItemId","_class_wxTreeItemId",0}, | |
6411 | { "_unsigned_char","_byte",0}, | |
6412 | { "_class_wxMetaFileDC","_wxMetaFileDC",0}, | |
6413 | { "_class_wxMenu","_wxMenu",0}, | |
6414 | { "_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl}, | |
6415 | { "_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl}, | |
6416 | { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl}, | |
6417 | { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl}, | |
6418 | { "_wxControl","_class_wxControl",0}, | |
6419 | { "_class_wxListBox","_wxListBox",0}, | |
b1462dfa | 6420 | { "_unsigned_int","_wxCoord",0}, |
1d99702e RD |
6421 | { "_unsigned_int","_wxPrintQuality",0}, |
6422 | { "_unsigned_int","_size_t",0}, | |
6423 | { "_unsigned_int","_uint",0}, | |
6424 | { "_unsigned_int","_wxWindowID",0}, | |
6425 | { "_unsigned_int","_int",0}, | |
6426 | { "_wxIcon","_class_wxIcon",0}, | |
6427 | { "_wxDialog","_class_wxDialog",0}, | |
6428 | { "_class_wxListItem","_wxListItem",0}, | |
6429 | { "_class_wxPen","_wxPen",0}, | |
6430 | { "_short","_WXTYPE",0}, | |
6431 | { "_short","_unsigned_short",0}, | |
6432 | { "_short","_signed_short",0}, | |
6433 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
65dd82cb RD |
6434 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
6435 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
1d99702e RD |
6436 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
6437 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
6438 | { "_class_wxChoice","_wxChoice",0}, | |
6439 | { "_class_wxSlider","_wxSlider",0}, | |
6440 | { "_class_wxImageList","_wxImageList",0}, | |
6441 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
48115f4a | 6442 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
b1462dfa | 6443 | { "_wxWindowID","_wxCoord",0}, |
1d99702e RD |
6444 | { "_wxWindowID","_wxPrintQuality",0}, |
6445 | { "_wxWindowID","_size_t",0}, | |
6446 | { "_wxWindowID","_EBool",0}, | |
6447 | { "_wxWindowID","_uint",0}, | |
6448 | { "_wxWindowID","_int",0}, | |
6449 | { "_wxWindowID","_signed_int",0}, | |
6450 | { "_wxWindowID","_unsigned_int",0}, | |
d426c97e | 6451 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
b1462dfa | 6452 | { "_int","_wxCoord",0}, |
1d99702e RD |
6453 | { "_int","_wxPrintQuality",0}, |
6454 | { "_int","_size_t",0}, | |
6455 | { "_int","_EBool",0}, | |
6456 | { "_int","_uint",0}, | |
6457 | { "_int","_wxWindowID",0}, | |
6458 | { "_int","_unsigned_int",0}, | |
6459 | { "_int","_signed_int",0}, | |
6460 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2f90df85 | 6461 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
1d99702e RD |
6462 | { "_class_wxListEvent","_wxListEvent",0}, |
6463 | { "_class_wxSpinEvent","_wxSpinEvent",0}, | |
48115f4a RD |
6464 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
6465 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, | |
1d99702e RD |
6466 | { "_wxButton","_class_wxButton",0}, |
6467 | { "_wxSize","_class_wxSize",0}, | |
6468 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
6469 | { "_class_wxPrinterDC","_wxPrinterDC",0}, | |
65dd82cb | 6470 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
1d99702e RD |
6471 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, |
6472 | { "_class_wxPaintDC","_wxPaintDC",0}, | |
6473 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
b1462dfa | 6474 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
1d99702e RD |
6475 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
6476 | { "_class_wxComboBox","_wxComboBox",0}, | |
6477 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
2f90df85 | 6478 | { "_wxValidator","_class_wxValidator",0}, |
1d99702e RD |
6479 | { "_class_wxTreeItemId","_wxTreeItemId",0}, |
6480 | { "_wxTreeCtrl","_class_wxTreeCtrl",0}, | |
6481 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, | |
6482 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
6483 | { "_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl}, | |
6484 | { "_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl}, | |
6485 | { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl}, | |
6486 | { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl}, | |
6487 | { "_class_wxControl","_wxControl",0}, | |
6488 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
6489 | { "_class_wxIcon","_wxIcon",0}, | |
6490 | { "_class_wxColour","_wxColour",0}, | |
6491 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
6492 | { "_wxPalette","_class_wxPalette",0}, | |
6493 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
b1462dfa RD |
6494 | { "_wxCoord","_int",0}, |
6495 | { "_wxCoord","_signed_int",0}, | |
6496 | { "_wxCoord","_unsigned_int",0}, | |
6497 | { "_wxCoord","_wxWindowID",0}, | |
6498 | { "_wxCoord","_uint",0}, | |
6499 | { "_wxCoord","_EBool",0}, | |
6500 | { "_wxCoord","_size_t",0}, | |
6501 | { "_wxCoord","_wxPrintQuality",0}, | |
1d99702e | 6502 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
b1462dfa | 6503 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
1d99702e RD |
6504 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
6505 | { "_wxRegion","_class_wxRegion",0}, | |
6506 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
b1462dfa | 6507 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, |
1d99702e RD |
6508 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
6509 | { "_wxGauge","_class_wxGauge",0}, | |
6510 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
2abc0a0f | 6511 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
1d99702e RD |
6512 | { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent}, |
6513 | { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent}, | |
6514 | { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent}, | |
6515 | { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent}, | |
6516 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
6517 | { "_class_wxClientDC","_wxClientDC",0}, | |
6518 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
6519 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
b1462dfa | 6520 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
1d99702e RD |
6521 | { "_class_wxSize","_wxSize",0}, |
6522 | { "_class_wxBitmap","_wxBitmap",0}, | |
6523 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
b1462dfa | 6524 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
1d99702e RD |
6525 | { "_wxMenuBar","_class_wxMenuBar",0}, |
6526 | { "_wxTreeEvent","_class_wxTreeEvent",0}, | |
6527 | { "_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler}, | |
6528 | { "_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler}, | |
6529 | { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler}, | |
6530 | { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler}, | |
6531 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
6532 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
6533 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
6534 | { "_wxDash","_unsigned_long",0}, | |
6535 | { "_wxDash","_long",0}, | |
6536 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
6537 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
6538 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
6539 | { "_class_wxPalette","_wxPalette",0}, | |
b1462dfa | 6540 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
1d99702e | 6541 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
b1462dfa | 6542 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
1d99702e RD |
6543 | { "_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow}, |
6544 | { "_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow}, | |
6545 | { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow}, | |
6546 | { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow}, | |
6547 | { "_wxWindow","_class_wxWindow",0}, | |
48115f4a | 6548 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
1d99702e RD |
6549 | {0,0,0}}; |
6550 | ||
8ab979d7 RD |
6551 | static PyObject *SWIG_globals; |
6552 | #ifdef __cplusplus | |
6553 | extern "C" | |
6554 | #endif | |
1d99702e | 6555 | SWIGEXPORT(void) initcontrols2c() { |
8ab979d7 RD |
6556 | PyObject *m, *d; |
6557 | SWIG_globals = SWIG_newvarlink(); | |
6558 | m = Py_InitModule("controls2c", controls2cMethods); | |
6559 | d = PyModule_GetDict(m); | |
af309447 RD |
6560 | PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT)); |
6561 | PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE)); | |
6562 | PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA)); | |
6563 | PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH)); | |
6564 | PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT)); | |
bb0054cd | 6565 | PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE)); |
af309447 RD |
6566 | PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE)); |
6567 | PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED)); | |
6568 | PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED)); | |
6569 | PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED)); | |
6570 | PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT)); | |
6571 | PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE)); | |
6572 | PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW)); | |
6573 | PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE)); | |
6574 | PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON)); | |
6575 | PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL)); | |
6576 | PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT)); | |
6577 | PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON)); | |
6578 | PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT)); | |
6579 | PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT)); | |
6580 | PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM)); | |
6581 | PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE)); | |
6582 | PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL)); | |
6583 | PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW)); | |
6584 | PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT)); | |
6585 | PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT)); | |
6586 | PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT)); | |
6587 | PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT)); | |
6588 | PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP)); | |
6589 | PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID)); | |
6590 | PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT)); | |
6591 | PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT)); | |
6592 | PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE)); | |
6593 | PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER)); | |
6594 | PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE)); | |
6595 | PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER)); | |
6596 | PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS)); | |
6597 | PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON)); | |
6598 | PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL)); | |
6599 | PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP)); | |
6600 | PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN)); | |
6601 | PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT)); | |
6602 | PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT)); | |
694759cf RD |
6603 | PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal)); |
6604 | PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected)); | |
6605 | PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded)); | |
6606 | PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded)); | |
6607 | PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max)); | |
164b735b RD |
6608 | PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE)); |
6609 | PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW)); | |
6610 | PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE)); | |
6611 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON)); | |
6612 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON)); | |
6613 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT)); | |
6614 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL)); | |
6615 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT)); | |
6616 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON)); | |
6617 | PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT)); | |
6618 | PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT)); | |
6619 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART)); | |
6620 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART)); | |
6621 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM)); | |
1d99702e RD |
6622 | { |
6623 | int i; | |
6624 | for (i = 0; _swig_mapping[i].n1; i++) | |
6625 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
6626 | } | |
8ab979d7 | 6627 | } |