]>
Commit | Line | Data |
---|---|---|
8ab979d7 | 1 | /* |
c368d904 | 2 | * FILE : src/gtk/controls2.cpp |
8ab979d7 RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
2cd2fac8 | 6 | * Version 1.1 (Build 883) |
8ab979d7 RD |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
1d99702e | 27 | # define SWIGEXPORT(a) __declspec(dllexport) a |
8ab979d7 RD |
28 | # else |
29 | # if defined(__BORLANDC__) | |
c368d904 | 30 | # define SWIGEXPORT(a) a _export |
8ab979d7 | 31 | # else |
c368d904 | 32 | # define SWIGEXPORT(a) a |
8ab979d7 RD |
33 | # endif |
34 | # endif | |
35 | #else | |
c368d904 | 36 | # define SWIGEXPORT(a) a |
8ab979d7 RD |
37 | #endif |
38 | ||
c368d904 RD |
39 | #include "Python.h" |
40 | ||
8ab979d7 RD |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
2cd2fac8 | 44 | |
8ab979d7 RD |
45 | extern void SWIG_MakePtr(char *, void *, char *); |
46 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
47 | extern char *SWIG_GetPtr(char *, void **, char *); | |
1d99702e | 48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); |
8ab979d7 RD |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
8ab979d7 RD |
54 | #define SWIG_init initcontrols2c |
55 | ||
56 | #define SWIG_name "controls2c" | |
57 | ||
58 | #include "helpers.h" | |
2f90df85 RD |
59 | #ifdef __WXMSW__ |
60 | #include <windows.h> | |
61 | #endif | |
8ab979d7 RD |
62 | #include <wx/listctrl.h> |
63 | #include <wx/treectrl.h> | |
8ab979d7 RD |
64 | |
65 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
66 | PyObject* o2; | |
2cd2fac8 | 67 | if (!target) { |
8ab979d7 | 68 | target = o; |
2cd2fac8 | 69 | } else if (target == Py_None) { |
8ab979d7 RD |
70 | Py_DECREF(Py_None); |
71 | target = o; | |
2cd2fac8 | 72 | } else { |
8ab979d7 RD |
73 | if (!PyList_Check(target)) { |
74 | o2 = target; | |
75 | target = PyList_New(0); | |
76 | PyList_Append(target, o2); | |
77 | Py_XDECREF(o2); | |
78 | } | |
79 | PyList_Append(target,o); | |
80 | Py_XDECREF(o); | |
81 | } | |
82 | return target; | |
83 | } | |
84 | ||
85 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
86 | PyObject* o2; | |
87 | PyObject* o3; | |
88 | ||
2cd2fac8 | 89 | if (!target) { |
8ab979d7 | 90 | target = o; |
2cd2fac8 | 91 | } else if (target == Py_None) { |
8ab979d7 RD |
92 | Py_DECREF(Py_None); |
93 | target = o; | |
2cd2fac8 | 94 | } else { |
8ab979d7 RD |
95 | if (!PyTuple_Check(target)) { |
96 | o2 = target; | |
97 | target = PyTuple_New(1); | |
98 | PyTuple_SetItem(target, 0, o2); | |
99 | } | |
2cd2fac8 RD |
100 | o3 = PyTuple_New(1); |
101 | PyTuple_SetItem(o3, 0, o); | |
8ab979d7 RD |
102 | |
103 | o2 = target; | |
2cd2fac8 RD |
104 | target = PySequence_Concat(o2, o3); |
105 | Py_DECREF(o2); | |
8ab979d7 RD |
106 | Py_DECREF(o3); |
107 | } | |
108 | return target; | |
109 | } | |
110 | ||
8ab979d7 RD |
111 | static char* wxStringErrorMsg = "string type is required for parameter"; |
112 | ||
113 | extern wxValidator wxPyDefaultValidator; | |
cf694132 | 114 | |
f6bcfd97 | 115 | int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) { |
dcd38683 RD |
116 | int retval = 0; |
117 | PyObject* func = (PyObject*)funcPtr; | |
118 | bool doSave = wxPyRestoreThread(); | |
119 | ||
120 | PyObject* args = Py_BuildValue("(ii)", item1, item2); | |
121 | PyObject* result = PyEval_CallObject(func, args); | |
122 | Py_DECREF(args); | |
123 | if (result) { | |
124 | retval = PyInt_AsLong(result); | |
125 | Py_DECREF(result); | |
126 | } | |
127 | ||
128 | wxPySaveThread(doSave); | |
129 | return retval; | |
130 | } | |
131 | ||
132 | ||
cf694132 RD |
133 | class wxPyTreeItemData : public wxTreeItemData { |
134 | public: | |
135 | wxPyTreeItemData(PyObject* obj = NULL) { | |
c368d904 | 136 | if (obj == NULL) |
cf694132 | 137 | obj = Py_None; |
c368d904 RD |
138 | Py_INCREF(obj); |
139 | m_obj = obj; | |
cf694132 RD |
140 | } |
141 | ||
142 | ~wxPyTreeItemData() { | |
1afc06c2 | 143 | bool doSave = wxPyRestoreThread(); |
c368d904 | 144 | Py_DECREF(m_obj); |
1afc06c2 | 145 | wxPySaveThread(doSave); |
cf694132 RD |
146 | } |
147 | ||
148 | PyObject* GetData() { | |
149 | Py_INCREF(m_obj); | |
150 | return m_obj; | |
151 | } | |
152 | ||
153 | void SetData(PyObject* obj) { | |
c368d904 | 154 | bool doSave = wxPyRestoreThread(); |
cf694132 | 155 | Py_DECREF(m_obj); |
c368d904 | 156 | wxPySaveThread(doSave); |
cf694132 RD |
157 | m_obj = obj; |
158 | Py_INCREF(obj); | |
159 | } | |
160 | ||
161 | PyObject* m_obj; | |
162 | }; | |
f6bcfd97 BP |
163 | |
164 | class wxPyTreeCtrl : public wxTreeCtrl { | |
165 | public: | |
166 | wxPyTreeCtrl(wxWindow *parent, wxWindowID id, | |
167 | const wxPoint& pos, | |
168 | const wxSize& size, | |
169 | long style, | |
170 | const wxValidator& validator, | |
171 | char* name) : | |
172 | wxTreeCtrl(parent, id, pos, size, style, validator, name) {} | |
173 | ||
174 | ||
175 | int OnCompareItems(const wxTreeItemId& item1, | |
176 | const wxTreeItemId& item2) { | |
177 | int rval = 0; | |
178 | bool doSave = wxPyRestoreThread(); | |
179 | if (m_myInst.findCallback("OnCompareItems")) | |
180 | rval = m_myInst.callCallback(Py_BuildValue( | |
181 | "(OO)", | |
182 | wxPyConstructObject((void*)&item1, "wxTreeItemId"), | |
183 | wxPyConstructObject((void*)&item2, "wxTreeItemId"))); | |
184 | else | |
185 | rval = wxTreeCtrl::OnCompareItems(item1, item2); | |
186 | wxPySaveThread(doSave); | |
187 | return rval; | |
188 | } | |
189 | PYPRIVATE; | |
190 | }; | |
191 | ||
1d99702e RD |
192 | #ifdef __cplusplus |
193 | extern "C" { | |
194 | #endif | |
f6bcfd97 BP |
195 | #define new_wxListItemAttr() (new wxListItemAttr()) |
196 | static PyObject *_wrap_new_wxListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
197 | PyObject * _resultobj; | |
198 | wxListItemAttr * _result; | |
199 | char *_kwnames[] = { NULL }; | |
200 | char _ptemp[128]; | |
201 | ||
202 | self = self; | |
203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItemAttr",_kwnames)) | |
204 | return NULL; | |
205 | { | |
206 | wxPy_BEGIN_ALLOW_THREADS; | |
207 | _result = (wxListItemAttr *)new_wxListItemAttr(); | |
208 | ||
209 | wxPy_END_ALLOW_THREADS; | |
210 | } if (_result) { | |
211 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p"); | |
212 | _resultobj = Py_BuildValue("s",_ptemp); | |
213 | } else { | |
214 | Py_INCREF(Py_None); | |
215 | _resultobj = Py_None; | |
216 | } | |
217 | return _resultobj; | |
218 | } | |
219 | ||
220 | #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) | |
221 | static PyObject *_wrap_wxListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
222 | PyObject * _resultobj; | |
223 | wxListItemAttr * _arg0; | |
224 | wxColour * _arg1; | |
225 | PyObject * _argo0 = 0; | |
226 | wxColour temp; | |
227 | PyObject * _obj1 = 0; | |
228 | char *_kwnames[] = { "self","colText", NULL }; | |
229 | ||
230 | self = self; | |
231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1)) | |
232 | return NULL; | |
233 | if (_argo0) { | |
234 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
235 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) { | |
236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p."); | |
237 | return NULL; | |
238 | } | |
239 | } | |
240 | { | |
241 | _arg1 = &temp; | |
242 | if (! wxColour_helper(_obj1, &_arg1)) | |
243 | return NULL; | |
244 | } | |
245 | { | |
246 | wxPy_BEGIN_ALLOW_THREADS; | |
247 | wxListItemAttr_SetTextColour(_arg0,*_arg1); | |
248 | ||
249 | wxPy_END_ALLOW_THREADS; | |
250 | } Py_INCREF(Py_None); | |
251 | _resultobj = Py_None; | |
252 | return _resultobj; | |
253 | } | |
254 | ||
255 | #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
256 | static PyObject *_wrap_wxListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
257 | PyObject * _resultobj; | |
258 | wxListItemAttr * _arg0; | |
259 | wxColour * _arg1; | |
260 | PyObject * _argo0 = 0; | |
261 | wxColour temp; | |
262 | PyObject * _obj1 = 0; | |
263 | char *_kwnames[] = { "self","colBack", NULL }; | |
264 | ||
265 | self = self; | |
266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1)) | |
267 | return NULL; | |
268 | if (_argo0) { | |
269 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
270 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) { | |
271 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p."); | |
272 | return NULL; | |
273 | } | |
274 | } | |
275 | { | |
276 | _arg1 = &temp; | |
277 | if (! wxColour_helper(_obj1, &_arg1)) | |
278 | return NULL; | |
279 | } | |
280 | { | |
281 | wxPy_BEGIN_ALLOW_THREADS; | |
282 | wxListItemAttr_SetBackgroundColour(_arg0,*_arg1); | |
283 | ||
284 | wxPy_END_ALLOW_THREADS; | |
285 | } Py_INCREF(Py_None); | |
286 | _resultobj = Py_None; | |
287 | return _resultobj; | |
288 | } | |
289 | ||
290 | #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) | |
291 | static PyObject *_wrap_wxListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
292 | PyObject * _resultobj; | |
293 | wxListItemAttr * _arg0; | |
294 | wxFont * _arg1; | |
295 | PyObject * _argo0 = 0; | |
296 | PyObject * _argo1 = 0; | |
297 | char *_kwnames[] = { "self","font", NULL }; | |
298 | ||
299 | self = self; | |
300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetFont",_kwnames,&_argo0,&_argo1)) | |
301 | return NULL; | |
302 | if (_argo0) { | |
303 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
304 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) { | |
305 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p."); | |
306 | return NULL; | |
307 | } | |
308 | } | |
309 | if (_argo1) { | |
310 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
311 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
312 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p."); | |
313 | return NULL; | |
314 | } | |
315 | } | |
316 | { | |
317 | wxPy_BEGIN_ALLOW_THREADS; | |
318 | wxListItemAttr_SetFont(_arg0,*_arg1); | |
319 | ||
320 | wxPy_END_ALLOW_THREADS; | |
321 | } Py_INCREF(Py_None); | |
322 | _resultobj = Py_None; | |
323 | return _resultobj; | |
324 | } | |
325 | ||
326 | #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour()) | |
327 | static PyObject *_wrap_wxListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
328 | PyObject * _resultobj; | |
329 | bool _result; | |
330 | wxListItemAttr * _arg0; | |
331 | PyObject * _argo0 = 0; | |
332 | char *_kwnames[] = { "self", NULL }; | |
333 | ||
334 | self = self; | |
335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasTextColour",_kwnames,&_argo0)) | |
336 | return NULL; | |
337 | if (_argo0) { | |
338 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
339 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) { | |
340 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p."); | |
341 | return NULL; | |
342 | } | |
343 | } | |
344 | { | |
345 | wxPy_BEGIN_ALLOW_THREADS; | |
346 | _result = (bool )wxListItemAttr_HasTextColour(_arg0); | |
347 | ||
348 | wxPy_END_ALLOW_THREADS; | |
349 | } _resultobj = Py_BuildValue("i",_result); | |
350 | return _resultobj; | |
351 | } | |
352 | ||
353 | #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour()) | |
354 | static PyObject *_wrap_wxListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
355 | PyObject * _resultobj; | |
356 | bool _result; | |
357 | wxListItemAttr * _arg0; | |
358 | PyObject * _argo0 = 0; | |
359 | char *_kwnames[] = { "self", NULL }; | |
360 | ||
361 | self = self; | |
362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasBackgroundColour",_kwnames,&_argo0)) | |
363 | return NULL; | |
364 | if (_argo0) { | |
365 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
366 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) { | |
367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p."); | |
368 | return NULL; | |
369 | } | |
370 | } | |
371 | { | |
372 | wxPy_BEGIN_ALLOW_THREADS; | |
373 | _result = (bool )wxListItemAttr_HasBackgroundColour(_arg0); | |
374 | ||
375 | wxPy_END_ALLOW_THREADS; | |
376 | } _resultobj = Py_BuildValue("i",_result); | |
377 | return _resultobj; | |
378 | } | |
379 | ||
380 | #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont()) | |
381 | static PyObject *_wrap_wxListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
382 | PyObject * _resultobj; | |
383 | bool _result; | |
384 | wxListItemAttr * _arg0; | |
385 | PyObject * _argo0 = 0; | |
386 | char *_kwnames[] = { "self", NULL }; | |
387 | ||
388 | self = self; | |
389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasFont",_kwnames,&_argo0)) | |
390 | return NULL; | |
391 | if (_argo0) { | |
392 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
393 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) { | |
394 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p."); | |
395 | return NULL; | |
396 | } | |
397 | } | |
398 | { | |
399 | wxPy_BEGIN_ALLOW_THREADS; | |
400 | _result = (bool )wxListItemAttr_HasFont(_arg0); | |
401 | ||
402 | wxPy_END_ALLOW_THREADS; | |
403 | } _resultobj = Py_BuildValue("i",_result); | |
404 | return _resultobj; | |
405 | } | |
406 | ||
407 | #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour()) | |
408 | static PyObject *_wrap_wxListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
409 | PyObject * _resultobj; | |
410 | wxColour * _result; | |
411 | wxListItemAttr * _arg0; | |
412 | PyObject * _argo0 = 0; | |
413 | char *_kwnames[] = { "self", NULL }; | |
414 | char _ptemp[128]; | |
415 | ||
416 | self = self; | |
417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetTextColour",_kwnames,&_argo0)) | |
418 | return NULL; | |
419 | if (_argo0) { | |
420 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
421 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) { | |
422 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p."); | |
423 | return NULL; | |
424 | } | |
425 | } | |
426 | { | |
427 | wxPy_BEGIN_ALLOW_THREADS; | |
428 | const wxColour & _result_ref = wxListItemAttr_GetTextColour(_arg0); | |
429 | _result = (wxColour *) &_result_ref; | |
430 | ||
431 | wxPy_END_ALLOW_THREADS; | |
432 | } if (_result) { | |
433 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
434 | _resultobj = Py_BuildValue("s",_ptemp); | |
435 | } else { | |
436 | Py_INCREF(Py_None); | |
437 | _resultobj = Py_None; | |
438 | } | |
439 | return _resultobj; | |
440 | } | |
441 | ||
442 | #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour()) | |
443 | static PyObject *_wrap_wxListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
444 | PyObject * _resultobj; | |
445 | wxColour * _result; | |
446 | wxListItemAttr * _arg0; | |
447 | PyObject * _argo0 = 0; | |
448 | char *_kwnames[] = { "self", NULL }; | |
449 | char _ptemp[128]; | |
450 | ||
451 | self = self; | |
452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetBackgroundColour",_kwnames,&_argo0)) | |
453 | return NULL; | |
454 | if (_argo0) { | |
455 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
456 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) { | |
457 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p."); | |
458 | return NULL; | |
459 | } | |
460 | } | |
461 | { | |
462 | wxPy_BEGIN_ALLOW_THREADS; | |
463 | const wxColour & _result_ref = wxListItemAttr_GetBackgroundColour(_arg0); | |
464 | _result = (wxColour *) &_result_ref; | |
465 | ||
466 | wxPy_END_ALLOW_THREADS; | |
467 | } if (_result) { | |
468 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
469 | _resultobj = Py_BuildValue("s",_ptemp); | |
470 | } else { | |
471 | Py_INCREF(Py_None); | |
472 | _resultobj = Py_None; | |
473 | } | |
474 | return _resultobj; | |
475 | } | |
476 | ||
477 | #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont()) | |
478 | static PyObject *_wrap_wxListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
479 | PyObject * _resultobj; | |
480 | wxFont * _result; | |
481 | wxListItemAttr * _arg0; | |
482 | PyObject * _argo0 = 0; | |
483 | char *_kwnames[] = { "self", NULL }; | |
484 | char _ptemp[128]; | |
485 | ||
486 | self = self; | |
487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetFont",_kwnames,&_argo0)) | |
488 | return NULL; | |
489 | if (_argo0) { | |
490 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
491 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) { | |
492 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p."); | |
493 | return NULL; | |
494 | } | |
495 | } | |
496 | { | |
497 | wxPy_BEGIN_ALLOW_THREADS; | |
498 | const wxFont & _result_ref = wxListItemAttr_GetFont(_arg0); | |
499 | _result = (wxFont *) &_result_ref; | |
500 | ||
501 | wxPy_END_ALLOW_THREADS; | |
502 | } if (_result) { | |
503 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
504 | _resultobj = Py_BuildValue("s",_ptemp); | |
505 | } else { | |
506 | Py_INCREF(Py_None); | |
507 | _resultobj = Py_None; | |
508 | } | |
509 | return _resultobj; | |
510 | } | |
511 | ||
512 | #define new_wxListItem() (new wxListItem()) | |
513 | static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
514 | PyObject * _resultobj; | |
515 | wxListItem * _result; | |
516 | char *_kwnames[] = { NULL }; | |
517 | char _ptemp[128]; | |
518 | ||
519 | self = self; | |
520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItem",_kwnames)) | |
521 | return NULL; | |
522 | { | |
523 | wxPy_BEGIN_ALLOW_THREADS; | |
524 | _result = (wxListItem *)new_wxListItem(); | |
525 | ||
526 | wxPy_END_ALLOW_THREADS; | |
527 | } if (_result) { | |
528 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p"); | |
529 | _resultobj = Py_BuildValue("s",_ptemp); | |
530 | } else { | |
531 | Py_INCREF(Py_None); | |
532 | _resultobj = Py_None; | |
533 | } | |
534 | return _resultobj; | |
535 | } | |
536 | ||
537 | #define delete_wxListItem(_swigobj) (delete _swigobj) | |
538 | static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
539 | PyObject * _resultobj; | |
540 | wxListItem * _arg0; | |
541 | PyObject * _argo0 = 0; | |
542 | char *_kwnames[] = { "self", NULL }; | |
543 | ||
544 | self = self; | |
545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxListItem",_kwnames,&_argo0)) | |
546 | return NULL; | |
547 | if (_argo0) { | |
548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p."); | |
551 | return NULL; | |
552 | } | |
553 | } | |
554 | { | |
555 | wxPy_BEGIN_ALLOW_THREADS; | |
556 | delete_wxListItem(_arg0); | |
557 | ||
558 | wxPy_END_ALLOW_THREADS; | |
559 | } Py_INCREF(Py_None); | |
560 | _resultobj = Py_None; | |
561 | return _resultobj; | |
562 | } | |
563 | ||
564 | #define wxListItem_Clear(_swigobj) (_swigobj->Clear()) | |
565 | static PyObject *_wrap_wxListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
566 | PyObject * _resultobj; | |
567 | wxListItem * _arg0; | |
568 | PyObject * _argo0 = 0; | |
569 | char *_kwnames[] = { "self", NULL }; | |
570 | ||
571 | self = self; | |
572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_Clear",_kwnames,&_argo0)) | |
573 | return NULL; | |
574 | if (_argo0) { | |
575 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
576 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
577 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p."); | |
578 | return NULL; | |
579 | } | |
580 | } | |
581 | { | |
582 | wxPy_BEGIN_ALLOW_THREADS; | |
583 | wxListItem_Clear(_arg0); | |
584 | ||
585 | wxPy_END_ALLOW_THREADS; | |
586 | } Py_INCREF(Py_None); | |
587 | _resultobj = Py_None; | |
588 | return _resultobj; | |
589 | } | |
590 | ||
591 | #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes()) | |
592 | static PyObject *_wrap_wxListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
593 | PyObject * _resultobj; | |
594 | wxListItem * _arg0; | |
595 | PyObject * _argo0 = 0; | |
596 | char *_kwnames[] = { "self", NULL }; | |
597 | ||
598 | self = self; | |
599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_ClearAttributes",_kwnames,&_argo0)) | |
600 | return NULL; | |
601 | if (_argo0) { | |
602 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
603 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
604 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p."); | |
605 | return NULL; | |
606 | } | |
607 | } | |
608 | { | |
609 | wxPy_BEGIN_ALLOW_THREADS; | |
610 | wxListItem_ClearAttributes(_arg0); | |
611 | ||
612 | wxPy_END_ALLOW_THREADS; | |
613 | } Py_INCREF(Py_None); | |
614 | _resultobj = Py_None; | |
615 | return _resultobj; | |
616 | } | |
617 | ||
618 | #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0)) | |
619 | static PyObject *_wrap_wxListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
620 | PyObject * _resultobj; | |
621 | wxListItem * _arg0; | |
622 | long _arg1; | |
623 | PyObject * _argo0 = 0; | |
624 | char *_kwnames[] = { "self","mask", NULL }; | |
625 | ||
626 | self = self; | |
627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetMask",_kwnames,&_argo0,&_arg1)) | |
628 | return NULL; | |
629 | if (_argo0) { | |
630 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
631 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
632 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p."); | |
633 | return NULL; | |
634 | } | |
635 | } | |
636 | { | |
637 | wxPy_BEGIN_ALLOW_THREADS; | |
638 | wxListItem_SetMask(_arg0,_arg1); | |
639 | ||
640 | wxPy_END_ALLOW_THREADS; | |
641 | } Py_INCREF(Py_None); | |
642 | _resultobj = Py_None; | |
643 | return _resultobj; | |
644 | } | |
645 | ||
646 | #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0)) | |
647 | static PyObject *_wrap_wxListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
648 | PyObject * _resultobj; | |
649 | wxListItem * _arg0; | |
650 | long _arg1; | |
651 | PyObject * _argo0 = 0; | |
652 | char *_kwnames[] = { "self","id", NULL }; | |
653 | ||
654 | self = self; | |
655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetId",_kwnames,&_argo0,&_arg1)) | |
656 | return NULL; | |
657 | if (_argo0) { | |
658 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
659 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
660 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p."); | |
661 | return NULL; | |
662 | } | |
663 | } | |
664 | { | |
665 | wxPy_BEGIN_ALLOW_THREADS; | |
666 | wxListItem_SetId(_arg0,_arg1); | |
667 | ||
668 | wxPy_END_ALLOW_THREADS; | |
669 | } Py_INCREF(Py_None); | |
670 | _resultobj = Py_None; | |
671 | return _resultobj; | |
672 | } | |
673 | ||
674 | #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0)) | |
675 | static PyObject *_wrap_wxListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
676 | PyObject * _resultobj; | |
677 | wxListItem * _arg0; | |
678 | int _arg1; | |
679 | PyObject * _argo0 = 0; | |
680 | char *_kwnames[] = { "self","col", NULL }; | |
681 | ||
682 | self = self; | |
683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetColumn",_kwnames,&_argo0,&_arg1)) | |
684 | return NULL; | |
685 | if (_argo0) { | |
686 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
687 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
688 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p."); | |
689 | return NULL; | |
690 | } | |
691 | } | |
692 | { | |
693 | wxPy_BEGIN_ALLOW_THREADS; | |
694 | wxListItem_SetColumn(_arg0,_arg1); | |
695 | ||
696 | wxPy_END_ALLOW_THREADS; | |
697 | } Py_INCREF(Py_None); | |
698 | _resultobj = Py_None; | |
699 | return _resultobj; | |
700 | } | |
701 | ||
702 | #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0)) | |
703 | static PyObject *_wrap_wxListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
704 | PyObject * _resultobj; | |
705 | wxListItem * _arg0; | |
706 | long _arg1; | |
707 | PyObject * _argo0 = 0; | |
708 | char *_kwnames[] = { "self","state", NULL }; | |
709 | ||
710 | self = self; | |
711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetState",_kwnames,&_argo0,&_arg1)) | |
712 | return NULL; | |
713 | if (_argo0) { | |
714 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
715 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p."); | |
717 | return NULL; | |
718 | } | |
719 | } | |
720 | { | |
721 | wxPy_BEGIN_ALLOW_THREADS; | |
722 | wxListItem_SetState(_arg0,_arg1); | |
723 | ||
724 | wxPy_END_ALLOW_THREADS; | |
725 | } Py_INCREF(Py_None); | |
726 | _resultobj = Py_None; | |
727 | return _resultobj; | |
728 | } | |
729 | ||
730 | #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0)) | |
731 | static PyObject *_wrap_wxListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
732 | PyObject * _resultobj; | |
733 | wxListItem * _arg0; | |
734 | long _arg1; | |
735 | PyObject * _argo0 = 0; | |
736 | char *_kwnames[] = { "self","stateMask", NULL }; | |
737 | ||
738 | self = self; | |
739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetStateMask",_kwnames,&_argo0,&_arg1)) | |
740 | return NULL; | |
741 | if (_argo0) { | |
742 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
743 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
744 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p."); | |
745 | return NULL; | |
746 | } | |
747 | } | |
748 | { | |
749 | wxPy_BEGIN_ALLOW_THREADS; | |
750 | wxListItem_SetStateMask(_arg0,_arg1); | |
751 | ||
752 | wxPy_END_ALLOW_THREADS; | |
753 | } Py_INCREF(Py_None); | |
754 | _resultobj = Py_None; | |
755 | return _resultobj; | |
756 | } | |
757 | ||
758 | #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
759 | static PyObject *_wrap_wxListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
760 | PyObject * _resultobj; | |
761 | wxListItem * _arg0; | |
762 | wxString * _arg1; | |
763 | PyObject * _argo0 = 0; | |
764 | PyObject * _obj1 = 0; | |
765 | char *_kwnames[] = { "self","text", NULL }; | |
766 | ||
767 | self = self; | |
768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetText",_kwnames,&_argo0,&_obj1)) | |
769 | return NULL; | |
770 | if (_argo0) { | |
771 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
772 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
773 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p."); | |
774 | return NULL; | |
775 | } | |
776 | } | |
777 | { | |
2cd2fac8 RD |
778 | #if PYTHON_API_VERSION >= 1009 |
779 | char* tmpPtr; int tmpSize; | |
780 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
781 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
782 | return NULL; | |
783 | } | |
784 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
785 | return NULL; | |
786 | _arg1 = new wxString(tmpPtr, tmpSize); | |
787 | #else | |
f6bcfd97 BP |
788 | if (!PyString_Check(_obj1)) { |
789 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
790 | return NULL; | |
791 | } | |
2cd2fac8 RD |
792 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
793 | #endif | |
f6bcfd97 BP |
794 | } |
795 | { | |
796 | wxPy_BEGIN_ALLOW_THREADS; | |
797 | wxListItem_SetText(_arg0,*_arg1); | |
798 | ||
799 | wxPy_END_ALLOW_THREADS; | |
800 | } Py_INCREF(Py_None); | |
801 | _resultobj = Py_None; | |
802 | { | |
803 | if (_obj1) | |
804 | delete _arg1; | |
805 | } | |
806 | return _resultobj; | |
807 | } | |
808 | ||
809 | #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0)) | |
810 | static PyObject *_wrap_wxListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
811 | PyObject * _resultobj; | |
812 | wxListItem * _arg0; | |
813 | int _arg1; | |
814 | PyObject * _argo0 = 0; | |
815 | char *_kwnames[] = { "self","image", NULL }; | |
816 | ||
817 | self = self; | |
818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetImage",_kwnames,&_argo0,&_arg1)) | |
819 | return NULL; | |
820 | if (_argo0) { | |
821 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
822 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
823 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p."); | |
824 | return NULL; | |
825 | } | |
826 | } | |
827 | { | |
828 | wxPy_BEGIN_ALLOW_THREADS; | |
829 | wxListItem_SetImage(_arg0,_arg1); | |
830 | ||
831 | wxPy_END_ALLOW_THREADS; | |
832 | } Py_INCREF(Py_None); | |
833 | _resultobj = Py_None; | |
834 | return _resultobj; | |
835 | } | |
836 | ||
837 | #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0)) | |
838 | static PyObject *_wrap_wxListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
839 | PyObject * _resultobj; | |
840 | wxListItem * _arg0; | |
841 | long _arg1; | |
842 | PyObject * _argo0 = 0; | |
843 | char *_kwnames[] = { "self","data", NULL }; | |
844 | ||
845 | self = self; | |
846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetData",_kwnames,&_argo0,&_arg1)) | |
847 | return NULL; | |
848 | if (_argo0) { | |
849 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
850 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
851 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p."); | |
852 | return NULL; | |
853 | } | |
854 | } | |
855 | { | |
856 | wxPy_BEGIN_ALLOW_THREADS; | |
857 | wxListItem_SetData(_arg0,_arg1); | |
858 | ||
859 | wxPy_END_ALLOW_THREADS; | |
860 | } Py_INCREF(Py_None); | |
861 | _resultobj = Py_None; | |
862 | return _resultobj; | |
863 | } | |
864 | ||
865 | #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0)) | |
866 | static PyObject *_wrap_wxListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
867 | PyObject * _resultobj; | |
868 | wxListItem * _arg0; | |
869 | int _arg1; | |
870 | PyObject * _argo0 = 0; | |
871 | char *_kwnames[] = { "self","width", NULL }; | |
872 | ||
873 | self = self; | |
874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetWidth",_kwnames,&_argo0,&_arg1)) | |
875 | return NULL; | |
876 | if (_argo0) { | |
877 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
878 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
879 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p."); | |
880 | return NULL; | |
881 | } | |
882 | } | |
883 | { | |
884 | wxPy_BEGIN_ALLOW_THREADS; | |
885 | wxListItem_SetWidth(_arg0,_arg1); | |
886 | ||
887 | wxPy_END_ALLOW_THREADS; | |
888 | } Py_INCREF(Py_None); | |
889 | _resultobj = Py_None; | |
890 | return _resultobj; | |
891 | } | |
892 | ||
893 | #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0)) | |
894 | static PyObject *_wrap_wxListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
895 | PyObject * _resultobj; | |
896 | wxListItem * _arg0; | |
897 | wxListColumnFormat _arg1; | |
898 | PyObject * _argo0 = 0; | |
899 | char *_kwnames[] = { "self","align", NULL }; | |
900 | ||
901 | self = self; | |
902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetAlign",_kwnames,&_argo0,&_arg1)) | |
903 | return NULL; | |
904 | if (_argo0) { | |
905 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
906 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
907 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p."); | |
908 | return NULL; | |
909 | } | |
910 | } | |
911 | { | |
912 | wxPy_BEGIN_ALLOW_THREADS; | |
913 | wxListItem_SetAlign(_arg0,_arg1); | |
914 | ||
915 | wxPy_END_ALLOW_THREADS; | |
916 | } Py_INCREF(Py_None); | |
917 | _resultobj = Py_None; | |
918 | return _resultobj; | |
919 | } | |
920 | ||
921 | #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) | |
922 | static PyObject *_wrap_wxListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
923 | PyObject * _resultobj; | |
924 | wxListItem * _arg0; | |
925 | wxColour * _arg1; | |
926 | PyObject * _argo0 = 0; | |
927 | wxColour temp; | |
928 | PyObject * _obj1 = 0; | |
929 | char *_kwnames[] = { "self","colText", NULL }; | |
930 | ||
931 | self = self; | |
932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetTextColour",_kwnames,&_argo0,&_obj1)) | |
933 | return NULL; | |
934 | if (_argo0) { | |
935 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
936 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
937 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p."); | |
938 | return NULL; | |
939 | } | |
940 | } | |
941 | { | |
942 | _arg1 = &temp; | |
943 | if (! wxColour_helper(_obj1, &_arg1)) | |
944 | return NULL; | |
945 | } | |
946 | { | |
947 | wxPy_BEGIN_ALLOW_THREADS; | |
948 | wxListItem_SetTextColour(_arg0,*_arg1); | |
949 | ||
950 | wxPy_END_ALLOW_THREADS; | |
951 | } Py_INCREF(Py_None); | |
952 | _resultobj = Py_None; | |
953 | return _resultobj; | |
954 | } | |
955 | ||
956 | #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
957 | static PyObject *_wrap_wxListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
958 | PyObject * _resultobj; | |
959 | wxListItem * _arg0; | |
960 | wxColour * _arg1; | |
961 | PyObject * _argo0 = 0; | |
962 | wxColour temp; | |
963 | PyObject * _obj1 = 0; | |
964 | char *_kwnames[] = { "self","colBack", NULL }; | |
965 | ||
966 | self = self; | |
967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetBackgroundColour",_kwnames,&_argo0,&_obj1)) | |
968 | return NULL; | |
969 | if (_argo0) { | |
970 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
971 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
972 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p."); | |
973 | return NULL; | |
974 | } | |
975 | } | |
976 | { | |
977 | _arg1 = &temp; | |
978 | if (! wxColour_helper(_obj1, &_arg1)) | |
979 | return NULL; | |
980 | } | |
981 | { | |
982 | wxPy_BEGIN_ALLOW_THREADS; | |
983 | wxListItem_SetBackgroundColour(_arg0,*_arg1); | |
984 | ||
985 | wxPy_END_ALLOW_THREADS; | |
986 | } Py_INCREF(Py_None); | |
987 | _resultobj = Py_None; | |
988 | return _resultobj; | |
989 | } | |
990 | ||
991 | #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) | |
992 | static PyObject *_wrap_wxListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
993 | PyObject * _resultobj; | |
994 | wxListItem * _arg0; | |
995 | wxFont * _arg1; | |
996 | PyObject * _argo0 = 0; | |
997 | PyObject * _argo1 = 0; | |
998 | char *_kwnames[] = { "self","font", NULL }; | |
999 | ||
1000 | self = self; | |
1001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetFont",_kwnames,&_argo0,&_argo1)) | |
1002 | return NULL; | |
1003 | if (_argo0) { | |
1004 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1005 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1006 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p."); | |
1007 | return NULL; | |
1008 | } | |
1009 | } | |
1010 | if (_argo1) { | |
1011 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1012 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
1013 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p."); | |
1014 | return NULL; | |
1015 | } | |
1016 | } | |
1017 | { | |
1018 | wxPy_BEGIN_ALLOW_THREADS; | |
1019 | wxListItem_SetFont(_arg0,*_arg1); | |
1020 | ||
1021 | wxPy_END_ALLOW_THREADS; | |
1022 | } Py_INCREF(Py_None); | |
1023 | _resultobj = Py_None; | |
1024 | return _resultobj; | |
1025 | } | |
1026 | ||
1027 | #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask()) | |
1028 | static PyObject *_wrap_wxListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1029 | PyObject * _resultobj; | |
1030 | long _result; | |
1031 | wxListItem * _arg0; | |
1032 | PyObject * _argo0 = 0; | |
1033 | char *_kwnames[] = { "self", NULL }; | |
1034 | ||
1035 | self = self; | |
1036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetMask",_kwnames,&_argo0)) | |
1037 | return NULL; | |
1038 | if (_argo0) { | |
1039 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1040 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p."); | |
1042 | return NULL; | |
1043 | } | |
1044 | } | |
1045 | { | |
1046 | wxPy_BEGIN_ALLOW_THREADS; | |
1047 | _result = (long )wxListItem_GetMask(_arg0); | |
1048 | ||
1049 | wxPy_END_ALLOW_THREADS; | |
1050 | } _resultobj = Py_BuildValue("l",_result); | |
1051 | return _resultobj; | |
1052 | } | |
1053 | ||
1054 | #define wxListItem_GetId(_swigobj) (_swigobj->GetId()) | |
1055 | static PyObject *_wrap_wxListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1056 | PyObject * _resultobj; | |
1057 | long _result; | |
1058 | wxListItem * _arg0; | |
1059 | PyObject * _argo0 = 0; | |
1060 | char *_kwnames[] = { "self", NULL }; | |
1061 | ||
1062 | self = self; | |
1063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetId",_kwnames,&_argo0)) | |
1064 | return NULL; | |
1065 | if (_argo0) { | |
1066 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1067 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1068 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p."); | |
1069 | return NULL; | |
1070 | } | |
1071 | } | |
1072 | { | |
1073 | wxPy_BEGIN_ALLOW_THREADS; | |
1074 | _result = (long )wxListItem_GetId(_arg0); | |
1075 | ||
1076 | wxPy_END_ALLOW_THREADS; | |
1077 | } _resultobj = Py_BuildValue("l",_result); | |
1078 | return _resultobj; | |
1079 | } | |
1080 | ||
1081 | #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn()) | |
1082 | static PyObject *_wrap_wxListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1083 | PyObject * _resultobj; | |
1084 | int _result; | |
1085 | wxListItem * _arg0; | |
1086 | PyObject * _argo0 = 0; | |
1087 | char *_kwnames[] = { "self", NULL }; | |
1088 | ||
1089 | self = self; | |
1090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetColumn",_kwnames,&_argo0)) | |
1091 | return NULL; | |
1092 | if (_argo0) { | |
1093 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1094 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1095 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p."); | |
1096 | return NULL; | |
1097 | } | |
1098 | } | |
1099 | { | |
1100 | wxPy_BEGIN_ALLOW_THREADS; | |
1101 | _result = (int )wxListItem_GetColumn(_arg0); | |
1102 | ||
1103 | wxPy_END_ALLOW_THREADS; | |
1104 | } _resultobj = Py_BuildValue("i",_result); | |
1105 | return _resultobj; | |
1106 | } | |
1107 | ||
1108 | #define wxListItem_GetState(_swigobj) (_swigobj->GetState()) | |
1109 | static PyObject *_wrap_wxListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1110 | PyObject * _resultobj; | |
1111 | long _result; | |
1112 | wxListItem * _arg0; | |
1113 | PyObject * _argo0 = 0; | |
1114 | char *_kwnames[] = { "self", NULL }; | |
1115 | ||
1116 | self = self; | |
1117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetState",_kwnames,&_argo0)) | |
1118 | return NULL; | |
1119 | if (_argo0) { | |
1120 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1121 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1122 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p."); | |
1123 | return NULL; | |
1124 | } | |
1125 | } | |
1126 | { | |
1127 | wxPy_BEGIN_ALLOW_THREADS; | |
1128 | _result = (long )wxListItem_GetState(_arg0); | |
1129 | ||
1130 | wxPy_END_ALLOW_THREADS; | |
1131 | } _resultobj = Py_BuildValue("l",_result); | |
1132 | return _resultobj; | |
1133 | } | |
1134 | ||
1135 | #define wxListItem_GetText(_swigobj) (_swigobj->GetText()) | |
1136 | static PyObject *_wrap_wxListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1137 | PyObject * _resultobj; | |
1138 | wxString * _result; | |
1139 | wxListItem * _arg0; | |
1140 | PyObject * _argo0 = 0; | |
1141 | char *_kwnames[] = { "self", NULL }; | |
1142 | ||
1143 | self = self; | |
1144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetText",_kwnames,&_argo0)) | |
1145 | return NULL; | |
1146 | if (_argo0) { | |
1147 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1148 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1149 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p."); | |
1150 | return NULL; | |
1151 | } | |
1152 | } | |
1153 | { | |
1154 | wxPy_BEGIN_ALLOW_THREADS; | |
1155 | const wxString & _result_ref = wxListItem_GetText(_arg0); | |
1156 | _result = (wxString *) &_result_ref; | |
1157 | ||
1158 | wxPy_END_ALLOW_THREADS; | |
1159 | }{ | |
1160 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
1161 | } | |
1162 | return _resultobj; | |
1163 | } | |
1164 | ||
1165 | #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage()) | |
1166 | static PyObject *_wrap_wxListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1167 | PyObject * _resultobj; | |
1168 | int _result; | |
1169 | wxListItem * _arg0; | |
1170 | PyObject * _argo0 = 0; | |
1171 | char *_kwnames[] = { "self", NULL }; | |
1172 | ||
1173 | self = self; | |
1174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetImage",_kwnames,&_argo0)) | |
1175 | return NULL; | |
1176 | if (_argo0) { | |
1177 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1178 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1179 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p."); | |
1180 | return NULL; | |
1181 | } | |
1182 | } | |
1183 | { | |
1184 | wxPy_BEGIN_ALLOW_THREADS; | |
1185 | _result = (int )wxListItem_GetImage(_arg0); | |
1186 | ||
1187 | wxPy_END_ALLOW_THREADS; | |
1188 | } _resultobj = Py_BuildValue("i",_result); | |
1189 | return _resultobj; | |
1190 | } | |
1191 | ||
1192 | #define wxListItem_GetData(_swigobj) (_swigobj->GetData()) | |
1193 | static PyObject *_wrap_wxListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1194 | PyObject * _resultobj; | |
1195 | long _result; | |
1196 | wxListItem * _arg0; | |
1197 | PyObject * _argo0 = 0; | |
1198 | char *_kwnames[] = { "self", NULL }; | |
1199 | ||
1200 | self = self; | |
1201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetData",_kwnames,&_argo0)) | |
1202 | return NULL; | |
1203 | if (_argo0) { | |
1204 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1205 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1206 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p."); | |
1207 | return NULL; | |
1208 | } | |
1209 | } | |
1210 | { | |
1211 | wxPy_BEGIN_ALLOW_THREADS; | |
1212 | _result = (long )wxListItem_GetData(_arg0); | |
1213 | ||
1214 | wxPy_END_ALLOW_THREADS; | |
1215 | } _resultobj = Py_BuildValue("l",_result); | |
1216 | return _resultobj; | |
1217 | } | |
1218 | ||
1219 | #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth()) | |
1220 | static PyObject *_wrap_wxListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1221 | PyObject * _resultobj; | |
1222 | int _result; | |
1223 | wxListItem * _arg0; | |
1224 | PyObject * _argo0 = 0; | |
1225 | char *_kwnames[] = { "self", NULL }; | |
1226 | ||
1227 | self = self; | |
1228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetWidth",_kwnames,&_argo0)) | |
1229 | return NULL; | |
1230 | if (_argo0) { | |
1231 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1232 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p."); | |
1234 | return NULL; | |
1235 | } | |
1236 | } | |
1237 | { | |
1238 | wxPy_BEGIN_ALLOW_THREADS; | |
1239 | _result = (int )wxListItem_GetWidth(_arg0); | |
1240 | ||
1241 | wxPy_END_ALLOW_THREADS; | |
1242 | } _resultobj = Py_BuildValue("i",_result); | |
1243 | return _resultobj; | |
1244 | } | |
1245 | ||
1246 | #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign()) | |
1247 | static PyObject *_wrap_wxListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1248 | PyObject * _resultobj; | |
1249 | wxListColumnFormat _result; | |
1250 | wxListItem * _arg0; | |
1251 | PyObject * _argo0 = 0; | |
1252 | char *_kwnames[] = { "self", NULL }; | |
1253 | ||
1254 | self = self; | |
1255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAlign",_kwnames,&_argo0)) | |
1256 | return NULL; | |
1257 | if (_argo0) { | |
1258 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1259 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1260 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p."); | |
1261 | return NULL; | |
1262 | } | |
1263 | } | |
1264 | { | |
1265 | wxPy_BEGIN_ALLOW_THREADS; | |
1266 | _result = (wxListColumnFormat )wxListItem_GetAlign(_arg0); | |
1267 | ||
1268 | wxPy_END_ALLOW_THREADS; | |
1269 | } _resultobj = Py_BuildValue("i",_result); | |
1270 | return _resultobj; | |
1271 | } | |
1272 | ||
1273 | #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes()) | |
1274 | static PyObject *_wrap_wxListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1275 | PyObject * _resultobj; | |
1276 | wxListItemAttr * _result; | |
1277 | wxListItem * _arg0; | |
1278 | PyObject * _argo0 = 0; | |
1279 | char *_kwnames[] = { "self", NULL }; | |
1280 | char _ptemp[128]; | |
1281 | ||
1282 | self = self; | |
1283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAttributes",_kwnames,&_argo0)) | |
1284 | return NULL; | |
1285 | if (_argo0) { | |
1286 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1287 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1288 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p."); | |
1289 | return NULL; | |
1290 | } | |
1291 | } | |
1292 | { | |
1293 | wxPy_BEGIN_ALLOW_THREADS; | |
1294 | _result = (wxListItemAttr *)wxListItem_GetAttributes(_arg0); | |
1295 | ||
1296 | wxPy_END_ALLOW_THREADS; | |
1297 | } if (_result) { | |
1298 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p"); | |
1299 | _resultobj = Py_BuildValue("s",_ptemp); | |
1300 | } else { | |
1301 | Py_INCREF(Py_None); | |
1302 | _resultobj = Py_None; | |
1303 | } | |
1304 | return _resultobj; | |
1305 | } | |
1306 | ||
1307 | #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes()) | |
1308 | static PyObject *_wrap_wxListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1309 | PyObject * _resultobj; | |
1310 | bool _result; | |
1311 | wxListItem * _arg0; | |
1312 | PyObject * _argo0 = 0; | |
1313 | char *_kwnames[] = { "self", NULL }; | |
1314 | ||
1315 | self = self; | |
1316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_HasAttributes",_kwnames,&_argo0)) | |
1317 | return NULL; | |
1318 | if (_argo0) { | |
1319 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1320 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1321 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p."); | |
1322 | return NULL; | |
1323 | } | |
1324 | } | |
1325 | { | |
1326 | wxPy_BEGIN_ALLOW_THREADS; | |
1327 | _result = (bool )wxListItem_HasAttributes(_arg0); | |
1328 | ||
1329 | wxPy_END_ALLOW_THREADS; | |
1330 | } _resultobj = Py_BuildValue("i",_result); | |
1331 | return _resultobj; | |
1332 | } | |
1333 | ||
1334 | #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour()) | |
1335 | static PyObject *_wrap_wxListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1336 | PyObject * _resultobj; | |
1337 | wxColour * _result; | |
1338 | wxListItem * _arg0; | |
1339 | PyObject * _argo0 = 0; | |
1340 | char *_kwnames[] = { "self", NULL }; | |
1341 | char _ptemp[128]; | |
1342 | ||
1343 | self = self; | |
1344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetTextColour",_kwnames,&_argo0)) | |
1345 | return NULL; | |
1346 | if (_argo0) { | |
1347 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1348 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1349 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p."); | |
1350 | return NULL; | |
1351 | } | |
1352 | } | |
1353 | { | |
1354 | wxPy_BEGIN_ALLOW_THREADS; | |
1355 | _result = new wxColour (wxListItem_GetTextColour(_arg0)); | |
1356 | ||
1357 | wxPy_END_ALLOW_THREADS; | |
1358 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
1359 | _resultobj = Py_BuildValue("s",_ptemp); | |
1360 | return _resultobj; | |
1361 | } | |
1362 | ||
1363 | #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour()) | |
1364 | static PyObject *_wrap_wxListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1365 | PyObject * _resultobj; | |
1366 | wxColour * _result; | |
1367 | wxListItem * _arg0; | |
1368 | PyObject * _argo0 = 0; | |
1369 | char *_kwnames[] = { "self", NULL }; | |
1370 | char _ptemp[128]; | |
1371 | ||
1372 | self = self; | |
1373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetBackgroundColour",_kwnames,&_argo0)) | |
1374 | return NULL; | |
1375 | if (_argo0) { | |
1376 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1377 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1378 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p."); | |
1379 | return NULL; | |
1380 | } | |
1381 | } | |
1382 | { | |
1383 | wxPy_BEGIN_ALLOW_THREADS; | |
1384 | _result = new wxColour (wxListItem_GetBackgroundColour(_arg0)); | |
1385 | ||
1386 | wxPy_END_ALLOW_THREADS; | |
1387 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
1388 | _resultobj = Py_BuildValue("s",_ptemp); | |
1389 | return _resultobj; | |
1390 | } | |
1391 | ||
1392 | #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont()) | |
1393 | static PyObject *_wrap_wxListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1394 | PyObject * _resultobj; | |
1395 | wxFont * _result; | |
1396 | wxListItem * _arg0; | |
1397 | PyObject * _argo0 = 0; | |
1398 | char *_kwnames[] = { "self", NULL }; | |
1399 | char _ptemp[128]; | |
1400 | ||
1401 | self = self; | |
1402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetFont",_kwnames,&_argo0)) | |
1403 | return NULL; | |
1404 | if (_argo0) { | |
1405 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1406 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1407 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p."); | |
1408 | return NULL; | |
1409 | } | |
1410 | } | |
1411 | { | |
1412 | wxPy_BEGIN_ALLOW_THREADS; | |
1413 | _result = new wxFont (wxListItem_GetFont(_arg0)); | |
1414 | ||
1415 | wxPy_END_ALLOW_THREADS; | |
1416 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); | |
1417 | _resultobj = Py_BuildValue("s",_ptemp); | |
1418 | return _resultobj; | |
1419 | } | |
1420 | ||
1421 | #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval) | |
1422 | static PyObject *_wrap_wxListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1423 | PyObject * _resultobj; | |
1424 | long _result; | |
1425 | wxListItem * _arg0; | |
1426 | long _arg1; | |
1427 | PyObject * _argo0 = 0; | |
1428 | char *_kwnames[] = { "self","m_mask", NULL }; | |
1429 | ||
1430 | self = self; | |
1431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_mask_set",_kwnames,&_argo0,&_arg1)) | |
1432 | return NULL; | |
1433 | if (_argo0) { | |
1434 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1435 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1436 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p."); | |
1437 | return NULL; | |
1438 | } | |
1439 | } | |
1440 | { | |
1441 | wxPy_BEGIN_ALLOW_THREADS; | |
1442 | _result = (long )wxListItem_m_mask_set(_arg0,_arg1); | |
1443 | ||
1444 | wxPy_END_ALLOW_THREADS; | |
1445 | } _resultobj = Py_BuildValue("l",_result); | |
1446 | return _resultobj; | |
1447 | } | |
1448 | ||
1449 | #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask) | |
1450 | static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1451 | PyObject * _resultobj; | |
1452 | long _result; | |
1453 | wxListItem * _arg0; | |
1454 | PyObject * _argo0 = 0; | |
1455 | char *_kwnames[] = { "self", NULL }; | |
1456 | ||
1457 | self = self; | |
1458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_mask_get",_kwnames,&_argo0)) | |
1459 | return NULL; | |
1460 | if (_argo0) { | |
1461 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1462 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1463 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p."); | |
1464 | return NULL; | |
1465 | } | |
1466 | } | |
1467 | { | |
1468 | wxPy_BEGIN_ALLOW_THREADS; | |
1469 | _result = (long )wxListItem_m_mask_get(_arg0); | |
1470 | ||
1471 | wxPy_END_ALLOW_THREADS; | |
1472 | } _resultobj = Py_BuildValue("l",_result); | |
1473 | return _resultobj; | |
1474 | } | |
1475 | ||
1476 | #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval) | |
1477 | static PyObject *_wrap_wxListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 RD |
1478 | PyObject * _resultobj; |
1479 | long _result; | |
1480 | wxListItem * _arg0; | |
1481 | long _arg1; | |
1d99702e | 1482 | PyObject * _argo0 = 0; |
f6bcfd97 | 1483 | char *_kwnames[] = { "self","m_itemId", NULL }; |
af309447 RD |
1484 | |
1485 | self = self; | |
f6bcfd97 | 1486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_itemId_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 1487 | return NULL; |
1d99702e RD |
1488 | if (_argo0) { |
1489 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1490 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
f6bcfd97 | 1491 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p."); |
af309447 RD |
1492 | return NULL; |
1493 | } | |
1494 | } | |
cf694132 RD |
1495 | { |
1496 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 BP |
1497 | _result = (long )wxListItem_m_itemId_set(_arg0,_arg1); |
1498 | ||
1499 | wxPy_END_ALLOW_THREADS; | |
1500 | } _resultobj = Py_BuildValue("l",_result); | |
1501 | return _resultobj; | |
1502 | } | |
1503 | ||
1504 | #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId) | |
1505 | static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1506 | PyObject * _resultobj; | |
1507 | long _result; | |
1508 | wxListItem * _arg0; | |
1509 | PyObject * _argo0 = 0; | |
1510 | char *_kwnames[] = { "self", NULL }; | |
1511 | ||
1512 | self = self; | |
1513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_itemId_get",_kwnames,&_argo0)) | |
1514 | return NULL; | |
1515 | if (_argo0) { | |
1516 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1517 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1518 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p."); | |
1519 | return NULL; | |
1520 | } | |
1521 | } | |
1522 | { | |
1523 | wxPy_BEGIN_ALLOW_THREADS; | |
1524 | _result = (long )wxListItem_m_itemId_get(_arg0); | |
1525 | ||
1526 | wxPy_END_ALLOW_THREADS; | |
1527 | } _resultobj = Py_BuildValue("l",_result); | |
1528 | return _resultobj; | |
1529 | } | |
1530 | ||
1531 | #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval) | |
1532 | static PyObject *_wrap_wxListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1533 | PyObject * _resultobj; | |
1534 | int _result; | |
1535 | wxListItem * _arg0; | |
1536 | int _arg1; | |
1537 | PyObject * _argo0 = 0; | |
1538 | char *_kwnames[] = { "self","m_col", NULL }; | |
1539 | ||
1540 | self = self; | |
1541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_col_set",_kwnames,&_argo0,&_arg1)) | |
1542 | return NULL; | |
1543 | if (_argo0) { | |
1544 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1545 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1546 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p."); | |
1547 | return NULL; | |
1548 | } | |
1549 | } | |
1550 | { | |
1551 | wxPy_BEGIN_ALLOW_THREADS; | |
1552 | _result = (int )wxListItem_m_col_set(_arg0,_arg1); | |
1553 | ||
1554 | wxPy_END_ALLOW_THREADS; | |
1555 | } _resultobj = Py_BuildValue("i",_result); | |
1556 | return _resultobj; | |
1557 | } | |
1558 | ||
1559 | #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col) | |
1560 | static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1561 | PyObject * _resultobj; | |
1562 | int _result; | |
1563 | wxListItem * _arg0; | |
1564 | PyObject * _argo0 = 0; | |
1565 | char *_kwnames[] = { "self", NULL }; | |
1566 | ||
1567 | self = self; | |
1568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_col_get",_kwnames,&_argo0)) | |
1569 | return NULL; | |
1570 | if (_argo0) { | |
1571 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1572 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1573 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p."); | |
1574 | return NULL; | |
1575 | } | |
1576 | } | |
1577 | { | |
1578 | wxPy_BEGIN_ALLOW_THREADS; | |
1579 | _result = (int )wxListItem_m_col_get(_arg0); | |
1580 | ||
1581 | wxPy_END_ALLOW_THREADS; | |
1582 | } _resultobj = Py_BuildValue("i",_result); | |
1583 | return _resultobj; | |
1584 | } | |
1585 | ||
1586 | #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval) | |
1587 | static PyObject *_wrap_wxListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1588 | PyObject * _resultobj; | |
1589 | long _result; | |
1590 | wxListItem * _arg0; | |
1591 | long _arg1; | |
1592 | PyObject * _argo0 = 0; | |
1593 | char *_kwnames[] = { "self","m_state", NULL }; | |
1594 | ||
1595 | self = self; | |
1596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_state_set",_kwnames,&_argo0,&_arg1)) | |
1597 | return NULL; | |
1598 | if (_argo0) { | |
1599 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1600 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p."); | |
1602 | return NULL; | |
1603 | } | |
1604 | } | |
1605 | { | |
1606 | wxPy_BEGIN_ALLOW_THREADS; | |
1607 | _result = (long )wxListItem_m_state_set(_arg0,_arg1); | |
1608 | ||
1609 | wxPy_END_ALLOW_THREADS; | |
1610 | } _resultobj = Py_BuildValue("l",_result); | |
1611 | return _resultobj; | |
1612 | } | |
1613 | ||
1614 | #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state) | |
1615 | static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1616 | PyObject * _resultobj; | |
1617 | long _result; | |
1618 | wxListItem * _arg0; | |
1619 | PyObject * _argo0 = 0; | |
1620 | char *_kwnames[] = { "self", NULL }; | |
1621 | ||
1622 | self = self; | |
1623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_state_get",_kwnames,&_argo0)) | |
1624 | return NULL; | |
1625 | if (_argo0) { | |
1626 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1627 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1628 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p."); | |
1629 | return NULL; | |
1630 | } | |
1631 | } | |
1632 | { | |
1633 | wxPy_BEGIN_ALLOW_THREADS; | |
1634 | _result = (long )wxListItem_m_state_get(_arg0); | |
1635 | ||
1636 | wxPy_END_ALLOW_THREADS; | |
1637 | } _resultobj = Py_BuildValue("l",_result); | |
1638 | return _resultobj; | |
1639 | } | |
1640 | ||
1641 | #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval) | |
1642 | static PyObject *_wrap_wxListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1643 | PyObject * _resultobj; | |
1644 | long _result; | |
1645 | wxListItem * _arg0; | |
1646 | long _arg1; | |
1647 | PyObject * _argo0 = 0; | |
1648 | char *_kwnames[] = { "self","m_stateMask", NULL }; | |
1649 | ||
1650 | self = self; | |
1651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_stateMask_set",_kwnames,&_argo0,&_arg1)) | |
1652 | return NULL; | |
1653 | if (_argo0) { | |
1654 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1655 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1656 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p."); | |
1657 | return NULL; | |
1658 | } | |
1659 | } | |
1660 | { | |
1661 | wxPy_BEGIN_ALLOW_THREADS; | |
1662 | _result = (long )wxListItem_m_stateMask_set(_arg0,_arg1); | |
1663 | ||
1664 | wxPy_END_ALLOW_THREADS; | |
1665 | } _resultobj = Py_BuildValue("l",_result); | |
1666 | return _resultobj; | |
1667 | } | |
1668 | ||
1669 | #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask) | |
1670 | static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1671 | PyObject * _resultobj; | |
1672 | long _result; | |
1673 | wxListItem * _arg0; | |
1674 | PyObject * _argo0 = 0; | |
1675 | char *_kwnames[] = { "self", NULL }; | |
1676 | ||
1677 | self = self; | |
1678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_stateMask_get",_kwnames,&_argo0)) | |
1679 | return NULL; | |
1680 | if (_argo0) { | |
1681 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1682 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1683 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p."); | |
1684 | return NULL; | |
1685 | } | |
1686 | } | |
1687 | { | |
1688 | wxPy_BEGIN_ALLOW_THREADS; | |
1689 | _result = (long )wxListItem_m_stateMask_get(_arg0); | |
cf694132 RD |
1690 | |
1691 | wxPy_END_ALLOW_THREADS; | |
1692 | } _resultobj = Py_BuildValue("l",_result); | |
af309447 RD |
1693 | return _resultobj; |
1694 | } | |
1695 | ||
f6bcfd97 BP |
1696 | #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval) |
1697 | static PyObject *_wrap_wxListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1698 | PyObject * _resultobj; | |
1699 | wxString * _result; | |
1700 | wxListItem * _arg0; | |
1701 | wxString * _arg1; | |
1702 | PyObject * _argo0 = 0; | |
1703 | PyObject * _obj1 = 0; | |
1704 | char *_kwnames[] = { "self","m_text", NULL }; | |
1705 | ||
1706 | self = self; | |
1707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_m_text_set",_kwnames,&_argo0,&_obj1)) | |
1708 | return NULL; | |
1709 | if (_argo0) { | |
1710 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1711 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1712 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p."); | |
1713 | return NULL; | |
1714 | } | |
1715 | } | |
1716 | { | |
2cd2fac8 RD |
1717 | #if PYTHON_API_VERSION >= 1009 |
1718 | char* tmpPtr; int tmpSize; | |
1719 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
1720 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
1721 | return NULL; | |
1722 | } | |
1723 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
1724 | return NULL; | |
1725 | _arg1 = new wxString(tmpPtr, tmpSize); | |
1726 | #else | |
f6bcfd97 BP |
1727 | if (!PyString_Check(_obj1)) { |
1728 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1729 | return NULL; | |
1730 | } | |
2cd2fac8 RD |
1731 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
1732 | #endif | |
f6bcfd97 BP |
1733 | } |
1734 | { | |
1735 | wxPy_BEGIN_ALLOW_THREADS; | |
1736 | _result = (wxString *)wxListItem_m_text_set(_arg0,_arg1); | |
1737 | ||
1738 | wxPy_END_ALLOW_THREADS; | |
1739 | }{ | |
1740 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
1741 | } | |
1742 | { | |
1743 | if (_obj1) | |
1744 | delete _arg1; | |
1745 | } | |
1746 | return _resultobj; | |
1747 | } | |
1748 | ||
1749 | #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text) | |
1750 | static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 1751 | PyObject * _resultobj; |
f6bcfd97 | 1752 | wxString * _result; |
8ab979d7 | 1753 | wxListItem * _arg0; |
1d99702e | 1754 | PyObject * _argo0 = 0; |
efc5f224 | 1755 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
1756 | |
1757 | self = self; | |
f6bcfd97 | 1758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_text_get",_kwnames,&_argo0)) |
8ab979d7 | 1759 | return NULL; |
1d99702e RD |
1760 | if (_argo0) { |
1761 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1762 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
f6bcfd97 | 1763 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p."); |
8ab979d7 RD |
1764 | return NULL; |
1765 | } | |
1766 | } | |
cf694132 RD |
1767 | { |
1768 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1769 | _result = (wxString *)wxListItem_m_text_get(_arg0); |
cf694132 RD |
1770 | |
1771 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
1772 | }{ |
1773 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
1774 | } | |
8ab979d7 RD |
1775 | return _resultobj; |
1776 | } | |
1777 | ||
f6bcfd97 BP |
1778 | #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval) |
1779 | static PyObject *_wrap_wxListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 1780 | PyObject * _resultobj; |
f6bcfd97 | 1781 | int _result; |
af309447 | 1782 | wxListItem * _arg0; |
f6bcfd97 | 1783 | int _arg1; |
1d99702e | 1784 | PyObject * _argo0 = 0; |
f6bcfd97 | 1785 | char *_kwnames[] = { "self","m_image", NULL }; |
af309447 RD |
1786 | |
1787 | self = self; | |
f6bcfd97 | 1788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_image_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 1789 | return NULL; |
1d99702e RD |
1790 | if (_argo0) { |
1791 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1792 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
f6bcfd97 | 1793 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p."); |
af309447 RD |
1794 | return NULL; |
1795 | } | |
1796 | } | |
cf694132 RD |
1797 | { |
1798 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1799 | _result = (int )wxListItem_m_image_set(_arg0,_arg1); |
cf694132 RD |
1800 | |
1801 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 1802 | } _resultobj = Py_BuildValue("i",_result); |
af309447 RD |
1803 | return _resultobj; |
1804 | } | |
1805 | ||
f6bcfd97 BP |
1806 | #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image) |
1807 | static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 1808 | PyObject * _resultobj; |
f6bcfd97 | 1809 | int _result; |
8ab979d7 | 1810 | wxListItem * _arg0; |
1d99702e | 1811 | PyObject * _argo0 = 0; |
efc5f224 | 1812 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
1813 | |
1814 | self = self; | |
f6bcfd97 | 1815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_image_get",_kwnames,&_argo0)) |
8ab979d7 | 1816 | return NULL; |
1d99702e RD |
1817 | if (_argo0) { |
1818 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1819 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
f6bcfd97 | 1820 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p."); |
8ab979d7 RD |
1821 | return NULL; |
1822 | } | |
1823 | } | |
cf694132 RD |
1824 | { |
1825 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1826 | _result = (int )wxListItem_m_image_get(_arg0); |
cf694132 RD |
1827 | |
1828 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 1829 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
1830 | return _resultobj; |
1831 | } | |
1832 | ||
f6bcfd97 BP |
1833 | #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval) |
1834 | static PyObject *_wrap_wxListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 1835 | PyObject * _resultobj; |
f6bcfd97 | 1836 | long _result; |
af309447 | 1837 | wxListItem * _arg0; |
f6bcfd97 | 1838 | long _arg1; |
1d99702e | 1839 | PyObject * _argo0 = 0; |
f6bcfd97 | 1840 | char *_kwnames[] = { "self","m_data", NULL }; |
af309447 RD |
1841 | |
1842 | self = self; | |
f6bcfd97 | 1843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_data_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 1844 | return NULL; |
1d99702e RD |
1845 | if (_argo0) { |
1846 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1847 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
f6bcfd97 | 1848 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p."); |
af309447 RD |
1849 | return NULL; |
1850 | } | |
1851 | } | |
cf694132 RD |
1852 | { |
1853 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1854 | _result = (long )wxListItem_m_data_set(_arg0,_arg1); |
cf694132 RD |
1855 | |
1856 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 1857 | } _resultobj = Py_BuildValue("l",_result); |
af309447 RD |
1858 | return _resultobj; |
1859 | } | |
1860 | ||
f6bcfd97 BP |
1861 | #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data) |
1862 | static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 1863 | PyObject * _resultobj; |
f6bcfd97 | 1864 | long _result; |
8ab979d7 | 1865 | wxListItem * _arg0; |
1d99702e | 1866 | PyObject * _argo0 = 0; |
efc5f224 | 1867 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
1868 | |
1869 | self = self; | |
f6bcfd97 | 1870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_data_get",_kwnames,&_argo0)) |
8ab979d7 | 1871 | return NULL; |
1d99702e RD |
1872 | if (_argo0) { |
1873 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1874 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
f6bcfd97 | 1875 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p."); |
8ab979d7 RD |
1876 | return NULL; |
1877 | } | |
1878 | } | |
cf694132 RD |
1879 | { |
1880 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1881 | _result = (long )wxListItem_m_data_get(_arg0); |
cf694132 RD |
1882 | |
1883 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 1884 | } _resultobj = Py_BuildValue("l",_result); |
8ab979d7 RD |
1885 | return _resultobj; |
1886 | } | |
1887 | ||
f6bcfd97 BP |
1888 | #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval) |
1889 | static PyObject *_wrap_wxListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 1890 | PyObject * _resultobj; |
f6bcfd97 | 1891 | int _result; |
af309447 | 1892 | wxListItem * _arg0; |
f6bcfd97 | 1893 | int _arg1; |
1d99702e | 1894 | PyObject * _argo0 = 0; |
f6bcfd97 | 1895 | char *_kwnames[] = { "self","m_format", NULL }; |
af309447 RD |
1896 | |
1897 | self = self; | |
f6bcfd97 | 1898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_format_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 1899 | return NULL; |
1d99702e RD |
1900 | if (_argo0) { |
1901 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1902 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
f6bcfd97 | 1903 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p."); |
af309447 RD |
1904 | return NULL; |
1905 | } | |
1906 | } | |
cf694132 RD |
1907 | { |
1908 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1909 | _result = (int )wxListItem_m_format_set(_arg0,_arg1); |
cf694132 RD |
1910 | |
1911 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 1912 | } _resultobj = Py_BuildValue("i",_result); |
af309447 RD |
1913 | return _resultobj; |
1914 | } | |
1915 | ||
f6bcfd97 BP |
1916 | #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format) |
1917 | static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 1918 | PyObject * _resultobj; |
f6bcfd97 | 1919 | int _result; |
8ab979d7 | 1920 | wxListItem * _arg0; |
1d99702e | 1921 | PyObject * _argo0 = 0; |
efc5f224 | 1922 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
1923 | |
1924 | self = self; | |
f6bcfd97 | 1925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_format_get",_kwnames,&_argo0)) |
8ab979d7 | 1926 | return NULL; |
1d99702e RD |
1927 | if (_argo0) { |
1928 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1929 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
f6bcfd97 | 1930 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p."); |
8ab979d7 RD |
1931 | return NULL; |
1932 | } | |
1933 | } | |
cf694132 RD |
1934 | { |
1935 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1936 | _result = (int )wxListItem_m_format_get(_arg0); |
cf694132 RD |
1937 | |
1938 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 1939 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
1940 | return _resultobj; |
1941 | } | |
1942 | ||
f6bcfd97 BP |
1943 | #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval) |
1944 | static PyObject *_wrap_wxListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 1945 | PyObject * _resultobj; |
f6bcfd97 | 1946 | int _result; |
af309447 | 1947 | wxListItem * _arg0; |
f6bcfd97 | 1948 | int _arg1; |
1d99702e | 1949 | PyObject * _argo0 = 0; |
f6bcfd97 | 1950 | char *_kwnames[] = { "self","m_width", NULL }; |
af309447 RD |
1951 | |
1952 | self = self; | |
f6bcfd97 | 1953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_width_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 1954 | return NULL; |
1d99702e RD |
1955 | if (_argo0) { |
1956 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1957 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
f6bcfd97 | 1958 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p."); |
af309447 RD |
1959 | return NULL; |
1960 | } | |
1961 | } | |
cf694132 RD |
1962 | { |
1963 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1964 | _result = (int )wxListItem_m_width_set(_arg0,_arg1); |
cf694132 RD |
1965 | |
1966 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 1967 | } _resultobj = Py_BuildValue("i",_result); |
af309447 RD |
1968 | return _resultobj; |
1969 | } | |
1970 | ||
f6bcfd97 BP |
1971 | #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width) |
1972 | static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 1973 | PyObject * _resultobj; |
f6bcfd97 | 1974 | int _result; |
8ab979d7 | 1975 | wxListItem * _arg0; |
1d99702e | 1976 | PyObject * _argo0 = 0; |
efc5f224 | 1977 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
1978 | |
1979 | self = self; | |
f6bcfd97 | 1980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_width_get",_kwnames,&_argo0)) |
8ab979d7 | 1981 | return NULL; |
1d99702e RD |
1982 | if (_argo0) { |
1983 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1984 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
f6bcfd97 | 1985 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p."); |
8ab979d7 RD |
1986 | return NULL; |
1987 | } | |
1988 | } | |
cf694132 RD |
1989 | { |
1990 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1991 | _result = (int )wxListItem_m_width_get(_arg0); |
cf694132 RD |
1992 | |
1993 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 1994 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
1995 | return _resultobj; |
1996 | } | |
1997 | ||
c368d904 RD |
1998 | static void *SwigwxListEventTowxNotifyEvent(void *ptr) { |
1999 | wxListEvent *src; | |
2000 | wxNotifyEvent *dest; | |
2001 | src = (wxListEvent *) ptr; | |
2002 | dest = (wxNotifyEvent *) src; | |
2003 | return (void *) dest; | |
2004 | } | |
2005 | ||
f6bcfd97 BP |
2006 | static void *SwigwxListEventTowxCommandEvent(void *ptr) { |
2007 | wxListEvent *src; | |
2008 | wxCommandEvent *dest; | |
2009 | src = (wxListEvent *) ptr; | |
2010 | dest = (wxCommandEvent *) src; | |
2011 | return (void *) dest; | |
2012 | } | |
2013 | ||
2014 | static void *SwigwxListEventTowxEvent(void *ptr) { | |
2015 | wxListEvent *src; | |
2016 | wxEvent *dest; | |
2017 | src = (wxListEvent *) ptr; | |
2018 | dest = (wxEvent *) src; | |
2019 | return (void *) dest; | |
2020 | } | |
2021 | ||
2022 | #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval) | |
2023 | static PyObject *_wrap_wxListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 2024 | PyObject * _resultobj; |
f6bcfd97 BP |
2025 | int _result; |
2026 | wxListEvent * _arg0; | |
2027 | int _arg1; | |
1d99702e | 2028 | PyObject * _argo0 = 0; |
f6bcfd97 | 2029 | char *_kwnames[] = { "self","m_code", NULL }; |
af309447 RD |
2030 | |
2031 | self = self; | |
f6bcfd97 | 2032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_code_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 2033 | return NULL; |
1d99702e RD |
2034 | if (_argo0) { |
2035 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
2036 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { |
2037 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p."); | |
af309447 RD |
2038 | return NULL; |
2039 | } | |
2040 | } | |
af309447 | 2041 | { |
cf694132 | 2042 | wxPy_BEGIN_ALLOW_THREADS; |
f6bcfd97 | 2043 | _result = (int )wxListEvent_m_code_set(_arg0,_arg1); |
cf694132 RD |
2044 | |
2045 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 2046 | } _resultobj = Py_BuildValue("i",_result); |
af309447 RD |
2047 | return _resultobj; |
2048 | } | |
2049 | ||
f6bcfd97 BP |
2050 | #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code) |
2051 | static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2052 | PyObject * _resultobj; |
f6bcfd97 BP |
2053 | int _result; |
2054 | wxListEvent * _arg0; | |
1d99702e | 2055 | PyObject * _argo0 = 0; |
efc5f224 | 2056 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2057 | |
2058 | self = self; | |
f6bcfd97 | 2059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_code_get",_kwnames,&_argo0)) |
8ab979d7 | 2060 | return NULL; |
1d99702e RD |
2061 | if (_argo0) { |
2062 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
2063 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { |
2064 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p."); | |
8ab979d7 RD |
2065 | return NULL; |
2066 | } | |
2067 | } | |
8ab979d7 | 2068 | { |
cf694132 | 2069 | wxPy_BEGIN_ALLOW_THREADS; |
f6bcfd97 | 2070 | _result = (int )wxListEvent_m_code_get(_arg0); |
cf694132 RD |
2071 | |
2072 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 2073 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
2074 | return _resultobj; |
2075 | } | |
2076 | ||
f6bcfd97 BP |
2077 | #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval) |
2078 | static PyObject *_wrap_wxListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 2079 | PyObject * _resultobj; |
f6bcfd97 BP |
2080 | long _result; |
2081 | wxListEvent * _arg0; | |
2082 | long _arg1; | |
1d99702e | 2083 | PyObject * _argo0 = 0; |
f6bcfd97 | 2084 | char *_kwnames[] = { "self","m_itemIndex", NULL }; |
af309447 RD |
2085 | |
2086 | self = self; | |
f6bcfd97 | 2087 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_itemIndex_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 2088 | return NULL; |
1d99702e RD |
2089 | if (_argo0) { |
2090 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
2091 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { |
2092 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p."); | |
af309447 RD |
2093 | return NULL; |
2094 | } | |
2095 | } | |
cf694132 RD |
2096 | { |
2097 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2098 | _result = (long )wxListEvent_m_itemIndex_set(_arg0,_arg1); |
cf694132 RD |
2099 | |
2100 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 2101 | } _resultobj = Py_BuildValue("l",_result); |
af309447 RD |
2102 | return _resultobj; |
2103 | } | |
2104 | ||
f6bcfd97 BP |
2105 | #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex) |
2106 | static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2107 | PyObject * _resultobj; |
f6bcfd97 BP |
2108 | long _result; |
2109 | wxListEvent * _arg0; | |
1d99702e | 2110 | PyObject * _argo0 = 0; |
efc5f224 | 2111 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2112 | |
2113 | self = self; | |
f6bcfd97 | 2114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_itemIndex_get",_kwnames,&_argo0)) |
8ab979d7 | 2115 | return NULL; |
1d99702e RD |
2116 | if (_argo0) { |
2117 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
2118 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { |
2119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p."); | |
8ab979d7 RD |
2120 | return NULL; |
2121 | } | |
2122 | } | |
cf694132 RD |
2123 | { |
2124 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2125 | _result = (long )wxListEvent_m_itemIndex_get(_arg0); |
cf694132 RD |
2126 | |
2127 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 2128 | } _resultobj = Py_BuildValue("l",_result); |
8ab979d7 RD |
2129 | return _resultobj; |
2130 | } | |
2131 | ||
f6bcfd97 BP |
2132 | #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval) |
2133 | static PyObject *_wrap_wxListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 RD |
2134 | PyObject * _resultobj; |
2135 | long _result; | |
f6bcfd97 | 2136 | wxListEvent * _arg0; |
af309447 | 2137 | long _arg1; |
1d99702e | 2138 | PyObject * _argo0 = 0; |
f6bcfd97 | 2139 | char *_kwnames[] = { "self","m_oldItemIndex", NULL }; |
af309447 RD |
2140 | |
2141 | self = self; | |
f6bcfd97 | 2142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 2143 | return NULL; |
1d99702e RD |
2144 | if (_argo0) { |
2145 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
2146 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { |
2147 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p."); | |
af309447 RD |
2148 | return NULL; |
2149 | } | |
2150 | } | |
cf694132 RD |
2151 | { |
2152 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2153 | _result = (long )wxListEvent_m_oldItemIndex_set(_arg0,_arg1); |
cf694132 RD |
2154 | |
2155 | wxPy_END_ALLOW_THREADS; | |
2156 | } _resultobj = Py_BuildValue("l",_result); | |
af309447 RD |
2157 | return _resultobj; |
2158 | } | |
2159 | ||
f6bcfd97 BP |
2160 | #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex) |
2161 | static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
2162 | PyObject * _resultobj; |
2163 | long _result; | |
f6bcfd97 | 2164 | wxListEvent * _arg0; |
1d99702e | 2165 | PyObject * _argo0 = 0; |
efc5f224 | 2166 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2167 | |
2168 | self = self; | |
f6bcfd97 | 2169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_oldItemIndex_get",_kwnames,&_argo0)) |
8ab979d7 | 2170 | return NULL; |
1d99702e RD |
2171 | if (_argo0) { |
2172 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
2173 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { |
2174 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p."); | |
8ab979d7 RD |
2175 | return NULL; |
2176 | } | |
2177 | } | |
cf694132 RD |
2178 | { |
2179 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2180 | _result = (long )wxListEvent_m_oldItemIndex_get(_arg0); |
cf694132 RD |
2181 | |
2182 | wxPy_END_ALLOW_THREADS; | |
2183 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
2184 | return _resultobj; |
2185 | } | |
2186 | ||
f6bcfd97 BP |
2187 | #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval) |
2188 | static PyObject *_wrap_wxListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 RD |
2189 | PyObject * _resultobj; |
2190 | int _result; | |
f6bcfd97 | 2191 | wxListEvent * _arg0; |
af309447 | 2192 | int _arg1; |
1d99702e | 2193 | PyObject * _argo0 = 0; |
f6bcfd97 | 2194 | char *_kwnames[] = { "self","m_col", NULL }; |
af309447 RD |
2195 | |
2196 | self = self; | |
f6bcfd97 | 2197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_col_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 2198 | return NULL; |
1d99702e RD |
2199 | if (_argo0) { |
2200 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
2201 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { |
2202 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p."); | |
af309447 RD |
2203 | return NULL; |
2204 | } | |
2205 | } | |
cf694132 RD |
2206 | { |
2207 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2208 | _result = (int )wxListEvent_m_col_set(_arg0,_arg1); |
cf694132 RD |
2209 | |
2210 | wxPy_END_ALLOW_THREADS; | |
2211 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
2212 | return _resultobj; |
2213 | } | |
2214 | ||
f6bcfd97 BP |
2215 | #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col) |
2216 | static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
2217 | PyObject * _resultobj; |
2218 | int _result; | |
f6bcfd97 | 2219 | wxListEvent * _arg0; |
1d99702e | 2220 | PyObject * _argo0 = 0; |
efc5f224 | 2221 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2222 | |
2223 | self = self; | |
f6bcfd97 | 2224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_col_get",_kwnames,&_argo0)) |
8ab979d7 | 2225 | return NULL; |
1d99702e RD |
2226 | if (_argo0) { |
2227 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
2228 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { |
2229 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p."); | |
8ab979d7 RD |
2230 | return NULL; |
2231 | } | |
2232 | } | |
cf694132 RD |
2233 | { |
2234 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2235 | _result = (int )wxListEvent_m_col_get(_arg0); |
cf694132 RD |
2236 | |
2237 | wxPy_END_ALLOW_THREADS; | |
2238 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2239 | return _resultobj; |
2240 | } | |
2241 | ||
f6bcfd97 BP |
2242 | #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval) |
2243 | static PyObject *_wrap_wxListEvent_m_cancelled_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 2244 | PyObject * _resultobj; |
f6bcfd97 BP |
2245 | bool _result; |
2246 | wxListEvent * _arg0; | |
2247 | bool _arg1; | |
1d99702e | 2248 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
2249 | int tempbool1; |
2250 | char *_kwnames[] = { "self","m_cancelled", NULL }; | |
af309447 RD |
2251 | |
2252 | self = self; | |
f6bcfd97 | 2253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_cancelled_set",_kwnames,&_argo0,&tempbool1)) |
af309447 | 2254 | return NULL; |
1d99702e RD |
2255 | if (_argo0) { |
2256 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
2257 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { |
2258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p."); | |
af309447 RD |
2259 | return NULL; |
2260 | } | |
2261 | } | |
f6bcfd97 | 2262 | _arg1 = (bool ) tempbool1; |
cf694132 RD |
2263 | { |
2264 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2265 | _result = (bool )wxListEvent_m_cancelled_set(_arg0,_arg1); |
cf694132 RD |
2266 | |
2267 | wxPy_END_ALLOW_THREADS; | |
2268 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
2269 | return _resultobj; |
2270 | } | |
2271 | ||
f6bcfd97 BP |
2272 | #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled) |
2273 | static PyObject *_wrap_wxListEvent_m_cancelled_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2274 | PyObject * _resultobj; |
f6bcfd97 BP |
2275 | bool _result; |
2276 | wxListEvent * _arg0; | |
1d99702e | 2277 | PyObject * _argo0 = 0; |
efc5f224 | 2278 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2279 | |
2280 | self = self; | |
f6bcfd97 | 2281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_cancelled_get",_kwnames,&_argo0)) |
8ab979d7 | 2282 | return NULL; |
1d99702e RD |
2283 | if (_argo0) { |
2284 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
2285 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { |
2286 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p."); | |
8ab979d7 RD |
2287 | return NULL; |
2288 | } | |
2289 | } | |
cf694132 RD |
2290 | { |
2291 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2292 | _result = (bool )wxListEvent_m_cancelled_get(_arg0); |
cf694132 RD |
2293 | |
2294 | wxPy_END_ALLOW_THREADS; | |
2295 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2296 | return _resultobj; |
2297 | } | |
2298 | ||
f6bcfd97 BP |
2299 | #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval) |
2300 | static PyObject *_wrap_wxListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2301 | PyObject * _resultobj; |
f6bcfd97 BP |
2302 | wxPoint * _result; |
2303 | wxListEvent * _arg0; | |
2304 | wxPoint * _arg1; | |
2305 | PyObject * _argo0 = 0; | |
2306 | wxPoint temp; | |
2307 | PyObject * _obj1 = 0; | |
2308 | char *_kwnames[] = { "self","m_pointDrag", NULL }; | |
8ab979d7 RD |
2309 | char _ptemp[128]; |
2310 | ||
2311 | self = self; | |
f6bcfd97 BP |
2312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_pointDrag_set",_kwnames,&_argo0,&_obj1)) |
2313 | return NULL; | |
2314 | if (_argo0) { | |
2315 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2316 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
2317 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p."); | |
2318 | return NULL; | |
2319 | } | |
2320 | } | |
2321 | { | |
2322 | _arg1 = &temp; | |
2323 | if (! wxPoint_helper(_obj1, &_arg1)) | |
8ab979d7 | 2324 | return NULL; |
f6bcfd97 | 2325 | } |
cf694132 RD |
2326 | { |
2327 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2328 | _result = (wxPoint *)wxListEvent_m_pointDrag_set(_arg0,_arg1); |
cf694132 RD |
2329 | |
2330 | wxPy_END_ALLOW_THREADS; | |
1d99702e | 2331 | } if (_result) { |
f6bcfd97 | 2332 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); |
1d99702e RD |
2333 | _resultobj = Py_BuildValue("s",_ptemp); |
2334 | } else { | |
2335 | Py_INCREF(Py_None); | |
2336 | _resultobj = Py_None; | |
2337 | } | |
8ab979d7 RD |
2338 | return _resultobj; |
2339 | } | |
2340 | ||
f6bcfd97 BP |
2341 | #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag) |
2342 | static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2343 | PyObject * _resultobj; |
f6bcfd97 BP |
2344 | wxPoint * _result; |
2345 | wxListEvent * _arg0; | |
1d99702e | 2346 | PyObject * _argo0 = 0; |
efc5f224 | 2347 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 | 2348 | char _ptemp[128]; |
8ab979d7 RD |
2349 | |
2350 | self = self; | |
f6bcfd97 | 2351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0)) |
8ab979d7 | 2352 | return NULL; |
1d99702e RD |
2353 | if (_argo0) { |
2354 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
2355 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { |
2356 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p."); | |
8ab979d7 RD |
2357 | return NULL; |
2358 | } | |
2359 | } | |
cf694132 RD |
2360 | { |
2361 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2362 | _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0); |
cf694132 RD |
2363 | |
2364 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
2365 | } if (_result) { |
2366 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); | |
2367 | _resultobj = Py_BuildValue("s",_ptemp); | |
2368 | } else { | |
2369 | Py_INCREF(Py_None); | |
2370 | _resultobj = Py_None; | |
2371 | } | |
8ab979d7 RD |
2372 | return _resultobj; |
2373 | } | |
2374 | ||
f6bcfd97 BP |
2375 | #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval) |
2376 | static PyObject *_wrap_wxListEvent_m_item_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2377 | PyObject * _resultobj; | |
2378 | wxListItem * _result; | |
2379 | wxListEvent * _arg0; | |
2380 | wxListItem * _arg1; | |
2381 | PyObject * _argo0 = 0; | |
2382 | PyObject * _argo1 = 0; | |
2383 | char *_kwnames[] = { "self","m_item", NULL }; | |
2384 | char _ptemp[128]; | |
8ab979d7 | 2385 | |
f6bcfd97 BP |
2386 | self = self; |
2387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_item_set",_kwnames,&_argo0,&_argo1)) | |
2388 | return NULL; | |
2389 | if (_argo0) { | |
2390 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2391 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
2392 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p."); | |
2393 | return NULL; | |
2394 | } | |
2395 | } | |
2396 | if (_argo1) { | |
2397 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2398 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) { | |
2399 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p."); | |
2400 | return NULL; | |
2401 | } | |
2402 | } | |
2403 | { | |
2404 | wxPy_BEGIN_ALLOW_THREADS; | |
2405 | _result = (wxListItem *)wxListEvent_m_item_set(_arg0,_arg1); | |
2406 | ||
2407 | wxPy_END_ALLOW_THREADS; | |
2408 | } if (_result) { | |
2409 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p"); | |
2410 | _resultobj = Py_BuildValue("s",_ptemp); | |
2411 | } else { | |
2412 | Py_INCREF(Py_None); | |
2413 | _resultobj = Py_None; | |
2414 | } | |
2415 | return _resultobj; | |
8ab979d7 RD |
2416 | } |
2417 | ||
f6bcfd97 BP |
2418 | #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item) |
2419 | static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 2420 | PyObject * _resultobj; |
f6bcfd97 | 2421 | wxListItem * _result; |
af309447 | 2422 | wxListEvent * _arg0; |
1d99702e | 2423 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
2424 | char *_kwnames[] = { "self", NULL }; |
2425 | char _ptemp[128]; | |
af309447 RD |
2426 | |
2427 | self = self; | |
f6bcfd97 | 2428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0)) |
af309447 | 2429 | return NULL; |
1d99702e RD |
2430 | if (_argo0) { |
2431 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2432 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2433 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p."); |
af309447 RD |
2434 | return NULL; |
2435 | } | |
2436 | } | |
cf694132 RD |
2437 | { |
2438 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2439 | _result = (wxListItem *)wxListEvent_m_item_get(_arg0); |
cf694132 RD |
2440 | |
2441 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
2442 | } if (_result) { |
2443 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p"); | |
2444 | _resultobj = Py_BuildValue("s",_ptemp); | |
2445 | } else { | |
2446 | Py_INCREF(Py_None); | |
2447 | _resultobj = Py_None; | |
2448 | } | |
af309447 RD |
2449 | return _resultobj; |
2450 | } | |
2451 | ||
f6bcfd97 BP |
2452 | #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode()) |
2453 | static PyObject *_wrap_wxListEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
2454 | PyObject * _resultobj; |
2455 | int _result; | |
2456 | wxListEvent * _arg0; | |
1d99702e | 2457 | PyObject * _argo0 = 0; |
efc5f224 | 2458 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2459 | |
2460 | self = self; | |
f6bcfd97 | 2461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCode",_kwnames,&_argo0)) |
8ab979d7 | 2462 | return NULL; |
1d99702e RD |
2463 | if (_argo0) { |
2464 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2465 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2466 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetCode. Expected _wxListEvent_p."); |
8ab979d7 RD |
2467 | return NULL; |
2468 | } | |
2469 | } | |
cf694132 RD |
2470 | { |
2471 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2472 | _result = (int )wxListEvent_GetCode(_arg0); |
cf694132 RD |
2473 | |
2474 | wxPy_END_ALLOW_THREADS; | |
2475 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2476 | return _resultobj; |
2477 | } | |
2478 | ||
f6bcfd97 BP |
2479 | #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex()) |
2480 | static PyObject *_wrap_wxListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 RD |
2481 | PyObject * _resultobj; |
2482 | long _result; | |
2483 | wxListEvent * _arg0; | |
1d99702e | 2484 | PyObject * _argo0 = 0; |
f6bcfd97 | 2485 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
2486 | |
2487 | self = self; | |
f6bcfd97 | 2488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetIndex",_kwnames,&_argo0)) |
af309447 | 2489 | return NULL; |
1d99702e RD |
2490 | if (_argo0) { |
2491 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2492 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2493 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p."); |
af309447 RD |
2494 | return NULL; |
2495 | } | |
2496 | } | |
cf694132 RD |
2497 | { |
2498 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2499 | _result = (long )wxListEvent_GetIndex(_arg0); |
cf694132 RD |
2500 | |
2501 | wxPy_END_ALLOW_THREADS; | |
2502 | } _resultobj = Py_BuildValue("l",_result); | |
af309447 RD |
2503 | return _resultobj; |
2504 | } | |
2505 | ||
f6bcfd97 BP |
2506 | #define wxListEvent_GetOldIndex(_swigobj) (_swigobj->GetOldIndex()) |
2507 | static PyObject *_wrap_wxListEvent_GetOldIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
2508 | PyObject * _resultobj; |
2509 | long _result; | |
2510 | wxListEvent * _arg0; | |
1d99702e | 2511 | PyObject * _argo0 = 0; |
efc5f224 | 2512 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2513 | |
2514 | self = self; | |
f6bcfd97 | 2515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetOldIndex",_kwnames,&_argo0)) |
8ab979d7 | 2516 | return NULL; |
1d99702e RD |
2517 | if (_argo0) { |
2518 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2519 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2520 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetOldIndex. Expected _wxListEvent_p."); |
8ab979d7 RD |
2521 | return NULL; |
2522 | } | |
2523 | } | |
cf694132 RD |
2524 | { |
2525 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2526 | _result = (long )wxListEvent_GetOldIndex(_arg0); |
cf694132 RD |
2527 | |
2528 | wxPy_END_ALLOW_THREADS; | |
2529 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
2530 | return _resultobj; |
2531 | } | |
2532 | ||
f6bcfd97 BP |
2533 | #define wxListEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem()) |
2534 | static PyObject *_wrap_wxListEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 RD |
2535 | PyObject * _resultobj; |
2536 | long _result; | |
2537 | wxListEvent * _arg0; | |
1d99702e | 2538 | PyObject * _argo0 = 0; |
f6bcfd97 | 2539 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
2540 | |
2541 | self = self; | |
f6bcfd97 | 2542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetOldItem",_kwnames,&_argo0)) |
af309447 | 2543 | return NULL; |
1d99702e RD |
2544 | if (_argo0) { |
2545 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2546 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2547 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetOldItem. Expected _wxListEvent_p."); |
af309447 RD |
2548 | return NULL; |
2549 | } | |
2550 | } | |
cf694132 RD |
2551 | { |
2552 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2553 | _result = (long )wxListEvent_GetOldItem(_arg0); |
cf694132 RD |
2554 | |
2555 | wxPy_END_ALLOW_THREADS; | |
2556 | } _resultobj = Py_BuildValue("l",_result); | |
af309447 RD |
2557 | return _resultobj; |
2558 | } | |
2559 | ||
f6bcfd97 BP |
2560 | #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn()) |
2561 | static PyObject *_wrap_wxListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2562 | PyObject * _resultobj; |
f6bcfd97 | 2563 | int _result; |
8ab979d7 | 2564 | wxListEvent * _arg0; |
1d99702e | 2565 | PyObject * _argo0 = 0; |
efc5f224 | 2566 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2567 | |
2568 | self = self; | |
f6bcfd97 | 2569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetColumn",_kwnames,&_argo0)) |
8ab979d7 | 2570 | return NULL; |
1d99702e RD |
2571 | if (_argo0) { |
2572 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2573 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2574 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p."); |
8ab979d7 RD |
2575 | return NULL; |
2576 | } | |
2577 | } | |
cf694132 RD |
2578 | { |
2579 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2580 | _result = (int )wxListEvent_GetColumn(_arg0); |
cf694132 RD |
2581 | |
2582 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 2583 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
2584 | return _resultobj; |
2585 | } | |
2586 | ||
f6bcfd97 BP |
2587 | #define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled()) |
2588 | static PyObject *_wrap_wxListEvent_Cancelled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 2589 | PyObject * _resultobj; |
f6bcfd97 | 2590 | bool _result; |
af309447 | 2591 | wxListEvent * _arg0; |
1d99702e | 2592 | PyObject * _argo0 = 0; |
f6bcfd97 | 2593 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
2594 | |
2595 | self = self; | |
f6bcfd97 | 2596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_Cancelled",_kwnames,&_argo0)) |
af309447 | 2597 | return NULL; |
1d99702e RD |
2598 | if (_argo0) { |
2599 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2600 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p."); |
af309447 RD |
2602 | return NULL; |
2603 | } | |
2604 | } | |
cf694132 RD |
2605 | { |
2606 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2607 | _result = (bool )wxListEvent_Cancelled(_arg0); |
cf694132 RD |
2608 | |
2609 | wxPy_END_ALLOW_THREADS; | |
2610 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
2611 | return _resultobj; |
2612 | } | |
2613 | ||
f6bcfd97 BP |
2614 | #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint()) |
2615 | static PyObject *_wrap_wxListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2616 | PyObject * _resultobj; |
f6bcfd97 | 2617 | wxPoint * _result; |
8ab979d7 | 2618 | wxListEvent * _arg0; |
1d99702e | 2619 | PyObject * _argo0 = 0; |
efc5f224 | 2620 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 | 2621 | char _ptemp[128]; |
8ab979d7 RD |
2622 | |
2623 | self = self; | |
f6bcfd97 | 2624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetPoint",_kwnames,&_argo0)) |
8ab979d7 | 2625 | return NULL; |
1d99702e RD |
2626 | if (_argo0) { |
2627 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2628 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p."); |
8ab979d7 RD |
2630 | return NULL; |
2631 | } | |
2632 | } | |
cf694132 RD |
2633 | { |
2634 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2635 | _result = new wxPoint (wxListEvent_GetPoint(_arg0)); |
cf694132 RD |
2636 | |
2637 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
2638 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
2639 | _resultobj = Py_BuildValue("s",_ptemp); | |
8ab979d7 RD |
2640 | return _resultobj; |
2641 | } | |
2642 | ||
f6bcfd97 BP |
2643 | #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel()) |
2644 | static PyObject *_wrap_wxListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 2645 | PyObject * _resultobj; |
f6bcfd97 | 2646 | wxString * _result; |
af309447 | 2647 | wxListEvent * _arg0; |
1d99702e | 2648 | PyObject * _argo0 = 0; |
f6bcfd97 | 2649 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
2650 | |
2651 | self = self; | |
f6bcfd97 | 2652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetLabel",_kwnames,&_argo0)) |
af309447 | 2653 | return NULL; |
1d99702e RD |
2654 | if (_argo0) { |
2655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p."); |
af309447 RD |
2658 | return NULL; |
2659 | } | |
2660 | } | |
cf694132 RD |
2661 | { |
2662 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 BP |
2663 | const wxString & _result_ref = wxListEvent_GetLabel(_arg0); |
2664 | _result = (wxString *) &_result_ref; | |
cf694132 RD |
2665 | |
2666 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
2667 | }{ |
2668 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
2669 | } | |
af309447 RD |
2670 | return _resultobj; |
2671 | } | |
2672 | ||
f6bcfd97 BP |
2673 | #define wxListEvent_GetText(_swigobj) (_swigobj->GetText()) |
2674 | static PyObject *_wrap_wxListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2675 | PyObject * _resultobj; |
f6bcfd97 | 2676 | wxString * _result; |
8ab979d7 | 2677 | wxListEvent * _arg0; |
1d99702e | 2678 | PyObject * _argo0 = 0; |
efc5f224 | 2679 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2680 | |
2681 | self = self; | |
f6bcfd97 | 2682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetText",_kwnames,&_argo0)) |
8ab979d7 | 2683 | return NULL; |
1d99702e RD |
2684 | if (_argo0) { |
2685 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2686 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2687 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p."); |
8ab979d7 RD |
2688 | return NULL; |
2689 | } | |
2690 | } | |
cf694132 RD |
2691 | { |
2692 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 BP |
2693 | const wxString & _result_ref = wxListEvent_GetText(_arg0); |
2694 | _result = (wxString *) &_result_ref; | |
cf694132 RD |
2695 | |
2696 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
2697 | }{ |
2698 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
2699 | } | |
8ab979d7 RD |
2700 | return _resultobj; |
2701 | } | |
2702 | ||
f6bcfd97 BP |
2703 | #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage()) |
2704 | static PyObject *_wrap_wxListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 2705 | PyObject * _resultobj; |
f6bcfd97 | 2706 | int _result; |
af309447 | 2707 | wxListEvent * _arg0; |
1d99702e | 2708 | PyObject * _argo0 = 0; |
f6bcfd97 | 2709 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
2710 | |
2711 | self = self; | |
f6bcfd97 | 2712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetImage",_kwnames,&_argo0)) |
af309447 | 2713 | return NULL; |
1d99702e RD |
2714 | if (_argo0) { |
2715 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2716 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2717 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p."); |
af309447 RD |
2718 | return NULL; |
2719 | } | |
2720 | } | |
cf694132 RD |
2721 | { |
2722 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2723 | _result = (int )wxListEvent_GetImage(_arg0); |
cf694132 RD |
2724 | |
2725 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 2726 | } _resultobj = Py_BuildValue("i",_result); |
af309447 RD |
2727 | return _resultobj; |
2728 | } | |
2729 | ||
f6bcfd97 BP |
2730 | #define wxListEvent_GetData(_swigobj) (_swigobj->GetData()) |
2731 | static PyObject *_wrap_wxListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2732 | PyObject * _resultobj; |
f6bcfd97 | 2733 | long _result; |
8ab979d7 | 2734 | wxListEvent * _arg0; |
1d99702e | 2735 | PyObject * _argo0 = 0; |
efc5f224 | 2736 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2737 | |
2738 | self = self; | |
f6bcfd97 | 2739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetData",_kwnames,&_argo0)) |
8ab979d7 | 2740 | return NULL; |
1d99702e RD |
2741 | if (_argo0) { |
2742 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2743 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2744 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p."); |
8ab979d7 RD |
2745 | return NULL; |
2746 | } | |
2747 | } | |
cf694132 RD |
2748 | { |
2749 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2750 | _result = (long )wxListEvent_GetData(_arg0); |
cf694132 RD |
2751 | |
2752 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 2753 | } _resultobj = Py_BuildValue("l",_result); |
8ab979d7 RD |
2754 | return _resultobj; |
2755 | } | |
2756 | ||
f6bcfd97 BP |
2757 | #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask()) |
2758 | static PyObject *_wrap_wxListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 2759 | PyObject * _resultobj; |
f6bcfd97 | 2760 | long _result; |
af309447 | 2761 | wxListEvent * _arg0; |
1d99702e | 2762 | PyObject * _argo0 = 0; |
f6bcfd97 | 2763 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
2764 | |
2765 | self = self; | |
f6bcfd97 | 2766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetMask",_kwnames,&_argo0)) |
af309447 | 2767 | return NULL; |
1d99702e RD |
2768 | if (_argo0) { |
2769 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2770 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2771 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p."); |
af309447 RD |
2772 | return NULL; |
2773 | } | |
2774 | } | |
cf694132 RD |
2775 | { |
2776 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2777 | _result = (long )wxListEvent_GetMask(_arg0); |
cf694132 RD |
2778 | |
2779 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 2780 | } _resultobj = Py_BuildValue("l",_result); |
af309447 RD |
2781 | return _resultobj; |
2782 | } | |
2783 | ||
f6bcfd97 BP |
2784 | #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem()) |
2785 | static PyObject *_wrap_wxListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
2786 | PyObject * _resultobj; |
2787 | wxListItem * _result; | |
2788 | wxListEvent * _arg0; | |
1d99702e | 2789 | PyObject * _argo0 = 0; |
efc5f224 | 2790 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2791 | char _ptemp[128]; |
2792 | ||
2793 | self = self; | |
f6bcfd97 | 2794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetItem",_kwnames,&_argo0)) |
8ab979d7 | 2795 | return NULL; |
1d99702e RD |
2796 | if (_argo0) { |
2797 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2798 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2799 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p."); |
8ab979d7 RD |
2800 | return NULL; |
2801 | } | |
2802 | } | |
cf694132 RD |
2803 | { |
2804 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 BP |
2805 | const wxListItem & _result_ref = wxListEvent_GetItem(_arg0); |
2806 | _result = (wxListItem *) &_result_ref; | |
cf694132 RD |
2807 | |
2808 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
2809 | } if (_result) { |
2810 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p"); | |
2811 | _resultobj = Py_BuildValue("s",_ptemp); | |
2812 | } else { | |
2813 | Py_INCREF(Py_None); | |
2814 | _resultobj = Py_None; | |
2815 | } | |
8ab979d7 RD |
2816 | return _resultobj; |
2817 | } | |
2818 | ||
2819 | static void *SwigwxListCtrlTowxControl(void *ptr) { | |
2820 | wxListCtrl *src; | |
2821 | wxControl *dest; | |
2822 | src = (wxListCtrl *) ptr; | |
2823 | dest = (wxControl *) src; | |
2824 | return (void *) dest; | |
2825 | } | |
2826 | ||
2827 | static void *SwigwxListCtrlTowxWindow(void *ptr) { | |
2828 | wxListCtrl *src; | |
2829 | wxWindow *dest; | |
2830 | src = (wxListCtrl *) ptr; | |
2831 | dest = (wxWindow *) src; | |
2832 | return (void *) dest; | |
2833 | } | |
2834 | ||
2835 | static void *SwigwxListCtrlTowxEvtHandler(void *ptr) { | |
2836 | wxListCtrl *src; | |
2837 | wxEvtHandler *dest; | |
2838 | src = (wxListCtrl *) ptr; | |
2839 | dest = (wxEvtHandler *) src; | |
2840 | return (void *) dest; | |
2841 | } | |
2842 | ||
2843 | #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
efc5f224 | 2844 | static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2845 | PyObject * _resultobj; |
2846 | wxListCtrl * _result; | |
2847 | wxWindow * _arg0; | |
2848 | wxWindowID _arg1; | |
1d99702e RD |
2849 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; |
2850 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
2851 | long _arg4 = (long ) wxLC_ICON; | |
2852 | wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator; | |
2853 | char * _arg6 = (char *) "listCtrl"; | |
2854 | PyObject * _argo0 = 0; | |
2f90df85 RD |
2855 | wxPoint temp; |
2856 | PyObject * _obj2 = 0; | |
2857 | wxSize temp0; | |
2858 | PyObject * _obj3 = 0; | |
1d99702e | 2859 | PyObject * _argo5 = 0; |
efc5f224 | 2860 | char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL }; |
8ab979d7 RD |
2861 | char _ptemp[128]; |
2862 | ||
2863 | self = self; | |
2f90df85 | 2864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOs:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6)) |
8ab979d7 | 2865 | return NULL; |
1d99702e RD |
2866 | if (_argo0) { |
2867 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2868 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
8ab979d7 RD |
2869 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p."); |
2870 | return NULL; | |
2871 | } | |
2872 | } | |
2f90df85 RD |
2873 | if (_obj2) |
2874 | { | |
2875 | _arg2 = &temp; | |
2876 | if (! wxPoint_helper(_obj2, &_arg2)) | |
8ab979d7 | 2877 | return NULL; |
2f90df85 RD |
2878 | } |
2879 | if (_obj3) | |
2880 | { | |
2881 | _arg3 = &temp0; | |
2882 | if (! wxSize_helper(_obj3, &_arg3)) | |
8ab979d7 | 2883 | return NULL; |
2f90df85 | 2884 | } |
1d99702e RD |
2885 | if (_argo5) { |
2886 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
2887 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) { | |
8ab979d7 RD |
2888 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p."); |
2889 | return NULL; | |
2890 | } | |
2891 | } | |
cf694132 RD |
2892 | { |
2893 | wxPy_BEGIN_ALLOW_THREADS; | |
2894 | _result = (wxListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6); | |
2895 | ||
2896 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
2897 | } if (_result) { |
2898 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListCtrl_p"); | |
2899 | _resultobj = Py_BuildValue("s",_ptemp); | |
2900 | } else { | |
2901 | Py_INCREF(Py_None); | |
2902 | _resultobj = Py_None; | |
2903 | } | |
8ab979d7 RD |
2904 | return _resultobj; |
2905 | } | |
2906 | ||
2907 | #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0)) | |
efc5f224 | 2908 | static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2909 | PyObject * _resultobj; |
2910 | bool _result; | |
2911 | wxListCtrl * _arg0; | |
1d99702e RD |
2912 | int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT); |
2913 | PyObject * _argo0 = 0; | |
efc5f224 | 2914 | char *_kwnames[] = { "self","flag", NULL }; |
8ab979d7 RD |
2915 | |
2916 | self = self; | |
efc5f224 | 2917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 2918 | return NULL; |
1d99702e RD |
2919 | if (_argo0) { |
2920 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2921 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2922 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p."); |
2923 | return NULL; | |
2924 | } | |
2925 | } | |
cf694132 RD |
2926 | { |
2927 | wxPy_BEGIN_ALLOW_THREADS; | |
2928 | _result = (bool )wxListCtrl_Arrange(_arg0,_arg1); | |
2929 | ||
2930 | wxPy_END_ALLOW_THREADS; | |
2931 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2932 | return _resultobj; |
2933 | } | |
2934 | ||
2935 | #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0)) | |
efc5f224 | 2936 | static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2937 | PyObject * _resultobj; |
2938 | bool _result; | |
2939 | wxListCtrl * _arg0; | |
2940 | long _arg1; | |
1d99702e | 2941 | PyObject * _argo0 = 0; |
efc5f224 | 2942 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
2943 | |
2944 | self = self; | |
efc5f224 | 2945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 2946 | return NULL; |
1d99702e RD |
2947 | if (_argo0) { |
2948 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2949 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2950 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p."); |
2951 | return NULL; | |
2952 | } | |
2953 | } | |
cf694132 RD |
2954 | { |
2955 | wxPy_BEGIN_ALLOW_THREADS; | |
2956 | _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1); | |
2957 | ||
2958 | wxPy_END_ALLOW_THREADS; | |
2959 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2960 | return _resultobj; |
2961 | } | |
2962 | ||
2963 | #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems()) | |
efc5f224 | 2964 | static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2965 | PyObject * _resultobj; |
2966 | bool _result; | |
2967 | wxListCtrl * _arg0; | |
1d99702e | 2968 | PyObject * _argo0 = 0; |
efc5f224 | 2969 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2970 | |
2971 | self = self; | |
efc5f224 | 2972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0)) |
8ab979d7 | 2973 | return NULL; |
1d99702e RD |
2974 | if (_argo0) { |
2975 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2976 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2977 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p."); |
2978 | return NULL; | |
2979 | } | |
2980 | } | |
cf694132 RD |
2981 | { |
2982 | wxPy_BEGIN_ALLOW_THREADS; | |
2983 | _result = (bool )wxListCtrl_DeleteAllItems(_arg0); | |
2984 | ||
2985 | wxPy_END_ALLOW_THREADS; | |
2986 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2987 | return _resultobj; |
2988 | } | |
2989 | ||
2990 | #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0)) | |
efc5f224 | 2991 | static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2992 | PyObject * _resultobj; |
2993 | bool _result; | |
2994 | wxListCtrl * _arg0; | |
2995 | int _arg1; | |
1d99702e | 2996 | PyObject * _argo0 = 0; |
efc5f224 | 2997 | char *_kwnames[] = { "self","col", NULL }; |
8ab979d7 RD |
2998 | |
2999 | self = self; | |
efc5f224 | 3000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 3001 | return NULL; |
1d99702e RD |
3002 | if (_argo0) { |
3003 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3004 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p."); |
3006 | return NULL; | |
3007 | } | |
3008 | } | |
cf694132 RD |
3009 | { |
3010 | wxPy_BEGIN_ALLOW_THREADS; | |
3011 | _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1); | |
3012 | ||
3013 | wxPy_END_ALLOW_THREADS; | |
3014 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3015 | return _resultobj; |
3016 | } | |
3017 | ||
3018 | #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns()) | |
efc5f224 | 3019 | static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3020 | PyObject * _resultobj; |
3021 | bool _result; | |
3022 | wxListCtrl * _arg0; | |
1d99702e | 3023 | PyObject * _argo0 = 0; |
efc5f224 | 3024 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3025 | |
3026 | self = self; | |
efc5f224 | 3027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0)) |
8ab979d7 | 3028 | return NULL; |
1d99702e RD |
3029 | if (_argo0) { |
3030 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3031 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3032 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p."); |
3033 | return NULL; | |
3034 | } | |
3035 | } | |
cf694132 RD |
3036 | { |
3037 | wxPy_BEGIN_ALLOW_THREADS; | |
3038 | _result = (bool )wxListCtrl_DeleteAllColumns(_arg0); | |
3039 | ||
3040 | wxPy_END_ALLOW_THREADS; | |
3041 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3042 | return _resultobj; |
3043 | } | |
3044 | ||
3045 | #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll()) | |
efc5f224 | 3046 | static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3047 | PyObject * _resultobj; |
3048 | wxListCtrl * _arg0; | |
1d99702e | 3049 | PyObject * _argo0 = 0; |
efc5f224 | 3050 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3051 | |
3052 | self = self; | |
efc5f224 | 3053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_kwnames,&_argo0)) |
8ab979d7 | 3054 | return NULL; |
1d99702e RD |
3055 | if (_argo0) { |
3056 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3057 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3058 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p."); |
3059 | return NULL; | |
3060 | } | |
3061 | } | |
cf694132 RD |
3062 | { |
3063 | wxPy_BEGIN_ALLOW_THREADS; | |
3064 | wxListCtrl_ClearAll(_arg0); | |
3065 | ||
3066 | wxPy_END_ALLOW_THREADS; | |
3067 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
3068 | _resultobj = Py_None; |
3069 | return _resultobj; | |
3070 | } | |
3071 | ||
3072 | #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0)) | |
efc5f224 | 3073 | static PyObject *_wrap_wxListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 3074 | PyObject * _resultobj; |
8ab979d7 RD |
3075 | wxListCtrl * _arg0; |
3076 | long _arg1; | |
1d99702e | 3077 | PyObject * _argo0 = 0; |
efc5f224 | 3078 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
3079 | |
3080 | self = self; | |
efc5f224 | 3081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EditLabel",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 3082 | return NULL; |
1d99702e RD |
3083 | if (_argo0) { |
3084 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3085 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3086 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p."); |
3087 | return NULL; | |
3088 | } | |
3089 | } | |
cf694132 RD |
3090 | { |
3091 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 3092 | wxListCtrl_EditLabel(_arg0,_arg1); |
cf694132 RD |
3093 | |
3094 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
3095 | } Py_INCREF(Py_None); |
3096 | _resultobj = Py_None; | |
be4d9c1f RD |
3097 | return _resultobj; |
3098 | } | |
3099 | ||
8ab979d7 | 3100 | #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0)) |
efc5f224 | 3101 | static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3102 | PyObject * _resultobj; |
3103 | bool _result; | |
3104 | wxListCtrl * _arg0; | |
3105 | long _arg1; | |
1d99702e | 3106 | PyObject * _argo0 = 0; |
efc5f224 | 3107 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
3108 | |
3109 | self = self; | |
efc5f224 | 3110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 3111 | return NULL; |
1d99702e RD |
3112 | if (_argo0) { |
3113 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3114 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3115 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p."); |
3116 | return NULL; | |
3117 | } | |
3118 | } | |
cf694132 RD |
3119 | { |
3120 | wxPy_BEGIN_ALLOW_THREADS; | |
3121 | _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1); | |
3122 | ||
3123 | wxPy_END_ALLOW_THREADS; | |
3124 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3125 | return _resultobj; |
3126 | } | |
3127 | ||
3128 | #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 3129 | static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3130 | PyObject * _resultobj; |
3131 | long _result; | |
3132 | wxListCtrl * _arg0; | |
3133 | long _arg1; | |
3134 | wxString * _arg2; | |
1d99702e RD |
3135 | bool _arg3 = (bool ) FALSE; |
3136 | PyObject * _argo0 = 0; | |
8ab979d7 | 3137 | PyObject * _obj2 = 0; |
1d99702e | 3138 | int tempbool3 = (int) FALSE; |
efc5f224 | 3139 | char *_kwnames[] = { "self","start","str","partial", NULL }; |
8ab979d7 RD |
3140 | |
3141 | self = self; | |
efc5f224 | 3142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3)) |
8ab979d7 | 3143 | return NULL; |
1d99702e RD |
3144 | if (_argo0) { |
3145 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3146 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3147 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p."); |
3148 | return NULL; | |
3149 | } | |
3150 | } | |
3151 | { | |
2cd2fac8 RD |
3152 | #if PYTHON_API_VERSION >= 1009 |
3153 | char* tmpPtr; int tmpSize; | |
3154 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
3155 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
3156 | return NULL; | |
3157 | } | |
3158 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
3159 | return NULL; | |
3160 | _arg2 = new wxString(tmpPtr, tmpSize); | |
3161 | #else | |
8ab979d7 RD |
3162 | if (!PyString_Check(_obj2)) { |
3163 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3164 | return NULL; | |
3165 | } | |
2cd2fac8 RD |
3166 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
3167 | #endif | |
8ab979d7 RD |
3168 | } |
3169 | _arg3 = (bool ) tempbool3; | |
cf694132 RD |
3170 | { |
3171 | wxPy_BEGIN_ALLOW_THREADS; | |
3172 | _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3); | |
3173 | ||
3174 | wxPy_END_ALLOW_THREADS; | |
3175 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3176 | { |
3177 | if (_obj2) | |
3178 | delete _arg2; | |
3179 | } | |
3180 | return _resultobj; | |
3181 | } | |
3182 | ||
3183 | #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1)) | |
efc5f224 | 3184 | static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3185 | PyObject * _resultobj; |
3186 | long _result; | |
3187 | wxListCtrl * _arg0; | |
3188 | long _arg1; | |
3189 | long _arg2; | |
1d99702e | 3190 | PyObject * _argo0 = 0; |
efc5f224 | 3191 | char *_kwnames[] = { "self","start","data", NULL }; |
8ab979d7 RD |
3192 | |
3193 | self = self; | |
efc5f224 | 3194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 3195 | return NULL; |
1d99702e RD |
3196 | if (_argo0) { |
3197 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3198 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3199 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p."); |
3200 | return NULL; | |
3201 | } | |
3202 | } | |
cf694132 RD |
3203 | { |
3204 | wxPy_BEGIN_ALLOW_THREADS; | |
3205 | _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2); | |
3206 | ||
3207 | wxPy_END_ALLOW_THREADS; | |
3208 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3209 | return _resultobj; |
3210 | } | |
3211 | ||
3212 | #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 3213 | static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3214 | PyObject * _resultobj; |
3215 | long _result; | |
3216 | wxListCtrl * _arg0; | |
3217 | long _arg1; | |
3218 | wxPoint * _arg2; | |
3219 | int _arg3; | |
1d99702e | 3220 | PyObject * _argo0 = 0; |
2f90df85 RD |
3221 | wxPoint temp; |
3222 | PyObject * _obj2 = 0; | |
efc5f224 | 3223 | char *_kwnames[] = { "self","start","pt","direction", NULL }; |
8ab979d7 RD |
3224 | |
3225 | self = self; | |
2f90df85 | 3226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3)) |
8ab979d7 | 3227 | return NULL; |
1d99702e RD |
3228 | if (_argo0) { |
3229 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3230 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3231 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p."); |
3232 | return NULL; | |
3233 | } | |
3234 | } | |
2f90df85 RD |
3235 | { |
3236 | _arg2 = &temp; | |
3237 | if (! wxPoint_helper(_obj2, &_arg2)) | |
8ab979d7 | 3238 | return NULL; |
2f90df85 | 3239 | } |
cf694132 RD |
3240 | { |
3241 | wxPy_BEGIN_ALLOW_THREADS; | |
3242 | _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3); | |
3243 | ||
3244 | wxPy_END_ALLOW_THREADS; | |
3245 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3246 | return _resultobj; |
3247 | } | |
3248 | ||
3249 | #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1)) | |
efc5f224 | 3250 | static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3251 | PyObject * _resultobj; |
3252 | bool _result; | |
3253 | wxListCtrl * _arg0; | |
3254 | int _arg1; | |
3255 | wxListItem * _arg2; | |
1d99702e RD |
3256 | PyObject * _argo0 = 0; |
3257 | PyObject * _argo2 = 0; | |
efc5f224 | 3258 | char *_kwnames[] = { "self","col","item", NULL }; |
8ab979d7 RD |
3259 | |
3260 | self = self; | |
efc5f224 | 3261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1,&_argo2)) |
8ab979d7 | 3262 | return NULL; |
1d99702e RD |
3263 | if (_argo0) { |
3264 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3265 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3266 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p."); |
3267 | return NULL; | |
3268 | } | |
3269 | } | |
1d99702e RD |
3270 | if (_argo2) { |
3271 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3272 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) { | |
8ab979d7 RD |
3273 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p."); |
3274 | return NULL; | |
3275 | } | |
3276 | } | |
cf694132 RD |
3277 | { |
3278 | wxPy_BEGIN_ALLOW_THREADS; | |
3279 | _result = (bool )wxListCtrl_GetColumn(_arg0,_arg1,*_arg2); | |
3280 | ||
3281 | wxPy_END_ALLOW_THREADS; | |
3282 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3283 | return _resultobj; |
3284 | } | |
3285 | ||
3286 | #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0)) | |
efc5f224 | 3287 | static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3288 | PyObject * _resultobj; |
3289 | int _result; | |
3290 | wxListCtrl * _arg0; | |
3291 | int _arg1; | |
1d99702e | 3292 | PyObject * _argo0 = 0; |
efc5f224 | 3293 | char *_kwnames[] = { "self","col", NULL }; |
8ab979d7 RD |
3294 | |
3295 | self = self; | |
efc5f224 | 3296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 3297 | return NULL; |
1d99702e RD |
3298 | if (_argo0) { |
3299 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3300 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3301 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p."); |
3302 | return NULL; | |
3303 | } | |
3304 | } | |
cf694132 RD |
3305 | { |
3306 | wxPy_BEGIN_ALLOW_THREADS; | |
3307 | _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1); | |
3308 | ||
3309 | wxPy_END_ALLOW_THREADS; | |
3310 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3311 | return _resultobj; |
3312 | } | |
3313 | ||
3314 | #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage()) | |
efc5f224 | 3315 | static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3316 | PyObject * _resultobj; |
3317 | int _result; | |
3318 | wxListCtrl * _arg0; | |
1d99702e | 3319 | PyObject * _argo0 = 0; |
efc5f224 | 3320 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3321 | |
3322 | self = self; | |
efc5f224 | 3323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0)) |
8ab979d7 | 3324 | return NULL; |
1d99702e RD |
3325 | if (_argo0) { |
3326 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3327 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3328 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p."); |
3329 | return NULL; | |
3330 | } | |
3331 | } | |
cf694132 RD |
3332 | { |
3333 | wxPy_BEGIN_ALLOW_THREADS; | |
3334 | _result = (int )wxListCtrl_GetCountPerPage(_arg0); | |
3335 | ||
3336 | wxPy_END_ALLOW_THREADS; | |
3337 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3338 | return _resultobj; |
3339 | } | |
3340 | ||
3341 | #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0)) | |
efc5f224 | 3342 | static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3343 | PyObject * _resultobj; |
3344 | wxImageList * _result; | |
3345 | wxListCtrl * _arg0; | |
3346 | int _arg1; | |
1d99702e | 3347 | PyObject * _argo0 = 0; |
efc5f224 | 3348 | char *_kwnames[] = { "self","which", NULL }; |
8ab979d7 RD |
3349 | char _ptemp[128]; |
3350 | ||
3351 | self = self; | |
efc5f224 | 3352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 3353 | return NULL; |
1d99702e RD |
3354 | if (_argo0) { |
3355 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3356 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3357 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p."); |
3358 | return NULL; | |
3359 | } | |
3360 | } | |
cf694132 RD |
3361 | { |
3362 | wxPy_BEGIN_ALLOW_THREADS; | |
3363 | _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1); | |
3364 | ||
3365 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
3366 | } if (_result) { |
3367 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p"); | |
3368 | _resultobj = Py_BuildValue("s",_ptemp); | |
3369 | } else { | |
3370 | Py_INCREF(Py_None); | |
3371 | _resultobj = Py_None; | |
3372 | } | |
8ab979d7 RD |
3373 | return _resultobj; |
3374 | } | |
3375 | ||
3376 | #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0)) | |
efc5f224 | 3377 | static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3378 | PyObject * _resultobj; |
3379 | long _result; | |
3380 | wxListCtrl * _arg0; | |
3381 | long _arg1; | |
1d99702e | 3382 | PyObject * _argo0 = 0; |
efc5f224 | 3383 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
3384 | |
3385 | self = self; | |
efc5f224 | 3386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 3387 | return NULL; |
1d99702e RD |
3388 | if (_argo0) { |
3389 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3390 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3391 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p."); |
3392 | return NULL; | |
3393 | } | |
3394 | } | |
cf694132 RD |
3395 | { |
3396 | wxPy_BEGIN_ALLOW_THREADS; | |
3397 | _result = (long )wxListCtrl_GetItemData(_arg0,_arg1); | |
3398 | ||
3399 | wxPy_END_ALLOW_THREADS; | |
3400 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3401 | return _resultobj; |
3402 | } | |
3403 | ||
e166644c | 3404 | static wxListItem * wxListCtrl_GetItem(wxListCtrl *self,long itemId,int col) { |
8ab979d7 | 3405 | wxListItem* info = new wxListItem; |
0699c864 | 3406 | info->m_itemId = itemId; |
e166644c | 3407 | info->m_col = col; |
f17fee68 | 3408 | info->m_mask = 0xFFFF; |
8ab979d7 RD |
3409 | self->GetItem(*info); |
3410 | return info; | |
3411 | } | |
efc5f224 | 3412 | static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3413 | PyObject * _resultobj; |
3414 | wxListItem * _result; | |
3415 | wxListCtrl * _arg0; | |
0699c864 | 3416 | long _arg1; |
e166644c | 3417 | int _arg2 = (int ) 0; |
1d99702e | 3418 | PyObject * _argo0 = 0; |
e166644c | 3419 | char *_kwnames[] = { "self","itemId","col", NULL }; |
8ab979d7 RD |
3420 | char _ptemp[128]; |
3421 | ||
3422 | self = self; | |
e166644c | 3423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 3424 | return NULL; |
1d99702e RD |
3425 | if (_argo0) { |
3426 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3427 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3428 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p."); |
3429 | return NULL; | |
3430 | } | |
3431 | } | |
cf694132 RD |
3432 | { |
3433 | wxPy_BEGIN_ALLOW_THREADS; | |
e166644c | 3434 | _result = (wxListItem *)wxListCtrl_GetItem(_arg0,_arg1,_arg2); |
cf694132 RD |
3435 | |
3436 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
3437 | } if (_result) { |
3438 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p"); | |
3439 | _resultobj = Py_BuildValue("s",_ptemp); | |
3440 | } else { | |
3441 | Py_INCREF(Py_None); | |
3442 | _resultobj = Py_None; | |
3443 | } | |
8ab979d7 RD |
3444 | return _resultobj; |
3445 | } | |
3446 | ||
3447 | static wxPoint * wxListCtrl_GetItemPosition(wxListCtrl *self,long item) { | |
3448 | wxPoint* pos = new wxPoint; | |
3449 | self->GetItemPosition(item, *pos); | |
3450 | return pos; | |
3451 | } | |
efc5f224 | 3452 | static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3453 | PyObject * _resultobj; |
3454 | wxPoint * _result; | |
3455 | wxListCtrl * _arg0; | |
3456 | long _arg1; | |
1d99702e | 3457 | PyObject * _argo0 = 0; |
efc5f224 | 3458 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
3459 | char _ptemp[128]; |
3460 | ||
3461 | self = self; | |
efc5f224 | 3462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 3463 | return NULL; |
1d99702e RD |
3464 | if (_argo0) { |
3465 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3466 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3467 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p."); |
3468 | return NULL; | |
3469 | } | |
3470 | } | |
cf694132 RD |
3471 | { |
3472 | wxPy_BEGIN_ALLOW_THREADS; | |
3473 | _result = (wxPoint *)wxListCtrl_GetItemPosition(_arg0,_arg1); | |
3474 | ||
3475 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
3476 | } if (_result) { |
3477 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); | |
3478 | _resultobj = Py_BuildValue("s",_ptemp); | |
3479 | } else { | |
3480 | Py_INCREF(Py_None); | |
3481 | _resultobj = Py_None; | |
3482 | } | |
8ab979d7 RD |
3483 | return _resultobj; |
3484 | } | |
3485 | ||
3486 | static wxRect * wxListCtrl_GetItemRect(wxListCtrl *self,long item,int code) { | |
3487 | wxRect* rect= new wxRect; | |
3488 | self->GetItemRect(item, *rect, code); | |
3489 | return rect; | |
3490 | } | |
efc5f224 | 3491 | static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3492 | PyObject * _resultobj; |
3493 | wxRect * _result; | |
3494 | wxListCtrl * _arg0; | |
3495 | long _arg1; | |
1d99702e RD |
3496 | int _arg2 = (int ) (wxLIST_RECT_BOUNDS); |
3497 | PyObject * _argo0 = 0; | |
efc5f224 | 3498 | char *_kwnames[] = { "self","item","code", NULL }; |
8ab979d7 RD |
3499 | char _ptemp[128]; |
3500 | ||
3501 | self = self; | |
efc5f224 | 3502 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 3503 | return NULL; |
1d99702e RD |
3504 | if (_argo0) { |
3505 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3506 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3507 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p."); |
3508 | return NULL; | |
3509 | } | |
3510 | } | |
cf694132 RD |
3511 | { |
3512 | wxPy_BEGIN_ALLOW_THREADS; | |
3513 | _result = (wxRect *)wxListCtrl_GetItemRect(_arg0,_arg1,_arg2); | |
3514 | ||
3515 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
3516 | } if (_result) { |
3517 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p"); | |
3518 | _resultobj = Py_BuildValue("s",_ptemp); | |
3519 | } else { | |
3520 | Py_INCREF(Py_None); | |
3521 | _resultobj = Py_None; | |
3522 | } | |
8ab979d7 RD |
3523 | return _resultobj; |
3524 | } | |
3525 | ||
3526 | #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1)) | |
efc5f224 | 3527 | static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3528 | PyObject * _resultobj; |
3529 | int _result; | |
3530 | wxListCtrl * _arg0; | |
3531 | long _arg1; | |
3532 | long _arg2; | |
1d99702e | 3533 | PyObject * _argo0 = 0; |
efc5f224 | 3534 | char *_kwnames[] = { "self","item","stateMask", NULL }; |
8ab979d7 RD |
3535 | |
3536 | self = self; | |
efc5f224 | 3537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 3538 | return NULL; |
1d99702e RD |
3539 | if (_argo0) { |
3540 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3541 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p."); |
3543 | return NULL; | |
3544 | } | |
3545 | } | |
cf694132 RD |
3546 | { |
3547 | wxPy_BEGIN_ALLOW_THREADS; | |
3548 | _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2); | |
3549 | ||
3550 | wxPy_END_ALLOW_THREADS; | |
3551 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3552 | return _resultobj; |
3553 | } | |
3554 | ||
3555 | #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount()) | |
efc5f224 | 3556 | static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3557 | PyObject * _resultobj; |
3558 | int _result; | |
3559 | wxListCtrl * _arg0; | |
1d99702e | 3560 | PyObject * _argo0 = 0; |
efc5f224 | 3561 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3562 | |
3563 | self = self; | |
efc5f224 | 3564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0)) |
8ab979d7 | 3565 | return NULL; |
1d99702e RD |
3566 | if (_argo0) { |
3567 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3568 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3569 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p."); |
3570 | return NULL; | |
3571 | } | |
3572 | } | |
cf694132 RD |
3573 | { |
3574 | wxPy_BEGIN_ALLOW_THREADS; | |
3575 | _result = (int )wxListCtrl_GetItemCount(_arg0); | |
3576 | ||
3577 | wxPy_END_ALLOW_THREADS; | |
3578 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3579 | return _resultobj; |
3580 | } | |
3581 | ||
3582 | #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0)) | |
efc5f224 | 3583 | static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3584 | PyObject * _resultobj; |
3585 | int _result; | |
3586 | wxListCtrl * _arg0; | |
3587 | bool _arg1; | |
1d99702e | 3588 | PyObject * _argo0 = 0; |
8ab979d7 | 3589 | int tempbool1; |
efc5f224 | 3590 | char *_kwnames[] = { "self","isSmall", NULL }; |
8ab979d7 RD |
3591 | |
3592 | self = self; | |
efc5f224 | 3593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 3594 | return NULL; |
1d99702e RD |
3595 | if (_argo0) { |
3596 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3597 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3598 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p."); |
3599 | return NULL; | |
3600 | } | |
3601 | } | |
3602 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
3603 | { |
3604 | wxPy_BEGIN_ALLOW_THREADS; | |
3605 | _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1); | |
3606 | ||
3607 | wxPy_END_ALLOW_THREADS; | |
3608 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3609 | return _resultobj; |
3610 | } | |
3611 | ||
3612 | #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0)) | |
efc5f224 | 3613 | static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3614 | PyObject * _resultobj; |
3615 | wxString * _result; | |
3616 | wxListCtrl * _arg0; | |
3617 | long _arg1; | |
1d99702e | 3618 | PyObject * _argo0 = 0; |
efc5f224 | 3619 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
3620 | |
3621 | self = self; | |
efc5f224 | 3622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 3623 | return NULL; |
1d99702e RD |
3624 | if (_argo0) { |
3625 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3626 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3627 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p."); |
3628 | return NULL; | |
3629 | } | |
3630 | } | |
8ab979d7 | 3631 | { |
cf694132 RD |
3632 | wxPy_BEGIN_ALLOW_THREADS; |
3633 | _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1)); | |
3634 | ||
3635 | wxPy_END_ALLOW_THREADS; | |
3636 | }{ | |
eec92d76 | 3637 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
8ab979d7 RD |
3638 | } |
3639 | { | |
3640 | delete _result; | |
3641 | } | |
3642 | return _resultobj; | |
3643 | } | |
3644 | ||
3645 | #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 3646 | static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3647 | PyObject * _resultobj; |
3648 | long _result; | |
3649 | wxListCtrl * _arg0; | |
3650 | long _arg1; | |
1d99702e RD |
3651 | int _arg2 = (int ) (wxLIST_NEXT_ALL); |
3652 | int _arg3 = (int ) (wxLIST_STATE_DONTCARE); | |
3653 | PyObject * _argo0 = 0; | |
efc5f224 | 3654 | char *_kwnames[] = { "self","item","geometry","state", NULL }; |
8ab979d7 RD |
3655 | |
3656 | self = self; | |
efc5f224 | 3657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
8ab979d7 | 3658 | return NULL; |
1d99702e RD |
3659 | if (_argo0) { |
3660 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3661 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3662 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p."); |
3663 | return NULL; | |
3664 | } | |
3665 | } | |
cf694132 RD |
3666 | { |
3667 | wxPy_BEGIN_ALLOW_THREADS; | |
3668 | _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3); | |
3669 | ||
3670 | wxPy_END_ALLOW_THREADS; | |
3671 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3672 | return _resultobj; |
3673 | } | |
3674 | ||
3675 | #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount()) | |
efc5f224 | 3676 | static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3677 | PyObject * _resultobj; |
3678 | int _result; | |
3679 | wxListCtrl * _arg0; | |
1d99702e | 3680 | PyObject * _argo0 = 0; |
efc5f224 | 3681 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3682 | |
3683 | self = self; | |
efc5f224 | 3684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetSelectedItemCount",_kwnames,&_argo0)) |
8ab979d7 | 3685 | return NULL; |
1d99702e RD |
3686 | if (_argo0) { |
3687 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3688 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3689 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p."); |
3690 | return NULL; | |
3691 | } | |
3692 | } | |
cf694132 RD |
3693 | { |
3694 | wxPy_BEGIN_ALLOW_THREADS; | |
3695 | _result = (int )wxListCtrl_GetSelectedItemCount(_arg0); | |
3696 | ||
3697 | wxPy_END_ALLOW_THREADS; | |
3698 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3699 | return _resultobj; |
3700 | } | |
3701 | ||
8ab979d7 | 3702 | #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem()) |
efc5f224 | 3703 | static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3704 | PyObject * _resultobj; |
3705 | long _result; | |
3706 | wxListCtrl * _arg0; | |
1d99702e | 3707 | PyObject * _argo0 = 0; |
efc5f224 | 3708 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3709 | |
3710 | self = self; | |
efc5f224 | 3711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0)) |
8ab979d7 | 3712 | return NULL; |
1d99702e RD |
3713 | if (_argo0) { |
3714 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3715 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p."); |
3717 | return NULL; | |
3718 | } | |
3719 | } | |
cf694132 RD |
3720 | { |
3721 | wxPy_BEGIN_ALLOW_THREADS; | |
3722 | _result = (long )wxListCtrl_GetTopItem(_arg0); | |
3723 | ||
3724 | wxPy_END_ALLOW_THREADS; | |
3725 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3726 | return _resultobj; |
3727 | } | |
3728 | ||
3729 | #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1)) | |
efc5f224 | 3730 | static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3731 | PyObject * _resultobj; |
3732 | long _result; | |
3733 | wxListCtrl * _arg0; | |
3734 | wxPoint * _arg1; | |
3735 | int * _arg2; | |
3736 | int temp; | |
1d99702e | 3737 | PyObject * _argo0 = 0; |
2f90df85 RD |
3738 | wxPoint temp0; |
3739 | PyObject * _obj1 = 0; | |
efc5f224 | 3740 | char *_kwnames[] = { "self","point", NULL }; |
8ab979d7 RD |
3741 | |
3742 | self = self; | |
3743 | { | |
3744 | _arg2 = &temp; | |
3745 | } | |
2f90df85 | 3746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1)) |
8ab979d7 | 3747 | return NULL; |
1d99702e RD |
3748 | if (_argo0) { |
3749 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3750 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p."); |
3752 | return NULL; | |
3753 | } | |
3754 | } | |
2f90df85 RD |
3755 | { |
3756 | _arg1 = &temp0; | |
3757 | if (! wxPoint_helper(_obj1, &_arg1)) | |
8ab979d7 | 3758 | return NULL; |
2f90df85 | 3759 | } |
cf694132 RD |
3760 | { |
3761 | wxPy_BEGIN_ALLOW_THREADS; | |
3762 | _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2); | |
3763 | ||
3764 | wxPy_END_ALLOW_THREADS; | |
3765 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3766 | { |
3767 | PyObject *o; | |
3768 | o = PyInt_FromLong((long) (*_arg2)); | |
3769 | _resultobj = t_output_helper(_resultobj, o); | |
3770 | } | |
3771 | return _resultobj; | |
3772 | } | |
3773 | ||
c368d904 RD |
3774 | #define wxListCtrl_InsertColumnInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1)) |
3775 | static PyObject *_wrap_wxListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
3776 | PyObject * _resultobj; |
3777 | long _result; | |
3778 | wxListCtrl * _arg0; | |
3779 | long _arg1; | |
3780 | wxListItem * _arg2; | |
1d99702e RD |
3781 | PyObject * _argo0 = 0; |
3782 | PyObject * _argo2 = 0; | |
efc5f224 | 3783 | char *_kwnames[] = { "self","col","info", NULL }; |
8ab979d7 RD |
3784 | |
3785 | self = self; | |
c368d904 | 3786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnInfo",_kwnames,&_argo0,&_arg1,&_argo2)) |
8ab979d7 | 3787 | return NULL; |
1d99702e RD |
3788 | if (_argo0) { |
3789 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3790 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
c368d904 | 3791 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnInfo. Expected _wxListCtrl_p."); |
8ab979d7 RD |
3792 | return NULL; |
3793 | } | |
3794 | } | |
1d99702e RD |
3795 | if (_argo2) { |
3796 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3797 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) { | |
c368d904 | 3798 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnInfo. Expected _wxListItem_p."); |
8ab979d7 RD |
3799 | return NULL; |
3800 | } | |
3801 | } | |
cf694132 RD |
3802 | { |
3803 | wxPy_BEGIN_ALLOW_THREADS; | |
c368d904 | 3804 | _result = (long )wxListCtrl_InsertColumnInfo(_arg0,_arg1,*_arg2); |
cf694132 RD |
3805 | |
3806 | wxPy_END_ALLOW_THREADS; | |
3807 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3808 | return _resultobj; |
3809 | } | |
3810 | ||
3811 | #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
efc5f224 | 3812 | static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3813 | PyObject * _resultobj; |
3814 | long _result; | |
3815 | wxListCtrl * _arg0; | |
3816 | long _arg1; | |
3817 | wxString * _arg2; | |
1d99702e RD |
3818 | int _arg3 = (int ) (wxLIST_FORMAT_LEFT); |
3819 | int _arg4 = (int ) -1; | |
3820 | PyObject * _argo0 = 0; | |
8ab979d7 | 3821 | PyObject * _obj2 = 0; |
efc5f224 | 3822 | char *_kwnames[] = { "self","col","heading","format","width", NULL }; |
8ab979d7 RD |
3823 | |
3824 | self = self; | |
efc5f224 | 3825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4)) |
8ab979d7 | 3826 | return NULL; |
1d99702e RD |
3827 | if (_argo0) { |
3828 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3829 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3830 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p."); |
3831 | return NULL; | |
3832 | } | |
3833 | } | |
3834 | { | |
2cd2fac8 RD |
3835 | #if PYTHON_API_VERSION >= 1009 |
3836 | char* tmpPtr; int tmpSize; | |
3837 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
3838 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
3839 | return NULL; | |
3840 | } | |
3841 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
3842 | return NULL; | |
3843 | _arg2 = new wxString(tmpPtr, tmpSize); | |
3844 | #else | |
8ab979d7 RD |
3845 | if (!PyString_Check(_obj2)) { |
3846 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3847 | return NULL; | |
3848 | } | |
2cd2fac8 RD |
3849 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
3850 | #endif | |
8ab979d7 | 3851 | } |
cf694132 RD |
3852 | { |
3853 | wxPy_BEGIN_ALLOW_THREADS; | |
3854 | _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4); | |
3855 | ||
3856 | wxPy_END_ALLOW_THREADS; | |
3857 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3858 | { |
3859 | if (_obj2) | |
3860 | delete _arg2; | |
3861 | } | |
3862 | return _resultobj; | |
3863 | } | |
3864 | ||
3865 | #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0)) | |
efc5f224 | 3866 | static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3867 | PyObject * _resultobj; |
3868 | long _result; | |
3869 | wxListCtrl * _arg0; | |
3870 | wxListItem * _arg1; | |
1d99702e RD |
3871 | PyObject * _argo0 = 0; |
3872 | PyObject * _argo1 = 0; | |
efc5f224 | 3873 | char *_kwnames[] = { "self","info", NULL }; |
8ab979d7 RD |
3874 | |
3875 | self = self; | |
efc5f224 | 3876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 3877 | return NULL; |
1d99702e RD |
3878 | if (_argo0) { |
3879 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3880 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3881 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p."); |
3882 | return NULL; | |
3883 | } | |
3884 | } | |
1d99702e RD |
3885 | if (_argo1) { |
3886 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3887 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) { | |
8ab979d7 RD |
3888 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p."); |
3889 | return NULL; | |
3890 | } | |
3891 | } | |
cf694132 RD |
3892 | { |
3893 | wxPy_BEGIN_ALLOW_THREADS; | |
3894 | _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1); | |
3895 | ||
3896 | wxPy_END_ALLOW_THREADS; | |
3897 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3898 | return _resultobj; |
3899 | } | |
3900 | ||
3901 | #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1)) | |
efc5f224 | 3902 | static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3903 | PyObject * _resultobj; |
3904 | long _result; | |
3905 | wxListCtrl * _arg0; | |
3906 | long _arg1; | |
3907 | wxString * _arg2; | |
1d99702e | 3908 | PyObject * _argo0 = 0; |
8ab979d7 | 3909 | PyObject * _obj2 = 0; |
efc5f224 | 3910 | char *_kwnames[] = { "self","index","label", NULL }; |
8ab979d7 RD |
3911 | |
3912 | self = self; | |
efc5f224 | 3913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2)) |
8ab979d7 | 3914 | return NULL; |
1d99702e RD |
3915 | if (_argo0) { |
3916 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3917 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3918 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p."); |
3919 | return NULL; | |
3920 | } | |
3921 | } | |
3922 | { | |
2cd2fac8 RD |
3923 | #if PYTHON_API_VERSION >= 1009 |
3924 | char* tmpPtr; int tmpSize; | |
3925 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
3926 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
3927 | return NULL; | |
3928 | } | |
3929 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
3930 | return NULL; | |
3931 | _arg2 = new wxString(tmpPtr, tmpSize); | |
3932 | #else | |
8ab979d7 RD |
3933 | if (!PyString_Check(_obj2)) { |
3934 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3935 | return NULL; | |
3936 | } | |
2cd2fac8 RD |
3937 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
3938 | #endif | |
8ab979d7 | 3939 | } |
cf694132 RD |
3940 | { |
3941 | wxPy_BEGIN_ALLOW_THREADS; | |
3942 | _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2); | |
3943 | ||
3944 | wxPy_END_ALLOW_THREADS; | |
3945 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3946 | { |
3947 | if (_obj2) | |
3948 | delete _arg2; | |
3949 | } | |
3950 | return _resultobj; | |
3951 | } | |
3952 | ||
3953 | #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1)) | |
efc5f224 | 3954 | static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3955 | PyObject * _resultobj; |
3956 | long _result; | |
3957 | wxListCtrl * _arg0; | |
3958 | long _arg1; | |
3959 | int _arg2; | |
1d99702e | 3960 | PyObject * _argo0 = 0; |
efc5f224 | 3961 | char *_kwnames[] = { "self","index","imageIndex", NULL }; |
8ab979d7 RD |
3962 | |
3963 | self = self; | |
efc5f224 | 3964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 3965 | return NULL; |
1d99702e RD |
3966 | if (_argo0) { |
3967 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3968 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3969 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p."); |
3970 | return NULL; | |
3971 | } | |
3972 | } | |
cf694132 RD |
3973 | { |
3974 | wxPy_BEGIN_ALLOW_THREADS; | |
3975 | _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2); | |
3976 | ||
3977 | wxPy_END_ALLOW_THREADS; | |
3978 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3979 | return _resultobj; |
3980 | } | |
3981 | ||
3982 | #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 3983 | static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3984 | PyObject * _resultobj; |
3985 | long _result; | |
3986 | wxListCtrl * _arg0; | |
3987 | long _arg1; | |
3988 | wxString * _arg2; | |
3989 | int _arg3; | |
1d99702e | 3990 | PyObject * _argo0 = 0; |
8ab979d7 | 3991 | PyObject * _obj2 = 0; |
efc5f224 | 3992 | char *_kwnames[] = { "self","index","label","imageIndex", NULL }; |
8ab979d7 RD |
3993 | |
3994 | self = self; | |
efc5f224 | 3995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3)) |
8ab979d7 | 3996 | return NULL; |
1d99702e RD |
3997 | if (_argo0) { |
3998 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3999 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4000 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p."); |
4001 | return NULL; | |
4002 | } | |
4003 | } | |
4004 | { | |
2cd2fac8 RD |
4005 | #if PYTHON_API_VERSION >= 1009 |
4006 | char* tmpPtr; int tmpSize; | |
4007 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
4008 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
4009 | return NULL; | |
4010 | } | |
4011 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
4012 | return NULL; | |
4013 | _arg2 = new wxString(tmpPtr, tmpSize); | |
4014 | #else | |
8ab979d7 RD |
4015 | if (!PyString_Check(_obj2)) { |
4016 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4017 | return NULL; | |
4018 | } | |
2cd2fac8 RD |
4019 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
4020 | #endif | |
8ab979d7 | 4021 | } |
cf694132 RD |
4022 | { |
4023 | wxPy_BEGIN_ALLOW_THREADS; | |
4024 | _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3); | |
4025 | ||
4026 | wxPy_END_ALLOW_THREADS; | |
4027 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
4028 | { |
4029 | if (_obj2) | |
4030 | delete _arg2; | |
4031 | } | |
4032 | return _resultobj; | |
4033 | } | |
4034 | ||
4035 | #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1)) | |
efc5f224 | 4036 | static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4037 | PyObject * _resultobj; |
4038 | bool _result; | |
4039 | wxListCtrl * _arg0; | |
4040 | int _arg1; | |
4041 | int _arg2; | |
1d99702e | 4042 | PyObject * _argo0 = 0; |
efc5f224 | 4043 | char *_kwnames[] = { "self","dx","dy", NULL }; |
8ab979d7 RD |
4044 | |
4045 | self = self; | |
efc5f224 | 4046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 4047 | return NULL; |
1d99702e RD |
4048 | if (_argo0) { |
4049 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4050 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4051 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p."); |
4052 | return NULL; | |
4053 | } | |
4054 | } | |
cf694132 RD |
4055 | { |
4056 | wxPy_BEGIN_ALLOW_THREADS; | |
4057 | _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2); | |
4058 | ||
4059 | wxPy_END_ALLOW_THREADS; | |
4060 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4061 | return _resultobj; |
4062 | } | |
4063 | ||
4064 | #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
efc5f224 | 4065 | static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4066 | PyObject * _resultobj; |
4067 | wxListCtrl * _arg0; | |
4068 | wxColour * _arg1; | |
1d99702e | 4069 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
4070 | wxColour temp; |
4071 | PyObject * _obj1 = 0; | |
efc5f224 | 4072 | char *_kwnames[] = { "self","col", NULL }; |
8ab979d7 RD |
4073 | |
4074 | self = self; | |
f6bcfd97 | 4075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_obj1)) |
8ab979d7 | 4076 | return NULL; |
1d99702e RD |
4077 | if (_argo0) { |
4078 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4079 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p."); |
4081 | return NULL; | |
4082 | } | |
4083 | } | |
f6bcfd97 BP |
4084 | { |
4085 | _arg1 = &temp; | |
4086 | if (! wxColour_helper(_obj1, &_arg1)) | |
8ab979d7 | 4087 | return NULL; |
f6bcfd97 | 4088 | } |
cf694132 RD |
4089 | { |
4090 | wxPy_BEGIN_ALLOW_THREADS; | |
4091 | wxListCtrl_SetBackgroundColour(_arg0,*_arg1); | |
4092 | ||
4093 | wxPy_END_ALLOW_THREADS; | |
4094 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4095 | _resultobj = Py_None; |
4096 | return _resultobj; | |
4097 | } | |
4098 | ||
4099 | #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1)) | |
efc5f224 | 4100 | static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4101 | PyObject * _resultobj; |
4102 | bool _result; | |
4103 | wxListCtrl * _arg0; | |
4104 | int _arg1; | |
4105 | wxListItem * _arg2; | |
1d99702e RD |
4106 | PyObject * _argo0 = 0; |
4107 | PyObject * _argo2 = 0; | |
efc5f224 | 4108 | char *_kwnames[] = { "self","col","item", NULL }; |
8ab979d7 RD |
4109 | |
4110 | self = self; | |
efc5f224 | 4111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2)) |
8ab979d7 | 4112 | return NULL; |
1d99702e RD |
4113 | if (_argo0) { |
4114 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4115 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4116 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p."); |
4117 | return NULL; | |
4118 | } | |
4119 | } | |
1d99702e RD |
4120 | if (_argo2) { |
4121 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4122 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) { | |
8ab979d7 RD |
4123 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p."); |
4124 | return NULL; | |
4125 | } | |
4126 | } | |
cf694132 RD |
4127 | { |
4128 | wxPy_BEGIN_ALLOW_THREADS; | |
4129 | _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2); | |
4130 | ||
4131 | wxPy_END_ALLOW_THREADS; | |
4132 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4133 | return _resultobj; |
4134 | } | |
4135 | ||
4136 | #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1)) | |
efc5f224 | 4137 | static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4138 | PyObject * _resultobj; |
4139 | bool _result; | |
4140 | wxListCtrl * _arg0; | |
4141 | int _arg1; | |
4142 | int _arg2; | |
1d99702e | 4143 | PyObject * _argo0 = 0; |
efc5f224 | 4144 | char *_kwnames[] = { "self","col","width", NULL }; |
8ab979d7 RD |
4145 | |
4146 | self = self; | |
efc5f224 | 4147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 4148 | return NULL; |
1d99702e RD |
4149 | if (_argo0) { |
4150 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4151 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p."); |
4153 | return NULL; | |
4154 | } | |
4155 | } | |
cf694132 RD |
4156 | { |
4157 | wxPy_BEGIN_ALLOW_THREADS; | |
4158 | _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2); | |
4159 | ||
4160 | wxPy_END_ALLOW_THREADS; | |
4161 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4162 | return _resultobj; |
4163 | } | |
4164 | ||
4165 | #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1)) | |
efc5f224 | 4166 | static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4167 | PyObject * _resultobj; |
4168 | wxListCtrl * _arg0; | |
4169 | wxImageList * _arg1; | |
4170 | int _arg2; | |
1d99702e RD |
4171 | PyObject * _argo0 = 0; |
4172 | PyObject * _argo1 = 0; | |
efc5f224 | 4173 | char *_kwnames[] = { "self","imageList","which", NULL }; |
8ab979d7 RD |
4174 | |
4175 | self = self; | |
efc5f224 | 4176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2)) |
8ab979d7 | 4177 | return NULL; |
1d99702e RD |
4178 | if (_argo0) { |
4179 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4180 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4181 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p."); |
4182 | return NULL; | |
4183 | } | |
4184 | } | |
1d99702e RD |
4185 | if (_argo1) { |
4186 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4187 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) { | |
8ab979d7 RD |
4188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p."); |
4189 | return NULL; | |
4190 | } | |
4191 | } | |
cf694132 RD |
4192 | { |
4193 | wxPy_BEGIN_ALLOW_THREADS; | |
4194 | wxListCtrl_SetImageList(_arg0,_arg1,_arg2); | |
4195 | ||
4196 | wxPy_END_ALLOW_THREADS; | |
4197 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4198 | _resultobj = Py_None; |
4199 | return _resultobj; | |
4200 | } | |
4201 | ||
4202 | #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0)) | |
efc5f224 | 4203 | static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4204 | PyObject * _resultobj; |
4205 | bool _result; | |
4206 | wxListCtrl * _arg0; | |
4207 | wxListItem * _arg1; | |
1d99702e RD |
4208 | PyObject * _argo0 = 0; |
4209 | PyObject * _argo1 = 0; | |
efc5f224 | 4210 | char *_kwnames[] = { "self","info", NULL }; |
8ab979d7 RD |
4211 | |
4212 | self = self; | |
efc5f224 | 4213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 4214 | return NULL; |
1d99702e RD |
4215 | if (_argo0) { |
4216 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4217 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4218 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p."); |
4219 | return NULL; | |
4220 | } | |
4221 | } | |
1d99702e RD |
4222 | if (_argo1) { |
4223 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4224 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) { | |
8ab979d7 RD |
4225 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p."); |
4226 | return NULL; | |
4227 | } | |
4228 | } | |
cf694132 RD |
4229 | { |
4230 | wxPy_BEGIN_ALLOW_THREADS; | |
4231 | _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1); | |
4232 | ||
4233 | wxPy_END_ALLOW_THREADS; | |
4234 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4235 | return _resultobj; |
4236 | } | |
4237 | ||
af309447 | 4238 | #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
efc5f224 | 4239 | static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4240 | PyObject * _resultobj; |
4241 | long _result; | |
4242 | wxListCtrl * _arg0; | |
4243 | long _arg1; | |
4244 | int _arg2; | |
4245 | wxString * _arg3; | |
1d99702e RD |
4246 | int _arg4 = (int ) -1; |
4247 | PyObject * _argo0 = 0; | |
8ab979d7 | 4248 | PyObject * _obj3 = 0; |
efc5f224 | 4249 | char *_kwnames[] = { "self","index","col","label","imageId", NULL }; |
8ab979d7 RD |
4250 | |
4251 | self = self; | |
efc5f224 | 4252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4)) |
8ab979d7 | 4253 | return NULL; |
1d99702e RD |
4254 | if (_argo0) { |
4255 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4256 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
af309447 | 4257 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p."); |
8ab979d7 RD |
4258 | return NULL; |
4259 | } | |
4260 | } | |
4261 | { | |
2cd2fac8 RD |
4262 | #if PYTHON_API_VERSION >= 1009 |
4263 | char* tmpPtr; int tmpSize; | |
4264 | if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) { | |
4265 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
4266 | return NULL; | |
4267 | } | |
4268 | if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1) | |
4269 | return NULL; | |
4270 | _arg3 = new wxString(tmpPtr, tmpSize); | |
4271 | #else | |
8ab979d7 RD |
4272 | if (!PyString_Check(_obj3)) { |
4273 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4274 | return NULL; | |
4275 | } | |
2cd2fac8 RD |
4276 | _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3)); |
4277 | #endif | |
8ab979d7 | 4278 | } |
cf694132 RD |
4279 | { |
4280 | wxPy_BEGIN_ALLOW_THREADS; | |
4281 | _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4); | |
4282 | ||
4283 | wxPy_END_ALLOW_THREADS; | |
4284 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
4285 | { |
4286 | if (_obj3) | |
4287 | delete _arg3; | |
4288 | } | |
4289 | return _resultobj; | |
4290 | } | |
4291 | ||
4292 | #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1)) | |
efc5f224 | 4293 | static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4294 | PyObject * _resultobj; |
4295 | bool _result; | |
4296 | wxListCtrl * _arg0; | |
4297 | long _arg1; | |
4298 | long _arg2; | |
1d99702e | 4299 | PyObject * _argo0 = 0; |
efc5f224 | 4300 | char *_kwnames[] = { "self","item","data", NULL }; |
8ab979d7 RD |
4301 | |
4302 | self = self; | |
efc5f224 | 4303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 4304 | return NULL; |
1d99702e RD |
4305 | if (_argo0) { |
4306 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4307 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4308 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p."); |
4309 | return NULL; | |
4310 | } | |
4311 | } | |
cf694132 RD |
4312 | { |
4313 | wxPy_BEGIN_ALLOW_THREADS; | |
4314 | _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2); | |
4315 | ||
4316 | wxPy_END_ALLOW_THREADS; | |
4317 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4318 | return _resultobj; |
4319 | } | |
4320 | ||
4321 | #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 4322 | static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4323 | PyObject * _resultobj; |
4324 | bool _result; | |
4325 | wxListCtrl * _arg0; | |
4326 | long _arg1; | |
4327 | int _arg2; | |
4328 | int _arg3; | |
1d99702e | 4329 | PyObject * _argo0 = 0; |
efc5f224 | 4330 | char *_kwnames[] = { "self","item","image","selImage", NULL }; |
8ab979d7 RD |
4331 | |
4332 | self = self; | |
efc5f224 | 4333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
8ab979d7 | 4334 | return NULL; |
1d99702e RD |
4335 | if (_argo0) { |
4336 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4337 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4338 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p."); |
4339 | return NULL; | |
4340 | } | |
4341 | } | |
cf694132 RD |
4342 | { |
4343 | wxPy_BEGIN_ALLOW_THREADS; | |
4344 | _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3); | |
4345 | ||
4346 | wxPy_END_ALLOW_THREADS; | |
4347 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4348 | return _resultobj; |
4349 | } | |
4350 | ||
4351 | #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1)) | |
efc5f224 | 4352 | static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4353 | PyObject * _resultobj; |
4354 | bool _result; | |
4355 | wxListCtrl * _arg0; | |
4356 | long _arg1; | |
4357 | wxPoint * _arg2; | |
1d99702e | 4358 | PyObject * _argo0 = 0; |
2f90df85 RD |
4359 | wxPoint temp; |
4360 | PyObject * _obj2 = 0; | |
efc5f224 | 4361 | char *_kwnames[] = { "self","item","pos", NULL }; |
8ab979d7 RD |
4362 | |
4363 | self = self; | |
2f90df85 | 4364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2)) |
8ab979d7 | 4365 | return NULL; |
1d99702e RD |
4366 | if (_argo0) { |
4367 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4368 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4369 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p."); |
4370 | return NULL; | |
4371 | } | |
4372 | } | |
2f90df85 RD |
4373 | { |
4374 | _arg2 = &temp; | |
4375 | if (! wxPoint_helper(_obj2, &_arg2)) | |
8ab979d7 | 4376 | return NULL; |
2f90df85 | 4377 | } |
cf694132 RD |
4378 | { |
4379 | wxPy_BEGIN_ALLOW_THREADS; | |
4380 | _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2); | |
4381 | ||
4382 | wxPy_END_ALLOW_THREADS; | |
4383 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4384 | return _resultobj; |
4385 | } | |
4386 | ||
4387 | #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 4388 | static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4389 | PyObject * _resultobj; |
4390 | bool _result; | |
4391 | wxListCtrl * _arg0; | |
4392 | long _arg1; | |
4393 | long _arg2; | |
4394 | long _arg3; | |
1d99702e | 4395 | PyObject * _argo0 = 0; |
efc5f224 | 4396 | char *_kwnames[] = { "self","item","state","stateMask", NULL }; |
8ab979d7 RD |
4397 | |
4398 | self = self; | |
efc5f224 | 4399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
8ab979d7 | 4400 | return NULL; |
1d99702e RD |
4401 | if (_argo0) { |
4402 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4403 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4404 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p."); |
4405 | return NULL; | |
4406 | } | |
4407 | } | |
cf694132 RD |
4408 | { |
4409 | wxPy_BEGIN_ALLOW_THREADS; | |
4410 | _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3); | |
4411 | ||
4412 | wxPy_END_ALLOW_THREADS; | |
4413 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4414 | return _resultobj; |
4415 | } | |
4416 | ||
4417 | #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1)) | |
efc5f224 | 4418 | static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4419 | PyObject * _resultobj; |
4420 | wxListCtrl * _arg0; | |
4421 | long _arg1; | |
4422 | wxString * _arg2; | |
1d99702e | 4423 | PyObject * _argo0 = 0; |
8ab979d7 | 4424 | PyObject * _obj2 = 0; |
efc5f224 | 4425 | char *_kwnames[] = { "self","item","text", NULL }; |
8ab979d7 RD |
4426 | |
4427 | self = self; | |
efc5f224 | 4428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2)) |
8ab979d7 | 4429 | return NULL; |
1d99702e RD |
4430 | if (_argo0) { |
4431 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4432 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4433 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p."); |
4434 | return NULL; | |
4435 | } | |
4436 | } | |
4437 | { | |
2cd2fac8 RD |
4438 | #if PYTHON_API_VERSION >= 1009 |
4439 | char* tmpPtr; int tmpSize; | |
4440 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
4441 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
4442 | return NULL; | |
4443 | } | |
4444 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
4445 | return NULL; | |
4446 | _arg2 = new wxString(tmpPtr, tmpSize); | |
4447 | #else | |
8ab979d7 RD |
4448 | if (!PyString_Check(_obj2)) { |
4449 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4450 | return NULL; | |
4451 | } | |
2cd2fac8 RD |
4452 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
4453 | #endif | |
8ab979d7 | 4454 | } |
cf694132 RD |
4455 | { |
4456 | wxPy_BEGIN_ALLOW_THREADS; | |
4457 | wxListCtrl_SetItemText(_arg0,_arg1,*_arg2); | |
4458 | ||
4459 | wxPy_END_ALLOW_THREADS; | |
4460 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4461 | _resultobj = Py_None; |
4462 | { | |
4463 | if (_obj2) | |
4464 | delete _arg2; | |
4465 | } | |
4466 | return _resultobj; | |
4467 | } | |
4468 | ||
4469 | #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1)) | |
efc5f224 | 4470 | static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4471 | PyObject * _resultobj; |
4472 | wxListCtrl * _arg0; | |
4473 | long _arg1; | |
1d99702e RD |
4474 | bool _arg2 = (bool ) TRUE; |
4475 | PyObject * _argo0 = 0; | |
4476 | int tempbool2 = (int) TRUE; | |
efc5f224 | 4477 | char *_kwnames[] = { "self","style","add", NULL }; |
8ab979d7 RD |
4478 | |
4479 | self = self; | |
efc5f224 | 4480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2)) |
8ab979d7 | 4481 | return NULL; |
1d99702e RD |
4482 | if (_argo0) { |
4483 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4484 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4485 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p."); |
4486 | return NULL; | |
4487 | } | |
4488 | } | |
4489 | _arg2 = (bool ) tempbool2; | |
cf694132 RD |
4490 | { |
4491 | wxPy_BEGIN_ALLOW_THREADS; | |
4492 | wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2); | |
4493 | ||
4494 | wxPy_END_ALLOW_THREADS; | |
4495 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4496 | _resultobj = Py_None; |
4497 | return _resultobj; | |
4498 | } | |
4499 | ||
8ab979d7 | 4500 | #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0)) |
efc5f224 | 4501 | static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4502 | PyObject * _resultobj; |
4503 | wxListCtrl * _arg0; | |
4504 | long _arg1; | |
1d99702e | 4505 | PyObject * _argo0 = 0; |
efc5f224 | 4506 | char *_kwnames[] = { "self","style", NULL }; |
8ab979d7 RD |
4507 | |
4508 | self = self; | |
efc5f224 | 4509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 4510 | return NULL; |
1d99702e RD |
4511 | if (_argo0) { |
4512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p."); |
4515 | return NULL; | |
4516 | } | |
4517 | } | |
cf694132 RD |
4518 | { |
4519 | wxPy_BEGIN_ALLOW_THREADS; | |
4520 | wxListCtrl_SetWindowStyleFlag(_arg0,_arg1); | |
4521 | ||
4522 | wxPy_END_ALLOW_THREADS; | |
4523 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4524 | _resultobj = Py_None; |
4525 | return _resultobj; | |
4526 | } | |
4527 | ||
dcd38683 RD |
4528 | static bool wxListCtrl_SortItems(wxListCtrl *self,PyObject * func) { |
4529 | if (!PyCallable_Check(func)) | |
4530 | return FALSE; | |
4531 | ||
f6bcfd97 | 4532 | return self->SortItems(wxPyListCtrl_SortItems, (long)func); |
dcd38683 RD |
4533 | } |
4534 | static PyObject *_wrap_wxListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4535 | PyObject * _resultobj; | |
4536 | bool _result; | |
4537 | wxListCtrl * _arg0; | |
4538 | PyObject * _arg1; | |
4539 | PyObject * _argo0 = 0; | |
4540 | PyObject * _obj1 = 0; | |
4541 | char *_kwnames[] = { "self","func", NULL }; | |
4542 | ||
4543 | self = self; | |
4544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SortItems",_kwnames,&_argo0,&_obj1)) | |
4545 | return NULL; | |
4546 | if (_argo0) { | |
4547 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4548 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
4549 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxListCtrl_p."); | |
4550 | return NULL; | |
4551 | } | |
4552 | } | |
4553 | { | |
4554 | _arg1 = _obj1; | |
4555 | } | |
4556 | { | |
4557 | wxPy_BEGIN_ALLOW_THREADS; | |
4558 | _result = (bool )wxListCtrl_SortItems(_arg0,_arg1); | |
4559 | ||
4560 | wxPy_END_ALLOW_THREADS; | |
4561 | } _resultobj = Py_BuildValue("i",_result); | |
4562 | return _resultobj; | |
4563 | } | |
4564 | ||
d5c9047a | 4565 | #define new_wxTreeItemId() (new wxTreeItemId()) |
efc5f224 | 4566 | static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4567 | PyObject * _resultobj; |
d5c9047a | 4568 | wxTreeItemId * _result; |
efc5f224 | 4569 | char *_kwnames[] = { NULL }; |
d5c9047a | 4570 | char _ptemp[128]; |
8ab979d7 RD |
4571 | |
4572 | self = self; | |
efc5f224 | 4573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames)) |
8ab979d7 | 4574 | return NULL; |
cf694132 RD |
4575 | { |
4576 | wxPy_BEGIN_ALLOW_THREADS; | |
4577 | _result = (wxTreeItemId *)new_wxTreeItemId(); | |
4578 | ||
4579 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
4580 | } if (_result) { |
4581 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p"); | |
4582 | _resultobj = Py_BuildValue("s",_ptemp); | |
4583 | } else { | |
4584 | Py_INCREF(Py_None); | |
4585 | _resultobj = Py_None; | |
4586 | } | |
8ab979d7 RD |
4587 | return _resultobj; |
4588 | } | |
4589 | ||
d5c9047a | 4590 | #define delete_wxTreeItemId(_swigobj) (delete _swigobj) |
efc5f224 | 4591 | static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4592 | PyObject * _resultobj; |
d5c9047a | 4593 | wxTreeItemId * _arg0; |
1d99702e | 4594 | PyObject * _argo0 = 0; |
efc5f224 | 4595 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4596 | |
4597 | self = self; | |
efc5f224 | 4598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0)) |
8ab979d7 | 4599 | return NULL; |
1d99702e RD |
4600 | if (_argo0) { |
4601 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4602 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) { | |
d5c9047a | 4603 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p."); |
8ab979d7 RD |
4604 | return NULL; |
4605 | } | |
4606 | } | |
cf694132 RD |
4607 | { |
4608 | wxPy_BEGIN_ALLOW_THREADS; | |
4609 | delete_wxTreeItemId(_arg0); | |
4610 | ||
4611 | wxPy_END_ALLOW_THREADS; | |
4612 | } Py_INCREF(Py_None); | |
d5c9047a | 4613 | _resultobj = Py_None; |
8ab979d7 RD |
4614 | return _resultobj; |
4615 | } | |
4616 | ||
d5c9047a | 4617 | #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk()) |
efc5f224 | 4618 | static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4619 | PyObject * _resultobj; |
d5c9047a RD |
4620 | bool _result; |
4621 | wxTreeItemId * _arg0; | |
1d99702e | 4622 | PyObject * _argo0 = 0; |
efc5f224 | 4623 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4624 | |
4625 | self = self; | |
efc5f224 | 4626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0)) |
8ab979d7 | 4627 | return NULL; |
1d99702e RD |
4628 | if (_argo0) { |
4629 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4630 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) { | |
d5c9047a | 4631 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p."); |
8ab979d7 RD |
4632 | return NULL; |
4633 | } | |
4634 | } | |
cf694132 RD |
4635 | { |
4636 | wxPy_BEGIN_ALLOW_THREADS; | |
4637 | _result = (bool )wxTreeItemId_IsOk(_arg0); | |
4638 | ||
4639 | wxPy_END_ALLOW_THREADS; | |
4640 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4641 | return _resultobj; |
4642 | } | |
4643 | ||
f6bcfd97 | 4644 | static int wxTreeItemId___cmp__(wxTreeItemId *self,wxTreeItemId * other) { |
c368d904 | 4645 | if (! other) return -1; |
f6bcfd97 BP |
4646 | return *self != *other; |
4647 | } | |
4648 | static PyObject *_wrap_wxTreeItemId___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4649 | PyObject * _resultobj; | |
4650 | int _result; | |
4651 | wxTreeItemId * _arg0; | |
4652 | wxTreeItemId * _arg1; | |
4653 | PyObject * _argo0 = 0; | |
4654 | PyObject * _argo1 = 0; | |
4655 | char *_kwnames[] = { "self","other", NULL }; | |
4656 | ||
4657 | self = self; | |
4658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemId___cmp__",_kwnames,&_argo0,&_argo1)) | |
4659 | return NULL; | |
4660 | if (_argo0) { | |
4661 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4662 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) { | |
4663 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p."); | |
4664 | return NULL; | |
4665 | } | |
4666 | } | |
4667 | if (_argo1) { | |
4668 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4669 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
4670 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p."); | |
4671 | return NULL; | |
4672 | } | |
4673 | } | |
4674 | { | |
4675 | wxPy_BEGIN_ALLOW_THREADS; | |
4676 | _result = (int )wxTreeItemId___cmp__(_arg0,_arg1); | |
4677 | ||
4678 | wxPy_END_ALLOW_THREADS; | |
4679 | } _resultobj = Py_BuildValue("i",_result); | |
4680 | return _resultobj; | |
4681 | } | |
4682 | ||
cf694132 | 4683 | #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0)) |
efc5f224 | 4684 | static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4685 | PyObject * _resultobj; |
cf694132 | 4686 | wxPyTreeItemData * _result; |
1d99702e | 4687 | PyObject * _arg0 = (PyObject *) NULL; |
cf694132 | 4688 | PyObject * _obj0 = 0; |
efc5f224 | 4689 | char *_kwnames[] = { "obj", NULL }; |
d5c9047a | 4690 | char _ptemp[128]; |
8ab979d7 RD |
4691 | |
4692 | self = self; | |
efc5f224 | 4693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0)) |
8ab979d7 | 4694 | return NULL; |
cf694132 RD |
4695 | if (_obj0) |
4696 | { | |
4697 | _arg0 = _obj0; | |
4698 | } | |
4699 | { | |
4700 | wxPy_BEGIN_ALLOW_THREADS; | |
4701 | _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0); | |
4702 | ||
4703 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
4704 | } if (_result) { |
4705 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p"); | |
4706 | _resultobj = Py_BuildValue("s",_ptemp); | |
4707 | } else { | |
4708 | Py_INCREF(Py_None); | |
4709 | _resultobj = Py_None; | |
4710 | } | |
8ab979d7 RD |
4711 | return _resultobj; |
4712 | } | |
4713 | ||
cf694132 | 4714 | #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData()) |
efc5f224 | 4715 | static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 RD |
4716 | PyObject * _resultobj; |
4717 | PyObject * _result; | |
4718 | wxPyTreeItemData * _arg0; | |
1d99702e | 4719 | PyObject * _argo0 = 0; |
efc5f224 | 4720 | char *_kwnames[] = { "self", NULL }; |
cf694132 RD |
4721 | |
4722 | self = self; | |
efc5f224 | 4723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0)) |
cf694132 | 4724 | return NULL; |
1d99702e RD |
4725 | if (_argo0) { |
4726 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4727 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) { | |
cf694132 RD |
4728 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p."); |
4729 | return NULL; | |
4730 | } | |
4731 | } | |
4732 | { | |
4733 | wxPy_BEGIN_ALLOW_THREADS; | |
4734 | _result = (PyObject *)wxTreeItemData_GetData(_arg0); | |
4735 | ||
4736 | wxPy_END_ALLOW_THREADS; | |
4737 | }{ | |
4738 | _resultobj = _result; | |
4739 | } | |
4740 | return _resultobj; | |
4741 | } | |
4742 | ||
4743 | #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0)) | |
efc5f224 | 4744 | static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4745 | PyObject * _resultobj; |
cf694132 RD |
4746 | wxPyTreeItemData * _arg0; |
4747 | PyObject * _arg1; | |
1d99702e | 4748 | PyObject * _argo0 = 0; |
cf694132 | 4749 | PyObject * _obj1 = 0; |
efc5f224 | 4750 | char *_kwnames[] = { "self","obj", NULL }; |
8ab979d7 RD |
4751 | |
4752 | self = self; | |
efc5f224 | 4753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1)) |
8ab979d7 | 4754 | return NULL; |
1d99702e RD |
4755 | if (_argo0) { |
4756 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4757 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) { | |
cf694132 | 4758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p."); |
8ab979d7 RD |
4759 | return NULL; |
4760 | } | |
4761 | } | |
cf694132 RD |
4762 | { |
4763 | _arg1 = _obj1; | |
4764 | } | |
4765 | { | |
4766 | wxPy_BEGIN_ALLOW_THREADS; | |
4767 | wxTreeItemData_SetData(_arg0,_arg1); | |
4768 | ||
4769 | wxPy_END_ALLOW_THREADS; | |
4770 | } Py_INCREF(Py_None); | |
d5c9047a | 4771 | _resultobj = Py_None; |
8ab979d7 RD |
4772 | return _resultobj; |
4773 | } | |
4774 | ||
630d84f2 | 4775 | #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId()) |
efc5f224 | 4776 | static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4777 | PyObject * _resultobj; |
d5c9047a | 4778 | wxTreeItemId * _result; |
cf694132 | 4779 | wxPyTreeItemData * _arg0; |
1d99702e | 4780 | PyObject * _argo0 = 0; |
efc5f224 | 4781 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4782 | char _ptemp[128]; |
4783 | ||
4784 | self = self; | |
efc5f224 | 4785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0)) |
8ab979d7 | 4786 | return NULL; |
1d99702e RD |
4787 | if (_argo0) { |
4788 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4789 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) { | |
cf694132 | 4790 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p."); |
8ab979d7 RD |
4791 | return NULL; |
4792 | } | |
4793 | } | |
cf694132 RD |
4794 | { |
4795 | wxPy_BEGIN_ALLOW_THREADS; | |
4796 | const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0); | |
d5c9047a | 4797 | _result = (wxTreeItemId *) &_result_ref; |
cf694132 RD |
4798 | |
4799 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
4800 | } if (_result) { |
4801 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p"); | |
4802 | _resultobj = Py_BuildValue("s",_ptemp); | |
4803 | } else { | |
4804 | Py_INCREF(Py_None); | |
4805 | _resultobj = Py_None; | |
4806 | } | |
8ab979d7 RD |
4807 | return _resultobj; |
4808 | } | |
4809 | ||
630d84f2 | 4810 | #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0)) |
efc5f224 | 4811 | static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { |
630d84f2 | 4812 | PyObject * _resultobj; |
cf694132 | 4813 | wxPyTreeItemData * _arg0; |
630d84f2 | 4814 | wxTreeItemId * _arg1; |
1d99702e RD |
4815 | PyObject * _argo0 = 0; |
4816 | PyObject * _argo1 = 0; | |
efc5f224 | 4817 | char *_kwnames[] = { "self","id", NULL }; |
630d84f2 RD |
4818 | |
4819 | self = self; | |
efc5f224 | 4820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1)) |
630d84f2 | 4821 | return NULL; |
1d99702e RD |
4822 | if (_argo0) { |
4823 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4824 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) { | |
cf694132 | 4825 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p."); |
630d84f2 RD |
4826 | return NULL; |
4827 | } | |
4828 | } | |
1d99702e RD |
4829 | if (_argo1) { |
4830 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4831 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
630d84f2 RD |
4832 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p."); |
4833 | return NULL; | |
4834 | } | |
4835 | } | |
cf694132 RD |
4836 | { |
4837 | wxPy_BEGIN_ALLOW_THREADS; | |
4838 | wxTreeItemData_SetId(_arg0,*_arg1); | |
4839 | ||
4840 | wxPy_END_ALLOW_THREADS; | |
4841 | } Py_INCREF(Py_None); | |
630d84f2 RD |
4842 | _resultobj = Py_None; |
4843 | return _resultobj; | |
4844 | } | |
4845 | ||
8bf5d46e RD |
4846 | static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) { |
4847 | wxTreeEvent *src; | |
4848 | wxNotifyEvent *dest; | |
4849 | src = (wxTreeEvent *) ptr; | |
4850 | dest = (wxNotifyEvent *) src; | |
4851 | return (void *) dest; | |
4852 | } | |
4853 | ||
8ab979d7 RD |
4854 | static void *SwigwxTreeEventTowxCommandEvent(void *ptr) { |
4855 | wxTreeEvent *src; | |
4856 | wxCommandEvent *dest; | |
4857 | src = (wxTreeEvent *) ptr; | |
4858 | dest = (wxCommandEvent *) src; | |
4859 | return (void *) dest; | |
4860 | } | |
4861 | ||
4862 | static void *SwigwxTreeEventTowxEvent(void *ptr) { | |
4863 | wxTreeEvent *src; | |
4864 | wxEvent *dest; | |
4865 | src = (wxTreeEvent *) ptr; | |
4866 | dest = (wxEvent *) src; | |
4867 | return (void *) dest; | |
4868 | } | |
4869 | ||
d5c9047a | 4870 | #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem()) |
efc5f224 | 4871 | static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4872 | PyObject * _resultobj; |
d5c9047a | 4873 | wxTreeItemId * _result; |
8ab979d7 | 4874 | wxTreeEvent * _arg0; |
1d99702e | 4875 | PyObject * _argo0 = 0; |
efc5f224 | 4876 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 4877 | char _ptemp[128]; |
8ab979d7 RD |
4878 | |
4879 | self = self; | |
efc5f224 | 4880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0)) |
8ab979d7 | 4881 | return NULL; |
1d99702e RD |
4882 | if (_argo0) { |
4883 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4884 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
d5c9047a | 4885 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p."); |
8ab979d7 RD |
4886 | return NULL; |
4887 | } | |
4888 | } | |
cf694132 RD |
4889 | { |
4890 | wxPy_BEGIN_ALLOW_THREADS; | |
4891 | _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0)); | |
4892 | ||
4893 | wxPy_END_ALLOW_THREADS; | |
4894 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 4895 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
4896 | return _resultobj; |
4897 | } | |
4898 | ||
d5c9047a | 4899 | #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem()) |
efc5f224 | 4900 | static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4901 | PyObject * _resultobj; |
d5c9047a | 4902 | wxTreeItemId * _result; |
8ab979d7 | 4903 | wxTreeEvent * _arg0; |
1d99702e | 4904 | PyObject * _argo0 = 0; |
efc5f224 | 4905 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4906 | char _ptemp[128]; |
4907 | ||
4908 | self = self; | |
efc5f224 | 4909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0)) |
8ab979d7 | 4910 | return NULL; |
1d99702e RD |
4911 | if (_argo0) { |
4912 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4913 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
d5c9047a | 4914 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p."); |
8ab979d7 RD |
4915 | return NULL; |
4916 | } | |
4917 | } | |
cf694132 RD |
4918 | { |
4919 | wxPy_BEGIN_ALLOW_THREADS; | |
4920 | _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0)); | |
4921 | ||
4922 | wxPy_END_ALLOW_THREADS; | |
4923 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
8ab979d7 RD |
4924 | _resultobj = Py_BuildValue("s",_ptemp); |
4925 | return _resultobj; | |
4926 | } | |
4927 | ||
d5c9047a | 4928 | #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint()) |
efc5f224 | 4929 | static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4930 | PyObject * _resultobj; |
d5c9047a | 4931 | wxPoint * _result; |
8ab979d7 | 4932 | wxTreeEvent * _arg0; |
1d99702e | 4933 | PyObject * _argo0 = 0; |
efc5f224 | 4934 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 4935 | char _ptemp[128]; |
8ab979d7 RD |
4936 | |
4937 | self = self; | |
efc5f224 | 4938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0)) |
8ab979d7 | 4939 | return NULL; |
1d99702e RD |
4940 | if (_argo0) { |
4941 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4942 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
d5c9047a | 4943 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p."); |
8ab979d7 RD |
4944 | return NULL; |
4945 | } | |
4946 | } | |
cf694132 RD |
4947 | { |
4948 | wxPy_BEGIN_ALLOW_THREADS; | |
4949 | _result = new wxPoint (wxTreeEvent_GetPoint(_arg0)); | |
4950 | ||
4951 | wxPy_END_ALLOW_THREADS; | |
4952 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
d5c9047a | 4953 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
4954 | return _resultobj; |
4955 | } | |
4956 | ||
d5c9047a | 4957 | #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode()) |
efc5f224 | 4958 | static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4959 | PyObject * _resultobj; |
d5c9047a | 4960 | int _result; |
8ab979d7 | 4961 | wxTreeEvent * _arg0; |
1d99702e | 4962 | PyObject * _argo0 = 0; |
efc5f224 | 4963 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4964 | |
4965 | self = self; | |
efc5f224 | 4966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetCode",_kwnames,&_argo0)) |
8ab979d7 | 4967 | return NULL; |
1d99702e RD |
4968 | if (_argo0) { |
4969 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4970 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
d5c9047a | 4971 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p."); |
8ab979d7 RD |
4972 | return NULL; |
4973 | } | |
4974 | } | |
cf694132 RD |
4975 | { |
4976 | wxPy_BEGIN_ALLOW_THREADS; | |
4977 | _result = (int )wxTreeEvent_GetCode(_arg0); | |
4978 | ||
4979 | wxPy_END_ALLOW_THREADS; | |
4980 | } _resultobj = Py_BuildValue("i",_result); | |
d5c9047a RD |
4981 | return _resultobj; |
4982 | } | |
4983 | ||
8bf5d46e | 4984 | #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel()) |
efc5f224 | 4985 | static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 4986 | PyObject * _resultobj; |
8bf5d46e | 4987 | wxString * _result; |
d5c9047a | 4988 | wxTreeEvent * _arg0; |
1d99702e | 4989 | PyObject * _argo0 = 0; |
efc5f224 | 4990 | char *_kwnames[] = { "self", NULL }; |
d5c9047a RD |
4991 | |
4992 | self = self; | |
efc5f224 | 4993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0)) |
d5c9047a | 4994 | return NULL; |
1d99702e RD |
4995 | if (_argo0) { |
4996 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4997 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
8bf5d46e | 4998 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p."); |
d5c9047a RD |
4999 | return NULL; |
5000 | } | |
5001 | } | |
cf694132 RD |
5002 | { |
5003 | wxPy_BEGIN_ALLOW_THREADS; | |
8bf5d46e RD |
5004 | const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0); |
5005 | _result = (wxString *) &_result_ref; | |
cf694132 RD |
5006 | |
5007 | wxPy_END_ALLOW_THREADS; | |
8bf5d46e | 5008 | }{ |
eec92d76 | 5009 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
8bf5d46e | 5010 | } |
8ab979d7 RD |
5011 | return _resultobj; |
5012 | } | |
5013 | ||
f6bcfd97 BP |
5014 | static void *SwigwxPyTreeCtrlTowxControl(void *ptr) { |
5015 | wxPyTreeCtrl *src; | |
8ab979d7 | 5016 | wxControl *dest; |
f6bcfd97 | 5017 | src = (wxPyTreeCtrl *) ptr; |
8ab979d7 RD |
5018 | dest = (wxControl *) src; |
5019 | return (void *) dest; | |
5020 | } | |
5021 | ||
f6bcfd97 BP |
5022 | static void *SwigwxPyTreeCtrlTowxWindow(void *ptr) { |
5023 | wxPyTreeCtrl *src; | |
8ab979d7 | 5024 | wxWindow *dest; |
f6bcfd97 | 5025 | src = (wxPyTreeCtrl *) ptr; |
8ab979d7 RD |
5026 | dest = (wxWindow *) src; |
5027 | return (void *) dest; | |
5028 | } | |
5029 | ||
f6bcfd97 BP |
5030 | static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr) { |
5031 | wxPyTreeCtrl *src; | |
8ab979d7 | 5032 | wxEvtHandler *dest; |
f6bcfd97 | 5033 | src = (wxPyTreeCtrl *) ptr; |
8ab979d7 RD |
5034 | dest = (wxEvtHandler *) src; |
5035 | return (void *) dest; | |
5036 | } | |
5037 | ||
f6bcfd97 | 5038 | #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
efc5f224 | 5039 | static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5040 | PyObject * _resultobj; |
f6bcfd97 | 5041 | wxPyTreeCtrl * _result; |
8ab979d7 | 5042 | wxWindow * _arg0; |
1d99702e RD |
5043 | wxWindowID _arg1 = (wxWindowID ) -1; |
5044 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; | |
5045 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
5046 | long _arg4 = (long ) wxTR_HAS_BUTTONS|wxTR_LINES_AT_ROOT; | |
5047 | wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator; | |
5048 | char * _arg6 = (char *) "wxTreeCtrl"; | |
5049 | PyObject * _argo0 = 0; | |
2f90df85 RD |
5050 | wxPoint temp; |
5051 | PyObject * _obj2 = 0; | |
5052 | wxSize temp0; | |
5053 | PyObject * _obj3 = 0; | |
1d99702e | 5054 | PyObject * _argo5 = 0; |
efc5f224 | 5055 | char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL }; |
8ab979d7 RD |
5056 | char _ptemp[128]; |
5057 | ||
5058 | self = self; | |
2f90df85 | 5059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6)) |
8ab979d7 | 5060 | return NULL; |
1d99702e RD |
5061 | if (_argo0) { |
5062 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5063 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
8ab979d7 RD |
5064 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p."); |
5065 | return NULL; | |
5066 | } | |
5067 | } | |
2f90df85 RD |
5068 | if (_obj2) |
5069 | { | |
5070 | _arg2 = &temp; | |
5071 | if (! wxPoint_helper(_obj2, &_arg2)) | |
8ab979d7 | 5072 | return NULL; |
2f90df85 RD |
5073 | } |
5074 | if (_obj3) | |
5075 | { | |
5076 | _arg3 = &temp0; | |
5077 | if (! wxSize_helper(_obj3, &_arg3)) | |
8ab979d7 | 5078 | return NULL; |
2f90df85 | 5079 | } |
1d99702e RD |
5080 | if (_argo5) { |
5081 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
5082 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) { | |
8ab979d7 RD |
5083 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p."); |
5084 | return NULL; | |
5085 | } | |
5086 | } | |
cf694132 RD |
5087 | { |
5088 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 5089 | _result = (wxPyTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6); |
cf694132 RD |
5090 | |
5091 | wxPy_END_ALLOW_THREADS; | |
1d99702e | 5092 | } if (_result) { |
f6bcfd97 | 5093 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p"); |
1d99702e RD |
5094 | _resultobj = Py_BuildValue("s",_ptemp); |
5095 | } else { | |
5096 | Py_INCREF(Py_None); | |
5097 | _resultobj = Py_None; | |
5098 | } | |
8ab979d7 RD |
5099 | return _resultobj; |
5100 | } | |
5101 | ||
f6bcfd97 BP |
5102 | #define wxTreeCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
5103 | static PyObject *_wrap_wxTreeCtrl__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5104 | PyObject * _resultobj; | |
5105 | wxPyTreeCtrl * _arg0; | |
5106 | PyObject * _arg1; | |
5107 | PyObject * _arg2; | |
5108 | PyObject * _argo0 = 0; | |
5109 | PyObject * _obj1 = 0; | |
5110 | PyObject * _obj2 = 0; | |
5111 | char *_kwnames[] = { "self","self","_class", NULL }; | |
5112 | ||
5113 | self = self; | |
5114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) | |
5115 | return NULL; | |
5116 | if (_argo0) { | |
5117 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5118 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { | |
5119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl__setSelf. Expected _wxPyTreeCtrl_p."); | |
5120 | return NULL; | |
5121 | } | |
5122 | } | |
5123 | { | |
5124 | _arg1 = _obj1; | |
5125 | } | |
5126 | { | |
5127 | _arg2 = _obj2; | |
5128 | } | |
5129 | { | |
5130 | wxPy_BEGIN_ALLOW_THREADS; | |
5131 | wxTreeCtrl__setSelf(_arg0,_arg1,_arg2); | |
5132 | ||
5133 | wxPy_END_ALLOW_THREADS; | |
5134 | } Py_INCREF(Py_None); | |
5135 | _resultobj = Py_None; | |
5136 | return _resultobj; | |
5137 | } | |
5138 | ||
d5c9047a | 5139 | #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount()) |
efc5f224 | 5140 | static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5141 | PyObject * _resultobj; |
c127177f | 5142 | size_t _result; |
f6bcfd97 | 5143 | wxPyTreeCtrl * _arg0; |
1d99702e | 5144 | PyObject * _argo0 = 0; |
efc5f224 | 5145 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
5146 | |
5147 | self = self; | |
efc5f224 | 5148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetCount",_kwnames,&_argo0)) |
8ab979d7 | 5149 | return NULL; |
1d99702e RD |
5150 | if (_argo0) { |
5151 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5152 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5153 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5154 | return NULL; |
5155 | } | |
5156 | } | |
cf694132 RD |
5157 | { |
5158 | wxPy_BEGIN_ALLOW_THREADS; | |
c127177f | 5159 | _result = (size_t )wxTreeCtrl_GetCount(_arg0); |
cf694132 RD |
5160 | |
5161 | wxPy_END_ALLOW_THREADS; | |
c127177f | 5162 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
5163 | return _resultobj; |
5164 | } | |
5165 | ||
d5c9047a | 5166 | #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent()) |
efc5f224 | 5167 | static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5168 | PyObject * _resultobj; |
d5c9047a | 5169 | unsigned int _result; |
f6bcfd97 | 5170 | wxPyTreeCtrl * _arg0; |
1d99702e | 5171 | PyObject * _argo0 = 0; |
efc5f224 | 5172 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
5173 | |
5174 | self = self; | |
efc5f224 | 5175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0)) |
8ab979d7 | 5176 | return NULL; |
1d99702e RD |
5177 | if (_argo0) { |
5178 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5179 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5180 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5181 | return NULL; |
5182 | } | |
5183 | } | |
cf694132 RD |
5184 | { |
5185 | wxPy_BEGIN_ALLOW_THREADS; | |
5186 | _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0); | |
5187 | ||
5188 | wxPy_END_ALLOW_THREADS; | |
5189 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
5190 | return _resultobj; |
5191 | } | |
5192 | ||
d5c9047a | 5193 | #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0)) |
efc5f224 | 5194 | static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5195 | PyObject * _resultobj; |
f6bcfd97 | 5196 | wxPyTreeCtrl * _arg0; |
d5c9047a | 5197 | unsigned int _arg1; |
1d99702e | 5198 | PyObject * _argo0 = 0; |
efc5f224 | 5199 | char *_kwnames[] = { "self","indent", NULL }; |
8ab979d7 RD |
5200 | |
5201 | self = self; | |
efc5f224 | 5202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 5203 | return NULL; |
1d99702e RD |
5204 | if (_argo0) { |
5205 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5206 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5208 | return NULL; |
5209 | } | |
5210 | } | |
cf694132 RD |
5211 | { |
5212 | wxPy_BEGIN_ALLOW_THREADS; | |
5213 | wxTreeCtrl_SetIndent(_arg0,_arg1); | |
5214 | ||
5215 | wxPy_END_ALLOW_THREADS; | |
5216 | } Py_INCREF(Py_None); | |
d5c9047a | 5217 | _resultobj = Py_None; |
8ab979d7 RD |
5218 | return _resultobj; |
5219 | } | |
5220 | ||
d5c9047a | 5221 | #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList()) |
efc5f224 | 5222 | static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5223 | PyObject * _resultobj; |
d5c9047a | 5224 | wxImageList * _result; |
f6bcfd97 | 5225 | wxPyTreeCtrl * _arg0; |
1d99702e | 5226 | PyObject * _argo0 = 0; |
efc5f224 | 5227 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 5228 | char _ptemp[128]; |
8ab979d7 RD |
5229 | |
5230 | self = self; | |
efc5f224 | 5231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0)) |
8ab979d7 | 5232 | return NULL; |
1d99702e RD |
5233 | if (_argo0) { |
5234 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5235 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5237 | return NULL; |
5238 | } | |
5239 | } | |
cf694132 RD |
5240 | { |
5241 | wxPy_BEGIN_ALLOW_THREADS; | |
5242 | _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0); | |
5243 | ||
5244 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
5245 | } if (_result) { |
5246 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p"); | |
5247 | _resultobj = Py_BuildValue("s",_ptemp); | |
5248 | } else { | |
5249 | Py_INCREF(Py_None); | |
5250 | _resultobj = Py_None; | |
5251 | } | |
8ab979d7 RD |
5252 | return _resultobj; |
5253 | } | |
5254 | ||
d5c9047a | 5255 | #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList()) |
efc5f224 | 5256 | static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5257 | PyObject * _resultobj; |
d5c9047a | 5258 | wxImageList * _result; |
f6bcfd97 | 5259 | wxPyTreeCtrl * _arg0; |
1d99702e | 5260 | PyObject * _argo0 = 0; |
efc5f224 | 5261 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 5262 | char _ptemp[128]; |
8ab979d7 RD |
5263 | |
5264 | self = self; | |
efc5f224 | 5265 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0)) |
8ab979d7 | 5266 | return NULL; |
1d99702e RD |
5267 | if (_argo0) { |
5268 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5269 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5271 | return NULL; |
5272 | } | |
5273 | } | |
cf694132 RD |
5274 | { |
5275 | wxPy_BEGIN_ALLOW_THREADS; | |
5276 | _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0); | |
5277 | ||
5278 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
5279 | } if (_result) { |
5280 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p"); | |
5281 | _resultobj = Py_BuildValue("s",_ptemp); | |
5282 | } else { | |
5283 | Py_INCREF(Py_None); | |
5284 | _resultobj = Py_None; | |
5285 | } | |
8ab979d7 RD |
5286 | return _resultobj; |
5287 | } | |
5288 | ||
d5c9047a | 5289 | #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0)) |
efc5f224 | 5290 | static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5291 | PyObject * _resultobj; |
f6bcfd97 | 5292 | wxPyTreeCtrl * _arg0; |
d5c9047a | 5293 | wxImageList * _arg1; |
1d99702e RD |
5294 | PyObject * _argo0 = 0; |
5295 | PyObject * _argo1 = 0; | |
efc5f224 | 5296 | char *_kwnames[] = { "self","imageList", NULL }; |
8ab979d7 RD |
5297 | |
5298 | self = self; | |
efc5f224 | 5299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetImageList",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 5300 | return NULL; |
1d99702e RD |
5301 | if (_argo0) { |
5302 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5303 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5304 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5305 | return NULL; |
5306 | } | |
5307 | } | |
1d99702e RD |
5308 | if (_argo1) { |
5309 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5310 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) { | |
d5c9047a RD |
5311 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p."); |
5312 | return NULL; | |
5313 | } | |
5314 | } | |
cf694132 RD |
5315 | { |
5316 | wxPy_BEGIN_ALLOW_THREADS; | |
5317 | wxTreeCtrl_SetImageList(_arg0,_arg1); | |
5318 | ||
5319 | wxPy_END_ALLOW_THREADS; | |
5320 | } Py_INCREF(Py_None); | |
d5c9047a | 5321 | _resultobj = Py_None; |
8ab979d7 RD |
5322 | return _resultobj; |
5323 | } | |
5324 | ||
d5c9047a | 5325 | #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0)) |
efc5f224 | 5326 | static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5327 | PyObject * _resultobj; |
f6bcfd97 | 5328 | wxPyTreeCtrl * _arg0; |
d5c9047a | 5329 | wxImageList * _arg1; |
1d99702e RD |
5330 | PyObject * _argo0 = 0; |
5331 | PyObject * _argo1 = 0; | |
efc5f224 | 5332 | char *_kwnames[] = { "self","imageList", NULL }; |
8ab979d7 RD |
5333 | |
5334 | self = self; | |
efc5f224 | 5335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 5336 | return NULL; |
1d99702e RD |
5337 | if (_argo0) { |
5338 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5339 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5340 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5341 | return NULL; |
5342 | } | |
5343 | } | |
1d99702e RD |
5344 | if (_argo1) { |
5345 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5346 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) { | |
d5c9047a RD |
5347 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p."); |
5348 | return NULL; | |
5349 | } | |
5350 | } | |
cf694132 RD |
5351 | { |
5352 | wxPy_BEGIN_ALLOW_THREADS; | |
5353 | wxTreeCtrl_SetStateImageList(_arg0,_arg1); | |
5354 | ||
5355 | wxPy_END_ALLOW_THREADS; | |
5356 | } Py_INCREF(Py_None); | |
d5c9047a | 5357 | _resultobj = Py_None; |
8ab979d7 RD |
5358 | return _resultobj; |
5359 | } | |
5360 | ||
b1462dfa RD |
5361 | #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing()) |
5362 | static PyObject *_wrap_wxTreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5363 | PyObject * _resultobj; | |
5364 | unsigned int _result; | |
f6bcfd97 | 5365 | wxPyTreeCtrl * _arg0; |
b1462dfa RD |
5366 | PyObject * _argo0 = 0; |
5367 | char *_kwnames[] = { "self", NULL }; | |
5368 | ||
5369 | self = self; | |
5370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSpacing",_kwnames,&_argo0)) | |
5371 | return NULL; | |
5372 | if (_argo0) { | |
5373 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5374 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5375 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p."); | |
b1462dfa RD |
5376 | return NULL; |
5377 | } | |
5378 | } | |
5379 | { | |
5380 | wxPy_BEGIN_ALLOW_THREADS; | |
5381 | _result = (unsigned int )wxTreeCtrl_GetSpacing(_arg0); | |
5382 | ||
5383 | wxPy_END_ALLOW_THREADS; | |
5384 | } _resultobj = Py_BuildValue("i",_result); | |
5385 | return _resultobj; | |
5386 | } | |
5387 | ||
5388 | #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0)) | |
5389 | static PyObject *_wrap_wxTreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5390 | PyObject * _resultobj; | |
f6bcfd97 | 5391 | wxPyTreeCtrl * _arg0; |
b1462dfa RD |
5392 | unsigned int _arg1; |
5393 | PyObject * _argo0 = 0; | |
5394 | char *_kwnames[] = { "self","spacing", NULL }; | |
5395 | ||
5396 | self = self; | |
5397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetSpacing",_kwnames,&_argo0,&_arg1)) | |
5398 | return NULL; | |
5399 | if (_argo0) { | |
5400 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5401 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p."); | |
b1462dfa RD |
5403 | return NULL; |
5404 | } | |
5405 | } | |
5406 | { | |
5407 | wxPy_BEGIN_ALLOW_THREADS; | |
5408 | wxTreeCtrl_SetSpacing(_arg0,_arg1); | |
5409 | ||
5410 | wxPy_END_ALLOW_THREADS; | |
5411 | } Py_INCREF(Py_None); | |
5412 | _resultobj = Py_None; | |
5413 | return _resultobj; | |
5414 | } | |
5415 | ||
d5c9047a | 5416 | #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0)) |
efc5f224 | 5417 | static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5418 | PyObject * _resultobj; |
d5c9047a | 5419 | wxString * _result; |
f6bcfd97 | 5420 | wxPyTreeCtrl * _arg0; |
d5c9047a | 5421 | wxTreeItemId * _arg1; |
1d99702e RD |
5422 | PyObject * _argo0 = 0; |
5423 | PyObject * _argo1 = 0; | |
efc5f224 | 5424 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
5425 | |
5426 | self = self; | |
efc5f224 | 5427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 5428 | return NULL; |
1d99702e RD |
5429 | if (_argo0) { |
5430 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5431 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5432 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5433 | return NULL; |
5434 | } | |
5435 | } | |
1d99702e RD |
5436 | if (_argo1) { |
5437 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5438 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5439 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p."); |
5440 | return NULL; | |
5441 | } | |
5442 | } | |
d5c9047a | 5443 | { |
cf694132 RD |
5444 | wxPy_BEGIN_ALLOW_THREADS; |
5445 | _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1)); | |
5446 | ||
5447 | wxPy_END_ALLOW_THREADS; | |
5448 | }{ | |
eec92d76 | 5449 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
d5c9047a RD |
5450 | } |
5451 | { | |
5452 | delete _result; | |
5453 | } | |
8ab979d7 RD |
5454 | return _resultobj; |
5455 | } | |
5456 | ||
694759cf | 5457 | #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1)) |
efc5f224 | 5458 | static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5459 | PyObject * _resultobj; |
d5c9047a | 5460 | int _result; |
f6bcfd97 | 5461 | wxPyTreeCtrl * _arg0; |
d5c9047a | 5462 | wxTreeItemId * _arg1; |
694759cf | 5463 | wxTreeItemIcon _arg2 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal); |
1d99702e RD |
5464 | PyObject * _argo0 = 0; |
5465 | PyObject * _argo1 = 0; | |
694759cf | 5466 | char *_kwnames[] = { "self","item","which", NULL }; |
8ab979d7 RD |
5467 | |
5468 | self = self; | |
694759cf | 5469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2)) |
8ab979d7 | 5470 | return NULL; |
1d99702e RD |
5471 | if (_argo0) { |
5472 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5473 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5474 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5475 | return NULL; |
5476 | } | |
5477 | } | |
1d99702e RD |
5478 | if (_argo1) { |
5479 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5480 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p."); |
5482 | return NULL; | |
5483 | } | |
5484 | } | |
cf694132 RD |
5485 | { |
5486 | wxPy_BEGIN_ALLOW_THREADS; | |
694759cf | 5487 | _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1,_arg2); |
cf694132 RD |
5488 | |
5489 | wxPy_END_ALLOW_THREADS; | |
5490 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
5491 | return _resultobj; |
5492 | } | |
5493 | ||
d5c9047a | 5494 | #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0)) |
efc5f224 | 5495 | static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5496 | PyObject * _resultobj; |
d5c9047a | 5497 | int _result; |
f6bcfd97 | 5498 | wxPyTreeCtrl * _arg0; |
d5c9047a | 5499 | wxTreeItemId * _arg1; |
1d99702e RD |
5500 | PyObject * _argo0 = 0; |
5501 | PyObject * _argo1 = 0; | |
efc5f224 | 5502 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
5503 | |
5504 | self = self; | |
efc5f224 | 5505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 5506 | return NULL; |
1d99702e RD |
5507 | if (_argo0) { |
5508 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5509 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5510 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5511 | return NULL; |
5512 | } | |
5513 | } | |
1d99702e RD |
5514 | if (_argo1) { |
5515 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5516 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5517 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p."); |
5518 | return NULL; | |
5519 | } | |
5520 | } | |
cf694132 RD |
5521 | { |
5522 | wxPy_BEGIN_ALLOW_THREADS; | |
5523 | _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1); | |
8ab979d7 | 5524 | |
cf694132 RD |
5525 | wxPy_END_ALLOW_THREADS; |
5526 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
5527 | return _resultobj; |
5528 | } | |
5529 | ||
d5c9047a | 5530 | #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1)) |
efc5f224 | 5531 | static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5532 | PyObject * _resultobj; |
f6bcfd97 | 5533 | wxPyTreeCtrl * _arg0; |
d5c9047a RD |
5534 | wxTreeItemId * _arg1; |
5535 | wxString * _arg2; | |
1d99702e RD |
5536 | PyObject * _argo0 = 0; |
5537 | PyObject * _argo1 = 0; | |
d5c9047a | 5538 | PyObject * _obj2 = 0; |
efc5f224 | 5539 | char *_kwnames[] = { "self","item","text", NULL }; |
8ab979d7 RD |
5540 | |
5541 | self = self; | |
efc5f224 | 5542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2)) |
8ab979d7 | 5543 | return NULL; |
1d99702e RD |
5544 | if (_argo0) { |
5545 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5546 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5547 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5548 | return NULL; |
5549 | } | |
5550 | } | |
1d99702e RD |
5551 | if (_argo1) { |
5552 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5553 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5554 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p."); |
5555 | return NULL; | |
5556 | } | |
5557 | } | |
5558 | { | |
2cd2fac8 RD |
5559 | #if PYTHON_API_VERSION >= 1009 |
5560 | char* tmpPtr; int tmpSize; | |
5561 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
5562 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5563 | return NULL; | |
5564 | } | |
5565 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
5566 | return NULL; | |
5567 | _arg2 = new wxString(tmpPtr, tmpSize); | |
5568 | #else | |
d5c9047a RD |
5569 | if (!PyString_Check(_obj2)) { |
5570 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5571 | return NULL; | |
5572 | } | |
2cd2fac8 RD |
5573 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
5574 | #endif | |
d5c9047a | 5575 | } |
cf694132 RD |
5576 | { |
5577 | wxPy_BEGIN_ALLOW_THREADS; | |
5578 | wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2); | |
5579 | ||
5580 | wxPy_END_ALLOW_THREADS; | |
5581 | } Py_INCREF(Py_None); | |
d5c9047a RD |
5582 | _resultobj = Py_None; |
5583 | { | |
5584 | if (_obj2) | |
5585 | delete _arg2; | |
5586 | } | |
8ab979d7 RD |
5587 | return _resultobj; |
5588 | } | |
5589 | ||
694759cf | 5590 | #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2)) |
efc5f224 | 5591 | static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5592 | PyObject * _resultobj; |
f6bcfd97 | 5593 | wxPyTreeCtrl * _arg0; |
d5c9047a RD |
5594 | wxTreeItemId * _arg1; |
5595 | int _arg2; | |
694759cf | 5596 | wxTreeItemIcon _arg3 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal); |
1d99702e RD |
5597 | PyObject * _argo0 = 0; |
5598 | PyObject * _argo1 = 0; | |
694759cf | 5599 | char *_kwnames[] = { "self","item","image","which", NULL }; |
8ab979d7 RD |
5600 | |
5601 | self = self; | |
694759cf | 5602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) |
8ab979d7 | 5603 | return NULL; |
1d99702e RD |
5604 | if (_argo0) { |
5605 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5606 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5607 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5608 | return NULL; |
5609 | } | |
5610 | } | |
1d99702e RD |
5611 | if (_argo1) { |
5612 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5613 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5614 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p."); |
5615 | return NULL; | |
5616 | } | |
5617 | } | |
cf694132 RD |
5618 | { |
5619 | wxPy_BEGIN_ALLOW_THREADS; | |
694759cf | 5620 | wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3); |
cf694132 RD |
5621 | |
5622 | wxPy_END_ALLOW_THREADS; | |
5623 | } Py_INCREF(Py_None); | |
d5c9047a | 5624 | _resultobj = Py_None; |
8ab979d7 RD |
5625 | return _resultobj; |
5626 | } | |
5627 | ||
d5c9047a | 5628 | #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1)) |
efc5f224 | 5629 | static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5630 | PyObject * _resultobj; |
f6bcfd97 | 5631 | wxPyTreeCtrl * _arg0; |
d5c9047a RD |
5632 | wxTreeItemId * _arg1; |
5633 | int _arg2; | |
1d99702e RD |
5634 | PyObject * _argo0 = 0; |
5635 | PyObject * _argo1 = 0; | |
efc5f224 | 5636 | char *_kwnames[] = { "self","item","image", NULL }; |
8ab979d7 RD |
5637 | |
5638 | self = self; | |
efc5f224 | 5639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2)) |
8ab979d7 | 5640 | return NULL; |
1d99702e RD |
5641 | if (_argo0) { |
5642 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5643 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5644 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5645 | return NULL; |
5646 | } | |
5647 | } | |
1d99702e RD |
5648 | if (_argo1) { |
5649 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5650 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5651 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p."); |
5652 | return NULL; | |
5653 | } | |
5654 | } | |
cf694132 RD |
5655 | { |
5656 | wxPy_BEGIN_ALLOW_THREADS; | |
5657 | wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2); | |
5658 | ||
5659 | wxPy_END_ALLOW_THREADS; | |
5660 | } Py_INCREF(Py_None); | |
5661 | _resultobj = Py_None; | |
5662 | return _resultobj; | |
5663 | } | |
5664 | ||
5665 | #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1)) | |
efc5f224 | 5666 | static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 | 5667 | PyObject * _resultobj; |
f6bcfd97 | 5668 | wxPyTreeCtrl * _arg0; |
cf694132 | 5669 | wxTreeItemId * _arg1; |
1d99702e RD |
5670 | bool _arg2 = (bool ) TRUE; |
5671 | PyObject * _argo0 = 0; | |
5672 | PyObject * _argo1 = 0; | |
5673 | int tempbool2 = (int) TRUE; | |
efc5f224 | 5674 | char *_kwnames[] = { "self","item","hasChildren", NULL }; |
cf694132 RD |
5675 | |
5676 | self = self; | |
efc5f224 | 5677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2)) |
cf694132 | 5678 | return NULL; |
1d99702e RD |
5679 | if (_argo0) { |
5680 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5681 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p."); | |
cf694132 RD |
5683 | return NULL; |
5684 | } | |
5685 | } | |
1d99702e RD |
5686 | if (_argo1) { |
5687 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5688 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
cf694132 RD |
5689 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p."); |
5690 | return NULL; | |
5691 | } | |
5692 | } | |
5693 | _arg2 = (bool ) tempbool2; | |
5694 | { | |
5695 | wxPy_BEGIN_ALLOW_THREADS; | |
5696 | wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2); | |
5697 | ||
5698 | wxPy_END_ALLOW_THREADS; | |
5699 | } Py_INCREF(Py_None); | |
d5c9047a | 5700 | _resultobj = Py_None; |
8ab979d7 RD |
5701 | return _resultobj; |
5702 | } | |
5703 | ||
f6bcfd97 | 5704 | static wxPyTreeItemData * wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item) { |
cf694132 RD |
5705 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); |
5706 | if (data == NULL) { | |
5707 | data = new wxPyTreeItemData(); | |
f6bcfd97 | 5708 | data->SetId(item); // set the id |
cf694132 RD |
5709 | self->SetItemData(item, data); |
5710 | } | |
5711 | return data; | |
5712 | } | |
efc5f224 | 5713 | static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 RD |
5714 | PyObject * _resultobj; |
5715 | wxPyTreeItemData * _result; | |
f6bcfd97 | 5716 | wxPyTreeCtrl * _arg0; |
cf694132 | 5717 | wxTreeItemId * _arg1; |
1d99702e RD |
5718 | PyObject * _argo0 = 0; |
5719 | PyObject * _argo1 = 0; | |
efc5f224 | 5720 | char *_kwnames[] = { "self","item", NULL }; |
cf694132 RD |
5721 | char _ptemp[128]; |
5722 | ||
5723 | self = self; | |
efc5f224 | 5724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1)) |
cf694132 | 5725 | return NULL; |
1d99702e RD |
5726 | if (_argo0) { |
5727 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5728 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p."); | |
cf694132 RD |
5730 | return NULL; |
5731 | } | |
5732 | } | |
1d99702e RD |
5733 | if (_argo1) { |
5734 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5735 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
cf694132 RD |
5736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p."); |
5737 | return NULL; | |
5738 | } | |
5739 | } | |
5740 | { | |
5741 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 5742 | _result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(_arg0,*_arg1); |
cf694132 RD |
5743 | |
5744 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
5745 | } if (_result) { |
5746 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p"); | |
5747 | _resultobj = Py_BuildValue("s",_ptemp); | |
5748 | } else { | |
5749 | Py_INCREF(Py_None); | |
5750 | _resultobj = Py_None; | |
5751 | } | |
cf694132 RD |
5752 | return _resultobj; |
5753 | } | |
5754 | ||
f6bcfd97 BP |
5755 | static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) { |
5756 | data->SetId(item); // set the id | |
5757 | self->SetItemData(item, data); | |
c368d904 | 5758 | } |
efc5f224 | 5759 | static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5760 | PyObject * _resultobj; |
f6bcfd97 | 5761 | wxPyTreeCtrl * _arg0; |
d5c9047a | 5762 | wxTreeItemId * _arg1; |
cf694132 | 5763 | wxPyTreeItemData * _arg2; |
1d99702e RD |
5764 | PyObject * _argo0 = 0; |
5765 | PyObject * _argo1 = 0; | |
5766 | PyObject * _argo2 = 0; | |
efc5f224 | 5767 | char *_kwnames[] = { "self","item","data", NULL }; |
8ab979d7 RD |
5768 | |
5769 | self = self; | |
efc5f224 | 5770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2)) |
8ab979d7 | 5771 | return NULL; |
1d99702e RD |
5772 | if (_argo0) { |
5773 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5774 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5775 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5776 | return NULL; |
5777 | } | |
5778 | } | |
1d99702e RD |
5779 | if (_argo1) { |
5780 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5781 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5782 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p."); |
5783 | return NULL; | |
5784 | } | |
5785 | } | |
1d99702e RD |
5786 | if (_argo2) { |
5787 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
5788 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) { | |
cf694132 | 5789 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p."); |
d5c9047a RD |
5790 | return NULL; |
5791 | } | |
5792 | } | |
cf694132 RD |
5793 | { |
5794 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 5795 | wxPyTreeCtrl_SetItemData(_arg0,*_arg1,_arg2); |
cf694132 RD |
5796 | |
5797 | wxPy_END_ALLOW_THREADS; | |
5798 | } Py_INCREF(Py_None); | |
d5c9047a | 5799 | _resultobj = Py_None; |
8ab979d7 RD |
5800 | return _resultobj; |
5801 | } | |
5802 | ||
f6bcfd97 | 5803 | static PyObject * wxPyTreeCtrl_GetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item) { |
cf694132 RD |
5804 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); |
5805 | if (data == NULL) { | |
5806 | data = new wxPyTreeItemData(); | |
f6bcfd97 | 5807 | data->SetId(item); // set the id |
cf694132 RD |
5808 | self->SetItemData(item, data); |
5809 | } | |
5810 | return data->GetData(); | |
c368d904 | 5811 | } |
efc5f224 | 5812 | static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 | 5813 | PyObject * _resultobj; |
cf694132 | 5814 | PyObject * _result; |
f6bcfd97 | 5815 | wxPyTreeCtrl * _arg0; |
08127323 | 5816 | wxTreeItemId * _arg1; |
1d99702e RD |
5817 | PyObject * _argo0 = 0; |
5818 | PyObject * _argo1 = 0; | |
efc5f224 | 5819 | char *_kwnames[] = { "self","item", NULL }; |
08127323 RD |
5820 | |
5821 | self = self; | |
efc5f224 | 5822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1)) |
08127323 | 5823 | return NULL; |
1d99702e RD |
5824 | if (_argo0) { |
5825 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5826 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5827 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p."); | |
08127323 RD |
5828 | return NULL; |
5829 | } | |
5830 | } | |
1d99702e RD |
5831 | if (_argo1) { |
5832 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5833 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
cf694132 | 5834 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p."); |
08127323 RD |
5835 | return NULL; |
5836 | } | |
5837 | } | |
cf694132 RD |
5838 | { |
5839 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 5840 | _result = (PyObject *)wxPyTreeCtrl_GetPyData(_arg0,*_arg1); |
cf694132 RD |
5841 | |
5842 | wxPy_END_ALLOW_THREADS; | |
5843 | }{ | |
5844 | _resultobj = _result; | |
5845 | } | |
5846 | return _resultobj; | |
5847 | } | |
5848 | ||
f6bcfd97 | 5849 | static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) { |
cf694132 RD |
5850 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); |
5851 | if (data == NULL) { | |
5852 | data = new wxPyTreeItemData(obj); | |
f6bcfd97 | 5853 | data->SetId(item); // set the id |
cf694132 RD |
5854 | self->SetItemData(item, data); |
5855 | } else | |
5856 | data->SetData(obj); | |
c368d904 | 5857 | } |
efc5f224 | 5858 | static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 | 5859 | PyObject * _resultobj; |
f6bcfd97 | 5860 | wxPyTreeCtrl * _arg0; |
cf694132 RD |
5861 | wxTreeItemId * _arg1; |
5862 | PyObject * _arg2; | |
1d99702e RD |
5863 | PyObject * _argo0 = 0; |
5864 | PyObject * _argo1 = 0; | |
cf694132 | 5865 | PyObject * _obj2 = 0; |
efc5f224 | 5866 | char *_kwnames[] = { "self","item","obj", NULL }; |
cf694132 RD |
5867 | |
5868 | self = self; | |
efc5f224 | 5869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2)) |
cf694132 | 5870 | return NULL; |
1d99702e RD |
5871 | if (_argo0) { |
5872 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5873 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5874 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p."); | |
cf694132 RD |
5875 | return NULL; |
5876 | } | |
5877 | } | |
1d99702e RD |
5878 | if (_argo1) { |
5879 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5880 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
cf694132 RD |
5881 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p."); |
5882 | return NULL; | |
5883 | } | |
5884 | } | |
5885 | { | |
5886 | _arg2 = _obj2; | |
5887 | } | |
5888 | { | |
5889 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 5890 | wxPyTreeCtrl_SetPyData(_arg0,*_arg1,_arg2); |
cf694132 RD |
5891 | |
5892 | wxPy_END_ALLOW_THREADS; | |
5893 | } Py_INCREF(Py_None); | |
08127323 RD |
5894 | _resultobj = Py_None; |
5895 | return _resultobj; | |
5896 | } | |
5897 | ||
d5c9047a | 5898 | #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0)) |
efc5f224 | 5899 | static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5900 | PyObject * _resultobj; |
d5c9047a | 5901 | bool _result; |
f6bcfd97 | 5902 | wxPyTreeCtrl * _arg0; |
d5c9047a | 5903 | wxTreeItemId * _arg1; |
1d99702e RD |
5904 | PyObject * _argo0 = 0; |
5905 | PyObject * _argo1 = 0; | |
efc5f224 | 5906 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
5907 | |
5908 | self = self; | |
efc5f224 | 5909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 5910 | return NULL; |
1d99702e RD |
5911 | if (_argo0) { |
5912 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5913 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5914 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5915 | return NULL; |
5916 | } | |
5917 | } | |
1d99702e RD |
5918 | if (_argo1) { |
5919 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5920 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5921 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p."); |
5922 | return NULL; | |
5923 | } | |
5924 | } | |
cf694132 RD |
5925 | { |
5926 | wxPy_BEGIN_ALLOW_THREADS; | |
5927 | _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1); | |
5928 | ||
5929 | wxPy_END_ALLOW_THREADS; | |
5930 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
5931 | return _resultobj; |
5932 | } | |
5933 | ||
d5c9047a | 5934 | #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0)) |
efc5f224 | 5935 | static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5936 | PyObject * _resultobj; |
d5c9047a | 5937 | bool _result; |
f6bcfd97 | 5938 | wxPyTreeCtrl * _arg0; |
d5c9047a | 5939 | wxTreeItemId * _arg1; |
1d99702e RD |
5940 | PyObject * _argo0 = 0; |
5941 | PyObject * _argo1 = 0; | |
efc5f224 | 5942 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
5943 | |
5944 | self = self; | |
efc5f224 | 5945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 5946 | return NULL; |
1d99702e RD |
5947 | if (_argo0) { |
5948 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5949 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5950 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5951 | return NULL; |
5952 | } | |
5953 | } | |
1d99702e RD |
5954 | if (_argo1) { |
5955 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5956 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5957 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p."); |
5958 | return NULL; | |
5959 | } | |
5960 | } | |
cf694132 RD |
5961 | { |
5962 | wxPy_BEGIN_ALLOW_THREADS; | |
5963 | _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1); | |
5964 | ||
5965 | wxPy_END_ALLOW_THREADS; | |
5966 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
5967 | return _resultobj; |
5968 | } | |
5969 | ||
d5c9047a | 5970 | #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0)) |
efc5f224 | 5971 | static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5972 | PyObject * _resultobj; |
d5c9047a | 5973 | bool _result; |
f6bcfd97 | 5974 | wxPyTreeCtrl * _arg0; |
d5c9047a | 5975 | wxTreeItemId * _arg1; |
1d99702e RD |
5976 | PyObject * _argo0 = 0; |
5977 | PyObject * _argo1 = 0; | |
efc5f224 | 5978 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
5979 | |
5980 | self = self; | |
efc5f224 | 5981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 5982 | return NULL; |
1d99702e RD |
5983 | if (_argo0) { |
5984 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5985 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5986 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5987 | return NULL; |
5988 | } | |
5989 | } | |
1d99702e RD |
5990 | if (_argo1) { |
5991 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5992 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5993 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p."); |
5994 | return NULL; | |
5995 | } | |
5996 | } | |
cf694132 RD |
5997 | { |
5998 | wxPy_BEGIN_ALLOW_THREADS; | |
5999 | _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1); | |
6000 | ||
6001 | wxPy_END_ALLOW_THREADS; | |
6002 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
6003 | return _resultobj; |
6004 | } | |
6005 | ||
d5c9047a | 6006 | #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0)) |
efc5f224 | 6007 | static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6008 | PyObject * _resultobj; |
d5c9047a | 6009 | bool _result; |
f6bcfd97 | 6010 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6011 | wxTreeItemId * _arg1; |
1d99702e RD |
6012 | PyObject * _argo0 = 0; |
6013 | PyObject * _argo1 = 0; | |
efc5f224 | 6014 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
6015 | |
6016 | self = self; | |
efc5f224 | 6017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 6018 | return NULL; |
1d99702e RD |
6019 | if (_argo0) { |
6020 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6021 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6022 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6023 | return NULL; |
6024 | } | |
6025 | } | |
1d99702e RD |
6026 | if (_argo1) { |
6027 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6028 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
6029 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p."); |
6030 | return NULL; | |
6031 | } | |
6032 | } | |
cf694132 RD |
6033 | { |
6034 | wxPy_BEGIN_ALLOW_THREADS; | |
6035 | _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1); | |
6036 | ||
6037 | wxPy_END_ALLOW_THREADS; | |
6038 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
6039 | return _resultobj; |
6040 | } | |
6041 | ||
6042 | #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem()) | |
efc5f224 | 6043 | static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6044 | PyObject * _resultobj; |
d5c9047a | 6045 | wxTreeItemId * _result; |
f6bcfd97 | 6046 | wxPyTreeCtrl * _arg0; |
1d99702e | 6047 | PyObject * _argo0 = 0; |
efc5f224 | 6048 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 6049 | char _ptemp[128]; |
8ab979d7 RD |
6050 | |
6051 | self = self; | |
efc5f224 | 6052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0)) |
8ab979d7 | 6053 | return NULL; |
1d99702e RD |
6054 | if (_argo0) { |
6055 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6056 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6057 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6058 | return NULL; |
6059 | } | |
6060 | } | |
cf694132 RD |
6061 | { |
6062 | wxPy_BEGIN_ALLOW_THREADS; | |
6063 | _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0)); | |
6064 | ||
6065 | wxPy_END_ALLOW_THREADS; | |
6066 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6067 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
6068 | return _resultobj; |
6069 | } | |
6070 | ||
6071 | #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
efc5f224 | 6072 | static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6073 | PyObject * _resultobj; |
d5c9047a | 6074 | wxTreeItemId * _result; |
f6bcfd97 | 6075 | wxPyTreeCtrl * _arg0; |
1d99702e | 6076 | PyObject * _argo0 = 0; |
efc5f224 | 6077 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 6078 | char _ptemp[128]; |
8ab979d7 RD |
6079 | |
6080 | self = self; | |
efc5f224 | 6081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0)) |
8ab979d7 | 6082 | return NULL; |
1d99702e RD |
6083 | if (_argo0) { |
6084 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6085 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6086 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6087 | return NULL; |
6088 | } | |
6089 | } | |
cf694132 RD |
6090 | { |
6091 | wxPy_BEGIN_ALLOW_THREADS; | |
6092 | _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0)); | |
6093 | ||
6094 | wxPy_END_ALLOW_THREADS; | |
6095 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6096 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
6097 | return _resultobj; |
6098 | } | |
6099 | ||
eb715945 RD |
6100 | #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0)) |
6101 | static PyObject *_wrap_wxTreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 6102 | PyObject * _resultobj; |
d5c9047a | 6103 | wxTreeItemId * _result; |
f6bcfd97 | 6104 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6105 | wxTreeItemId * _arg1; |
1d99702e RD |
6106 | PyObject * _argo0 = 0; |
6107 | PyObject * _argo1 = 0; | |
efc5f224 | 6108 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a | 6109 | char _ptemp[128]; |
8ab979d7 RD |
6110 | |
6111 | self = self; | |
eb715945 | 6112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemParent",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 6113 | return NULL; |
1d99702e RD |
6114 | if (_argo0) { |
6115 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6116 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6117 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6118 | return NULL; |
6119 | } | |
6120 | } | |
1d99702e RD |
6121 | if (_argo1) { |
6122 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6123 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
eb715945 | 6124 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p."); |
8ab979d7 RD |
6125 | return NULL; |
6126 | } | |
6127 | } | |
cf694132 RD |
6128 | { |
6129 | wxPy_BEGIN_ALLOW_THREADS; | |
eb715945 | 6130 | _result = new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0,*_arg1)); |
cf694132 RD |
6131 | |
6132 | wxPy_END_ALLOW_THREADS; | |
6133 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6134 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
6135 | return _resultobj; |
6136 | } | |
6137 | ||
f6bcfd97 | 6138 | static PyObject * wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self) { |
26b9cf27 | 6139 | bool doSave = wxPyRestoreThread(); |
d426c97e RD |
6140 | PyObject* rval = PyList_New(0); |
6141 | wxArrayTreeItemIds array; | |
6142 | size_t num, x; | |
6143 | num = self->GetSelections(array); | |
6144 | for (x=0; x < num; x++) { | |
c368d904 RD |
6145 | wxTreeItemId *tii = new wxTreeItemId(array.Item(x)); |
6146 | PyObject* item = wxPyConstructObject((void*)tii, "wxTreeItemId", TRUE); | |
d426c97e RD |
6147 | PyList_Append(rval, item); |
6148 | } | |
26b9cf27 | 6149 | wxPySaveThread(doSave); |
d426c97e RD |
6150 | return rval; |
6151 | } | |
6152 | static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6153 | PyObject * _resultobj; | |
6154 | PyObject * _result; | |
f6bcfd97 | 6155 | wxPyTreeCtrl * _arg0; |
d426c97e RD |
6156 | PyObject * _argo0 = 0; |
6157 | char *_kwnames[] = { "self", NULL }; | |
6158 | ||
6159 | self = self; | |
6160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0)) | |
6161 | return NULL; | |
6162 | if (_argo0) { | |
6163 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6164 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p."); | |
d426c97e RD |
6166 | return NULL; |
6167 | } | |
6168 | } | |
6169 | { | |
6170 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 6171 | _result = (PyObject *)wxPyTreeCtrl_GetSelections(_arg0); |
d426c97e RD |
6172 | |
6173 | wxPy_END_ALLOW_THREADS; | |
6174 | }{ | |
6175 | _resultobj = _result; | |
6176 | } | |
6177 | return _resultobj; | |
6178 | } | |
6179 | ||
bb0054cd | 6180 | #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1)) |
efc5f224 | 6181 | static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
bb0054cd RD |
6182 | PyObject * _resultobj; |
6183 | size_t _result; | |
f6bcfd97 | 6184 | wxPyTreeCtrl * _arg0; |
bb0054cd | 6185 | wxTreeItemId * _arg1; |
1d99702e RD |
6186 | bool _arg2 = (bool ) TRUE; |
6187 | PyObject * _argo0 = 0; | |
6188 | PyObject * _argo1 = 0; | |
6189 | int tempbool2 = (int) TRUE; | |
efc5f224 | 6190 | char *_kwnames[] = { "self","item","recursively", NULL }; |
bb0054cd RD |
6191 | |
6192 | self = self; | |
efc5f224 | 6193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2)) |
bb0054cd | 6194 | return NULL; |
1d99702e RD |
6195 | if (_argo0) { |
6196 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6197 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6198 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p."); | |
bb0054cd RD |
6199 | return NULL; |
6200 | } | |
6201 | } | |
1d99702e RD |
6202 | if (_argo1) { |
6203 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6204 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
bb0054cd RD |
6205 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p."); |
6206 | return NULL; | |
6207 | } | |
6208 | } | |
6209 | _arg2 = (bool ) tempbool2; | |
6210 | { | |
6211 | wxPy_BEGIN_ALLOW_THREADS; | |
6212 | _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2); | |
6213 | ||
6214 | wxPy_END_ALLOW_THREADS; | |
6215 | } _resultobj = Py_BuildValue("i",_result); | |
6216 | return _resultobj; | |
6217 | } | |
6218 | ||
d5c9047a | 6219 | #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1)) |
efc5f224 | 6220 | static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6221 | PyObject * _resultobj; |
d5c9047a | 6222 | wxTreeItemId * _result; |
f6bcfd97 | 6223 | wxPyTreeCtrl * _arg0; |
d5c9047a RD |
6224 | wxTreeItemId * _arg1; |
6225 | long * _arg2; | |
1d99702e RD |
6226 | PyObject * _argo0 = 0; |
6227 | PyObject * _argo1 = 0; | |
d5c9047a RD |
6228 | long temp; |
6229 | PyObject * _obj2 = 0; | |
efc5f224 | 6230 | char *_kwnames[] = { "self","item","INOUT", NULL }; |
d5c9047a | 6231 | char _ptemp[128]; |
8ab979d7 RD |
6232 | |
6233 | self = self; | |
efc5f224 | 6234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2)) |
8ab979d7 | 6235 | return NULL; |
1d99702e RD |
6236 | if (_argo0) { |
6237 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6238 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6239 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6240 | return NULL; |
6241 | } | |
6242 | } | |
1d99702e RD |
6243 | if (_argo1) { |
6244 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6245 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a | 6246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p."); |
8ab979d7 RD |
6247 | return NULL; |
6248 | } | |
6249 | } | |
d5c9047a RD |
6250 | { |
6251 | temp = (long) PyInt_AsLong(_obj2); | |
6252 | _arg2 = &temp; | |
6253 | } | |
cf694132 RD |
6254 | { |
6255 | wxPy_BEGIN_ALLOW_THREADS; | |
6256 | _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2)); | |
6257 | ||
6258 | wxPy_END_ALLOW_THREADS; | |
6259 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a RD |
6260 | _resultobj = Py_BuildValue("s",_ptemp); |
6261 | { | |
6262 | PyObject *o; | |
6263 | o = PyInt_FromLong((long) (*_arg2)); | |
6264 | _resultobj = t_output_helper(_resultobj, o); | |
6265 | } | |
8ab979d7 RD |
6266 | return _resultobj; |
6267 | } | |
6268 | ||
d5c9047a | 6269 | #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1)) |
efc5f224 | 6270 | static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6271 | PyObject * _resultobj; |
d5c9047a | 6272 | wxTreeItemId * _result; |
f6bcfd97 | 6273 | wxPyTreeCtrl * _arg0; |
d5c9047a RD |
6274 | wxTreeItemId * _arg1; |
6275 | long * _arg2; | |
1d99702e RD |
6276 | PyObject * _argo0 = 0; |
6277 | PyObject * _argo1 = 0; | |
d5c9047a | 6278 | long temp; |
8ab979d7 | 6279 | PyObject * _obj2 = 0; |
efc5f224 | 6280 | char *_kwnames[] = { "self","item","INOUT", NULL }; |
d5c9047a | 6281 | char _ptemp[128]; |
8ab979d7 RD |
6282 | |
6283 | self = self; | |
efc5f224 | 6284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2)) |
8ab979d7 | 6285 | return NULL; |
1d99702e RD |
6286 | if (_argo0) { |
6287 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6288 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6289 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6290 | return NULL; |
6291 | } | |
6292 | } | |
1d99702e RD |
6293 | if (_argo1) { |
6294 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6295 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a | 6296 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p."); |
8ab979d7 | 6297 | return NULL; |
d5c9047a | 6298 | } |
8ab979d7 | 6299 | } |
d5c9047a RD |
6300 | { |
6301 | temp = (long) PyInt_AsLong(_obj2); | |
6302 | _arg2 = &temp; | |
8ab979d7 | 6303 | } |
cf694132 RD |
6304 | { |
6305 | wxPy_BEGIN_ALLOW_THREADS; | |
6306 | _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2)); | |
6307 | ||
6308 | wxPy_END_ALLOW_THREADS; | |
6309 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6310 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 | 6311 | { |
d5c9047a RD |
6312 | PyObject *o; |
6313 | o = PyInt_FromLong((long) (*_arg2)); | |
6314 | _resultobj = t_output_helper(_resultobj, o); | |
8ab979d7 RD |
6315 | } |
6316 | return _resultobj; | |
6317 | } | |
6318 | ||
d5c9047a | 6319 | #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0)) |
efc5f224 | 6320 | static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6321 | PyObject * _resultobj; |
d5c9047a | 6322 | wxTreeItemId * _result; |
f6bcfd97 | 6323 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6324 | wxTreeItemId * _arg1; |
1d99702e RD |
6325 | PyObject * _argo0 = 0; |
6326 | PyObject * _argo1 = 0; | |
efc5f224 | 6327 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a | 6328 | char _ptemp[128]; |
8ab979d7 RD |
6329 | |
6330 | self = self; | |
efc5f224 | 6331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 6332 | return NULL; |
1d99702e RD |
6333 | if (_argo0) { |
6334 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6335 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6336 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6337 | return NULL; |
6338 | } | |
6339 | } | |
1d99702e RD |
6340 | if (_argo1) { |
6341 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6342 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
6343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p."); |
6344 | return NULL; | |
6345 | } | |
6346 | } | |
cf694132 RD |
6347 | { |
6348 | wxPy_BEGIN_ALLOW_THREADS; | |
6349 | _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1)); | |
6350 | ||
6351 | wxPy_END_ALLOW_THREADS; | |
6352 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6353 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
6354 | return _resultobj; |
6355 | } | |
6356 | ||
d5c9047a | 6357 | #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0)) |
efc5f224 | 6358 | static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6359 | PyObject * _resultobj; |
d5c9047a | 6360 | wxTreeItemId * _result; |
f6bcfd97 | 6361 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6362 | wxTreeItemId * _arg1; |
1d99702e RD |
6363 | PyObject * _argo0 = 0; |
6364 | PyObject * _argo1 = 0; | |
efc5f224 | 6365 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a | 6366 | char _ptemp[128]; |
8ab979d7 RD |
6367 | |
6368 | self = self; | |
efc5f224 | 6369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 6370 | return NULL; |
1d99702e RD |
6371 | if (_argo0) { |
6372 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6373 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6374 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6375 | return NULL; |
6376 | } | |
6377 | } | |
1d99702e RD |
6378 | if (_argo1) { |
6379 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6380 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
6381 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p."); |
6382 | return NULL; | |
6383 | } | |
6384 | } | |
cf694132 RD |
6385 | { |
6386 | wxPy_BEGIN_ALLOW_THREADS; | |
6387 | _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1)); | |
6388 | ||
6389 | wxPy_END_ALLOW_THREADS; | |
6390 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6391 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
6392 | return _resultobj; |
6393 | } | |
6394 | ||
d5c9047a | 6395 | #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem()) |
efc5f224 | 6396 | static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6397 | PyObject * _resultobj; |
d5c9047a | 6398 | wxTreeItemId * _result; |
f6bcfd97 | 6399 | wxPyTreeCtrl * _arg0; |
1d99702e | 6400 | PyObject * _argo0 = 0; |
efc5f224 | 6401 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 6402 | char _ptemp[128]; |
8ab979d7 RD |
6403 | |
6404 | self = self; | |
efc5f224 | 6405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0)) |
8ab979d7 | 6406 | return NULL; |
1d99702e RD |
6407 | if (_argo0) { |
6408 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6409 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6411 | return NULL; |
6412 | } | |
6413 | } | |
cf694132 RD |
6414 | { |
6415 | wxPy_BEGIN_ALLOW_THREADS; | |
6416 | _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0)); | |
6417 | ||
6418 | wxPy_END_ALLOW_THREADS; | |
6419 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6420 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
6421 | return _resultobj; |
6422 | } | |
6423 | ||
d5c9047a | 6424 | #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0)) |
efc5f224 | 6425 | static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6426 | PyObject * _resultobj; |
d5c9047a | 6427 | wxTreeItemId * _result; |
f6bcfd97 | 6428 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6429 | wxTreeItemId * _arg1; |
1d99702e RD |
6430 | PyObject * _argo0 = 0; |
6431 | PyObject * _argo1 = 0; | |
efc5f224 | 6432 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a | 6433 | char _ptemp[128]; |
8ab979d7 RD |
6434 | |
6435 | self = self; | |
efc5f224 | 6436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 6437 | return NULL; |
1d99702e RD |
6438 | if (_argo0) { |
6439 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6440 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6441 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6442 | return NULL; |
6443 | } | |
6444 | } | |
1d99702e RD |
6445 | if (_argo1) { |
6446 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6447 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
6448 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p."); |
6449 | return NULL; | |
6450 | } | |
6451 | } | |
cf694132 RD |
6452 | { |
6453 | wxPy_BEGIN_ALLOW_THREADS; | |
6454 | _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1)); | |
6455 | ||
6456 | wxPy_END_ALLOW_THREADS; | |
6457 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6458 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
6459 | return _resultobj; |
6460 | } | |
6461 | ||
d5c9047a | 6462 | #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0)) |
efc5f224 | 6463 | static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6464 | PyObject * _resultobj; |
d5c9047a | 6465 | wxTreeItemId * _result; |
f6bcfd97 | 6466 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6467 | wxTreeItemId * _arg1; |
1d99702e RD |
6468 | PyObject * _argo0 = 0; |
6469 | PyObject * _argo1 = 0; | |
efc5f224 | 6470 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a | 6471 | char _ptemp[128]; |
8ab979d7 RD |
6472 | |
6473 | self = self; | |
efc5f224 | 6474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 6475 | return NULL; |
1d99702e RD |
6476 | if (_argo0) { |
6477 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6478 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6479 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6480 | return NULL; |
6481 | } | |
6482 | } | |
1d99702e RD |
6483 | if (_argo1) { |
6484 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6485 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a | 6486 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p."); |
8ab979d7 RD |
6487 | return NULL; |
6488 | } | |
6489 | } | |
cf694132 RD |
6490 | { |
6491 | wxPy_BEGIN_ALLOW_THREADS; | |
6492 | _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1)); | |
6493 | ||
6494 | wxPy_END_ALLOW_THREADS; | |
6495 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6496 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
6497 | return _resultobj; |
6498 | } | |
6499 | ||
d426c97e RD |
6500 | #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0)) |
6501 | static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6502 | PyObject * _resultobj; | |
6503 | wxTreeItemId * _result; | |
f6bcfd97 | 6504 | wxPyTreeCtrl * _arg0; |
d426c97e RD |
6505 | wxTreeItemId * _arg1; |
6506 | PyObject * _argo0 = 0; | |
6507 | PyObject * _argo1 = 0; | |
6508 | char *_kwnames[] = { "self","item", NULL }; | |
6509 | char _ptemp[128]; | |
6510 | ||
6511 | self = self; | |
6512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1)) | |
6513 | return NULL; | |
6514 | if (_argo0) { | |
6515 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6516 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6517 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p."); | |
d426c97e RD |
6518 | return NULL; |
6519 | } | |
6520 | } | |
6521 | if (_argo1) { | |
6522 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6523 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
6524 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p."); | |
6525 | return NULL; | |
6526 | } | |
6527 | } | |
6528 | { | |
6529 | wxPy_BEGIN_ALLOW_THREADS; | |
6530 | _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1)); | |
6531 | ||
6532 | wxPy_END_ALLOW_THREADS; | |
6533 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
6534 | _resultobj = Py_BuildValue("s",_ptemp); | |
6535 | return _resultobj; | |
6536 | } | |
6537 | ||
d5c9047a | 6538 | #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
efc5f224 | 6539 | static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6540 | PyObject * _resultobj; |
d5c9047a | 6541 | wxTreeItemId * _result; |
f6bcfd97 | 6542 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6543 | wxString * _arg1; |
1d99702e RD |
6544 | int _arg2 = (int ) -1; |
6545 | int _arg3 = (int ) -1; | |
6546 | wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL; | |
6547 | PyObject * _argo0 = 0; | |
d5c9047a | 6548 | PyObject * _obj1 = 0; |
1d99702e | 6549 | PyObject * _argo4 = 0; |
efc5f224 | 6550 | char *_kwnames[] = { "self","text","image","selectedImage","data", NULL }; |
d5c9047a | 6551 | char _ptemp[128]; |
8ab979d7 RD |
6552 | |
6553 | self = self; | |
efc5f224 | 6554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4)) |
8ab979d7 | 6555 | return NULL; |
1d99702e RD |
6556 | if (_argo0) { |
6557 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6558 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6559 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6560 | return NULL; |
6561 | } | |
6562 | } | |
d5c9047a | 6563 | { |
2cd2fac8 RD |
6564 | #if PYTHON_API_VERSION >= 1009 |
6565 | char* tmpPtr; int tmpSize; | |
6566 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
6567 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
6568 | return NULL; | |
6569 | } | |
6570 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
6571 | return NULL; | |
6572 | _arg1 = new wxString(tmpPtr, tmpSize); | |
6573 | #else | |
d5c9047a RD |
6574 | if (!PyString_Check(_obj1)) { |
6575 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6576 | return NULL; | |
6577 | } | |
2cd2fac8 RD |
6578 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
6579 | #endif | |
d5c9047a | 6580 | } |
1d99702e RD |
6581 | if (_argo4) { |
6582 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
6583 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) { | |
cf694132 | 6584 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p."); |
8ab979d7 RD |
6585 | return NULL; |
6586 | } | |
6587 | } | |
cf694132 RD |
6588 | { |
6589 | wxPy_BEGIN_ALLOW_THREADS; | |
6590 | _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4)); | |
6591 | ||
6592 | wxPy_END_ALLOW_THREADS; | |
6593 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a RD |
6594 | _resultobj = Py_BuildValue("s",_ptemp); |
6595 | { | |
6596 | if (_obj1) | |
6597 | delete _arg1; | |
6598 | } | |
8ab979d7 RD |
6599 | return _resultobj; |
6600 | } | |
6601 | ||
d5c9047a | 6602 | #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) |
efc5f224 | 6603 | static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6604 | PyObject * _resultobj; |
d5c9047a | 6605 | wxTreeItemId * _result; |
f6bcfd97 | 6606 | wxPyTreeCtrl * _arg0; |
d5c9047a RD |
6607 | wxTreeItemId * _arg1; |
6608 | wxString * _arg2; | |
1d99702e RD |
6609 | int _arg3 = (int ) -1; |
6610 | int _arg4 = (int ) -1; | |
6611 | wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL; | |
6612 | PyObject * _argo0 = 0; | |
6613 | PyObject * _argo1 = 0; | |
d5c9047a | 6614 | PyObject * _obj2 = 0; |
1d99702e | 6615 | PyObject * _argo5 = 0; |
efc5f224 | 6616 | char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL }; |
d5c9047a | 6617 | char _ptemp[128]; |
8ab979d7 RD |
6618 | |
6619 | self = self; | |
efc5f224 | 6620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5)) |
8ab979d7 | 6621 | return NULL; |
1d99702e RD |
6622 | if (_argo0) { |
6623 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6624 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6625 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6626 | return NULL; |
6627 | } | |
6628 | } | |
1d99702e RD |
6629 | if (_argo1) { |
6630 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6631 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
6632 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p."); |
6633 | return NULL; | |
6634 | } | |
6635 | } | |
6636 | { | |
2cd2fac8 RD |
6637 | #if PYTHON_API_VERSION >= 1009 |
6638 | char* tmpPtr; int tmpSize; | |
6639 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
6640 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
6641 | return NULL; | |
6642 | } | |
6643 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
6644 | return NULL; | |
6645 | _arg2 = new wxString(tmpPtr, tmpSize); | |
6646 | #else | |
d5c9047a RD |
6647 | if (!PyString_Check(_obj2)) { |
6648 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6649 | return NULL; | |
6650 | } | |
2cd2fac8 RD |
6651 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
6652 | #endif | |
d5c9047a | 6653 | } |
1d99702e RD |
6654 | if (_argo5) { |
6655 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
6656 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) { | |
cf694132 | 6657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p."); |
d5c9047a RD |
6658 | return NULL; |
6659 | } | |
6660 | } | |
cf694132 RD |
6661 | { |
6662 | wxPy_BEGIN_ALLOW_THREADS; | |
6663 | _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5)); | |
6664 | ||
6665 | wxPy_END_ALLOW_THREADS; | |
6666 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a RD |
6667 | _resultobj = Py_BuildValue("s",_ptemp); |
6668 | { | |
6669 | if (_obj2) | |
6670 | delete _arg2; | |
6671 | } | |
8ab979d7 RD |
6672 | return _resultobj; |
6673 | } | |
6674 | ||
d5c9047a | 6675 | #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
efc5f224 | 6676 | static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6677 | PyObject * _resultobj; |
d5c9047a | 6678 | wxTreeItemId * _result; |
f6bcfd97 | 6679 | wxPyTreeCtrl * _arg0; |
d5c9047a RD |
6680 | wxTreeItemId * _arg1; |
6681 | wxTreeItemId * _arg2; | |
6682 | wxString * _arg3; | |
1d99702e RD |
6683 | int _arg4 = (int ) -1; |
6684 | int _arg5 = (int ) -1; | |
6685 | wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL; | |
6686 | PyObject * _argo0 = 0; | |
6687 | PyObject * _argo1 = 0; | |
6688 | PyObject * _argo2 = 0; | |
d5c9047a | 6689 | PyObject * _obj3 = 0; |
1d99702e | 6690 | PyObject * _argo6 = 0; |
efc5f224 | 6691 | char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL }; |
d5c9047a | 6692 | char _ptemp[128]; |
8ab979d7 RD |
6693 | |
6694 | self = self; | |
efc5f224 | 6695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6)) |
8ab979d7 | 6696 | return NULL; |
1d99702e RD |
6697 | if (_argo0) { |
6698 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6699 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6700 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6701 | return NULL; |
6702 | } | |
6703 | } | |
1d99702e RD |
6704 | if (_argo1) { |
6705 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6706 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
6707 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p."); |
6708 | return NULL; | |
6709 | } | |
6710 | } | |
1d99702e RD |
6711 | if (_argo2) { |
6712 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
6713 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) { | |
d5c9047a RD |
6714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p."); |
6715 | return NULL; | |
6716 | } | |
6717 | } | |
6718 | { | |
2cd2fac8 RD |
6719 | #if PYTHON_API_VERSION >= 1009 |
6720 | char* tmpPtr; int tmpSize; | |
6721 | if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) { | |
6722 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
6723 | return NULL; | |
6724 | } | |
6725 | if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1) | |
6726 | return NULL; | |
6727 | _arg3 = new wxString(tmpPtr, tmpSize); | |
6728 | #else | |
d5c9047a RD |
6729 | if (!PyString_Check(_obj3)) { |
6730 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6731 | return NULL; | |
6732 | } | |
2cd2fac8 RD |
6733 | _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3)); |
6734 | #endif | |
d5c9047a | 6735 | } |
1d99702e RD |
6736 | if (_argo6) { |
6737 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
6738 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) { | |
cf694132 | 6739 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p."); |
d5c9047a RD |
6740 | return NULL; |
6741 | } | |
6742 | } | |
cf694132 RD |
6743 | { |
6744 | wxPy_BEGIN_ALLOW_THREADS; | |
6745 | _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6)); | |
6746 | ||
6747 | wxPy_END_ALLOW_THREADS; | |
6748 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a RD |
6749 | _resultobj = Py_BuildValue("s",_ptemp); |
6750 | { | |
6751 | if (_obj3) | |
6752 | delete _arg3; | |
6753 | } | |
8ab979d7 RD |
6754 | return _resultobj; |
6755 | } | |
6756 | ||
f6bcfd97 BP |
6757 | #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
6758 | static PyObject *_wrap_wxTreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6759 | PyObject * _resultobj; | |
6760 | wxTreeItemId * _result; | |
6761 | wxPyTreeCtrl * _arg0; | |
6762 | wxTreeItemId * _arg1; | |
6763 | size_t _arg2; | |
6764 | wxString * _arg3; | |
6765 | int _arg4 = (int ) -1; | |
6766 | int _arg5 = (int ) -1; | |
6767 | wxTreeItemData * _arg6 = (wxTreeItemData *) NULL; | |
6768 | PyObject * _argo0 = 0; | |
6769 | PyObject * _argo1 = 0; | |
6770 | PyObject * _obj3 = 0; | |
6771 | PyObject * _argo6 = 0; | |
6772 | char *_kwnames[] = { "self","parent","before","text","image","selectedImage","data", NULL }; | |
6773 | char _ptemp[128]; | |
6774 | ||
6775 | self = self; | |
6776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_arg4,&_arg5,&_argo6)) | |
6777 | return NULL; | |
6778 | if (_argo0) { | |
6779 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6780 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { | |
6781 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p."); | |
6782 | return NULL; | |
6783 | } | |
6784 | } | |
6785 | if (_argo1) { | |
6786 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6787 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
6788 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p."); | |
6789 | return NULL; | |
6790 | } | |
6791 | } | |
6792 | { | |
2cd2fac8 RD |
6793 | #if PYTHON_API_VERSION >= 1009 |
6794 | char* tmpPtr; int tmpSize; | |
6795 | if (!PyString_Check(_obj3) && !PyUnicode_Check(_obj3)) { | |
6796 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
6797 | return NULL; | |
6798 | } | |
6799 | if (PyString_AsStringAndSize(_obj3, &tmpPtr, &tmpSize) == -1) | |
6800 | return NULL; | |
6801 | _arg3 = new wxString(tmpPtr, tmpSize); | |
6802 | #else | |
f6bcfd97 BP |
6803 | if (!PyString_Check(_obj3)) { |
6804 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6805 | return NULL; | |
6806 | } | |
2cd2fac8 RD |
6807 | _arg3 = new wxString(PyString_AS_STRING(_obj3), PyString_GET_SIZE(_obj3)); |
6808 | #endif | |
f6bcfd97 BP |
6809 | } |
6810 | if (_argo6) { | |
6811 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
6812 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxTreeItemData_p")) { | |
6813 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p."); | |
6814 | return NULL; | |
6815 | } | |
6816 | } | |
6817 | { | |
6818 | wxPy_BEGIN_ALLOW_THREADS; | |
6819 | _result = new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6)); | |
6820 | ||
6821 | wxPy_END_ALLOW_THREADS; | |
6822 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
6823 | _resultobj = Py_BuildValue("s",_ptemp); | |
6824 | { | |
6825 | if (_obj3) | |
6826 | delete _arg3; | |
6827 | } | |
6828 | return _resultobj; | |
6829 | } | |
6830 | ||
d5c9047a | 6831 | #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) |
efc5f224 | 6832 | static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6833 | PyObject * _resultobj; |
d5c9047a | 6834 | wxTreeItemId * _result; |
f6bcfd97 | 6835 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6836 | wxTreeItemId * _arg1; |
8ab979d7 | 6837 | wxString * _arg2; |
1d99702e RD |
6838 | int _arg3 = (int ) -1; |
6839 | int _arg4 = (int ) -1; | |
6840 | wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL; | |
6841 | PyObject * _argo0 = 0; | |
6842 | PyObject * _argo1 = 0; | |
8ab979d7 | 6843 | PyObject * _obj2 = 0; |
1d99702e | 6844 | PyObject * _argo5 = 0; |
efc5f224 | 6845 | char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL }; |
d5c9047a | 6846 | char _ptemp[128]; |
8ab979d7 RD |
6847 | |
6848 | self = self; | |
efc5f224 | 6849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5)) |
8ab979d7 | 6850 | return NULL; |
1d99702e RD |
6851 | if (_argo0) { |
6852 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6853 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6854 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
6855 | return NULL; |
6856 | } | |
6857 | } | |
1d99702e RD |
6858 | if (_argo1) { |
6859 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6860 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a | 6861 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p."); |
8ab979d7 RD |
6862 | return NULL; |
6863 | } | |
6864 | } | |
6865 | { | |
2cd2fac8 RD |
6866 | #if PYTHON_API_VERSION >= 1009 |
6867 | char* tmpPtr; int tmpSize; | |
6868 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
6869 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
6870 | return NULL; | |
6871 | } | |
6872 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
6873 | return NULL; | |
6874 | _arg2 = new wxString(tmpPtr, tmpSize); | |
6875 | #else | |
8ab979d7 RD |
6876 | if (!PyString_Check(_obj2)) { |
6877 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6878 | return NULL; | |
6879 | } | |
2cd2fac8 RD |
6880 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
6881 | #endif | |
8ab979d7 | 6882 | } |
1d99702e RD |
6883 | if (_argo5) { |
6884 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
6885 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) { | |
cf694132 | 6886 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p."); |
d5c9047a RD |
6887 | return NULL; |
6888 | } | |
6889 | } | |
cf694132 RD |
6890 | { |
6891 | wxPy_BEGIN_ALLOW_THREADS; | |
6892 | _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5)); | |
6893 | ||
6894 | wxPy_END_ALLOW_THREADS; | |
6895 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6896 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
6897 | { |
6898 | if (_obj2) | |
6899 | delete _arg2; | |
6900 | } | |
6901 | return _resultobj; | |
6902 | } | |
6903 | ||
d5c9047a | 6904 | #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0)) |
efc5f224 | 6905 | static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6906 | PyObject * _resultobj; |
f6bcfd97 | 6907 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6908 | wxTreeItemId * _arg1; |
1d99702e RD |
6909 | PyObject * _argo0 = 0; |
6910 | PyObject * _argo1 = 0; | |
efc5f224 | 6911 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
6912 | |
6913 | self = self; | |
efc5f224 | 6914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 6915 | return NULL; |
1d99702e RD |
6916 | if (_argo0) { |
6917 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6918 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6919 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6920 | return NULL; |
6921 | } | |
6922 | } | |
1d99702e RD |
6923 | if (_argo1) { |
6924 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6925 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
6926 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p."); |
6927 | return NULL; | |
6928 | } | |
6929 | } | |
cf694132 RD |
6930 | { |
6931 | wxPy_BEGIN_ALLOW_THREADS; | |
6932 | wxTreeCtrl_Delete(_arg0,*_arg1); | |
6933 | ||
6934 | wxPy_END_ALLOW_THREADS; | |
6935 | } Py_INCREF(Py_None); | |
d5c9047a RD |
6936 | _resultobj = Py_None; |
6937 | return _resultobj; | |
6938 | } | |
6939 | ||
08127323 | 6940 | #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0)) |
efc5f224 | 6941 | static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 | 6942 | PyObject * _resultobj; |
f6bcfd97 | 6943 | wxPyTreeCtrl * _arg0; |
08127323 | 6944 | wxTreeItemId * _arg1; |
1d99702e RD |
6945 | PyObject * _argo0 = 0; |
6946 | PyObject * _argo1 = 0; | |
efc5f224 | 6947 | char *_kwnames[] = { "self","item", NULL }; |
08127323 RD |
6948 | |
6949 | self = self; | |
efc5f224 | 6950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1)) |
08127323 | 6951 | return NULL; |
1d99702e RD |
6952 | if (_argo0) { |
6953 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6954 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6955 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p."); | |
08127323 RD |
6956 | return NULL; |
6957 | } | |
6958 | } | |
1d99702e RD |
6959 | if (_argo1) { |
6960 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6961 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
08127323 RD |
6962 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p."); |
6963 | return NULL; | |
6964 | } | |
6965 | } | |
cf694132 RD |
6966 | { |
6967 | wxPy_BEGIN_ALLOW_THREADS; | |
6968 | wxTreeCtrl_DeleteChildren(_arg0,*_arg1); | |
6969 | ||
6970 | wxPy_END_ALLOW_THREADS; | |
6971 | } Py_INCREF(Py_None); | |
08127323 RD |
6972 | _resultobj = Py_None; |
6973 | return _resultobj; | |
6974 | } | |
6975 | ||
d5c9047a | 6976 | #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems()) |
efc5f224 | 6977 | static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 6978 | PyObject * _resultobj; |
f6bcfd97 | 6979 | wxPyTreeCtrl * _arg0; |
1d99702e | 6980 | PyObject * _argo0 = 0; |
efc5f224 | 6981 | char *_kwnames[] = { "self", NULL }; |
d5c9047a RD |
6982 | |
6983 | self = self; | |
efc5f224 | 6984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0)) |
d5c9047a | 6985 | return NULL; |
1d99702e RD |
6986 | if (_argo0) { |
6987 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6988 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6989 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
6990 | return NULL; |
6991 | } | |
6992 | } | |
cf694132 RD |
6993 | { |
6994 | wxPy_BEGIN_ALLOW_THREADS; | |
6995 | wxTreeCtrl_DeleteAllItems(_arg0); | |
6996 | ||
6997 | wxPy_END_ALLOW_THREADS; | |
6998 | } Py_INCREF(Py_None); | |
d5c9047a RD |
6999 | _resultobj = Py_None; |
7000 | return _resultobj; | |
7001 | } | |
7002 | ||
7003 | #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0)) | |
efc5f224 | 7004 | static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 7005 | PyObject * _resultobj; |
f6bcfd97 | 7006 | wxPyTreeCtrl * _arg0; |
d5c9047a | 7007 | wxTreeItemId * _arg1; |
1d99702e RD |
7008 | PyObject * _argo0 = 0; |
7009 | PyObject * _argo1 = 0; | |
efc5f224 | 7010 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
7011 | |
7012 | self = self; | |
efc5f224 | 7013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 7014 | return NULL; |
1d99702e RD |
7015 | if (_argo0) { |
7016 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7017 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7018 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
7019 | return NULL; |
7020 | } | |
7021 | } | |
1d99702e RD |
7022 | if (_argo1) { |
7023 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7024 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
7025 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p."); |
7026 | return NULL; | |
7027 | } | |
7028 | } | |
cf694132 RD |
7029 | { |
7030 | wxPy_BEGIN_ALLOW_THREADS; | |
7031 | wxTreeCtrl_Expand(_arg0,*_arg1); | |
7032 | ||
7033 | wxPy_END_ALLOW_THREADS; | |
7034 | } Py_INCREF(Py_None); | |
d5c9047a RD |
7035 | _resultobj = Py_None; |
7036 | return _resultobj; | |
7037 | } | |
7038 | ||
7039 | #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0)) | |
efc5f224 | 7040 | static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 7041 | PyObject * _resultobj; |
f6bcfd97 | 7042 | wxPyTreeCtrl * _arg0; |
d5c9047a | 7043 | wxTreeItemId * _arg1; |
1d99702e RD |
7044 | PyObject * _argo0 = 0; |
7045 | PyObject * _argo1 = 0; | |
efc5f224 | 7046 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
7047 | |
7048 | self = self; | |
efc5f224 | 7049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 7050 | return NULL; |
1d99702e RD |
7051 | if (_argo0) { |
7052 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7053 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7054 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
7055 | return NULL; |
7056 | } | |
7057 | } | |
1d99702e RD |
7058 | if (_argo1) { |
7059 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7060 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
7061 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p."); |
7062 | return NULL; | |
7063 | } | |
7064 | } | |
cf694132 RD |
7065 | { |
7066 | wxPy_BEGIN_ALLOW_THREADS; | |
7067 | wxTreeCtrl_Collapse(_arg0,*_arg1); | |
7068 | ||
7069 | wxPy_END_ALLOW_THREADS; | |
7070 | } Py_INCREF(Py_None); | |
d5c9047a RD |
7071 | _resultobj = Py_None; |
7072 | return _resultobj; | |
7073 | } | |
7074 | ||
7075 | #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0)) | |
efc5f224 | 7076 | static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 7077 | PyObject * _resultobj; |
f6bcfd97 | 7078 | wxPyTreeCtrl * _arg0; |
d5c9047a | 7079 | wxTreeItemId * _arg1; |
1d99702e RD |
7080 | PyObject * _argo0 = 0; |
7081 | PyObject * _argo1 = 0; | |
efc5f224 | 7082 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
7083 | |
7084 | self = self; | |
efc5f224 | 7085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 7086 | return NULL; |
1d99702e RD |
7087 | if (_argo0) { |
7088 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7089 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7090 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
7091 | return NULL; |
7092 | } | |
7093 | } | |
1d99702e RD |
7094 | if (_argo1) { |
7095 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7096 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
7097 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p."); |
7098 | return NULL; | |
7099 | } | |
7100 | } | |
cf694132 RD |
7101 | { |
7102 | wxPy_BEGIN_ALLOW_THREADS; | |
7103 | wxTreeCtrl_CollapseAndReset(_arg0,*_arg1); | |
7104 | ||
7105 | wxPy_END_ALLOW_THREADS; | |
7106 | } Py_INCREF(Py_None); | |
d5c9047a RD |
7107 | _resultobj = Py_None; |
7108 | return _resultobj; | |
7109 | } | |
7110 | ||
7111 | #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0)) | |
efc5f224 | 7112 | static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 7113 | PyObject * _resultobj; |
f6bcfd97 | 7114 | wxPyTreeCtrl * _arg0; |
d5c9047a | 7115 | wxTreeItemId * _arg1; |
1d99702e RD |
7116 | PyObject * _argo0 = 0; |
7117 | PyObject * _argo1 = 0; | |
efc5f224 | 7118 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
7119 | |
7120 | self = self; | |
efc5f224 | 7121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 7122 | return NULL; |
1d99702e RD |
7123 | if (_argo0) { |
7124 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7125 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7126 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
7127 | return NULL; |
7128 | } | |
7129 | } | |
1d99702e RD |
7130 | if (_argo1) { |
7131 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7132 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
7133 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p."); |
7134 | return NULL; | |
7135 | } | |
7136 | } | |
cf694132 RD |
7137 | { |
7138 | wxPy_BEGIN_ALLOW_THREADS; | |
7139 | wxTreeCtrl_Toggle(_arg0,*_arg1); | |
7140 | ||
7141 | wxPy_END_ALLOW_THREADS; | |
7142 | } Py_INCREF(Py_None); | |
d5c9047a RD |
7143 | _resultobj = Py_None; |
7144 | return _resultobj; | |
7145 | } | |
7146 | ||
7147 | #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect()) | |
efc5f224 | 7148 | static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 7149 | PyObject * _resultobj; |
f6bcfd97 | 7150 | wxPyTreeCtrl * _arg0; |
1d99702e | 7151 | PyObject * _argo0 = 0; |
efc5f224 | 7152 | char *_kwnames[] = { "self", NULL }; |
d5c9047a RD |
7153 | |
7154 | self = self; | |
efc5f224 | 7155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0)) |
d5c9047a | 7156 | return NULL; |
1d99702e RD |
7157 | if (_argo0) { |
7158 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7159 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7160 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
7161 | return NULL; |
7162 | } | |
7163 | } | |
cf694132 RD |
7164 | { |
7165 | wxPy_BEGIN_ALLOW_THREADS; | |
7166 | wxTreeCtrl_Unselect(_arg0); | |
7167 | ||
7168 | wxPy_END_ALLOW_THREADS; | |
7169 | } Py_INCREF(Py_None); | |
d5c9047a RD |
7170 | _resultobj = Py_None; |
7171 | return _resultobj; | |
7172 | } | |
7173 | ||
8bf5d46e | 7174 | #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll()) |
efc5f224 | 7175 | static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) { |
8bf5d46e | 7176 | PyObject * _resultobj; |
f6bcfd97 | 7177 | wxPyTreeCtrl * _arg0; |
1d99702e | 7178 | PyObject * _argo0 = 0; |
efc5f224 | 7179 | char *_kwnames[] = { "self", NULL }; |
8bf5d46e RD |
7180 | |
7181 | self = self; | |
efc5f224 | 7182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0)) |
8bf5d46e | 7183 | return NULL; |
1d99702e RD |
7184 | if (_argo0) { |
7185 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7186 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7187 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p."); | |
8bf5d46e RD |
7188 | return NULL; |
7189 | } | |
7190 | } | |
7191 | { | |
7192 | wxPy_BEGIN_ALLOW_THREADS; | |
7193 | wxTreeCtrl_UnselectAll(_arg0); | |
7194 | ||
7195 | wxPy_END_ALLOW_THREADS; | |
7196 | } Py_INCREF(Py_None); | |
7197 | _resultobj = Py_None; | |
7198 | return _resultobj; | |
7199 | } | |
7200 | ||
d5c9047a | 7201 | #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0)) |
efc5f224 | 7202 | static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 7203 | PyObject * _resultobj; |
f6bcfd97 | 7204 | wxPyTreeCtrl * _arg0; |
d5c9047a | 7205 | wxTreeItemId * _arg1; |
1d99702e RD |
7206 | PyObject * _argo0 = 0; |
7207 | PyObject * _argo1 = 0; | |
efc5f224 | 7208 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
7209 | |
7210 | self = self; | |
efc5f224 | 7211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 7212 | return NULL; |
1d99702e RD |
7213 | if (_argo0) { |
7214 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7215 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7216 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
7217 | return NULL; |
7218 | } | |
7219 | } | |
1d99702e RD |
7220 | if (_argo1) { |
7221 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7222 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
7223 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p."); |
7224 | return NULL; | |
7225 | } | |
7226 | } | |
cf694132 RD |
7227 | { |
7228 | wxPy_BEGIN_ALLOW_THREADS; | |
7229 | wxTreeCtrl_SelectItem(_arg0,*_arg1); | |
7230 | ||
7231 | wxPy_END_ALLOW_THREADS; | |
7232 | } Py_INCREF(Py_None); | |
d5c9047a RD |
7233 | _resultobj = Py_None; |
7234 | return _resultobj; | |
7235 | } | |
7236 | ||
7237 | #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0)) | |
efc5f224 | 7238 | static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 7239 | PyObject * _resultobj; |
f6bcfd97 | 7240 | wxPyTreeCtrl * _arg0; |
d5c9047a | 7241 | wxTreeItemId * _arg1; |
1d99702e RD |
7242 | PyObject * _argo0 = 0; |
7243 | PyObject * _argo1 = 0; | |
efc5f224 | 7244 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
7245 | |
7246 | self = self; | |
efc5f224 | 7247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 7248 | return NULL; |
1d99702e RD |
7249 | if (_argo0) { |
7250 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7251 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7252 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
7253 | return NULL; |
7254 | } | |
7255 | } | |
1d99702e RD |
7256 | if (_argo1) { |
7257 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7258 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
7259 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p."); |
7260 | return NULL; | |
7261 | } | |
7262 | } | |
cf694132 RD |
7263 | { |
7264 | wxPy_BEGIN_ALLOW_THREADS; | |
7265 | wxTreeCtrl_EnsureVisible(_arg0,*_arg1); | |
7266 | ||
7267 | wxPy_END_ALLOW_THREADS; | |
7268 | } Py_INCREF(Py_None); | |
d5c9047a RD |
7269 | _resultobj = Py_None; |
7270 | return _resultobj; | |
7271 | } | |
7272 | ||
7273 | #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0)) | |
efc5f224 | 7274 | static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 7275 | PyObject * _resultobj; |
f6bcfd97 | 7276 | wxPyTreeCtrl * _arg0; |
d5c9047a | 7277 | wxTreeItemId * _arg1; |
1d99702e RD |
7278 | PyObject * _argo0 = 0; |
7279 | PyObject * _argo1 = 0; | |
efc5f224 | 7280 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
7281 | |
7282 | self = self; | |
efc5f224 | 7283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 7284 | return NULL; |
1d99702e RD |
7285 | if (_argo0) { |
7286 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7287 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7288 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
7289 | return NULL; |
7290 | } | |
7291 | } | |
1d99702e RD |
7292 | if (_argo1) { |
7293 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7294 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
7295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p."); |
7296 | return NULL; | |
7297 | } | |
7298 | } | |
cf694132 RD |
7299 | { |
7300 | wxPy_BEGIN_ALLOW_THREADS; | |
7301 | wxTreeCtrl_ScrollTo(_arg0,*_arg1); | |
7302 | ||
7303 | wxPy_END_ALLOW_THREADS; | |
7304 | } Py_INCREF(Py_None); | |
d5c9047a RD |
7305 | _resultobj = Py_None; |
7306 | return _resultobj; | |
7307 | } | |
7308 | ||
7309 | #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0)) | |
efc5f224 | 7310 | static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 7311 | PyObject * _resultobj; |
f6bcfd97 | 7312 | wxPyTreeCtrl * _arg0; |
d5c9047a | 7313 | wxTreeItemId * _arg1; |
1d99702e RD |
7314 | PyObject * _argo0 = 0; |
7315 | PyObject * _argo1 = 0; | |
efc5f224 | 7316 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
7317 | |
7318 | self = self; | |
efc5f224 | 7319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 7320 | return NULL; |
1d99702e RD |
7321 | if (_argo0) { |
7322 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7323 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7324 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
7325 | return NULL; |
7326 | } | |
7327 | } | |
1d99702e RD |
7328 | if (_argo1) { |
7329 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7330 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
7331 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p."); |
7332 | return NULL; | |
7333 | } | |
7334 | } | |
cf694132 RD |
7335 | { |
7336 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 7337 | wxTreeCtrl_EditLabel(_arg0,*_arg1); |
cf694132 RD |
7338 | |
7339 | wxPy_END_ALLOW_THREADS; | |
7340 | } Py_INCREF(Py_None); | |
d5c9047a | 7341 | _resultobj = Py_None; |
8ab979d7 RD |
7342 | return _resultobj; |
7343 | } | |
7344 | ||
d426c97e RD |
7345 | #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0)) |
7346 | static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7347 | PyObject * _resultobj; | |
f6bcfd97 | 7348 | wxPyTreeCtrl * _arg0; |
d426c97e RD |
7349 | wxTreeItemId * _arg1; |
7350 | PyObject * _argo0 = 0; | |
7351 | PyObject * _argo1 = 0; | |
7352 | char *_kwnames[] = { "self","item", NULL }; | |
7353 | ||
7354 | self = self; | |
7355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1)) | |
7356 | return NULL; | |
7357 | if (_argo0) { | |
7358 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7359 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7360 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p."); | |
d426c97e RD |
7361 | return NULL; |
7362 | } | |
7363 | } | |
7364 | if (_argo1) { | |
7365 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7366 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
7367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p."); | |
7368 | return NULL; | |
7369 | } | |
7370 | } | |
7371 | { | |
7372 | wxPy_BEGIN_ALLOW_THREADS; | |
7373 | wxTreeCtrl_SortChildren(_arg0,*_arg1); | |
7374 | ||
7375 | wxPy_END_ALLOW_THREADS; | |
7376 | } Py_INCREF(Py_None); | |
7377 | _resultobj = Py_None; | |
7378 | return _resultobj; | |
7379 | } | |
7380 | ||
b8b8dda7 | 7381 | #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1)) |
efc5f224 | 7382 | static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) { |
b8b8dda7 | 7383 | PyObject * _resultobj; |
f6bcfd97 | 7384 | wxPyTreeCtrl * _arg0; |
b8b8dda7 | 7385 | wxTreeItemId * _arg1; |
b1462dfa | 7386 | int _arg2 = (int ) TRUE; |
1d99702e RD |
7387 | PyObject * _argo0 = 0; |
7388 | PyObject * _argo1 = 0; | |
efc5f224 | 7389 | char *_kwnames[] = { "self","item","bold", NULL }; |
b8b8dda7 RD |
7390 | |
7391 | self = self; | |
b1462dfa | 7392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2)) |
b8b8dda7 | 7393 | return NULL; |
1d99702e RD |
7394 | if (_argo0) { |
7395 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7396 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7397 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p."); | |
b8b8dda7 RD |
7398 | return NULL; |
7399 | } | |
7400 | } | |
1d99702e RD |
7401 | if (_argo1) { |
7402 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7403 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
b8b8dda7 RD |
7404 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p."); |
7405 | return NULL; | |
7406 | } | |
7407 | } | |
cf694132 RD |
7408 | { |
7409 | wxPy_BEGIN_ALLOW_THREADS; | |
7410 | wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2); | |
7411 | ||
7412 | wxPy_END_ALLOW_THREADS; | |
7413 | } Py_INCREF(Py_None); | |
b8b8dda7 RD |
7414 | _resultobj = Py_None; |
7415 | return _resultobj; | |
7416 | } | |
7417 | ||
7418 | #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0)) | |
efc5f224 | 7419 | static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) { |
b8b8dda7 RD |
7420 | PyObject * _resultobj; |
7421 | bool _result; | |
f6bcfd97 | 7422 | wxPyTreeCtrl * _arg0; |
b8b8dda7 | 7423 | wxTreeItemId * _arg1; |
1d99702e RD |
7424 | PyObject * _argo0 = 0; |
7425 | PyObject * _argo1 = 0; | |
efc5f224 | 7426 | char *_kwnames[] = { "self","item", NULL }; |
b8b8dda7 RD |
7427 | |
7428 | self = self; | |
efc5f224 | 7429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1)) |
b8b8dda7 | 7430 | return NULL; |
1d99702e RD |
7431 | if (_argo0) { |
7432 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7433 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7434 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p."); | |
b8b8dda7 RD |
7435 | return NULL; |
7436 | } | |
7437 | } | |
1d99702e RD |
7438 | if (_argo1) { |
7439 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7440 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
b8b8dda7 RD |
7441 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p."); |
7442 | return NULL; | |
7443 | } | |
7444 | } | |
cf694132 RD |
7445 | { |
7446 | wxPy_BEGIN_ALLOW_THREADS; | |
7447 | _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1); | |
7448 | ||
7449 | wxPy_END_ALLOW_THREADS; | |
7450 | } _resultobj = Py_BuildValue("i",_result); | |
b8b8dda7 RD |
7451 | return _resultobj; |
7452 | } | |
7453 | ||
164b735b | 7454 | #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1)) |
efc5f224 | 7455 | static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { |
b8b8dda7 RD |
7456 | PyObject * _resultobj; |
7457 | wxTreeItemId * _result; | |
f6bcfd97 | 7458 | wxPyTreeCtrl * _arg0; |
b8b8dda7 | 7459 | wxPoint * _arg1; |
164b735b RD |
7460 | int * _arg2; |
7461 | int temp; | |
1d99702e | 7462 | PyObject * _argo0 = 0; |
164b735b | 7463 | wxPoint temp0; |
2f90df85 | 7464 | PyObject * _obj1 = 0; |
efc5f224 | 7465 | char *_kwnames[] = { "self","point", NULL }; |
b8b8dda7 RD |
7466 | char _ptemp[128]; |
7467 | ||
7468 | self = self; | |
164b735b RD |
7469 | { |
7470 | _arg2 = &temp; | |
7471 | } | |
2f90df85 | 7472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1)) |
b8b8dda7 | 7473 | return NULL; |
1d99702e RD |
7474 | if (_argo0) { |
7475 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7476 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p."); | |
b8b8dda7 RD |
7478 | return NULL; |
7479 | } | |
7480 | } | |
2f90df85 | 7481 | { |
164b735b | 7482 | _arg1 = &temp0; |
2f90df85 | 7483 | if (! wxPoint_helper(_obj1, &_arg1)) |
b8b8dda7 | 7484 | return NULL; |
2f90df85 | 7485 | } |
cf694132 RD |
7486 | { |
7487 | wxPy_BEGIN_ALLOW_THREADS; | |
164b735b | 7488 | _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2)); |
cf694132 RD |
7489 | |
7490 | wxPy_END_ALLOW_THREADS; | |
7491 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
b8b8dda7 | 7492 | _resultobj = Py_BuildValue("s",_ptemp); |
164b735b RD |
7493 | { |
7494 | PyObject *o; | |
7495 | o = PyInt_FromLong((long) (*_arg2)); | |
7496 | _resultobj = t_output_helper(_resultobj, o); | |
7497 | } | |
b8b8dda7 RD |
7498 | return _resultobj; |
7499 | } | |
7500 | ||
b7e72427 RD |
7501 | #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1)) |
7502 | static PyObject *_wrap_wxTreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7503 | PyObject * _resultobj; | |
f6bcfd97 | 7504 | wxPyTreeCtrl * _arg0; |
b7e72427 RD |
7505 | wxTreeItemId * _arg1; |
7506 | wxColour * _arg2; | |
7507 | PyObject * _argo0 = 0; | |
7508 | PyObject * _argo1 = 0; | |
f6bcfd97 BP |
7509 | wxColour temp; |
7510 | PyObject * _obj2 = 0; | |
b7e72427 RD |
7511 | char *_kwnames[] = { "self","item","col", NULL }; |
7512 | ||
7513 | self = self; | |
f6bcfd97 | 7514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_obj2)) |
b7e72427 RD |
7515 | return NULL; |
7516 | if (_argo0) { | |
7517 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7518 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7519 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p."); | |
b7e72427 RD |
7520 | return NULL; |
7521 | } | |
7522 | } | |
7523 | if (_argo1) { | |
7524 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7525 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
7526 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p."); | |
7527 | return NULL; | |
7528 | } | |
7529 | } | |
f6bcfd97 BP |
7530 | { |
7531 | _arg2 = &temp; | |
7532 | if (! wxColour_helper(_obj2, &_arg2)) | |
b7e72427 | 7533 | return NULL; |
f6bcfd97 | 7534 | } |
b7e72427 RD |
7535 | { |
7536 | wxPy_BEGIN_ALLOW_THREADS; | |
7537 | wxTreeCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2); | |
7538 | ||
7539 | wxPy_END_ALLOW_THREADS; | |
7540 | } Py_INCREF(Py_None); | |
7541 | _resultobj = Py_None; | |
7542 | return _resultobj; | |
7543 | } | |
7544 | ||
7545 | #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1)) | |
7546 | static PyObject *_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7547 | PyObject * _resultobj; | |
f6bcfd97 | 7548 | wxPyTreeCtrl * _arg0; |
b7e72427 RD |
7549 | wxTreeItemId * _arg1; |
7550 | wxColour * _arg2; | |
7551 | PyObject * _argo0 = 0; | |
7552 | PyObject * _argo1 = 0; | |
f6bcfd97 BP |
7553 | wxColour temp; |
7554 | PyObject * _obj2 = 0; | |
b7e72427 RD |
7555 | char *_kwnames[] = { "self","item","col", NULL }; |
7556 | ||
7557 | self = self; | |
f6bcfd97 | 7558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_obj2)) |
b7e72427 RD |
7559 | return NULL; |
7560 | if (_argo0) { | |
7561 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7562 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7563 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p."); | |
b7e72427 RD |
7564 | return NULL; |
7565 | } | |
7566 | } | |
7567 | if (_argo1) { | |
7568 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7569 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
7570 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p."); | |
7571 | return NULL; | |
7572 | } | |
7573 | } | |
f6bcfd97 BP |
7574 | { |
7575 | _arg2 = &temp; | |
7576 | if (! wxColour_helper(_obj2, &_arg2)) | |
b7e72427 | 7577 | return NULL; |
f6bcfd97 | 7578 | } |
b7e72427 RD |
7579 | { |
7580 | wxPy_BEGIN_ALLOW_THREADS; | |
7581 | wxTreeCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2); | |
7582 | ||
7583 | wxPy_END_ALLOW_THREADS; | |
7584 | } Py_INCREF(Py_None); | |
7585 | _resultobj = Py_None; | |
7586 | return _resultobj; | |
7587 | } | |
7588 | ||
7589 | #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1)) | |
7590 | static PyObject *_wrap_wxTreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7591 | PyObject * _resultobj; | |
f6bcfd97 | 7592 | wxPyTreeCtrl * _arg0; |
b7e72427 RD |
7593 | wxTreeItemId * _arg1; |
7594 | wxFont * _arg2; | |
7595 | PyObject * _argo0 = 0; | |
7596 | PyObject * _argo1 = 0; | |
7597 | PyObject * _argo2 = 0; | |
7598 | char *_kwnames[] = { "self","item","font", NULL }; | |
7599 | ||
7600 | self = self; | |
7601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2)) | |
7602 | return NULL; | |
7603 | if (_argo0) { | |
7604 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7605 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7606 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p."); | |
b7e72427 RD |
7607 | return NULL; |
7608 | } | |
7609 | } | |
7610 | if (_argo1) { | |
7611 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7612 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
7613 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p."); | |
7614 | return NULL; | |
7615 | } | |
7616 | } | |
7617 | if (_argo2) { | |
7618 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7619 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) { | |
7620 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p."); | |
7621 | return NULL; | |
7622 | } | |
7623 | } | |
7624 | { | |
7625 | wxPy_BEGIN_ALLOW_THREADS; | |
7626 | wxTreeCtrl_SetItemFont(_arg0,*_arg1,*_arg2); | |
7627 | ||
7628 | wxPy_END_ALLOW_THREADS; | |
7629 | } Py_INCREF(Py_None); | |
7630 | _resultobj = Py_None; | |
7631 | return _resultobj; | |
7632 | } | |
7633 | ||
8ab979d7 | 7634 | static PyMethodDef controls2cMethods[] = { |
b7e72427 RD |
7635 | { "wxTreeCtrl_SetItemFont", (PyCFunction) _wrap_wxTreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS }, |
7636 | { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
7637 | { "wxTreeCtrl_SetItemTextColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
7638 | { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS }, |
7639 | { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS }, | |
7640 | { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS }, | |
d426c97e | 7641 | { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7642 | { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS }, |
7643 | { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS }, | |
7644 | { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
7645 | { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS }, | |
7646 | { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS }, | |
7647 | { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS }, | |
7648 | { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS }, | |
7649 | { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS }, | |
7650 | { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS }, | |
7651 | { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS }, | |
7652 | { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS }, | |
7653 | { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS }, | |
7654 | { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS }, | |
7655 | { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 7656 | { "wxTreeCtrl_InsertItemBefore", (PyCFunction) _wrap_wxTreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7657 | { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS }, |
7658 | { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS }, | |
7659 | { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS }, | |
d426c97e | 7660 | { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7661 | { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS }, |
7662 | { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS }, | |
7663 | { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS }, | |
7664 | { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS }, | |
7665 | { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS }, | |
7666 | { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS }, | |
7667 | { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
7668 | { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS }, | |
d426c97e | 7669 | { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS }, |
eb715945 | 7670 | { "wxTreeCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7671 | { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, |
7672 | { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS }, | |
7673 | { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS }, | |
7674 | { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS }, | |
7675 | { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS }, | |
7676 | { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
7677 | { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS }, | |
7678 | { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS }, | |
7679 | { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS }, | |
7680 | { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS }, | |
7681 | { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS }, | |
7682 | { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS }, | |
7683 | { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS }, | |
7684 | { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS }, | |
7685 | { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS }, | |
7686 | { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS }, | |
7687 | { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS }, | |
b1462dfa RD |
7688 | { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS }, |
7689 | { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
7690 | { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS }, |
7691 | { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS }, | |
7692 | { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS }, | |
7693 | { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS }, | |
7694 | { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
7695 | { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
7696 | { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 7697 | { "wxTreeCtrl__setSelf", (PyCFunction) _wrap_wxTreeCtrl__setSelf, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7698 | { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS }, |
7699 | { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS }, | |
7700 | { "wxTreeEvent_GetCode", (PyCFunction) _wrap_wxTreeEvent_GetCode, METH_VARARGS | METH_KEYWORDS }, | |
7701 | { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS }, | |
7702 | { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS }, | |
7703 | { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS }, | |
7704 | { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS }, | |
7705 | { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS }, | |
7706 | { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS }, | |
7707 | { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS }, | |
7708 | { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 7709 | { "wxTreeItemId___cmp__", (PyCFunction) _wrap_wxTreeItemId___cmp__, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7710 | { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS }, |
7711 | { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS }, | |
7712 | { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS }, | |
dcd38683 | 7713 | { "wxListCtrl_SortItems", (PyCFunction) _wrap_wxListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7714 | { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS }, |
7715 | { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS }, | |
7716 | { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS }, | |
7717 | { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS }, | |
7718 | { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS }, | |
7719 | { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS }, | |
7720 | { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS }, | |
7721 | { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS }, | |
7722 | { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS }, | |
7723 | { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS }, | |
7724 | { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS }, | |
7725 | { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS }, | |
7726 | { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
7727 | { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS }, | |
7728 | { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS }, | |
7729 | { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS }, | |
7730 | { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS }, | |
7731 | { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS }, | |
7732 | { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS }, | |
c368d904 | 7733 | { "wxListCtrl_InsertColumnInfo", (PyCFunction) _wrap_wxListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7734 | { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS }, |
7735 | { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
7736 | { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS }, |
7737 | { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS }, | |
7738 | { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS }, | |
7739 | { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS }, | |
7740 | { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
7741 | { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS }, | |
7742 | { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS }, | |
7743 | { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS }, | |
7744 | { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS }, | |
7745 | { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS }, | |
7746 | { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS }, | |
7747 | { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS }, | |
7748 | { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS }, | |
7749 | { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
7750 | { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS }, | |
7751 | { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS }, | |
7752 | { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS }, | |
7753 | { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
7754 | { "wxListCtrl_EditLabel", (PyCFunction) _wrap_wxListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS }, |
7755 | { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS }, | |
7756 | { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS }, | |
7757 | { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS }, | |
7758 | { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS }, | |
7759 | { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS }, | |
7760 | { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS }, | |
7761 | { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
7762 | { "wxListEvent_GetItem", (PyCFunction) _wrap_wxListEvent_GetItem, METH_VARARGS | METH_KEYWORDS }, |
7763 | { "wxListEvent_GetMask", (PyCFunction) _wrap_wxListEvent_GetMask, METH_VARARGS | METH_KEYWORDS }, | |
7764 | { "wxListEvent_GetData", (PyCFunction) _wrap_wxListEvent_GetData, METH_VARARGS | METH_KEYWORDS }, | |
7765 | { "wxListEvent_GetImage", (PyCFunction) _wrap_wxListEvent_GetImage, METH_VARARGS | METH_KEYWORDS }, | |
7766 | { "wxListEvent_GetText", (PyCFunction) _wrap_wxListEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
7767 | { "wxListEvent_GetLabel", (PyCFunction) _wrap_wxListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS }, | |
7768 | { "wxListEvent_GetPoint", (PyCFunction) _wrap_wxListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS }, | |
7769 | { "wxListEvent_Cancelled", (PyCFunction) _wrap_wxListEvent_Cancelled, METH_VARARGS | METH_KEYWORDS }, | |
7770 | { "wxListEvent_GetColumn", (PyCFunction) _wrap_wxListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
7771 | { "wxListEvent_GetOldItem", (PyCFunction) _wrap_wxListEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS }, | |
7772 | { "wxListEvent_GetOldIndex", (PyCFunction) _wrap_wxListEvent_GetOldIndex, METH_VARARGS | METH_KEYWORDS }, | |
7773 | { "wxListEvent_GetIndex", (PyCFunction) _wrap_wxListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS }, | |
7774 | { "wxListEvent_GetCode", (PyCFunction) _wrap_wxListEvent_GetCode, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
7775 | { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS }, |
7776 | { "wxListEvent_m_item_set", (PyCFunction) _wrap_wxListEvent_m_item_set, METH_VARARGS | METH_KEYWORDS }, | |
7777 | { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS }, | |
7778 | { "wxListEvent_m_pointDrag_set", (PyCFunction) _wrap_wxListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS }, | |
7779 | { "wxListEvent_m_cancelled_get", (PyCFunction) _wrap_wxListEvent_m_cancelled_get, METH_VARARGS | METH_KEYWORDS }, | |
7780 | { "wxListEvent_m_cancelled_set", (PyCFunction) _wrap_wxListEvent_m_cancelled_set, METH_VARARGS | METH_KEYWORDS }, | |
7781 | { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS }, | |
7782 | { "wxListEvent_m_col_set", (PyCFunction) _wrap_wxListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS }, | |
7783 | { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS }, | |
7784 | { "wxListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS }, | |
7785 | { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS }, | |
7786 | { "wxListEvent_m_itemIndex_set", (PyCFunction) _wrap_wxListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS }, | |
7787 | { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS }, | |
7788 | { "wxListEvent_m_code_set", (PyCFunction) _wrap_wxListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
7789 | { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS }, |
7790 | { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS }, | |
7791 | { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS }, | |
7792 | { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS }, | |
7793 | { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS }, | |
7794 | { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS }, | |
7795 | { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS }, | |
7796 | { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS }, | |
7797 | { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS }, | |
7798 | { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS }, | |
7799 | { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS }, | |
7800 | { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS }, | |
7801 | { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS }, | |
7802 | { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS }, | |
7803 | { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS }, | |
7804 | { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS }, | |
7805 | { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS }, | |
7806 | { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS }, | |
7807 | { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS }, | |
7808 | { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
7809 | { "wxListItem_GetFont", (PyCFunction) _wrap_wxListItem_GetFont, METH_VARARGS | METH_KEYWORDS }, |
7810 | { "wxListItem_GetBackgroundColour", (PyCFunction) _wrap_wxListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
7811 | { "wxListItem_GetTextColour", (PyCFunction) _wrap_wxListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
7812 | { "wxListItem_HasAttributes", (PyCFunction) _wrap_wxListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS }, | |
7813 | { "wxListItem_GetAttributes", (PyCFunction) _wrap_wxListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS }, | |
7814 | { "wxListItem_GetAlign", (PyCFunction) _wrap_wxListItem_GetAlign, METH_VARARGS | METH_KEYWORDS }, | |
7815 | { "wxListItem_GetWidth", (PyCFunction) _wrap_wxListItem_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
7816 | { "wxListItem_GetData", (PyCFunction) _wrap_wxListItem_GetData, METH_VARARGS | METH_KEYWORDS }, | |
7817 | { "wxListItem_GetImage", (PyCFunction) _wrap_wxListItem_GetImage, METH_VARARGS | METH_KEYWORDS }, | |
7818 | { "wxListItem_GetText", (PyCFunction) _wrap_wxListItem_GetText, METH_VARARGS | METH_KEYWORDS }, | |
7819 | { "wxListItem_GetState", (PyCFunction) _wrap_wxListItem_GetState, METH_VARARGS | METH_KEYWORDS }, | |
7820 | { "wxListItem_GetColumn", (PyCFunction) _wrap_wxListItem_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
7821 | { "wxListItem_GetId", (PyCFunction) _wrap_wxListItem_GetId, METH_VARARGS | METH_KEYWORDS }, | |
7822 | { "wxListItem_GetMask", (PyCFunction) _wrap_wxListItem_GetMask, METH_VARARGS | METH_KEYWORDS }, | |
7823 | { "wxListItem_SetFont", (PyCFunction) _wrap_wxListItem_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
7824 | { "wxListItem_SetBackgroundColour", (PyCFunction) _wrap_wxListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
7825 | { "wxListItem_SetTextColour", (PyCFunction) _wrap_wxListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
7826 | { "wxListItem_SetAlign", (PyCFunction) _wrap_wxListItem_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
7827 | { "wxListItem_SetWidth", (PyCFunction) _wrap_wxListItem_SetWidth, METH_VARARGS | METH_KEYWORDS }, | |
7828 | { "wxListItem_SetData", (PyCFunction) _wrap_wxListItem_SetData, METH_VARARGS | METH_KEYWORDS }, | |
7829 | { "wxListItem_SetImage", (PyCFunction) _wrap_wxListItem_SetImage, METH_VARARGS | METH_KEYWORDS }, | |
7830 | { "wxListItem_SetText", (PyCFunction) _wrap_wxListItem_SetText, METH_VARARGS | METH_KEYWORDS }, | |
7831 | { "wxListItem_SetStateMask", (PyCFunction) _wrap_wxListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS }, | |
7832 | { "wxListItem_SetState", (PyCFunction) _wrap_wxListItem_SetState, METH_VARARGS | METH_KEYWORDS }, | |
7833 | { "wxListItem_SetColumn", (PyCFunction) _wrap_wxListItem_SetColumn, METH_VARARGS | METH_KEYWORDS }, | |
7834 | { "wxListItem_SetId", (PyCFunction) _wrap_wxListItem_SetId, METH_VARARGS | METH_KEYWORDS }, | |
7835 | { "wxListItem_SetMask", (PyCFunction) _wrap_wxListItem_SetMask, METH_VARARGS | METH_KEYWORDS }, | |
7836 | { "wxListItem_ClearAttributes", (PyCFunction) _wrap_wxListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS }, | |
7837 | { "wxListItem_Clear", (PyCFunction) _wrap_wxListItem_Clear, METH_VARARGS | METH_KEYWORDS }, | |
7838 | { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS }, | |
7839 | { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS }, | |
7840 | { "wxListItemAttr_GetFont", (PyCFunction) _wrap_wxListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS }, | |
7841 | { "wxListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
7842 | { "wxListItemAttr_GetTextColour", (PyCFunction) _wrap_wxListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
7843 | { "wxListItemAttr_HasFont", (PyCFunction) _wrap_wxListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS }, | |
7844 | { "wxListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
7845 | { "wxListItemAttr_HasTextColour", (PyCFunction) _wrap_wxListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS }, | |
7846 | { "wxListItemAttr_SetFont", (PyCFunction) _wrap_wxListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
7847 | { "wxListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
7848 | { "wxListItemAttr_SetTextColour", (PyCFunction) _wrap_wxListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
7849 | { "new_wxListItemAttr", (PyCFunction) _wrap_new_wxListItemAttr, METH_VARARGS | METH_KEYWORDS }, | |
8ab979d7 RD |
7850 | { NULL, NULL } |
7851 | }; | |
1d99702e RD |
7852 | #ifdef __cplusplus |
7853 | } | |
7854 | #endif | |
7855 | /* | |
7856 | * This table is used by the pointer type-checker | |
7857 | */ | |
7858 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
7859 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
7860 | { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent}, | |
7861 | { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent}, | |
7862 | { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent}, | |
7863 | { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent}, | |
7864 | { "_wxEvent","_class_wxEvent",0}, | |
7865 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
7866 | { "_signed_long","_long",0}, | |
7867 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
65dd82cb | 7868 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
b1462dfa | 7869 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, |
2f90df85 | 7870 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
b1462dfa | 7871 | { "_wxPrintQuality","_wxCoord",0}, |
1d99702e RD |
7872 | { "_wxPrintQuality","_int",0}, |
7873 | { "_wxPrintQuality","_signed_int",0}, | |
7874 | { "_wxPrintQuality","_unsigned_int",0}, | |
7875 | { "_wxPrintQuality","_wxWindowID",0}, | |
7876 | { "_wxPrintQuality","_uint",0}, | |
7877 | { "_wxPrintQuality","_EBool",0}, | |
7878 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 7879 | { "_wxPrintQuality","_time_t",0}, |
b1462dfa | 7880 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
f6bcfd97 | 7881 | { "_wxSpinCtrl","_class_wxSpinCtrl",0}, |
1d99702e | 7882 | { "_class_wxRegionIterator","_wxRegionIterator",0}, |
b1462dfa | 7883 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
1d99702e RD |
7884 | { "_class_wxMenuBar","_wxMenuBar",0}, |
7885 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
f6bcfd97 BP |
7886 | { "_class_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler}, |
7887 | { "_class_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler}, | |
1d99702e RD |
7888 | { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler}, |
7889 | { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler}, | |
7890 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
7891 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
7892 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
7893 | { "_wxCursor","_class_wxCursor",0}, | |
7894 | { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent}, | |
7895 | { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent}, | |
c368d904 RD |
7896 | { "_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent}, |
7897 | { "_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent}, | |
1d99702e | 7898 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, |
f6bcfd97 | 7899 | { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0}, |
1d99702e RD |
7900 | { "_wxMask","_class_wxMask",0}, |
7901 | { "_wxPen","_class_wxPen",0}, | |
7902 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
7903 | { "_byte","_unsigned_char",0}, | |
b1462dfa | 7904 | { "_wxDataObject","_class_wxDataObject",0}, |
1d99702e | 7905 | { "_wxStaticBox","_class_wxStaticBox",0}, |
65dd82cb RD |
7906 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
7907 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
1d99702e RD |
7908 | { "_wxChoice","_class_wxChoice",0}, |
7909 | { "_wxSlider","_class_wxSlider",0}, | |
1d99702e RD |
7910 | { "_long","_unsigned_long",0}, |
7911 | { "_long","_signed_long",0}, | |
7912 | { "_wxImageList","_class_wxImageList",0}, | |
b1462dfa | 7913 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
1d99702e RD |
7914 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
7915 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
7916 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
b1462dfa | 7917 | { "_class_wxClipboard","_wxClipboard",0}, |
1d99702e RD |
7918 | { "_class_wxGauge","_wxGauge",0}, |
7919 | { "_wxDC","_class_wxDC",0}, | |
b1462dfa | 7920 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
1d99702e RD |
7921 | { "_wxListEvent","_class_wxListEvent",0}, |
7922 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
b1462dfa | 7923 | { "_size_t","_wxCoord",0}, |
1d99702e | 7924 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 7925 | { "_size_t","_time_t",0}, |
1d99702e RD |
7926 | { "_size_t","_unsigned_int",0}, |
7927 | { "_size_t","_int",0}, | |
7928 | { "_size_t","_wxWindowID",0}, | |
7929 | { "_size_t","_uint",0}, | |
7930 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
48115f4a | 7931 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
48115f4a | 7932 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, |
1d99702e RD |
7933 | { "_class_wxMenuItem","_wxMenuItem",0}, |
7934 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
7935 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
f6bcfd97 | 7936 | { "_class_wxPostScriptDC","_wxPostScriptDC",0}, |
1d99702e RD |
7937 | { "_wxPanel","_class_wxPanel",0}, |
7938 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
7939 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
f6bcfd97 | 7940 | { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0}, |
1d99702e RD |
7941 | { "_wxPyEvent","_class_wxPyEvent",0}, |
7942 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
7943 | { "_class_wxMask","_wxMask",0}, | |
b1462dfa | 7944 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
1d99702e RD |
7945 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
7946 | { "_wxColour","_class_wxColour",0}, | |
7947 | { "_class_wxDialog","_wxDialog",0}, | |
b1462dfa | 7948 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
1d99702e RD |
7949 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
7950 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
b1462dfa | 7951 | { "_class_wxDataObject","_wxDataObject",0}, |
1d99702e RD |
7952 | { "_wxStaticLine","_class_wxStaticLine",0}, |
7953 | { "_wxBrush","_class_wxBrush",0}, | |
b1462dfa RD |
7954 | { "_wxDataFormat","_class_wxDataFormat",0}, |
7955 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
1d99702e | 7956 | { "_wxShowEvent","_class_wxShowEvent",0}, |
b1462dfa | 7957 | { "_uint","_wxCoord",0}, |
1d99702e | 7958 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 7959 | { "_uint","_time_t",0}, |
1d99702e RD |
7960 | { "_uint","_size_t",0}, |
7961 | { "_uint","_unsigned_int",0}, | |
7962 | { "_uint","_int",0}, | |
7963 | { "_uint","_wxWindowID",0}, | |
f6bcfd97 | 7964 | { "_wxChar","_char",0}, |
2f90df85 | 7965 | { "_wxPyValidator","_class_wxPyValidator",0}, |
1d99702e RD |
7966 | { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent}, |
7967 | { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent}, | |
7968 | { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent}, | |
7969 | { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent}, | |
7970 | { "_class_wxEvent","_wxEvent",0}, | |
7971 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
7972 | { "_wxRect","_class_wxRect",0}, | |
7973 | { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent}, | |
7974 | { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent}, | |
7975 | { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent}, | |
7976 | { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent}, | |
7977 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
7978 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
7979 | { "_wxPoint","_class_wxPoint",0}, | |
7980 | { "_class_wxButton","_wxButton",0}, | |
7981 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
f6bcfd97 BP |
7982 | { "_class_wxSpinCtrl","_wxSpinCtrl",0}, |
7983 | { "_char","_wxChar",0}, | |
1d99702e | 7984 | { "_wxBitmap","_class_wxBitmap",0}, |
1d99702e | 7985 | { "_wxWindowDC","_class_wxWindowDC",0}, |
f6bcfd97 | 7986 | { "_wxTimerEvent","_class_wxTimerEvent",0}, |
1d99702e RD |
7987 | { "_wxScrollBar","_class_wxScrollBar",0}, |
7988 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
7989 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
7990 | { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent}, | |
7991 | { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent}, | |
c368d904 RD |
7992 | { "_class_wxNotifyEvent","_class_wxListEvent",SwigwxListEventTowxNotifyEvent}, |
7993 | { "_class_wxNotifyEvent","_wxListEvent",SwigwxListEventTowxNotifyEvent}, | |
1d99702e | 7994 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, |
2f90df85 | 7995 | { "_class_wxValidator","_wxValidator",0}, |
1d99702e RD |
7996 | { "_class_wxPyEvent","_wxPyEvent",0}, |
7997 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
7998 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
7999 | { "_wxListItem","_class_wxListItem",0}, | |
b1462dfa | 8000 | { "_wxDropTarget","_class_wxDropTarget",0}, |
1d99702e RD |
8001 | { "_class_wxStaticLine","_wxStaticLine",0}, |
8002 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
b1462dfa | 8003 | { "_EBool","_wxCoord",0}, |
1d99702e RD |
8004 | { "_EBool","_wxPrintQuality",0}, |
8005 | { "_EBool","_signed_int",0}, | |
8006 | { "_EBool","_int",0}, | |
8007 | { "_EBool","_wxWindowID",0}, | |
8008 | { "_class_wxRegion","_wxRegion",0}, | |
b1462dfa | 8009 | { "_class_wxDataFormat","_wxDataFormat",0}, |
1d99702e | 8010 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
48115f4a | 8011 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
1d99702e RD |
8012 | { "_wxStaticText","_class_wxStaticText",0}, |
8013 | { "_wxFont","_class_wxFont",0}, | |
b1462dfa | 8014 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
1d99702e | 8015 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
1d99702e RD |
8016 | { "_unsigned_long","_long",0}, |
8017 | { "_class_wxRect","_wxRect",0}, | |
8018 | { "_class_wxDC","_wxDC",0}, | |
d426c97e | 8019 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
48115f4a RD |
8020 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
8021 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, | |
1d99702e | 8022 | { "_class_wxTreeEvent","_wxTreeEvent",0}, |
1d99702e RD |
8023 | { "_wxFocusEvent","_class_wxFocusEvent",0}, |
8024 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
f6bcfd97 | 8025 | { "_class_wxTimerEvent","_wxTimerEvent",0}, |
1d99702e RD |
8026 | { "_class_wxSpinButton","_wxSpinButton",0}, |
8027 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
8028 | { "_class_wxPanel","_wxPanel",0}, | |
8029 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
8030 | { "_wxComboBox","_class_wxComboBox",0}, | |
8031 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
b1462dfa | 8032 | { "_signed_int","_wxCoord",0}, |
1d99702e RD |
8033 | { "_signed_int","_wxPrintQuality",0}, |
8034 | { "_signed_int","_EBool",0}, | |
8035 | { "_signed_int","_wxWindowID",0}, | |
8036 | { "_signed_int","_int",0}, | |
8037 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
f6bcfd97 | 8038 | { "_class_wxListItemAttr","_wxListItemAttr",0}, |
1d99702e | 8039 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, |
b1462dfa | 8040 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
1d99702e RD |
8041 | { "_wxMenu","_class_wxMenu",0}, |
8042 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
8043 | { "_wxListBox","_class_wxListBox",0}, | |
8044 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
8045 | { "_WXTYPE","_short",0}, | |
8046 | { "_WXTYPE","_signed_short",0}, | |
8047 | { "_WXTYPE","_unsigned_short",0}, | |
b1462dfa | 8048 | { "_class_wxDropTarget","_wxDropTarget",0}, |
1d99702e RD |
8049 | { "_class_wxBrush","_wxBrush",0}, |
8050 | { "_unsigned_short","_WXTYPE",0}, | |
8051 | { "_unsigned_short","_short",0}, | |
f6bcfd97 BP |
8052 | { "_class_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow}, |
8053 | { "_class_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow}, | |
1d99702e RD |
8054 | { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow}, |
8055 | { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow}, | |
8056 | { "_class_wxWindow","_wxWindow",0}, | |
8057 | { "_class_wxStaticText","_wxStaticText",0}, | |
8058 | { "_class_wxFont","_wxFont",0}, | |
b1462dfa | 8059 | { "_wxClipboard","_class_wxClipboard",0}, |
2f90df85 | 8060 | { "_class_wxPyValidator","_wxPyValidator",0}, |
1d99702e | 8061 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
2abc0a0f | 8062 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
1d99702e | 8063 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
48115f4a | 8064 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
65dd82cb | 8065 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, |
1d99702e RD |
8066 | { "_wxClientDC","_class_wxClientDC",0}, |
8067 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
8068 | { "_wxListCtrl","_class_wxListCtrl",0}, | |
8069 | { "_class_wxPoint","_wxPoint",0}, | |
8070 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
8071 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
8072 | { "_signed_short","_WXTYPE",0}, | |
8073 | { "_signed_short","_short",0}, | |
8074 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
65dd82cb | 8075 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
1d99702e RD |
8076 | { "_wxPaintDC","_class_wxPaintDC",0}, |
8077 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
8078 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
8079 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
8080 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
8081 | { "_class_wxCursor","_wxCursor",0}, | |
f6bcfd97 | 8082 | { "_wxPostScriptDC","_class_wxPostScriptDC",0}, |
b1462dfa | 8083 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
1d99702e RD |
8084 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, |
8085 | { "_wxTreeItemId","_class_wxTreeItemId",0}, | |
8086 | { "_unsigned_char","_byte",0}, | |
1d99702e | 8087 | { "_class_wxMenu","_wxMenu",0}, |
f6bcfd97 BP |
8088 | { "_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl}, |
8089 | { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl}, | |
1d99702e RD |
8090 | { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl}, |
8091 | { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl}, | |
8092 | { "_wxControl","_class_wxControl",0}, | |
8093 | { "_class_wxListBox","_wxListBox",0}, | |
b1462dfa | 8094 | { "_unsigned_int","_wxCoord",0}, |
1d99702e | 8095 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 8096 | { "_unsigned_int","_time_t",0}, |
1d99702e RD |
8097 | { "_unsigned_int","_size_t",0}, |
8098 | { "_unsigned_int","_uint",0}, | |
8099 | { "_unsigned_int","_wxWindowID",0}, | |
8100 | { "_unsigned_int","_int",0}, | |
8101 | { "_wxIcon","_class_wxIcon",0}, | |
8102 | { "_wxDialog","_class_wxDialog",0}, | |
8103 | { "_class_wxListItem","_wxListItem",0}, | |
8104 | { "_class_wxPen","_wxPen",0}, | |
8105 | { "_short","_WXTYPE",0}, | |
8106 | { "_short","_unsigned_short",0}, | |
8107 | { "_short","_signed_short",0}, | |
8108 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
65dd82cb RD |
8109 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
8110 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
1d99702e RD |
8111 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
8112 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
8113 | { "_class_wxChoice","_wxChoice",0}, | |
8114 | { "_class_wxSlider","_wxSlider",0}, | |
8115 | { "_class_wxImageList","_wxImageList",0}, | |
8116 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
48115f4a | 8117 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
b1462dfa | 8118 | { "_wxWindowID","_wxCoord",0}, |
1d99702e | 8119 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 8120 | { "_wxWindowID","_time_t",0}, |
1d99702e RD |
8121 | { "_wxWindowID","_size_t",0}, |
8122 | { "_wxWindowID","_EBool",0}, | |
8123 | { "_wxWindowID","_uint",0}, | |
8124 | { "_wxWindowID","_int",0}, | |
8125 | { "_wxWindowID","_signed_int",0}, | |
8126 | { "_wxWindowID","_unsigned_int",0}, | |
d426c97e | 8127 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
b1462dfa | 8128 | { "_int","_wxCoord",0}, |
1d99702e | 8129 | { "_int","_wxPrintQuality",0}, |
c368d904 | 8130 | { "_int","_time_t",0}, |
1d99702e RD |
8131 | { "_int","_size_t",0}, |
8132 | { "_int","_EBool",0}, | |
8133 | { "_int","_uint",0}, | |
8134 | { "_int","_wxWindowID",0}, | |
8135 | { "_int","_unsigned_int",0}, | |
8136 | { "_int","_signed_int",0}, | |
8137 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2f90df85 | 8138 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
1d99702e RD |
8139 | { "_class_wxListEvent","_wxListEvent",0}, |
8140 | { "_class_wxSpinEvent","_wxSpinEvent",0}, | |
48115f4a | 8141 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
c368d904 RD |
8142 | { "_time_t","_wxCoord",0}, |
8143 | { "_time_t","_wxPrintQuality",0}, | |
8144 | { "_time_t","_unsigned_int",0}, | |
8145 | { "_time_t","_int",0}, | |
8146 | { "_time_t","_wxWindowID",0}, | |
8147 | { "_time_t","_uint",0}, | |
8148 | { "_time_t","_size_t",0}, | |
48115f4a | 8149 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, |
1d99702e RD |
8150 | { "_wxButton","_class_wxButton",0}, |
8151 | { "_wxSize","_class_wxSize",0}, | |
8152 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
65dd82cb | 8153 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
1d99702e RD |
8154 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, |
8155 | { "_class_wxPaintDC","_wxPaintDC",0}, | |
8156 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
b1462dfa | 8157 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
1d99702e RD |
8158 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
8159 | { "_class_wxComboBox","_wxComboBox",0}, | |
8160 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
2f90df85 | 8161 | { "_wxValidator","_class_wxValidator",0}, |
1d99702e | 8162 | { "_class_wxTreeItemId","_wxTreeItemId",0}, |
1d99702e RD |
8163 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
8164 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
f6bcfd97 BP |
8165 | { "_class_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl}, |
8166 | { "_class_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl}, | |
1d99702e RD |
8167 | { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl}, |
8168 | { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl}, | |
8169 | { "_class_wxControl","_wxControl",0}, | |
8170 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
8171 | { "_class_wxIcon","_wxIcon",0}, | |
8172 | { "_class_wxColour","_wxColour",0}, | |
8173 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
8174 | { "_wxPalette","_class_wxPalette",0}, | |
8175 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
b1462dfa RD |
8176 | { "_wxCoord","_int",0}, |
8177 | { "_wxCoord","_signed_int",0}, | |
8178 | { "_wxCoord","_unsigned_int",0}, | |
8179 | { "_wxCoord","_wxWindowID",0}, | |
8180 | { "_wxCoord","_uint",0}, | |
8181 | { "_wxCoord","_EBool",0}, | |
8182 | { "_wxCoord","_size_t",0}, | |
c368d904 | 8183 | { "_wxCoord","_time_t",0}, |
b1462dfa | 8184 | { "_wxCoord","_wxPrintQuality",0}, |
1d99702e | 8185 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
b1462dfa | 8186 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
1d99702e RD |
8187 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
8188 | { "_wxRegion","_class_wxRegion",0}, | |
8189 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
b1462dfa | 8190 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, |
1d99702e RD |
8191 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
8192 | { "_wxGauge","_class_wxGauge",0}, | |
8193 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
2abc0a0f | 8194 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
1d99702e RD |
8195 | { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent}, |
8196 | { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent}, | |
8197 | { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent}, | |
8198 | { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent}, | |
8199 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
8200 | { "_class_wxClientDC","_wxClientDC",0}, | |
8201 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
8202 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
b1462dfa | 8203 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
1d99702e RD |
8204 | { "_class_wxSize","_wxSize",0}, |
8205 | { "_class_wxBitmap","_wxBitmap",0}, | |
8206 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
b1462dfa | 8207 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
1d99702e RD |
8208 | { "_wxMenuBar","_class_wxMenuBar",0}, |
8209 | { "_wxTreeEvent","_class_wxTreeEvent",0}, | |
f6bcfd97 BP |
8210 | { "_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler}, |
8211 | { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler}, | |
1d99702e RD |
8212 | { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler}, |
8213 | { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler}, | |
8214 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
8215 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
8216 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
1d99702e | 8217 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, |
f6bcfd97 | 8218 | { "_wxListItemAttr","_class_wxListItemAttr",0}, |
1d99702e RD |
8219 | { "_wxKeyEvent","_class_wxKeyEvent",0}, |
8220 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
8221 | { "_class_wxPalette","_wxPalette",0}, | |
b1462dfa | 8222 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
1d99702e | 8223 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
b1462dfa | 8224 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
f6bcfd97 BP |
8225 | { "_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow}, |
8226 | { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow}, | |
1d99702e RD |
8227 | { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow}, |
8228 | { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow}, | |
8229 | { "_wxWindow","_class_wxWindow",0}, | |
48115f4a | 8230 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
1d99702e RD |
8231 | {0,0,0}}; |
8232 | ||
8ab979d7 RD |
8233 | static PyObject *SWIG_globals; |
8234 | #ifdef __cplusplus | |
8235 | extern "C" | |
8236 | #endif | |
1d99702e | 8237 | SWIGEXPORT(void) initcontrols2c() { |
8ab979d7 RD |
8238 | PyObject *m, *d; |
8239 | SWIG_globals = SWIG_newvarlink(); | |
8240 | m = Py_InitModule("controls2c", controls2cMethods); | |
8241 | d = PyModule_GetDict(m); | |
af309447 RD |
8242 | PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT)); |
8243 | PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE)); | |
8244 | PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA)); | |
8245 | PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH)); | |
8246 | PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT)); | |
bb0054cd | 8247 | PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE)); |
af309447 RD |
8248 | PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE)); |
8249 | PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED)); | |
8250 | PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED)); | |
8251 | PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED)); | |
8252 | PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT)); | |
8253 | PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE)); | |
8254 | PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW)); | |
8255 | PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE)); | |
8256 | PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON)); | |
8257 | PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL)); | |
8258 | PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT)); | |
8259 | PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON)); | |
8260 | PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT)); | |
8261 | PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT)); | |
8262 | PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM)); | |
8263 | PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE)); | |
8264 | PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL)); | |
8265 | PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW)); | |
8266 | PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT)); | |
8267 | PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT)); | |
8268 | PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT)); | |
8269 | PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT)); | |
8270 | PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP)); | |
8271 | PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID)); | |
af309447 RD |
8272 | PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE)); |
8273 | PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER)); | |
8274 | PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS)); | |
8275 | PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON)); | |
8276 | PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL)); | |
8277 | PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP)); | |
8278 | PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN)); | |
8279 | PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT)); | |
8280 | PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT)); | |
f6bcfd97 BP |
8281 | PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT)); |
8282 | PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT)); | |
8283 | PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE)); | |
8284 | PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER)); | |
694759cf RD |
8285 | PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal)); |
8286 | PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected)); | |
8287 | PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded)); | |
8288 | PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded)); | |
8289 | PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max)); | |
164b735b RD |
8290 | PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE)); |
8291 | PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW)); | |
8292 | PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE)); | |
8293 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON)); | |
8294 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON)); | |
8295 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT)); | |
8296 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL)); | |
8297 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT)); | |
8298 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON)); | |
8299 | PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT)); | |
8300 | PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT)); | |
8301 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART)); | |
8302 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART)); | |
8303 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM)); | |
1d99702e RD |
8304 | { |
8305 | int i; | |
8306 | for (i = 0; _swig_mapping[i].n1; i++) | |
8307 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
8308 | } | |
8ab979d7 | 8309 | } |