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