]>
Commit | Line | Data |
---|---|---|
8ab979d7 | 1 | /* |
9c039d08 | 2 | * FILE : msw/controls2.cpp |
8ab979d7 RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
1afc06c2 | 6 | * Version 1.1 (Build 810) |
8ab979d7 RD |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
1d99702e | 27 | # define SWIGEXPORT(a) __declspec(dllexport) a |
8ab979d7 RD |
28 | # else |
29 | # if defined(__BORLANDC__) | |
1d99702e | 30 | # define SWIGEXPORT(a) a _export |
8ab979d7 | 31 | # else |
1d99702e | 32 | # define SWIGEXPORT(a) a |
8ab979d7 RD |
33 | # endif |
34 | # endif | |
35 | #else | |
1d99702e | 36 | # define SWIGEXPORT(a) a |
8ab979d7 RD |
37 | #endif |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
42 | #include "Python.h" | |
43 | extern void SWIG_MakePtr(char *, void *, char *); | |
44 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
45 | extern char *SWIG_GetPtr(char *, void **, char *); | |
1d99702e | 46 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); |
8ab979d7 RD |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
8ab979d7 RD |
52 | #define SWIG_init initcontrols2c |
53 | ||
54 | #define SWIG_name "controls2c" | |
55 | ||
56 | #include "helpers.h" | |
2f90df85 RD |
57 | #ifdef __WXMSW__ |
58 | #include <windows.h> | |
59 | #endif | |
8ab979d7 RD |
60 | #include <wx/listctrl.h> |
61 | #include <wx/treectrl.h> | |
8ab979d7 RD |
62 | |
63 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
64 | PyObject* o2; | |
1d99702e RD |
65 | PyObject* o3; |
66 | if (!target) { | |
8ab979d7 | 67 | target = o; |
1d99702e | 68 | } else if (target == Py_None) { |
8ab979d7 RD |
69 | Py_DECREF(Py_None); |
70 | target = o; | |
1d99702e | 71 | } else { |
8ab979d7 RD |
72 | if (!PyList_Check(target)) { |
73 | o2 = target; | |
74 | target = PyList_New(0); | |
75 | PyList_Append(target, o2); | |
76 | Py_XDECREF(o2); | |
77 | } | |
78 | PyList_Append(target,o); | |
79 | Py_XDECREF(o); | |
80 | } | |
81 | return target; | |
82 | } | |
83 | ||
84 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
85 | PyObject* o2; | |
86 | PyObject* o3; | |
87 | ||
1d99702e | 88 | if (!target) { |
8ab979d7 | 89 | target = o; |
1d99702e | 90 | } else if (target == Py_None) { |
8ab979d7 RD |
91 | Py_DECREF(Py_None); |
92 | target = o; | |
1d99702e | 93 | } else { |
8ab979d7 RD |
94 | if (!PyTuple_Check(target)) { |
95 | o2 = target; | |
96 | target = PyTuple_New(1); | |
97 | PyTuple_SetItem(target, 0, o2); | |
98 | } | |
1d99702e RD |
99 | o3 = PyTuple_New(1); |
100 | PyTuple_SetItem(o3, 0, o); | |
8ab979d7 RD |
101 | |
102 | o2 = target; | |
1d99702e RD |
103 | target = PySequence_Concat(o2, o3); |
104 | Py_DECREF(o2); | |
8ab979d7 RD |
105 | Py_DECREF(o3); |
106 | } | |
107 | return target; | |
108 | } | |
109 | ||
8ab979d7 RD |
110 | static char* wxStringErrorMsg = "string type is required for parameter"; |
111 | ||
112 | extern wxValidator wxPyDefaultValidator; | |
cf694132 | 113 | |
f6bcfd97 | 114 | int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) { |
dcd38683 RD |
115 | int retval = 0; |
116 | PyObject* func = (PyObject*)funcPtr; | |
117 | bool doSave = wxPyRestoreThread(); | |
118 | ||
119 | PyObject* args = Py_BuildValue("(ii)", item1, item2); | |
120 | PyObject* result = PyEval_CallObject(func, args); | |
121 | Py_DECREF(args); | |
122 | if (result) { | |
123 | retval = PyInt_AsLong(result); | |
124 | Py_DECREF(result); | |
125 | } | |
126 | ||
127 | wxPySaveThread(doSave); | |
128 | return retval; | |
129 | } | |
130 | ||
131 | ||
cf694132 RD |
132 | class wxPyTreeItemData : public wxTreeItemData { |
133 | public: | |
134 | wxPyTreeItemData(PyObject* obj = NULL) { | |
135 | if (obj == NULL) | |
136 | obj = Py_None; | |
137 | Py_INCREF(obj); | |
138 | m_obj = obj; | |
139 | } | |
140 | ||
141 | ~wxPyTreeItemData() { | |
1afc06c2 | 142 | bool doSave = wxPyRestoreThread(); |
cf694132 | 143 | Py_DECREF(m_obj); |
1afc06c2 | 144 | wxPySaveThread(doSave); |
cf694132 RD |
145 | } |
146 | ||
147 | PyObject* GetData() { | |
148 | Py_INCREF(m_obj); | |
149 | return m_obj; | |
150 | } | |
151 | ||
152 | void SetData(PyObject* obj) { | |
153 | Py_DECREF(m_obj); | |
154 | m_obj = obj; | |
155 | Py_INCREF(obj); | |
156 | } | |
157 | ||
158 | PyObject* m_obj; | |
159 | }; | |
f6bcfd97 BP |
160 | |
161 | class wxPyTreeCtrl : public wxTreeCtrl { | |
162 | public: | |
163 | wxPyTreeCtrl(wxWindow *parent, wxWindowID id, | |
164 | const wxPoint& pos, | |
165 | const wxSize& size, | |
166 | long style, | |
167 | const wxValidator& validator, | |
168 | char* name) : | |
169 | wxTreeCtrl(parent, id, pos, size, style, validator, name) {} | |
170 | ||
171 | ||
172 | int OnCompareItems(const wxTreeItemId& item1, | |
173 | const wxTreeItemId& item2) { | |
174 | int rval = 0; | |
175 | bool doSave = wxPyRestoreThread(); | |
176 | if (m_myInst.findCallback("OnCompareItems")) | |
177 | rval = m_myInst.callCallback(Py_BuildValue( | |
178 | "(OO)", | |
179 | wxPyConstructObject((void*)&item1, "wxTreeItemId"), | |
180 | wxPyConstructObject((void*)&item2, "wxTreeItemId"))); | |
181 | else | |
182 | rval = wxTreeCtrl::OnCompareItems(item1, item2); | |
183 | wxPySaveThread(doSave); | |
184 | return rval; | |
185 | } | |
186 | PYPRIVATE; | |
187 | }; | |
188 | ||
1d99702e RD |
189 | #ifdef __cplusplus |
190 | extern "C" { | |
191 | #endif | |
f6bcfd97 BP |
192 | #define new_wxListItemAttr() (new wxListItemAttr()) |
193 | static PyObject *_wrap_new_wxListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 194 | PyObject * _resultobj; |
f6bcfd97 BP |
195 | wxListItemAttr * _result; |
196 | char *_kwnames[] = { NULL }; | |
197 | char _ptemp[128]; | |
af309447 RD |
198 | |
199 | self = self; | |
f6bcfd97 | 200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItemAttr",_kwnames)) |
af309447 | 201 | return NULL; |
cf694132 RD |
202 | { |
203 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 204 | _result = (wxListItemAttr *)new_wxListItemAttr(); |
cf694132 RD |
205 | |
206 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
207 | } if (_result) { |
208 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p"); | |
209 | _resultobj = Py_BuildValue("s",_ptemp); | |
210 | } else { | |
211 | Py_INCREF(Py_None); | |
212 | _resultobj = Py_None; | |
213 | } | |
af309447 RD |
214 | return _resultobj; |
215 | } | |
216 | ||
f6bcfd97 BP |
217 | #define wxListItemAttr_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) |
218 | static PyObject *_wrap_wxListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 219 | PyObject * _resultobj; |
f6bcfd97 BP |
220 | wxListItemAttr * _arg0; |
221 | wxColour * _arg1; | |
1d99702e | 222 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
223 | wxColour temp; |
224 | PyObject * _obj1 = 0; | |
225 | char *_kwnames[] = { "self","colText", NULL }; | |
8ab979d7 RD |
226 | |
227 | self = self; | |
f6bcfd97 | 228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetTextColour",_kwnames,&_argo0,&_obj1)) |
8ab979d7 | 229 | return NULL; |
1d99702e RD |
230 | if (_argo0) { |
231 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
232 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) { |
233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetTextColour. Expected _wxListItemAttr_p."); | |
8ab979d7 RD |
234 | return NULL; |
235 | } | |
236 | } | |
f6bcfd97 BP |
237 | { |
238 | _arg1 = &temp; | |
239 | if (! wxColour_helper(_obj1, &_arg1)) | |
240 | return NULL; | |
241 | } | |
cf694132 RD |
242 | { |
243 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 244 | wxListItemAttr_SetTextColour(_arg0,*_arg1); |
cf694132 RD |
245 | |
246 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
247 | } Py_INCREF(Py_None); |
248 | _resultobj = Py_None; | |
8ab979d7 RD |
249 | return _resultobj; |
250 | } | |
251 | ||
f6bcfd97 BP |
252 | #define wxListItemAttr_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) |
253 | static PyObject *_wrap_wxListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 254 | PyObject * _resultobj; |
f6bcfd97 BP |
255 | wxListItemAttr * _arg0; |
256 | wxColour * _arg1; | |
1d99702e | 257 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
258 | wxColour temp; |
259 | PyObject * _obj1 = 0; | |
260 | char *_kwnames[] = { "self","colBack", NULL }; | |
af309447 RD |
261 | |
262 | self = self; | |
f6bcfd97 | 263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetBackgroundColour",_kwnames,&_argo0,&_obj1)) |
af309447 | 264 | return NULL; |
1d99702e RD |
265 | if (_argo0) { |
266 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
267 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) { |
268 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetBackgroundColour. Expected _wxListItemAttr_p."); | |
af309447 RD |
269 | return NULL; |
270 | } | |
271 | } | |
f6bcfd97 BP |
272 | { |
273 | _arg1 = &temp; | |
274 | if (! wxColour_helper(_obj1, &_arg1)) | |
275 | return NULL; | |
276 | } | |
cf694132 RD |
277 | { |
278 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 279 | wxListItemAttr_SetBackgroundColour(_arg0,*_arg1); |
cf694132 RD |
280 | |
281 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
282 | } Py_INCREF(Py_None); |
283 | _resultobj = Py_None; | |
af309447 RD |
284 | return _resultobj; |
285 | } | |
286 | ||
f6bcfd97 BP |
287 | #define wxListItemAttr_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) |
288 | static PyObject *_wrap_wxListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 289 | PyObject * _resultobj; |
f6bcfd97 BP |
290 | wxListItemAttr * _arg0; |
291 | wxFont * _arg1; | |
1d99702e | 292 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
293 | PyObject * _argo1 = 0; |
294 | char *_kwnames[] = { "self","font", NULL }; | |
8ab979d7 RD |
295 | |
296 | self = self; | |
f6bcfd97 | 297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItemAttr_SetFont",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 298 | return NULL; |
1d99702e RD |
299 | if (_argo0) { |
300 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
301 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) { |
302 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_SetFont. Expected _wxListItemAttr_p."); | |
303 | return NULL; | |
304 | } | |
305 | } | |
306 | if (_argo1) { | |
307 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
308 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
309 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItemAttr_SetFont. Expected _wxFont_p."); | |
8ab979d7 RD |
310 | return NULL; |
311 | } | |
312 | } | |
cf694132 RD |
313 | { |
314 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 315 | wxListItemAttr_SetFont(_arg0,*_arg1); |
cf694132 RD |
316 | |
317 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
318 | } Py_INCREF(Py_None); |
319 | _resultobj = Py_None; | |
8ab979d7 RD |
320 | return _resultobj; |
321 | } | |
322 | ||
f6bcfd97 BP |
323 | #define wxListItemAttr_HasTextColour(_swigobj) (_swigobj->HasTextColour()) |
324 | static PyObject *_wrap_wxListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 325 | PyObject * _resultobj; |
f6bcfd97 BP |
326 | bool _result; |
327 | wxListItemAttr * _arg0; | |
1d99702e | 328 | PyObject * _argo0 = 0; |
f6bcfd97 | 329 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
330 | |
331 | self = self; | |
f6bcfd97 | 332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasTextColour",_kwnames,&_argo0)) |
af309447 | 333 | return NULL; |
1d99702e RD |
334 | if (_argo0) { |
335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) { |
337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasTextColour. Expected _wxListItemAttr_p."); | |
af309447 RD |
338 | return NULL; |
339 | } | |
340 | } | |
cf694132 RD |
341 | { |
342 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 343 | _result = (bool )wxListItemAttr_HasTextColour(_arg0); |
cf694132 RD |
344 | |
345 | wxPy_END_ALLOW_THREADS; | |
346 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
347 | return _resultobj; |
348 | } | |
349 | ||
f6bcfd97 BP |
350 | #define wxListItemAttr_HasBackgroundColour(_swigobj) (_swigobj->HasBackgroundColour()) |
351 | static PyObject *_wrap_wxListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 352 | PyObject * _resultobj; |
f6bcfd97 BP |
353 | bool _result; |
354 | wxListItemAttr * _arg0; | |
1d99702e | 355 | PyObject * _argo0 = 0; |
efc5f224 | 356 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
357 | |
358 | self = self; | |
f6bcfd97 | 359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasBackgroundColour",_kwnames,&_argo0)) |
8ab979d7 | 360 | return NULL; |
1d99702e RD |
361 | if (_argo0) { |
362 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
363 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) { |
364 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasBackgroundColour. Expected _wxListItemAttr_p."); | |
8ab979d7 RD |
365 | return NULL; |
366 | } | |
367 | } | |
cf694132 RD |
368 | { |
369 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 370 | _result = (bool )wxListItemAttr_HasBackgroundColour(_arg0); |
cf694132 RD |
371 | |
372 | wxPy_END_ALLOW_THREADS; | |
373 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
374 | return _resultobj; |
375 | } | |
376 | ||
f6bcfd97 BP |
377 | #define wxListItemAttr_HasFont(_swigobj) (_swigobj->HasFont()) |
378 | static PyObject *_wrap_wxListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 379 | PyObject * _resultobj; |
f6bcfd97 BP |
380 | bool _result; |
381 | wxListItemAttr * _arg0; | |
1d99702e | 382 | PyObject * _argo0 = 0; |
f6bcfd97 | 383 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
384 | |
385 | self = self; | |
f6bcfd97 | 386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_HasFont",_kwnames,&_argo0)) |
af309447 | 387 | return NULL; |
1d99702e RD |
388 | if (_argo0) { |
389 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
390 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) { |
391 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_HasFont. Expected _wxListItemAttr_p."); | |
af309447 RD |
392 | return NULL; |
393 | } | |
394 | } | |
cf694132 RD |
395 | { |
396 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 397 | _result = (bool )wxListItemAttr_HasFont(_arg0); |
cf694132 RD |
398 | |
399 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 400 | } _resultobj = Py_BuildValue("i",_result); |
af309447 RD |
401 | return _resultobj; |
402 | } | |
403 | ||
f6bcfd97 BP |
404 | #define wxListItemAttr_GetTextColour(_swigobj) (_swigobj->GetTextColour()) |
405 | static PyObject *_wrap_wxListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 406 | PyObject * _resultobj; |
f6bcfd97 BP |
407 | wxColour * _result; |
408 | wxListItemAttr * _arg0; | |
1d99702e | 409 | PyObject * _argo0 = 0; |
efc5f224 | 410 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 | 411 | char _ptemp[128]; |
8ab979d7 RD |
412 | |
413 | self = self; | |
f6bcfd97 | 414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetTextColour",_kwnames,&_argo0)) |
8ab979d7 | 415 | return NULL; |
1d99702e RD |
416 | if (_argo0) { |
417 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
418 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) { |
419 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetTextColour. Expected _wxListItemAttr_p."); | |
8ab979d7 RD |
420 | return NULL; |
421 | } | |
422 | } | |
cf694132 RD |
423 | { |
424 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 BP |
425 | const wxColour & _result_ref = wxListItemAttr_GetTextColour(_arg0); |
426 | _result = (wxColour *) &_result_ref; | |
cf694132 RD |
427 | |
428 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
429 | } if (_result) { |
430 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
431 | _resultobj = Py_BuildValue("s",_ptemp); | |
432 | } else { | |
433 | Py_INCREF(Py_None); | |
434 | _resultobj = Py_None; | |
435 | } | |
8ab979d7 RD |
436 | return _resultobj; |
437 | } | |
438 | ||
f6bcfd97 BP |
439 | #define wxListItemAttr_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour()) |
440 | static PyObject *_wrap_wxListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 441 | PyObject * _resultobj; |
f6bcfd97 BP |
442 | wxColour * _result; |
443 | wxListItemAttr * _arg0; | |
1d99702e | 444 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
445 | char *_kwnames[] = { "self", NULL }; |
446 | char _ptemp[128]; | |
af309447 RD |
447 | |
448 | self = self; | |
f6bcfd97 | 449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetBackgroundColour",_kwnames,&_argo0)) |
af309447 | 450 | return NULL; |
1d99702e RD |
451 | if (_argo0) { |
452 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
453 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) { |
454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetBackgroundColour. Expected _wxListItemAttr_p."); | |
af309447 RD |
455 | return NULL; |
456 | } | |
457 | } | |
cf694132 RD |
458 | { |
459 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 BP |
460 | const wxColour & _result_ref = wxListItemAttr_GetBackgroundColour(_arg0); |
461 | _result = (wxColour *) &_result_ref; | |
cf694132 RD |
462 | |
463 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
464 | } if (_result) { |
465 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
466 | _resultobj = Py_BuildValue("s",_ptemp); | |
467 | } else { | |
468 | Py_INCREF(Py_None); | |
469 | _resultobj = Py_None; | |
470 | } | |
af309447 RD |
471 | return _resultobj; |
472 | } | |
473 | ||
f6bcfd97 BP |
474 | #define wxListItemAttr_GetFont(_swigobj) (_swigobj->GetFont()) |
475 | static PyObject *_wrap_wxListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 476 | PyObject * _resultobj; |
f6bcfd97 BP |
477 | wxFont * _result; |
478 | wxListItemAttr * _arg0; | |
1d99702e | 479 | PyObject * _argo0 = 0; |
efc5f224 | 480 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 | 481 | char _ptemp[128]; |
8ab979d7 RD |
482 | |
483 | self = self; | |
f6bcfd97 | 484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItemAttr_GetFont",_kwnames,&_argo0)) |
8ab979d7 | 485 | return NULL; |
1d99702e RD |
486 | if (_argo0) { |
487 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
488 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItemAttr_p")) { |
489 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItemAttr_GetFont. Expected _wxListItemAttr_p."); | |
8ab979d7 RD |
490 | return NULL; |
491 | } | |
492 | } | |
cf694132 RD |
493 | { |
494 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 BP |
495 | const wxFont & _result_ref = wxListItemAttr_GetFont(_arg0); |
496 | _result = (wxFont *) &_result_ref; | |
cf694132 RD |
497 | |
498 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
499 | } if (_result) { |
500 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
501 | _resultobj = Py_BuildValue("s",_ptemp); | |
502 | } else { | |
503 | Py_INCREF(Py_None); | |
504 | _resultobj = Py_None; | |
505 | } | |
8ab979d7 RD |
506 | return _resultobj; |
507 | } | |
508 | ||
f6bcfd97 BP |
509 | #define new_wxListItem() (new wxListItem()) |
510 | static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 511 | PyObject * _resultobj; |
f6bcfd97 BP |
512 | wxListItem * _result; |
513 | char *_kwnames[] = { NULL }; | |
514 | char _ptemp[128]; | |
af309447 RD |
515 | |
516 | self = self; | |
f6bcfd97 | 517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxListItem",_kwnames)) |
af309447 | 518 | return NULL; |
af309447 | 519 | { |
cf694132 | 520 | wxPy_BEGIN_ALLOW_THREADS; |
f6bcfd97 | 521 | _result = (wxListItem *)new_wxListItem(); |
cf694132 RD |
522 | |
523 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
524 | } if (_result) { |
525 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p"); | |
526 | _resultobj = Py_BuildValue("s",_ptemp); | |
527 | } else { | |
528 | Py_INCREF(Py_None); | |
529 | _resultobj = Py_None; | |
530 | } | |
af309447 RD |
531 | return _resultobj; |
532 | } | |
533 | ||
f6bcfd97 BP |
534 | #define delete_wxListItem(_swigobj) (delete _swigobj) |
535 | static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 536 | PyObject * _resultobj; |
8ab979d7 | 537 | wxListItem * _arg0; |
1d99702e | 538 | PyObject * _argo0 = 0; |
efc5f224 | 539 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
540 | |
541 | self = self; | |
f6bcfd97 | 542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxListItem",_kwnames,&_argo0)) |
8ab979d7 | 543 | return NULL; |
1d99702e RD |
544 | if (_argo0) { |
545 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
546 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
f6bcfd97 | 547 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p."); |
8ab979d7 RD |
548 | return NULL; |
549 | } | |
550 | } | |
8ab979d7 | 551 | { |
cf694132 | 552 | wxPy_BEGIN_ALLOW_THREADS; |
f6bcfd97 | 553 | delete_wxListItem(_arg0); |
cf694132 RD |
554 | |
555 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
556 | } Py_INCREF(Py_None); |
557 | _resultobj = Py_None; | |
8ab979d7 RD |
558 | return _resultobj; |
559 | } | |
560 | ||
f6bcfd97 BP |
561 | #define wxListItem_Clear(_swigobj) (_swigobj->Clear()) |
562 | static PyObject *_wrap_wxListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 563 | PyObject * _resultobj; |
af309447 | 564 | wxListItem * _arg0; |
1d99702e | 565 | PyObject * _argo0 = 0; |
f6bcfd97 | 566 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
567 | |
568 | self = self; | |
f6bcfd97 | 569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_Clear",_kwnames,&_argo0)) |
af309447 | 570 | return NULL; |
1d99702e RD |
571 | if (_argo0) { |
572 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
573 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
f6bcfd97 | 574 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_Clear. Expected _wxListItem_p."); |
af309447 RD |
575 | return NULL; |
576 | } | |
577 | } | |
cf694132 RD |
578 | { |
579 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 580 | wxListItem_Clear(_arg0); |
cf694132 RD |
581 | |
582 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
583 | } Py_INCREF(Py_None); |
584 | _resultobj = Py_None; | |
af309447 RD |
585 | return _resultobj; |
586 | } | |
587 | ||
f6bcfd97 BP |
588 | #define wxListItem_ClearAttributes(_swigobj) (_swigobj->ClearAttributes()) |
589 | static PyObject *_wrap_wxListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 590 | PyObject * _resultobj; |
8ab979d7 | 591 | wxListItem * _arg0; |
1d99702e | 592 | PyObject * _argo0 = 0; |
efc5f224 | 593 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
594 | |
595 | self = self; | |
f6bcfd97 | 596 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_ClearAttributes",_kwnames,&_argo0)) |
8ab979d7 | 597 | return NULL; |
1d99702e RD |
598 | if (_argo0) { |
599 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
600 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
f6bcfd97 | 601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_ClearAttributes. Expected _wxListItem_p."); |
8ab979d7 RD |
602 | return NULL; |
603 | } | |
604 | } | |
cf694132 RD |
605 | { |
606 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 607 | wxListItem_ClearAttributes(_arg0); |
cf694132 RD |
608 | |
609 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
610 | } Py_INCREF(Py_None); |
611 | _resultobj = Py_None; | |
612 | return _resultobj; | |
613 | } | |
614 | ||
615 | #define wxListItem_SetMask(_swigobj,_swigarg0) (_swigobj->SetMask(_swigarg0)) | |
616 | static PyObject *_wrap_wxListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
617 | PyObject * _resultobj; | |
618 | wxListItem * _arg0; | |
619 | long _arg1; | |
620 | PyObject * _argo0 = 0; | |
621 | char *_kwnames[] = { "self","mask", NULL }; | |
622 | ||
623 | self = self; | |
624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetMask",_kwnames,&_argo0,&_arg1)) | |
625 | return NULL; | |
626 | if (_argo0) { | |
627 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
628 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetMask. Expected _wxListItem_p."); | |
630 | return NULL; | |
631 | } | |
632 | } | |
633 | { | |
634 | wxPy_BEGIN_ALLOW_THREADS; | |
635 | wxListItem_SetMask(_arg0,_arg1); | |
636 | ||
637 | wxPy_END_ALLOW_THREADS; | |
638 | } Py_INCREF(Py_None); | |
639 | _resultobj = Py_None; | |
640 | return _resultobj; | |
641 | } | |
642 | ||
643 | #define wxListItem_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0)) | |
644 | static PyObject *_wrap_wxListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
645 | PyObject * _resultobj; | |
646 | wxListItem * _arg0; | |
647 | long _arg1; | |
648 | PyObject * _argo0 = 0; | |
649 | char *_kwnames[] = { "self","id", NULL }; | |
650 | ||
651 | self = self; | |
652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetId",_kwnames,&_argo0,&_arg1)) | |
653 | return NULL; | |
654 | if (_argo0) { | |
655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetId. Expected _wxListItem_p."); | |
658 | return NULL; | |
659 | } | |
660 | } | |
661 | { | |
662 | wxPy_BEGIN_ALLOW_THREADS; | |
663 | wxListItem_SetId(_arg0,_arg1); | |
664 | ||
665 | wxPy_END_ALLOW_THREADS; | |
666 | } Py_INCREF(Py_None); | |
667 | _resultobj = Py_None; | |
668 | return _resultobj; | |
669 | } | |
670 | ||
671 | #define wxListItem_SetColumn(_swigobj,_swigarg0) (_swigobj->SetColumn(_swigarg0)) | |
672 | static PyObject *_wrap_wxListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
673 | PyObject * _resultobj; | |
674 | wxListItem * _arg0; | |
675 | int _arg1; | |
676 | PyObject * _argo0 = 0; | |
677 | char *_kwnames[] = { "self","col", NULL }; | |
678 | ||
679 | self = self; | |
680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetColumn",_kwnames,&_argo0,&_arg1)) | |
681 | return NULL; | |
682 | if (_argo0) { | |
683 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
684 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
685 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetColumn. Expected _wxListItem_p."); | |
686 | return NULL; | |
687 | } | |
688 | } | |
689 | { | |
690 | wxPy_BEGIN_ALLOW_THREADS; | |
691 | wxListItem_SetColumn(_arg0,_arg1); | |
692 | ||
693 | wxPy_END_ALLOW_THREADS; | |
694 | } Py_INCREF(Py_None); | |
695 | _resultobj = Py_None; | |
696 | return _resultobj; | |
697 | } | |
698 | ||
699 | #define wxListItem_SetState(_swigobj,_swigarg0) (_swigobj->SetState(_swigarg0)) | |
700 | static PyObject *_wrap_wxListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
701 | PyObject * _resultobj; | |
702 | wxListItem * _arg0; | |
703 | long _arg1; | |
704 | PyObject * _argo0 = 0; | |
705 | char *_kwnames[] = { "self","state", NULL }; | |
706 | ||
707 | self = self; | |
708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetState",_kwnames,&_argo0,&_arg1)) | |
709 | return NULL; | |
710 | if (_argo0) { | |
711 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
712 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
713 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetState. Expected _wxListItem_p."); | |
714 | return NULL; | |
715 | } | |
716 | } | |
717 | { | |
718 | wxPy_BEGIN_ALLOW_THREADS; | |
719 | wxListItem_SetState(_arg0,_arg1); | |
720 | ||
721 | wxPy_END_ALLOW_THREADS; | |
722 | } Py_INCREF(Py_None); | |
723 | _resultobj = Py_None; | |
724 | return _resultobj; | |
725 | } | |
726 | ||
727 | #define wxListItem_SetStateMask(_swigobj,_swigarg0) (_swigobj->SetStateMask(_swigarg0)) | |
728 | static PyObject *_wrap_wxListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
729 | PyObject * _resultobj; | |
730 | wxListItem * _arg0; | |
731 | long _arg1; | |
732 | PyObject * _argo0 = 0; | |
733 | char *_kwnames[] = { "self","stateMask", NULL }; | |
734 | ||
735 | self = self; | |
736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetStateMask",_kwnames,&_argo0,&_arg1)) | |
737 | return NULL; | |
738 | if (_argo0) { | |
739 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
740 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
741 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetStateMask. Expected _wxListItem_p."); | |
742 | return NULL; | |
743 | } | |
744 | } | |
745 | { | |
746 | wxPy_BEGIN_ALLOW_THREADS; | |
747 | wxListItem_SetStateMask(_arg0,_arg1); | |
748 | ||
749 | wxPy_END_ALLOW_THREADS; | |
750 | } Py_INCREF(Py_None); | |
751 | _resultobj = Py_None; | |
752 | return _resultobj; | |
753 | } | |
754 | ||
755 | #define wxListItem_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
756 | static PyObject *_wrap_wxListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
757 | PyObject * _resultobj; | |
758 | wxListItem * _arg0; | |
759 | wxString * _arg1; | |
760 | PyObject * _argo0 = 0; | |
761 | PyObject * _obj1 = 0; | |
762 | char *_kwnames[] = { "self","text", NULL }; | |
763 | ||
764 | self = self; | |
765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetText",_kwnames,&_argo0,&_obj1)) | |
766 | return NULL; | |
767 | if (_argo0) { | |
768 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
769 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
770 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetText. Expected _wxListItem_p."); | |
771 | return NULL; | |
772 | } | |
773 | } | |
774 | { | |
775 | if (!PyString_Check(_obj1)) { | |
776 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
777 | return NULL; | |
778 | } | |
779 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
780 | } | |
781 | { | |
782 | wxPy_BEGIN_ALLOW_THREADS; | |
783 | wxListItem_SetText(_arg0,*_arg1); | |
784 | ||
785 | wxPy_END_ALLOW_THREADS; | |
786 | } Py_INCREF(Py_None); | |
787 | _resultobj = Py_None; | |
788 | { | |
789 | if (_obj1) | |
790 | delete _arg1; | |
791 | } | |
792 | return _resultobj; | |
793 | } | |
794 | ||
795 | #define wxListItem_SetImage(_swigobj,_swigarg0) (_swigobj->SetImage(_swigarg0)) | |
796 | static PyObject *_wrap_wxListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
797 | PyObject * _resultobj; | |
798 | wxListItem * _arg0; | |
799 | int _arg1; | |
800 | PyObject * _argo0 = 0; | |
801 | char *_kwnames[] = { "self","image", NULL }; | |
802 | ||
803 | self = self; | |
804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetImage",_kwnames,&_argo0,&_arg1)) | |
805 | return NULL; | |
806 | if (_argo0) { | |
807 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
808 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
809 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetImage. Expected _wxListItem_p."); | |
810 | return NULL; | |
811 | } | |
812 | } | |
813 | { | |
814 | wxPy_BEGIN_ALLOW_THREADS; | |
815 | wxListItem_SetImage(_arg0,_arg1); | |
816 | ||
817 | wxPy_END_ALLOW_THREADS; | |
818 | } Py_INCREF(Py_None); | |
819 | _resultobj = Py_None; | |
820 | return _resultobj; | |
821 | } | |
822 | ||
823 | #define wxListItem_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0)) | |
824 | static PyObject *_wrap_wxListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
825 | PyObject * _resultobj; | |
826 | wxListItem * _arg0; | |
827 | long _arg1; | |
828 | PyObject * _argo0 = 0; | |
829 | char *_kwnames[] = { "self","data", NULL }; | |
830 | ||
831 | self = self; | |
832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_SetData",_kwnames,&_argo0,&_arg1)) | |
833 | return NULL; | |
834 | if (_argo0) { | |
835 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
836 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
837 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetData. Expected _wxListItem_p."); | |
838 | return NULL; | |
839 | } | |
840 | } | |
841 | { | |
842 | wxPy_BEGIN_ALLOW_THREADS; | |
843 | wxListItem_SetData(_arg0,_arg1); | |
844 | ||
845 | wxPy_END_ALLOW_THREADS; | |
846 | } Py_INCREF(Py_None); | |
847 | _resultobj = Py_None; | |
848 | return _resultobj; | |
849 | } | |
850 | ||
851 | #define wxListItem_SetWidth(_swigobj,_swigarg0) (_swigobj->SetWidth(_swigarg0)) | |
852 | static PyObject *_wrap_wxListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
853 | PyObject * _resultobj; | |
854 | wxListItem * _arg0; | |
855 | int _arg1; | |
856 | PyObject * _argo0 = 0; | |
857 | char *_kwnames[] = { "self","width", NULL }; | |
858 | ||
859 | self = self; | |
860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetWidth",_kwnames,&_argo0,&_arg1)) | |
861 | return NULL; | |
862 | if (_argo0) { | |
863 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
864 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
865 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetWidth. Expected _wxListItem_p."); | |
866 | return NULL; | |
867 | } | |
868 | } | |
869 | { | |
870 | wxPy_BEGIN_ALLOW_THREADS; | |
871 | wxListItem_SetWidth(_arg0,_arg1); | |
872 | ||
873 | wxPy_END_ALLOW_THREADS; | |
874 | } Py_INCREF(Py_None); | |
875 | _resultobj = Py_None; | |
876 | return _resultobj; | |
877 | } | |
878 | ||
879 | #define wxListItem_SetAlign(_swigobj,_swigarg0) (_swigobj->SetAlign(_swigarg0)) | |
880 | static PyObject *_wrap_wxListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
881 | PyObject * _resultobj; | |
882 | wxListItem * _arg0; | |
883 | wxListColumnFormat _arg1; | |
884 | PyObject * _argo0 = 0; | |
885 | char *_kwnames[] = { "self","align", NULL }; | |
886 | ||
887 | self = self; | |
888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_SetAlign",_kwnames,&_argo0,&_arg1)) | |
889 | return NULL; | |
890 | if (_argo0) { | |
891 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
892 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
893 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetAlign. Expected _wxListItem_p."); | |
894 | return NULL; | |
895 | } | |
896 | } | |
897 | { | |
898 | wxPy_BEGIN_ALLOW_THREADS; | |
899 | wxListItem_SetAlign(_arg0,_arg1); | |
900 | ||
901 | wxPy_END_ALLOW_THREADS; | |
902 | } Py_INCREF(Py_None); | |
903 | _resultobj = Py_None; | |
904 | return _resultobj; | |
905 | } | |
906 | ||
907 | #define wxListItem_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) | |
908 | static PyObject *_wrap_wxListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
909 | PyObject * _resultobj; | |
910 | wxListItem * _arg0; | |
911 | wxColour * _arg1; | |
912 | PyObject * _argo0 = 0; | |
913 | wxColour temp; | |
914 | PyObject * _obj1 = 0; | |
915 | char *_kwnames[] = { "self","colText", NULL }; | |
916 | ||
917 | self = self; | |
918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetTextColour",_kwnames,&_argo0,&_obj1)) | |
919 | return NULL; | |
920 | if (_argo0) { | |
921 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
922 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
923 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetTextColour. Expected _wxListItem_p."); | |
924 | return NULL; | |
925 | } | |
926 | } | |
927 | { | |
928 | _arg1 = &temp; | |
929 | if (! wxColour_helper(_obj1, &_arg1)) | |
930 | return NULL; | |
931 | } | |
932 | { | |
933 | wxPy_BEGIN_ALLOW_THREADS; | |
934 | wxListItem_SetTextColour(_arg0,*_arg1); | |
935 | ||
936 | wxPy_END_ALLOW_THREADS; | |
937 | } Py_INCREF(Py_None); | |
938 | _resultobj = Py_None; | |
939 | return _resultobj; | |
940 | } | |
941 | ||
942 | #define wxListItem_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
943 | static PyObject *_wrap_wxListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
944 | PyObject * _resultobj; | |
945 | wxListItem * _arg0; | |
946 | wxColour * _arg1; | |
947 | PyObject * _argo0 = 0; | |
948 | wxColour temp; | |
949 | PyObject * _obj1 = 0; | |
950 | char *_kwnames[] = { "self","colBack", NULL }; | |
951 | ||
952 | self = self; | |
953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetBackgroundColour",_kwnames,&_argo0,&_obj1)) | |
954 | return NULL; | |
955 | if (_argo0) { | |
956 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
957 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
958 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetBackgroundColour. Expected _wxListItem_p."); | |
959 | return NULL; | |
960 | } | |
961 | } | |
962 | { | |
963 | _arg1 = &temp; | |
964 | if (! wxColour_helper(_obj1, &_arg1)) | |
965 | return NULL; | |
966 | } | |
967 | { | |
968 | wxPy_BEGIN_ALLOW_THREADS; | |
969 | wxListItem_SetBackgroundColour(_arg0,*_arg1); | |
970 | ||
971 | wxPy_END_ALLOW_THREADS; | |
972 | } Py_INCREF(Py_None); | |
973 | _resultobj = Py_None; | |
974 | return _resultobj; | |
975 | } | |
976 | ||
977 | #define wxListItem_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) | |
978 | static PyObject *_wrap_wxListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
979 | PyObject * _resultobj; | |
980 | wxListItem * _arg0; | |
981 | wxFont * _arg1; | |
982 | PyObject * _argo0 = 0; | |
983 | PyObject * _argo1 = 0; | |
984 | char *_kwnames[] = { "self","font", NULL }; | |
985 | ||
986 | self = self; | |
987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_SetFont",_kwnames,&_argo0,&_argo1)) | |
988 | return NULL; | |
989 | if (_argo0) { | |
990 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
991 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
992 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_SetFont. Expected _wxListItem_p."); | |
993 | return NULL; | |
994 | } | |
995 | } | |
996 | if (_argo1) { | |
997 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
998 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
999 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListItem_SetFont. Expected _wxFont_p."); | |
1000 | return NULL; | |
1001 | } | |
1002 | } | |
1003 | { | |
1004 | wxPy_BEGIN_ALLOW_THREADS; | |
1005 | wxListItem_SetFont(_arg0,*_arg1); | |
1006 | ||
1007 | wxPy_END_ALLOW_THREADS; | |
1008 | } Py_INCREF(Py_None); | |
1009 | _resultobj = Py_None; | |
1010 | return _resultobj; | |
1011 | } | |
1012 | ||
1013 | #define wxListItem_GetMask(_swigobj) (_swigobj->GetMask()) | |
1014 | static PyObject *_wrap_wxListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1015 | PyObject * _resultobj; | |
1016 | long _result; | |
1017 | wxListItem * _arg0; | |
1018 | PyObject * _argo0 = 0; | |
1019 | char *_kwnames[] = { "self", NULL }; | |
1020 | ||
1021 | self = self; | |
1022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetMask",_kwnames,&_argo0)) | |
1023 | return NULL; | |
1024 | if (_argo0) { | |
1025 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1026 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1027 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetMask. Expected _wxListItem_p."); | |
1028 | return NULL; | |
1029 | } | |
1030 | } | |
1031 | { | |
1032 | wxPy_BEGIN_ALLOW_THREADS; | |
1033 | _result = (long )wxListItem_GetMask(_arg0); | |
1034 | ||
1035 | wxPy_END_ALLOW_THREADS; | |
1036 | } _resultobj = Py_BuildValue("l",_result); | |
1037 | return _resultobj; | |
1038 | } | |
1039 | ||
1040 | #define wxListItem_GetId(_swigobj) (_swigobj->GetId()) | |
1041 | static PyObject *_wrap_wxListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1042 | PyObject * _resultobj; | |
1043 | long _result; | |
1044 | wxListItem * _arg0; | |
1045 | PyObject * _argo0 = 0; | |
1046 | char *_kwnames[] = { "self", NULL }; | |
1047 | ||
1048 | self = self; | |
1049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetId",_kwnames,&_argo0)) | |
1050 | return NULL; | |
1051 | if (_argo0) { | |
1052 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1053 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1054 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetId. Expected _wxListItem_p."); | |
1055 | return NULL; | |
1056 | } | |
1057 | } | |
1058 | { | |
1059 | wxPy_BEGIN_ALLOW_THREADS; | |
1060 | _result = (long )wxListItem_GetId(_arg0); | |
1061 | ||
1062 | wxPy_END_ALLOW_THREADS; | |
1063 | } _resultobj = Py_BuildValue("l",_result); | |
1064 | return _resultobj; | |
1065 | } | |
1066 | ||
1067 | #define wxListItem_GetColumn(_swigobj) (_swigobj->GetColumn()) | |
1068 | static PyObject *_wrap_wxListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1069 | PyObject * _resultobj; | |
1070 | int _result; | |
1071 | wxListItem * _arg0; | |
1072 | PyObject * _argo0 = 0; | |
1073 | char *_kwnames[] = { "self", NULL }; | |
1074 | ||
1075 | self = self; | |
1076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetColumn",_kwnames,&_argo0)) | |
1077 | return NULL; | |
1078 | if (_argo0) { | |
1079 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1080 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1081 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetColumn. Expected _wxListItem_p."); | |
1082 | return NULL; | |
1083 | } | |
1084 | } | |
1085 | { | |
1086 | wxPy_BEGIN_ALLOW_THREADS; | |
1087 | _result = (int )wxListItem_GetColumn(_arg0); | |
1088 | ||
1089 | wxPy_END_ALLOW_THREADS; | |
1090 | } _resultobj = Py_BuildValue("i",_result); | |
1091 | return _resultobj; | |
1092 | } | |
1093 | ||
1094 | #define wxListItem_GetState(_swigobj) (_swigobj->GetState()) | |
1095 | static PyObject *_wrap_wxListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1096 | PyObject * _resultobj; | |
1097 | long _result; | |
1098 | wxListItem * _arg0; | |
1099 | PyObject * _argo0 = 0; | |
1100 | char *_kwnames[] = { "self", NULL }; | |
1101 | ||
1102 | self = self; | |
1103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetState",_kwnames,&_argo0)) | |
1104 | return NULL; | |
1105 | if (_argo0) { | |
1106 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1107 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1108 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetState. Expected _wxListItem_p."); | |
1109 | return NULL; | |
1110 | } | |
1111 | } | |
1112 | { | |
1113 | wxPy_BEGIN_ALLOW_THREADS; | |
1114 | _result = (long )wxListItem_GetState(_arg0); | |
1115 | ||
1116 | wxPy_END_ALLOW_THREADS; | |
1117 | } _resultobj = Py_BuildValue("l",_result); | |
1118 | return _resultobj; | |
1119 | } | |
1120 | ||
1121 | #define wxListItem_GetText(_swigobj) (_swigobj->GetText()) | |
1122 | static PyObject *_wrap_wxListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1123 | PyObject * _resultobj; | |
1124 | wxString * _result; | |
1125 | wxListItem * _arg0; | |
1126 | PyObject * _argo0 = 0; | |
1127 | char *_kwnames[] = { "self", NULL }; | |
1128 | ||
1129 | self = self; | |
1130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetText",_kwnames,&_argo0)) | |
1131 | return NULL; | |
1132 | if (_argo0) { | |
1133 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1134 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1135 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetText. Expected _wxListItem_p."); | |
1136 | return NULL; | |
1137 | } | |
1138 | } | |
1139 | { | |
1140 | wxPy_BEGIN_ALLOW_THREADS; | |
1141 | const wxString & _result_ref = wxListItem_GetText(_arg0); | |
1142 | _result = (wxString *) &_result_ref; | |
1143 | ||
1144 | wxPy_END_ALLOW_THREADS; | |
1145 | }{ | |
1146 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
1147 | } | |
1148 | return _resultobj; | |
1149 | } | |
1150 | ||
1151 | #define wxListItem_GetImage(_swigobj) (_swigobj->GetImage()) | |
1152 | static PyObject *_wrap_wxListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1153 | PyObject * _resultobj; | |
1154 | int _result; | |
1155 | wxListItem * _arg0; | |
1156 | PyObject * _argo0 = 0; | |
1157 | char *_kwnames[] = { "self", NULL }; | |
1158 | ||
1159 | self = self; | |
1160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetImage",_kwnames,&_argo0)) | |
1161 | return NULL; | |
1162 | if (_argo0) { | |
1163 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1164 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetImage. Expected _wxListItem_p."); | |
1166 | return NULL; | |
1167 | } | |
1168 | } | |
1169 | { | |
1170 | wxPy_BEGIN_ALLOW_THREADS; | |
1171 | _result = (int )wxListItem_GetImage(_arg0); | |
1172 | ||
1173 | wxPy_END_ALLOW_THREADS; | |
1174 | } _resultobj = Py_BuildValue("i",_result); | |
1175 | return _resultobj; | |
1176 | } | |
1177 | ||
1178 | #define wxListItem_GetData(_swigobj) (_swigobj->GetData()) | |
1179 | static PyObject *_wrap_wxListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1180 | PyObject * _resultobj; | |
1181 | long _result; | |
1182 | wxListItem * _arg0; | |
1183 | PyObject * _argo0 = 0; | |
1184 | char *_kwnames[] = { "self", NULL }; | |
1185 | ||
1186 | self = self; | |
1187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetData",_kwnames,&_argo0)) | |
1188 | return NULL; | |
1189 | if (_argo0) { | |
1190 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1191 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1192 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetData. Expected _wxListItem_p."); | |
1193 | return NULL; | |
1194 | } | |
1195 | } | |
1196 | { | |
1197 | wxPy_BEGIN_ALLOW_THREADS; | |
1198 | _result = (long )wxListItem_GetData(_arg0); | |
1199 | ||
1200 | wxPy_END_ALLOW_THREADS; | |
1201 | } _resultobj = Py_BuildValue("l",_result); | |
1202 | return _resultobj; | |
1203 | } | |
1204 | ||
1205 | #define wxListItem_GetWidth(_swigobj) (_swigobj->GetWidth()) | |
1206 | static PyObject *_wrap_wxListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1207 | PyObject * _resultobj; | |
1208 | int _result; | |
1209 | wxListItem * _arg0; | |
1210 | PyObject * _argo0 = 0; | |
1211 | char *_kwnames[] = { "self", NULL }; | |
1212 | ||
1213 | self = self; | |
1214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetWidth",_kwnames,&_argo0)) | |
1215 | return NULL; | |
1216 | if (_argo0) { | |
1217 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1218 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1219 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetWidth. Expected _wxListItem_p."); | |
1220 | return NULL; | |
1221 | } | |
1222 | } | |
1223 | { | |
1224 | wxPy_BEGIN_ALLOW_THREADS; | |
1225 | _result = (int )wxListItem_GetWidth(_arg0); | |
1226 | ||
1227 | wxPy_END_ALLOW_THREADS; | |
1228 | } _resultobj = Py_BuildValue("i",_result); | |
1229 | return _resultobj; | |
1230 | } | |
1231 | ||
1232 | #define wxListItem_GetAlign(_swigobj) (_swigobj->GetAlign()) | |
1233 | static PyObject *_wrap_wxListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1234 | PyObject * _resultobj; | |
1235 | wxListColumnFormat _result; | |
1236 | wxListItem * _arg0; | |
1237 | PyObject * _argo0 = 0; | |
1238 | char *_kwnames[] = { "self", NULL }; | |
1239 | ||
1240 | self = self; | |
1241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAlign",_kwnames,&_argo0)) | |
1242 | return NULL; | |
1243 | if (_argo0) { | |
1244 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1245 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAlign. Expected _wxListItem_p."); | |
1247 | return NULL; | |
1248 | } | |
1249 | } | |
1250 | { | |
1251 | wxPy_BEGIN_ALLOW_THREADS; | |
1252 | _result = (wxListColumnFormat )wxListItem_GetAlign(_arg0); | |
1253 | ||
1254 | wxPy_END_ALLOW_THREADS; | |
1255 | } _resultobj = Py_BuildValue("i",_result); | |
1256 | return _resultobj; | |
1257 | } | |
1258 | ||
1259 | #define wxListItem_GetAttributes(_swigobj) (_swigobj->GetAttributes()) | |
1260 | static PyObject *_wrap_wxListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1261 | PyObject * _resultobj; | |
1262 | wxListItemAttr * _result; | |
1263 | wxListItem * _arg0; | |
1264 | PyObject * _argo0 = 0; | |
1265 | char *_kwnames[] = { "self", NULL }; | |
1266 | char _ptemp[128]; | |
1267 | ||
1268 | self = self; | |
1269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetAttributes",_kwnames,&_argo0)) | |
1270 | return NULL; | |
1271 | if (_argo0) { | |
1272 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1273 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1274 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetAttributes. Expected _wxListItem_p."); | |
1275 | return NULL; | |
1276 | } | |
1277 | } | |
1278 | { | |
1279 | wxPy_BEGIN_ALLOW_THREADS; | |
1280 | _result = (wxListItemAttr *)wxListItem_GetAttributes(_arg0); | |
1281 | ||
1282 | wxPy_END_ALLOW_THREADS; | |
1283 | } if (_result) { | |
1284 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItemAttr_p"); | |
1285 | _resultobj = Py_BuildValue("s",_ptemp); | |
1286 | } else { | |
1287 | Py_INCREF(Py_None); | |
1288 | _resultobj = Py_None; | |
1289 | } | |
1290 | return _resultobj; | |
1291 | } | |
1292 | ||
1293 | #define wxListItem_HasAttributes(_swigobj) (_swigobj->HasAttributes()) | |
1294 | static PyObject *_wrap_wxListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1295 | PyObject * _resultobj; | |
1296 | bool _result; | |
1297 | wxListItem * _arg0; | |
1298 | PyObject * _argo0 = 0; | |
1299 | char *_kwnames[] = { "self", NULL }; | |
1300 | ||
1301 | self = self; | |
1302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_HasAttributes",_kwnames,&_argo0)) | |
1303 | return NULL; | |
1304 | if (_argo0) { | |
1305 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1306 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_HasAttributes. Expected _wxListItem_p."); | |
1308 | return NULL; | |
1309 | } | |
1310 | } | |
1311 | { | |
1312 | wxPy_BEGIN_ALLOW_THREADS; | |
1313 | _result = (bool )wxListItem_HasAttributes(_arg0); | |
1314 | ||
1315 | wxPy_END_ALLOW_THREADS; | |
1316 | } _resultobj = Py_BuildValue("i",_result); | |
1317 | return _resultobj; | |
1318 | } | |
1319 | ||
1320 | #define wxListItem_GetTextColour(_swigobj) (_swigobj->GetTextColour()) | |
1321 | static PyObject *_wrap_wxListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1322 | PyObject * _resultobj; | |
1323 | wxColour * _result; | |
1324 | wxListItem * _arg0; | |
1325 | PyObject * _argo0 = 0; | |
1326 | char *_kwnames[] = { "self", NULL }; | |
1327 | char _ptemp[128]; | |
1328 | ||
1329 | self = self; | |
1330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetTextColour",_kwnames,&_argo0)) | |
1331 | return NULL; | |
1332 | if (_argo0) { | |
1333 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1334 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1335 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetTextColour. Expected _wxListItem_p."); | |
1336 | return NULL; | |
1337 | } | |
1338 | } | |
1339 | { | |
1340 | wxPy_BEGIN_ALLOW_THREADS; | |
1341 | _result = new wxColour (wxListItem_GetTextColour(_arg0)); | |
1342 | ||
1343 | wxPy_END_ALLOW_THREADS; | |
1344 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
1345 | _resultobj = Py_BuildValue("s",_ptemp); | |
1346 | return _resultobj; | |
1347 | } | |
1348 | ||
1349 | #define wxListItem_GetBackgroundColour(_swigobj) (_swigobj->GetBackgroundColour()) | |
1350 | static PyObject *_wrap_wxListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1351 | PyObject * _resultobj; | |
1352 | wxColour * _result; | |
1353 | wxListItem * _arg0; | |
1354 | PyObject * _argo0 = 0; | |
1355 | char *_kwnames[] = { "self", NULL }; | |
1356 | char _ptemp[128]; | |
1357 | ||
1358 | self = self; | |
1359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetBackgroundColour",_kwnames,&_argo0)) | |
1360 | return NULL; | |
1361 | if (_argo0) { | |
1362 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1363 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1364 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetBackgroundColour. Expected _wxListItem_p."); | |
1365 | return NULL; | |
1366 | } | |
1367 | } | |
1368 | { | |
1369 | wxPy_BEGIN_ALLOW_THREADS; | |
1370 | _result = new wxColour (wxListItem_GetBackgroundColour(_arg0)); | |
1371 | ||
1372 | wxPy_END_ALLOW_THREADS; | |
1373 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
1374 | _resultobj = Py_BuildValue("s",_ptemp); | |
1375 | return _resultobj; | |
1376 | } | |
1377 | ||
1378 | #define wxListItem_GetFont(_swigobj) (_swigobj->GetFont()) | |
1379 | static PyObject *_wrap_wxListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1380 | PyObject * _resultobj; | |
1381 | wxFont * _result; | |
1382 | wxListItem * _arg0; | |
1383 | PyObject * _argo0 = 0; | |
1384 | char *_kwnames[] = { "self", NULL }; | |
1385 | char _ptemp[128]; | |
1386 | ||
1387 | self = self; | |
1388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_GetFont",_kwnames,&_argo0)) | |
1389 | return NULL; | |
1390 | if (_argo0) { | |
1391 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1392 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1393 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_GetFont. Expected _wxListItem_p."); | |
1394 | return NULL; | |
1395 | } | |
1396 | } | |
1397 | { | |
1398 | wxPy_BEGIN_ALLOW_THREADS; | |
1399 | _result = new wxFont (wxListItem_GetFont(_arg0)); | |
1400 | ||
1401 | wxPy_END_ALLOW_THREADS; | |
1402 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxFont_p"); | |
1403 | _resultobj = Py_BuildValue("s",_ptemp); | |
1404 | return _resultobj; | |
1405 | } | |
1406 | ||
1407 | #define wxListItem_m_mask_set(_swigobj,_swigval) (_swigobj->m_mask = _swigval,_swigval) | |
1408 | static PyObject *_wrap_wxListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1409 | PyObject * _resultobj; | |
1410 | long _result; | |
1411 | wxListItem * _arg0; | |
1412 | long _arg1; | |
1413 | PyObject * _argo0 = 0; | |
1414 | char *_kwnames[] = { "self","m_mask", NULL }; | |
1415 | ||
1416 | self = self; | |
1417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_mask_set",_kwnames,&_argo0,&_arg1)) | |
1418 | return NULL; | |
1419 | if (_argo0) { | |
1420 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1421 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1422 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_set. Expected _wxListItem_p."); | |
1423 | return NULL; | |
1424 | } | |
1425 | } | |
1426 | { | |
1427 | wxPy_BEGIN_ALLOW_THREADS; | |
1428 | _result = (long )wxListItem_m_mask_set(_arg0,_arg1); | |
1429 | ||
1430 | wxPy_END_ALLOW_THREADS; | |
1431 | } _resultobj = Py_BuildValue("l",_result); | |
1432 | return _resultobj; | |
1433 | } | |
1434 | ||
1435 | #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask) | |
1436 | static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1437 | PyObject * _resultobj; | |
1438 | long _result; | |
1439 | wxListItem * _arg0; | |
1440 | PyObject * _argo0 = 0; | |
1441 | char *_kwnames[] = { "self", NULL }; | |
1442 | ||
1443 | self = self; | |
1444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_mask_get",_kwnames,&_argo0)) | |
1445 | return NULL; | |
1446 | if (_argo0) { | |
1447 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1448 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1449 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p."); | |
1450 | return NULL; | |
1451 | } | |
1452 | } | |
1453 | { | |
1454 | wxPy_BEGIN_ALLOW_THREADS; | |
1455 | _result = (long )wxListItem_m_mask_get(_arg0); | |
1456 | ||
1457 | wxPy_END_ALLOW_THREADS; | |
1458 | } _resultobj = Py_BuildValue("l",_result); | |
1459 | return _resultobj; | |
1460 | } | |
1461 | ||
1462 | #define wxListItem_m_itemId_set(_swigobj,_swigval) (_swigobj->m_itemId = _swigval,_swigval) | |
1463 | static PyObject *_wrap_wxListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1464 | PyObject * _resultobj; | |
1465 | long _result; | |
1466 | wxListItem * _arg0; | |
1467 | long _arg1; | |
1468 | PyObject * _argo0 = 0; | |
1469 | char *_kwnames[] = { "self","m_itemId", NULL }; | |
1470 | ||
1471 | self = self; | |
1472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_itemId_set",_kwnames,&_argo0,&_arg1)) | |
1473 | return NULL; | |
1474 | if (_argo0) { | |
1475 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1476 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_set. Expected _wxListItem_p."); | |
1478 | return NULL; | |
1479 | } | |
1480 | } | |
1481 | { | |
1482 | wxPy_BEGIN_ALLOW_THREADS; | |
1483 | _result = (long )wxListItem_m_itemId_set(_arg0,_arg1); | |
1484 | ||
1485 | wxPy_END_ALLOW_THREADS; | |
1486 | } _resultobj = Py_BuildValue("l",_result); | |
1487 | return _resultobj; | |
1488 | } | |
1489 | ||
1490 | #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId) | |
1491 | static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1492 | PyObject * _resultobj; | |
1493 | long _result; | |
1494 | wxListItem * _arg0; | |
1495 | PyObject * _argo0 = 0; | |
1496 | char *_kwnames[] = { "self", NULL }; | |
1497 | ||
1498 | self = self; | |
1499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_itemId_get",_kwnames,&_argo0)) | |
1500 | return NULL; | |
1501 | if (_argo0) { | |
1502 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1503 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1504 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p."); | |
1505 | return NULL; | |
1506 | } | |
1507 | } | |
1508 | { | |
1509 | wxPy_BEGIN_ALLOW_THREADS; | |
1510 | _result = (long )wxListItem_m_itemId_get(_arg0); | |
1511 | ||
1512 | wxPy_END_ALLOW_THREADS; | |
1513 | } _resultobj = Py_BuildValue("l",_result); | |
1514 | return _resultobj; | |
1515 | } | |
1516 | ||
1517 | #define wxListItem_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval) | |
1518 | static PyObject *_wrap_wxListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1519 | PyObject * _resultobj; | |
1520 | int _result; | |
1521 | wxListItem * _arg0; | |
1522 | int _arg1; | |
1523 | PyObject * _argo0 = 0; | |
1524 | char *_kwnames[] = { "self","m_col", NULL }; | |
1525 | ||
1526 | self = self; | |
1527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_col_set",_kwnames,&_argo0,&_arg1)) | |
1528 | return NULL; | |
1529 | if (_argo0) { | |
1530 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1531 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1532 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_set. Expected _wxListItem_p."); | |
1533 | return NULL; | |
1534 | } | |
1535 | } | |
1536 | { | |
1537 | wxPy_BEGIN_ALLOW_THREADS; | |
1538 | _result = (int )wxListItem_m_col_set(_arg0,_arg1); | |
1539 | ||
1540 | wxPy_END_ALLOW_THREADS; | |
1541 | } _resultobj = Py_BuildValue("i",_result); | |
1542 | return _resultobj; | |
1543 | } | |
1544 | ||
1545 | #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col) | |
1546 | static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1547 | PyObject * _resultobj; | |
1548 | int _result; | |
1549 | wxListItem * _arg0; | |
1550 | PyObject * _argo0 = 0; | |
1551 | char *_kwnames[] = { "self", NULL }; | |
1552 | ||
1553 | self = self; | |
1554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_col_get",_kwnames,&_argo0)) | |
1555 | return NULL; | |
1556 | if (_argo0) { | |
1557 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1558 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1559 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p."); | |
1560 | return NULL; | |
1561 | } | |
1562 | } | |
1563 | { | |
1564 | wxPy_BEGIN_ALLOW_THREADS; | |
1565 | _result = (int )wxListItem_m_col_get(_arg0); | |
1566 | ||
1567 | wxPy_END_ALLOW_THREADS; | |
1568 | } _resultobj = Py_BuildValue("i",_result); | |
1569 | return _resultobj; | |
1570 | } | |
1571 | ||
1572 | #define wxListItem_m_state_set(_swigobj,_swigval) (_swigobj->m_state = _swigval,_swigval) | |
1573 | static PyObject *_wrap_wxListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1574 | PyObject * _resultobj; | |
1575 | long _result; | |
1576 | wxListItem * _arg0; | |
1577 | long _arg1; | |
1578 | PyObject * _argo0 = 0; | |
1579 | char *_kwnames[] = { "self","m_state", NULL }; | |
1580 | ||
1581 | self = self; | |
1582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_state_set",_kwnames,&_argo0,&_arg1)) | |
1583 | return NULL; | |
1584 | if (_argo0) { | |
1585 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1586 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_set. Expected _wxListItem_p."); | |
1588 | return NULL; | |
1589 | } | |
1590 | } | |
1591 | { | |
1592 | wxPy_BEGIN_ALLOW_THREADS; | |
1593 | _result = (long )wxListItem_m_state_set(_arg0,_arg1); | |
1594 | ||
1595 | wxPy_END_ALLOW_THREADS; | |
1596 | } _resultobj = Py_BuildValue("l",_result); | |
1597 | return _resultobj; | |
1598 | } | |
1599 | ||
1600 | #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state) | |
1601 | static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1602 | PyObject * _resultobj; | |
1603 | long _result; | |
1604 | wxListItem * _arg0; | |
1605 | PyObject * _argo0 = 0; | |
1606 | char *_kwnames[] = { "self", NULL }; | |
1607 | ||
1608 | self = self; | |
1609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_state_get",_kwnames,&_argo0)) | |
1610 | return NULL; | |
1611 | if (_argo0) { | |
1612 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1613 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1614 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p."); | |
1615 | return NULL; | |
1616 | } | |
1617 | } | |
1618 | { | |
1619 | wxPy_BEGIN_ALLOW_THREADS; | |
1620 | _result = (long )wxListItem_m_state_get(_arg0); | |
1621 | ||
1622 | wxPy_END_ALLOW_THREADS; | |
1623 | } _resultobj = Py_BuildValue("l",_result); | |
1624 | return _resultobj; | |
1625 | } | |
1626 | ||
1627 | #define wxListItem_m_stateMask_set(_swigobj,_swigval) (_swigobj->m_stateMask = _swigval,_swigval) | |
1628 | static PyObject *_wrap_wxListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1629 | PyObject * _resultobj; | |
1630 | long _result; | |
1631 | wxListItem * _arg0; | |
1632 | long _arg1; | |
1633 | PyObject * _argo0 = 0; | |
1634 | char *_kwnames[] = { "self","m_stateMask", NULL }; | |
1635 | ||
1636 | self = self; | |
1637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_stateMask_set",_kwnames,&_argo0,&_arg1)) | |
1638 | return NULL; | |
1639 | if (_argo0) { | |
1640 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1641 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1642 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_set. Expected _wxListItem_p."); | |
1643 | return NULL; | |
1644 | } | |
1645 | } | |
1646 | { | |
1647 | wxPy_BEGIN_ALLOW_THREADS; | |
1648 | _result = (long )wxListItem_m_stateMask_set(_arg0,_arg1); | |
1649 | ||
1650 | wxPy_END_ALLOW_THREADS; | |
1651 | } _resultobj = Py_BuildValue("l",_result); | |
1652 | return _resultobj; | |
1653 | } | |
1654 | ||
1655 | #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask) | |
1656 | static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1657 | PyObject * _resultobj; | |
1658 | long _result; | |
1659 | wxListItem * _arg0; | |
1660 | PyObject * _argo0 = 0; | |
1661 | char *_kwnames[] = { "self", NULL }; | |
1662 | ||
1663 | self = self; | |
1664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_stateMask_get",_kwnames,&_argo0)) | |
1665 | return NULL; | |
1666 | if (_argo0) { | |
1667 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1668 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1669 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_stateMask_get. Expected _wxListItem_p."); | |
1670 | return NULL; | |
1671 | } | |
1672 | } | |
1673 | { | |
1674 | wxPy_BEGIN_ALLOW_THREADS; | |
1675 | _result = (long )wxListItem_m_stateMask_get(_arg0); | |
1676 | ||
1677 | wxPy_END_ALLOW_THREADS; | |
1678 | } _resultobj = Py_BuildValue("l",_result); | |
1679 | return _resultobj; | |
1680 | } | |
1681 | ||
1682 | #define wxListItem_m_text_set(_swigobj,_swigval) (_swigobj->m_text = *(_swigval),_swigval) | |
1683 | static PyObject *_wrap_wxListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1684 | PyObject * _resultobj; | |
1685 | wxString * _result; | |
1686 | wxListItem * _arg0; | |
1687 | wxString * _arg1; | |
1688 | PyObject * _argo0 = 0; | |
1689 | PyObject * _obj1 = 0; | |
1690 | char *_kwnames[] = { "self","m_text", NULL }; | |
1691 | ||
1692 | self = self; | |
1693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListItem_m_text_set",_kwnames,&_argo0,&_obj1)) | |
1694 | return NULL; | |
1695 | if (_argo0) { | |
1696 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1697 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1698 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_set. Expected _wxListItem_p."); | |
1699 | return NULL; | |
1700 | } | |
1701 | } | |
1702 | { | |
1703 | if (!PyString_Check(_obj1)) { | |
1704 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1705 | return NULL; | |
1706 | } | |
1707 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
1708 | } | |
1709 | { | |
1710 | wxPy_BEGIN_ALLOW_THREADS; | |
1711 | _result = (wxString *)wxListItem_m_text_set(_arg0,_arg1); | |
1712 | ||
1713 | wxPy_END_ALLOW_THREADS; | |
1714 | }{ | |
1715 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
1716 | } | |
1717 | { | |
1718 | if (_obj1) | |
1719 | delete _arg1; | |
1720 | } | |
1721 | return _resultobj; | |
1722 | } | |
1723 | ||
1724 | #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text) | |
1725 | static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1726 | PyObject * _resultobj; | |
1727 | wxString * _result; | |
1728 | wxListItem * _arg0; | |
1729 | PyObject * _argo0 = 0; | |
1730 | char *_kwnames[] = { "self", NULL }; | |
1731 | ||
1732 | self = self; | |
1733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_text_get",_kwnames,&_argo0)) | |
1734 | return NULL; | |
1735 | if (_argo0) { | |
1736 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1737 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1738 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p."); | |
1739 | return NULL; | |
1740 | } | |
1741 | } | |
1742 | { | |
1743 | wxPy_BEGIN_ALLOW_THREADS; | |
1744 | _result = (wxString *)wxListItem_m_text_get(_arg0); | |
1745 | ||
1746 | wxPy_END_ALLOW_THREADS; | |
1747 | }{ | |
1748 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
1749 | } | |
1750 | return _resultobj; | |
1751 | } | |
1752 | ||
1753 | #define wxListItem_m_image_set(_swigobj,_swigval) (_swigobj->m_image = _swigval,_swigval) | |
1754 | static PyObject *_wrap_wxListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1755 | PyObject * _resultobj; | |
1756 | int _result; | |
1757 | wxListItem * _arg0; | |
1758 | int _arg1; | |
1759 | PyObject * _argo0 = 0; | |
1760 | char *_kwnames[] = { "self","m_image", NULL }; | |
1761 | ||
1762 | self = self; | |
1763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_image_set",_kwnames,&_argo0,&_arg1)) | |
1764 | return NULL; | |
1765 | if (_argo0) { | |
1766 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1767 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1768 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_set. Expected _wxListItem_p."); | |
1769 | return NULL; | |
1770 | } | |
1771 | } | |
1772 | { | |
1773 | wxPy_BEGIN_ALLOW_THREADS; | |
1774 | _result = (int )wxListItem_m_image_set(_arg0,_arg1); | |
1775 | ||
1776 | wxPy_END_ALLOW_THREADS; | |
1777 | } _resultobj = Py_BuildValue("i",_result); | |
1778 | return _resultobj; | |
1779 | } | |
1780 | ||
1781 | #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image) | |
1782 | static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1783 | PyObject * _resultobj; | |
1784 | int _result; | |
1785 | wxListItem * _arg0; | |
1786 | PyObject * _argo0 = 0; | |
1787 | char *_kwnames[] = { "self", NULL }; | |
1788 | ||
1789 | self = self; | |
1790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_image_get",_kwnames,&_argo0)) | |
1791 | return NULL; | |
1792 | if (_argo0) { | |
1793 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1794 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1795 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p."); | |
1796 | return NULL; | |
1797 | } | |
1798 | } | |
1799 | { | |
1800 | wxPy_BEGIN_ALLOW_THREADS; | |
1801 | _result = (int )wxListItem_m_image_get(_arg0); | |
1802 | ||
1803 | wxPy_END_ALLOW_THREADS; | |
1804 | } _resultobj = Py_BuildValue("i",_result); | |
1805 | return _resultobj; | |
1806 | } | |
1807 | ||
1808 | #define wxListItem_m_data_set(_swigobj,_swigval) (_swigobj->m_data = _swigval,_swigval) | |
1809 | static PyObject *_wrap_wxListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1810 | PyObject * _resultobj; | |
1811 | long _result; | |
1812 | wxListItem * _arg0; | |
1813 | long _arg1; | |
1814 | PyObject * _argo0 = 0; | |
1815 | char *_kwnames[] = { "self","m_data", NULL }; | |
1816 | ||
1817 | self = self; | |
1818 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListItem_m_data_set",_kwnames,&_argo0,&_arg1)) | |
1819 | return NULL; | |
1820 | if (_argo0) { | |
1821 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1822 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1823 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_set. Expected _wxListItem_p."); | |
1824 | return NULL; | |
1825 | } | |
1826 | } | |
1827 | { | |
1828 | wxPy_BEGIN_ALLOW_THREADS; | |
1829 | _result = (long )wxListItem_m_data_set(_arg0,_arg1); | |
1830 | ||
1831 | wxPy_END_ALLOW_THREADS; | |
1832 | } _resultobj = Py_BuildValue("l",_result); | |
1833 | return _resultobj; | |
1834 | } | |
1835 | ||
1836 | #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data) | |
1837 | static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1838 | PyObject * _resultobj; | |
1839 | long _result; | |
1840 | wxListItem * _arg0; | |
1841 | PyObject * _argo0 = 0; | |
1842 | char *_kwnames[] = { "self", NULL }; | |
1843 | ||
1844 | self = self; | |
1845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_data_get",_kwnames,&_argo0)) | |
1846 | return NULL; | |
1847 | if (_argo0) { | |
1848 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1849 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1850 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p."); | |
1851 | return NULL; | |
1852 | } | |
1853 | } | |
1854 | { | |
1855 | wxPy_BEGIN_ALLOW_THREADS; | |
1856 | _result = (long )wxListItem_m_data_get(_arg0); | |
1857 | ||
1858 | wxPy_END_ALLOW_THREADS; | |
1859 | } _resultobj = Py_BuildValue("l",_result); | |
1860 | return _resultobj; | |
1861 | } | |
1862 | ||
1863 | #define wxListItem_m_format_set(_swigobj,_swigval) (_swigobj->m_format = _swigval,_swigval) | |
1864 | static PyObject *_wrap_wxListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1865 | PyObject * _resultobj; | |
1866 | int _result; | |
1867 | wxListItem * _arg0; | |
1868 | int _arg1; | |
1869 | PyObject * _argo0 = 0; | |
1870 | char *_kwnames[] = { "self","m_format", NULL }; | |
1871 | ||
1872 | self = self; | |
1873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_format_set",_kwnames,&_argo0,&_arg1)) | |
1874 | return NULL; | |
1875 | if (_argo0) { | |
1876 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1877 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1878 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_set. Expected _wxListItem_p."); | |
1879 | return NULL; | |
1880 | } | |
1881 | } | |
1882 | { | |
1883 | wxPy_BEGIN_ALLOW_THREADS; | |
1884 | _result = (int )wxListItem_m_format_set(_arg0,_arg1); | |
1885 | ||
1886 | wxPy_END_ALLOW_THREADS; | |
1887 | } _resultobj = Py_BuildValue("i",_result); | |
1888 | return _resultobj; | |
1889 | } | |
1890 | ||
1891 | #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format) | |
1892 | static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1893 | PyObject * _resultobj; | |
1894 | int _result; | |
1895 | wxListItem * _arg0; | |
1896 | PyObject * _argo0 = 0; | |
1897 | char *_kwnames[] = { "self", NULL }; | |
1898 | ||
1899 | self = self; | |
1900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_format_get",_kwnames,&_argo0)) | |
1901 | return NULL; | |
1902 | if (_argo0) { | |
1903 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1904 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
1905 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p."); | |
1906 | return NULL; | |
1907 | } | |
1908 | } | |
1909 | { | |
1910 | wxPy_BEGIN_ALLOW_THREADS; | |
1911 | _result = (int )wxListItem_m_format_get(_arg0); | |
1912 | ||
1913 | wxPy_END_ALLOW_THREADS; | |
1914 | } _resultobj = Py_BuildValue("i",_result); | |
1915 | return _resultobj; | |
8ab979d7 RD |
1916 | } |
1917 | ||
f6bcfd97 BP |
1918 | #define wxListItem_m_width_set(_swigobj,_swigval) (_swigobj->m_width = _swigval,_swigval) |
1919 | static PyObject *_wrap_wxListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 1920 | PyObject * _resultobj; |
f6bcfd97 | 1921 | int _result; |
af309447 | 1922 | wxListItem * _arg0; |
f6bcfd97 | 1923 | int _arg1; |
1d99702e | 1924 | PyObject * _argo0 = 0; |
f6bcfd97 | 1925 | char *_kwnames[] = { "self","m_width", NULL }; |
af309447 RD |
1926 | |
1927 | self = self; | |
f6bcfd97 | 1928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListItem_m_width_set",_kwnames,&_argo0,&_arg1)) |
af309447 | 1929 | return NULL; |
1d99702e RD |
1930 | if (_argo0) { |
1931 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1932 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
f6bcfd97 | 1933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_set. Expected _wxListItem_p."); |
af309447 RD |
1934 | return NULL; |
1935 | } | |
1936 | } | |
cf694132 RD |
1937 | { |
1938 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1939 | _result = (int )wxListItem_m_width_set(_arg0,_arg1); |
cf694132 RD |
1940 | |
1941 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 1942 | } _resultobj = Py_BuildValue("i",_result); |
af309447 RD |
1943 | return _resultobj; |
1944 | } | |
1945 | ||
f6bcfd97 BP |
1946 | #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width) |
1947 | static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 1948 | PyObject * _resultobj; |
f6bcfd97 | 1949 | int _result; |
8ab979d7 | 1950 | wxListItem * _arg0; |
1d99702e | 1951 | PyObject * _argo0 = 0; |
efc5f224 | 1952 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
1953 | |
1954 | self = self; | |
f6bcfd97 | 1955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListItem_m_width_get",_kwnames,&_argo0)) |
8ab979d7 | 1956 | return NULL; |
1d99702e RD |
1957 | if (_argo0) { |
1958 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1959 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListItem_p")) { | |
f6bcfd97 BP |
1960 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p."); |
1961 | return NULL; | |
1962 | } | |
1963 | } | |
1964 | { | |
1965 | wxPy_BEGIN_ALLOW_THREADS; | |
1966 | _result = (int )wxListItem_m_width_get(_arg0); | |
1967 | ||
1968 | wxPy_END_ALLOW_THREADS; | |
1969 | } _resultobj = Py_BuildValue("i",_result); | |
1970 | return _resultobj; | |
1971 | } | |
1972 | ||
1973 | static void *SwigwxListEventTowxCommandEvent(void *ptr) { | |
1974 | wxListEvent *src; | |
1975 | wxCommandEvent *dest; | |
1976 | src = (wxListEvent *) ptr; | |
1977 | dest = (wxCommandEvent *) src; | |
1978 | return (void *) dest; | |
1979 | } | |
1980 | ||
1981 | static void *SwigwxListEventTowxEvent(void *ptr) { | |
1982 | wxListEvent *src; | |
1983 | wxEvent *dest; | |
1984 | src = (wxListEvent *) ptr; | |
1985 | dest = (wxEvent *) src; | |
1986 | return (void *) dest; | |
1987 | } | |
1988 | ||
1989 | #define wxListEvent_m_code_set(_swigobj,_swigval) (_swigobj->m_code = _swigval,_swigval) | |
1990 | static PyObject *_wrap_wxListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1991 | PyObject * _resultobj; | |
1992 | int _result; | |
1993 | wxListEvent * _arg0; | |
1994 | int _arg1; | |
1995 | PyObject * _argo0 = 0; | |
1996 | char *_kwnames[] = { "self","m_code", NULL }; | |
1997 | ||
1998 | self = self; | |
1999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_code_set",_kwnames,&_argo0,&_arg1)) | |
2000 | return NULL; | |
2001 | if (_argo0) { | |
2002 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2003 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
2004 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_set. Expected _wxListEvent_p."); | |
2005 | return NULL; | |
2006 | } | |
2007 | } | |
2008 | { | |
2009 | wxPy_BEGIN_ALLOW_THREADS; | |
2010 | _result = (int )wxListEvent_m_code_set(_arg0,_arg1); | |
2011 | ||
2012 | wxPy_END_ALLOW_THREADS; | |
2013 | } _resultobj = Py_BuildValue("i",_result); | |
2014 | return _resultobj; | |
2015 | } | |
2016 | ||
2017 | #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code) | |
2018 | static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2019 | PyObject * _resultobj; | |
2020 | int _result; | |
2021 | wxListEvent * _arg0; | |
2022 | PyObject * _argo0 = 0; | |
2023 | char *_kwnames[] = { "self", NULL }; | |
2024 | ||
2025 | self = self; | |
2026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_code_get",_kwnames,&_argo0)) | |
2027 | return NULL; | |
2028 | if (_argo0) { | |
2029 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2030 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
2031 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p."); | |
2032 | return NULL; | |
2033 | } | |
2034 | } | |
2035 | { | |
2036 | wxPy_BEGIN_ALLOW_THREADS; | |
2037 | _result = (int )wxListEvent_m_code_get(_arg0); | |
2038 | ||
2039 | wxPy_END_ALLOW_THREADS; | |
2040 | } _resultobj = Py_BuildValue("i",_result); | |
2041 | return _resultobj; | |
2042 | } | |
2043 | ||
2044 | #define wxListEvent_m_itemIndex_set(_swigobj,_swigval) (_swigobj->m_itemIndex = _swigval,_swigval) | |
2045 | static PyObject *_wrap_wxListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2046 | PyObject * _resultobj; | |
2047 | long _result; | |
2048 | wxListEvent * _arg0; | |
2049 | long _arg1; | |
2050 | PyObject * _argo0 = 0; | |
2051 | char *_kwnames[] = { "self","m_itemIndex", NULL }; | |
2052 | ||
2053 | self = self; | |
2054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_itemIndex_set",_kwnames,&_argo0,&_arg1)) | |
2055 | return NULL; | |
2056 | if (_argo0) { | |
2057 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2058 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
2059 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_set. Expected _wxListEvent_p."); | |
2060 | return NULL; | |
2061 | } | |
2062 | } | |
2063 | { | |
2064 | wxPy_BEGIN_ALLOW_THREADS; | |
2065 | _result = (long )wxListEvent_m_itemIndex_set(_arg0,_arg1); | |
2066 | ||
2067 | wxPy_END_ALLOW_THREADS; | |
2068 | } _resultobj = Py_BuildValue("l",_result); | |
2069 | return _resultobj; | |
2070 | } | |
2071 | ||
2072 | #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex) | |
2073 | static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2074 | PyObject * _resultobj; | |
2075 | long _result; | |
2076 | wxListEvent * _arg0; | |
2077 | PyObject * _argo0 = 0; | |
2078 | char *_kwnames[] = { "self", NULL }; | |
2079 | ||
2080 | self = self; | |
2081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_itemIndex_get",_kwnames,&_argo0)) | |
2082 | return NULL; | |
2083 | if (_argo0) { | |
2084 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2085 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
2086 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p."); | |
2087 | return NULL; | |
2088 | } | |
2089 | } | |
2090 | { | |
2091 | wxPy_BEGIN_ALLOW_THREADS; | |
2092 | _result = (long )wxListEvent_m_itemIndex_get(_arg0); | |
2093 | ||
2094 | wxPy_END_ALLOW_THREADS; | |
2095 | } _resultobj = Py_BuildValue("l",_result); | |
2096 | return _resultobj; | |
2097 | } | |
2098 | ||
2099 | #define wxListEvent_m_oldItemIndex_set(_swigobj,_swigval) (_swigobj->m_oldItemIndex = _swigval,_swigval) | |
2100 | static PyObject *_wrap_wxListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2101 | PyObject * _resultobj; | |
2102 | long _result; | |
2103 | wxListEvent * _arg0; | |
2104 | long _arg1; | |
2105 | PyObject * _argo0 = 0; | |
2106 | char *_kwnames[] = { "self","m_oldItemIndex", NULL }; | |
2107 | ||
2108 | self = self; | |
2109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListEvent_m_oldItemIndex_set",_kwnames,&_argo0,&_arg1)) | |
2110 | return NULL; | |
2111 | if (_argo0) { | |
2112 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2113 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
2114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_set. Expected _wxListEvent_p."); | |
2115 | return NULL; | |
2116 | } | |
2117 | } | |
2118 | { | |
2119 | wxPy_BEGIN_ALLOW_THREADS; | |
2120 | _result = (long )wxListEvent_m_oldItemIndex_set(_arg0,_arg1); | |
2121 | ||
2122 | wxPy_END_ALLOW_THREADS; | |
2123 | } _resultobj = Py_BuildValue("l",_result); | |
2124 | return _resultobj; | |
2125 | } | |
2126 | ||
2127 | #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex) | |
2128 | static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2129 | PyObject * _resultobj; | |
2130 | long _result; | |
2131 | wxListEvent * _arg0; | |
2132 | PyObject * _argo0 = 0; | |
2133 | char *_kwnames[] = { "self", NULL }; | |
2134 | ||
2135 | self = self; | |
2136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_oldItemIndex_get",_kwnames,&_argo0)) | |
2137 | return NULL; | |
2138 | if (_argo0) { | |
2139 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2140 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
2141 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p."); | |
2142 | return NULL; | |
2143 | } | |
2144 | } | |
2145 | { | |
2146 | wxPy_BEGIN_ALLOW_THREADS; | |
2147 | _result = (long )wxListEvent_m_oldItemIndex_get(_arg0); | |
2148 | ||
2149 | wxPy_END_ALLOW_THREADS; | |
2150 | } _resultobj = Py_BuildValue("l",_result); | |
2151 | return _resultobj; | |
2152 | } | |
2153 | ||
2154 | #define wxListEvent_m_col_set(_swigobj,_swigval) (_swigobj->m_col = _swigval,_swigval) | |
2155 | static PyObject *_wrap_wxListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2156 | PyObject * _resultobj; | |
2157 | int _result; | |
2158 | wxListEvent * _arg0; | |
2159 | int _arg1; | |
2160 | PyObject * _argo0 = 0; | |
2161 | char *_kwnames[] = { "self","m_col", NULL }; | |
2162 | ||
2163 | self = self; | |
2164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_col_set",_kwnames,&_argo0,&_arg1)) | |
2165 | return NULL; | |
2166 | if (_argo0) { | |
2167 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2168 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
2169 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_set. Expected _wxListEvent_p."); | |
8ab979d7 RD |
2170 | return NULL; |
2171 | } | |
2172 | } | |
cf694132 RD |
2173 | { |
2174 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2175 | _result = (int )wxListEvent_m_col_set(_arg0,_arg1); |
cf694132 RD |
2176 | |
2177 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 2178 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
2179 | return _resultobj; |
2180 | } | |
2181 | ||
f6bcfd97 BP |
2182 | #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col) |
2183 | static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 RD |
2184 | PyObject * _resultobj; |
2185 | int _result; | |
f6bcfd97 | 2186 | wxListEvent * _arg0; |
1d99702e | 2187 | PyObject * _argo0 = 0; |
f6bcfd97 | 2188 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
2189 | |
2190 | self = self; | |
f6bcfd97 | 2191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_col_get",_kwnames,&_argo0)) |
af309447 | 2192 | return NULL; |
1d99702e RD |
2193 | if (_argo0) { |
2194 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
2195 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { |
2196 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p."); | |
af309447 RD |
2197 | return NULL; |
2198 | } | |
2199 | } | |
cf694132 RD |
2200 | { |
2201 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2202 | _result = (int )wxListEvent_m_col_get(_arg0); |
cf694132 RD |
2203 | |
2204 | wxPy_END_ALLOW_THREADS; | |
2205 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
2206 | return _resultobj; |
2207 | } | |
2208 | ||
f6bcfd97 BP |
2209 | #define wxListEvent_m_cancelled_set(_swigobj,_swigval) (_swigobj->m_cancelled = _swigval,_swigval) |
2210 | static PyObject *_wrap_wxListEvent_m_cancelled_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2211 | PyObject * _resultobj; |
f6bcfd97 BP |
2212 | bool _result; |
2213 | wxListEvent * _arg0; | |
2214 | bool _arg1; | |
1d99702e | 2215 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
2216 | int tempbool1; |
2217 | char *_kwnames[] = { "self","m_cancelled", NULL }; | |
8ab979d7 RD |
2218 | |
2219 | self = self; | |
f6bcfd97 | 2220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListEvent_m_cancelled_set",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 2221 | return NULL; |
1d99702e RD |
2222 | if (_argo0) { |
2223 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
2224 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { |
2225 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_set. Expected _wxListEvent_p."); | |
8ab979d7 RD |
2226 | return NULL; |
2227 | } | |
2228 | } | |
f6bcfd97 | 2229 | _arg1 = (bool ) tempbool1; |
cf694132 RD |
2230 | { |
2231 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2232 | _result = (bool )wxListEvent_m_cancelled_set(_arg0,_arg1); |
cf694132 RD |
2233 | |
2234 | wxPy_END_ALLOW_THREADS; | |
2235 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2236 | return _resultobj; |
2237 | } | |
2238 | ||
f6bcfd97 BP |
2239 | #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled) |
2240 | static PyObject *_wrap_wxListEvent_m_cancelled_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 2241 | PyObject * _resultobj; |
f6bcfd97 BP |
2242 | bool _result; |
2243 | wxListEvent * _arg0; | |
1d99702e | 2244 | PyObject * _argo0 = 0; |
f6bcfd97 | 2245 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
2246 | |
2247 | self = self; | |
f6bcfd97 | 2248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_cancelled_get",_kwnames,&_argo0)) |
af309447 | 2249 | return NULL; |
1d99702e RD |
2250 | if (_argo0) { |
2251 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
2252 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { |
2253 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p."); | |
af309447 RD |
2254 | return NULL; |
2255 | } | |
2256 | } | |
cf694132 RD |
2257 | { |
2258 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2259 | _result = (bool )wxListEvent_m_cancelled_get(_arg0); |
cf694132 RD |
2260 | |
2261 | wxPy_END_ALLOW_THREADS; | |
2262 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
2263 | return _resultobj; |
2264 | } | |
2265 | ||
f6bcfd97 BP |
2266 | #define wxListEvent_m_pointDrag_set(_swigobj,_swigval) (_swigobj->m_pointDrag = *(_swigval),_swigval) |
2267 | static PyObject *_wrap_wxListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2268 | PyObject * _resultobj; |
f6bcfd97 BP |
2269 | wxPoint * _result; |
2270 | wxListEvent * _arg0; | |
2271 | wxPoint * _arg1; | |
1d99702e | 2272 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
2273 | wxPoint temp; |
2274 | PyObject * _obj1 = 0; | |
2275 | char *_kwnames[] = { "self","m_pointDrag", NULL }; | |
2276 | char _ptemp[128]; | |
8ab979d7 RD |
2277 | |
2278 | self = self; | |
f6bcfd97 | 2279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_pointDrag_set",_kwnames,&_argo0,&_obj1)) |
8ab979d7 | 2280 | return NULL; |
1d99702e RD |
2281 | if (_argo0) { |
2282 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
2283 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { |
2284 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_set. Expected _wxListEvent_p."); | |
8ab979d7 RD |
2285 | return NULL; |
2286 | } | |
2287 | } | |
f6bcfd97 BP |
2288 | { |
2289 | _arg1 = &temp; | |
2290 | if (! wxPoint_helper(_obj1, &_arg1)) | |
2291 | return NULL; | |
2292 | } | |
cf694132 RD |
2293 | { |
2294 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2295 | _result = (wxPoint *)wxListEvent_m_pointDrag_set(_arg0,_arg1); |
cf694132 RD |
2296 | |
2297 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
2298 | } if (_result) { |
2299 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); | |
2300 | _resultobj = Py_BuildValue("s",_ptemp); | |
2301 | } else { | |
2302 | Py_INCREF(Py_None); | |
2303 | _resultobj = Py_None; | |
2304 | } | |
8ab979d7 RD |
2305 | return _resultobj; |
2306 | } | |
2307 | ||
f6bcfd97 BP |
2308 | #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag) |
2309 | static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2310 | PyObject * _resultobj; |
f6bcfd97 BP |
2311 | wxPoint * _result; |
2312 | wxListEvent * _arg0; | |
2313 | PyObject * _argo0 = 0; | |
2314 | char *_kwnames[] = { "self", NULL }; | |
8ab979d7 RD |
2315 | char _ptemp[128]; |
2316 | ||
2317 | self = self; | |
f6bcfd97 BP |
2318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_pointDrag_get",_kwnames,&_argo0)) |
2319 | return NULL; | |
2320 | if (_argo0) { | |
2321 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2322 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
2323 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p."); | |
8ab979d7 | 2324 | return NULL; |
f6bcfd97 BP |
2325 | } |
2326 | } | |
cf694132 RD |
2327 | { |
2328 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2329 | _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0); |
cf694132 RD |
2330 | |
2331 | wxPy_END_ALLOW_THREADS; | |
1d99702e | 2332 | } if (_result) { |
f6bcfd97 | 2333 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); |
1d99702e RD |
2334 | _resultobj = Py_BuildValue("s",_ptemp); |
2335 | } else { | |
2336 | Py_INCREF(Py_None); | |
2337 | _resultobj = Py_None; | |
2338 | } | |
8ab979d7 RD |
2339 | return _resultobj; |
2340 | } | |
2341 | ||
f6bcfd97 BP |
2342 | #define wxListEvent_m_item_set(_swigobj,_swigval) (_swigobj->m_item = *(_swigval),_swigval) |
2343 | static PyObject *_wrap_wxListEvent_m_item_set(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2344 | PyObject * _resultobj; |
f6bcfd97 BP |
2345 | wxListItem * _result; |
2346 | wxListEvent * _arg0; | |
2347 | wxListItem * _arg1; | |
1d99702e | 2348 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
2349 | PyObject * _argo1 = 0; |
2350 | char *_kwnames[] = { "self","m_item", NULL }; | |
2351 | char _ptemp[128]; | |
8ab979d7 RD |
2352 | |
2353 | self = self; | |
f6bcfd97 | 2354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListEvent_m_item_set",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 2355 | return NULL; |
1d99702e RD |
2356 | if (_argo0) { |
2357 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
2358 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { |
2359 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_set. Expected _wxListEvent_p."); | |
2360 | return NULL; | |
2361 | } | |
2362 | } | |
2363 | if (_argo1) { | |
2364 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2365 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) { | |
2366 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListEvent_m_item_set. Expected _wxListItem_p."); | |
8ab979d7 RD |
2367 | return NULL; |
2368 | } | |
2369 | } | |
cf694132 RD |
2370 | { |
2371 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2372 | _result = (wxListItem *)wxListEvent_m_item_set(_arg0,_arg1); |
cf694132 RD |
2373 | |
2374 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
2375 | } if (_result) { |
2376 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p"); | |
2377 | _resultobj = Py_BuildValue("s",_ptemp); | |
2378 | } else { | |
2379 | Py_INCREF(Py_None); | |
2380 | _resultobj = Py_None; | |
2381 | } | |
8ab979d7 RD |
2382 | return _resultobj; |
2383 | } | |
2384 | ||
f6bcfd97 BP |
2385 | #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item) |
2386 | static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 2387 | PyObject * _resultobj; |
f6bcfd97 | 2388 | wxListItem * _result; |
af309447 | 2389 | wxListEvent * _arg0; |
1d99702e | 2390 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
2391 | char *_kwnames[] = { "self", NULL }; |
2392 | char _ptemp[128]; | |
af309447 RD |
2393 | |
2394 | self = self; | |
f6bcfd97 | 2395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_m_item_get",_kwnames,&_argo0)) |
af309447 | 2396 | return NULL; |
1d99702e RD |
2397 | if (_argo0) { |
2398 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2399 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2400 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p."); |
af309447 RD |
2401 | return NULL; |
2402 | } | |
2403 | } | |
cf694132 RD |
2404 | { |
2405 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2406 | _result = (wxListItem *)wxListEvent_m_item_get(_arg0); |
cf694132 RD |
2407 | |
2408 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
2409 | } if (_result) { |
2410 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p"); | |
2411 | _resultobj = Py_BuildValue("s",_ptemp); | |
2412 | } else { | |
2413 | Py_INCREF(Py_None); | |
2414 | _resultobj = Py_None; | |
2415 | } | |
af309447 RD |
2416 | return _resultobj; |
2417 | } | |
2418 | ||
f6bcfd97 BP |
2419 | #define wxListEvent_GetCode(_swigobj) (_swigobj->GetCode()) |
2420 | static PyObject *_wrap_wxListEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
2421 | PyObject * _resultobj; |
2422 | int _result; | |
2423 | wxListEvent * _arg0; | |
1d99702e | 2424 | PyObject * _argo0 = 0; |
efc5f224 | 2425 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2426 | |
2427 | self = self; | |
f6bcfd97 | 2428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetCode",_kwnames,&_argo0)) |
8ab979d7 | 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_GetCode. Expected _wxListEvent_p."); |
8ab979d7 RD |
2434 | return NULL; |
2435 | } | |
2436 | } | |
cf694132 RD |
2437 | { |
2438 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2439 | _result = (int )wxListEvent_GetCode(_arg0); |
cf694132 RD |
2440 | |
2441 | wxPy_END_ALLOW_THREADS; | |
2442 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2443 | return _resultobj; |
2444 | } | |
2445 | ||
f6bcfd97 BP |
2446 | #define wxListEvent_GetIndex(_swigobj) (_swigobj->GetIndex()) |
2447 | static PyObject *_wrap_wxListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 RD |
2448 | PyObject * _resultobj; |
2449 | long _result; | |
2450 | wxListEvent * _arg0; | |
1d99702e | 2451 | PyObject * _argo0 = 0; |
f6bcfd97 | 2452 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
2453 | |
2454 | self = self; | |
f6bcfd97 | 2455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetIndex",_kwnames,&_argo0)) |
af309447 | 2456 | return NULL; |
1d99702e RD |
2457 | if (_argo0) { |
2458 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2459 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2460 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetIndex. Expected _wxListEvent_p."); |
af309447 RD |
2461 | return NULL; |
2462 | } | |
2463 | } | |
cf694132 RD |
2464 | { |
2465 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2466 | _result = (long )wxListEvent_GetIndex(_arg0); |
cf694132 RD |
2467 | |
2468 | wxPy_END_ALLOW_THREADS; | |
2469 | } _resultobj = Py_BuildValue("l",_result); | |
af309447 RD |
2470 | return _resultobj; |
2471 | } | |
2472 | ||
f6bcfd97 BP |
2473 | #define wxListEvent_GetOldIndex(_swigobj) (_swigobj->GetOldIndex()) |
2474 | static PyObject *_wrap_wxListEvent_GetOldIndex(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
2475 | PyObject * _resultobj; |
2476 | long _result; | |
2477 | wxListEvent * _arg0; | |
1d99702e | 2478 | PyObject * _argo0 = 0; |
efc5f224 | 2479 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2480 | |
2481 | self = self; | |
f6bcfd97 | 2482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetOldIndex",_kwnames,&_argo0)) |
8ab979d7 | 2483 | return NULL; |
1d99702e RD |
2484 | if (_argo0) { |
2485 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2486 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2487 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetOldIndex. Expected _wxListEvent_p."); |
8ab979d7 RD |
2488 | return NULL; |
2489 | } | |
2490 | } | |
cf694132 RD |
2491 | { |
2492 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2493 | _result = (long )wxListEvent_GetOldIndex(_arg0); |
cf694132 RD |
2494 | |
2495 | wxPy_END_ALLOW_THREADS; | |
2496 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
2497 | return _resultobj; |
2498 | } | |
2499 | ||
f6bcfd97 BP |
2500 | #define wxListEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem()) |
2501 | static PyObject *_wrap_wxListEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 RD |
2502 | PyObject * _resultobj; |
2503 | long _result; | |
2504 | wxListEvent * _arg0; | |
1d99702e | 2505 | PyObject * _argo0 = 0; |
f6bcfd97 | 2506 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
2507 | |
2508 | self = self; | |
f6bcfd97 | 2509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetOldItem",_kwnames,&_argo0)) |
af309447 | 2510 | return NULL; |
1d99702e RD |
2511 | if (_argo0) { |
2512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetOldItem. Expected _wxListEvent_p."); |
af309447 RD |
2515 | return NULL; |
2516 | } | |
2517 | } | |
cf694132 RD |
2518 | { |
2519 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2520 | _result = (long )wxListEvent_GetOldItem(_arg0); |
cf694132 RD |
2521 | |
2522 | wxPy_END_ALLOW_THREADS; | |
2523 | } _resultobj = Py_BuildValue("l",_result); | |
af309447 RD |
2524 | return _resultobj; |
2525 | } | |
2526 | ||
f6bcfd97 BP |
2527 | #define wxListEvent_GetColumn(_swigobj) (_swigobj->GetColumn()) |
2528 | static PyObject *_wrap_wxListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2529 | PyObject * _resultobj; |
f6bcfd97 | 2530 | int _result; |
8ab979d7 | 2531 | wxListEvent * _arg0; |
1d99702e | 2532 | PyObject * _argo0 = 0; |
efc5f224 | 2533 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2534 | |
2535 | self = self; | |
f6bcfd97 | 2536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetColumn",_kwnames,&_argo0)) |
8ab979d7 | 2537 | return NULL; |
1d99702e RD |
2538 | if (_argo0) { |
2539 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2540 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2541 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetColumn. Expected _wxListEvent_p."); |
8ab979d7 RD |
2542 | return NULL; |
2543 | } | |
2544 | } | |
cf694132 RD |
2545 | { |
2546 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2547 | _result = (int )wxListEvent_GetColumn(_arg0); |
cf694132 RD |
2548 | |
2549 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 2550 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
2551 | return _resultobj; |
2552 | } | |
2553 | ||
f6bcfd97 BP |
2554 | #define wxListEvent_Cancelled(_swigobj) (_swigobj->Cancelled()) |
2555 | static PyObject *_wrap_wxListEvent_Cancelled(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 2556 | PyObject * _resultobj; |
f6bcfd97 | 2557 | bool _result; |
af309447 | 2558 | wxListEvent * _arg0; |
1d99702e | 2559 | PyObject * _argo0 = 0; |
f6bcfd97 | 2560 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
2561 | |
2562 | self = self; | |
f6bcfd97 | 2563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_Cancelled",_kwnames,&_argo0)) |
af309447 | 2564 | return NULL; |
1d99702e RD |
2565 | if (_argo0) { |
2566 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2567 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_Cancelled. Expected _wxListEvent_p."); |
af309447 RD |
2569 | return NULL; |
2570 | } | |
2571 | } | |
cf694132 RD |
2572 | { |
2573 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2574 | _result = (bool )wxListEvent_Cancelled(_arg0); |
cf694132 RD |
2575 | |
2576 | wxPy_END_ALLOW_THREADS; | |
2577 | } _resultobj = Py_BuildValue("i",_result); | |
af309447 RD |
2578 | return _resultobj; |
2579 | } | |
2580 | ||
f6bcfd97 BP |
2581 | #define wxListEvent_GetPoint(_swigobj) (_swigobj->GetPoint()) |
2582 | static PyObject *_wrap_wxListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2583 | PyObject * _resultobj; |
f6bcfd97 | 2584 | wxPoint * _result; |
8ab979d7 | 2585 | wxListEvent * _arg0; |
1d99702e | 2586 | PyObject * _argo0 = 0; |
efc5f224 | 2587 | char *_kwnames[] = { "self", NULL }; |
f6bcfd97 | 2588 | char _ptemp[128]; |
8ab979d7 RD |
2589 | |
2590 | self = self; | |
f6bcfd97 | 2591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetPoint",_kwnames,&_argo0)) |
8ab979d7 | 2592 | return NULL; |
1d99702e RD |
2593 | if (_argo0) { |
2594 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2595 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2596 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetPoint. Expected _wxListEvent_p."); |
8ab979d7 RD |
2597 | return NULL; |
2598 | } | |
2599 | } | |
cf694132 RD |
2600 | { |
2601 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2602 | _result = new wxPoint (wxListEvent_GetPoint(_arg0)); |
cf694132 RD |
2603 | |
2604 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
2605 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); |
2606 | _resultobj = Py_BuildValue("s",_ptemp); | |
8ab979d7 RD |
2607 | return _resultobj; |
2608 | } | |
2609 | ||
f6bcfd97 BP |
2610 | #define wxListEvent_GetLabel(_swigobj) (_swigobj->GetLabel()) |
2611 | static PyObject *_wrap_wxListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 2612 | PyObject * _resultobj; |
f6bcfd97 | 2613 | wxString * _result; |
af309447 | 2614 | wxListEvent * _arg0; |
1d99702e | 2615 | PyObject * _argo0 = 0; |
f6bcfd97 | 2616 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
2617 | |
2618 | self = self; | |
f6bcfd97 | 2619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetLabel",_kwnames,&_argo0)) |
af309447 | 2620 | return NULL; |
1d99702e RD |
2621 | if (_argo0) { |
2622 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2623 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2624 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetLabel. Expected _wxListEvent_p."); |
af309447 RD |
2625 | return NULL; |
2626 | } | |
2627 | } | |
cf694132 RD |
2628 | { |
2629 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 BP |
2630 | const wxString & _result_ref = wxListEvent_GetLabel(_arg0); |
2631 | _result = (wxString *) &_result_ref; | |
cf694132 RD |
2632 | |
2633 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
2634 | }{ |
2635 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
2636 | } | |
af309447 RD |
2637 | return _resultobj; |
2638 | } | |
2639 | ||
f6bcfd97 BP |
2640 | #define wxListEvent_GetText(_swigobj) (_swigobj->GetText()) |
2641 | static PyObject *_wrap_wxListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2642 | PyObject * _resultobj; |
f6bcfd97 | 2643 | wxString * _result; |
8ab979d7 | 2644 | wxListEvent * _arg0; |
1d99702e | 2645 | PyObject * _argo0 = 0; |
efc5f224 | 2646 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2647 | |
2648 | self = self; | |
f6bcfd97 | 2649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetText",_kwnames,&_argo0)) |
8ab979d7 | 2650 | return NULL; |
1d99702e RD |
2651 | if (_argo0) { |
2652 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2653 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2654 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetText. Expected _wxListEvent_p."); |
8ab979d7 RD |
2655 | return NULL; |
2656 | } | |
2657 | } | |
cf694132 RD |
2658 | { |
2659 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 BP |
2660 | const wxString & _result_ref = wxListEvent_GetText(_arg0); |
2661 | _result = (wxString *) &_result_ref; | |
cf694132 RD |
2662 | |
2663 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 BP |
2664 | }{ |
2665 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
2666 | } | |
8ab979d7 RD |
2667 | return _resultobj; |
2668 | } | |
2669 | ||
f6bcfd97 BP |
2670 | #define wxListEvent_GetImage(_swigobj) (_swigobj->GetImage()) |
2671 | static PyObject *_wrap_wxListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 2672 | PyObject * _resultobj; |
f6bcfd97 | 2673 | int _result; |
af309447 | 2674 | wxListEvent * _arg0; |
1d99702e | 2675 | PyObject * _argo0 = 0; |
f6bcfd97 | 2676 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
2677 | |
2678 | self = self; | |
f6bcfd97 | 2679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetImage",_kwnames,&_argo0)) |
af309447 | 2680 | return NULL; |
1d99702e RD |
2681 | if (_argo0) { |
2682 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2683 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2684 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetImage. Expected _wxListEvent_p."); |
af309447 RD |
2685 | return NULL; |
2686 | } | |
2687 | } | |
cf694132 RD |
2688 | { |
2689 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2690 | _result = (int )wxListEvent_GetImage(_arg0); |
cf694132 RD |
2691 | |
2692 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 2693 | } _resultobj = Py_BuildValue("i",_result); |
af309447 RD |
2694 | return _resultobj; |
2695 | } | |
2696 | ||
f6bcfd97 BP |
2697 | #define wxListEvent_GetData(_swigobj) (_swigobj->GetData()) |
2698 | static PyObject *_wrap_wxListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 2699 | PyObject * _resultobj; |
f6bcfd97 | 2700 | long _result; |
8ab979d7 | 2701 | wxListEvent * _arg0; |
1d99702e | 2702 | PyObject * _argo0 = 0; |
efc5f224 | 2703 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2704 | |
2705 | self = self; | |
f6bcfd97 | 2706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetData",_kwnames,&_argo0)) |
8ab979d7 | 2707 | return NULL; |
1d99702e RD |
2708 | if (_argo0) { |
2709 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2710 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2711 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetData. Expected _wxListEvent_p."); |
8ab979d7 RD |
2712 | return NULL; |
2713 | } | |
2714 | } | |
cf694132 RD |
2715 | { |
2716 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2717 | _result = (long )wxListEvent_GetData(_arg0); |
cf694132 RD |
2718 | |
2719 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 2720 | } _resultobj = Py_BuildValue("l",_result); |
8ab979d7 RD |
2721 | return _resultobj; |
2722 | } | |
2723 | ||
f6bcfd97 BP |
2724 | #define wxListEvent_GetMask(_swigobj) (_swigobj->GetMask()) |
2725 | static PyObject *_wrap_wxListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) { | |
af309447 | 2726 | PyObject * _resultobj; |
f6bcfd97 | 2727 | long _result; |
af309447 | 2728 | wxListEvent * _arg0; |
1d99702e | 2729 | PyObject * _argo0 = 0; |
f6bcfd97 | 2730 | char *_kwnames[] = { "self", NULL }; |
af309447 RD |
2731 | |
2732 | self = self; | |
f6bcfd97 | 2733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetMask",_kwnames,&_argo0)) |
af309447 | 2734 | return NULL; |
1d99702e RD |
2735 | if (_argo0) { |
2736 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2737 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2738 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetMask. Expected _wxListEvent_p."); |
af309447 RD |
2739 | return NULL; |
2740 | } | |
2741 | } | |
cf694132 RD |
2742 | { |
2743 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2744 | _result = (long )wxListEvent_GetMask(_arg0); |
cf694132 RD |
2745 | |
2746 | wxPy_END_ALLOW_THREADS; | |
f6bcfd97 | 2747 | } _resultobj = Py_BuildValue("l",_result); |
af309447 RD |
2748 | return _resultobj; |
2749 | } | |
2750 | ||
f6bcfd97 BP |
2751 | #define wxListEvent_GetItem(_swigobj) (_swigobj->GetItem()) |
2752 | static PyObject *_wrap_wxListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 RD |
2753 | PyObject * _resultobj; |
2754 | wxListItem * _result; | |
2755 | wxListEvent * _arg0; | |
1d99702e | 2756 | PyObject * _argo0 = 0; |
efc5f224 | 2757 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2758 | char _ptemp[128]; |
2759 | ||
2760 | self = self; | |
f6bcfd97 | 2761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListEvent_GetItem",_kwnames,&_argo0)) |
8ab979d7 | 2762 | return NULL; |
1d99702e RD |
2763 | if (_argo0) { |
2764 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2765 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListEvent_p")) { | |
f6bcfd97 | 2766 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_GetItem. Expected _wxListEvent_p."); |
8ab979d7 RD |
2767 | return NULL; |
2768 | } | |
2769 | } | |
cf694132 RD |
2770 | { |
2771 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 BP |
2772 | const wxListItem & _result_ref = wxListEvent_GetItem(_arg0); |
2773 | _result = (wxListItem *) &_result_ref; | |
cf694132 RD |
2774 | |
2775 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
2776 | } if (_result) { |
2777 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p"); | |
2778 | _resultobj = Py_BuildValue("s",_ptemp); | |
2779 | } else { | |
2780 | Py_INCREF(Py_None); | |
2781 | _resultobj = Py_None; | |
2782 | } | |
8ab979d7 RD |
2783 | return _resultobj; |
2784 | } | |
2785 | ||
2786 | static void *SwigwxListCtrlTowxControl(void *ptr) { | |
2787 | wxListCtrl *src; | |
2788 | wxControl *dest; | |
2789 | src = (wxListCtrl *) ptr; | |
2790 | dest = (wxControl *) src; | |
2791 | return (void *) dest; | |
2792 | } | |
2793 | ||
2794 | static void *SwigwxListCtrlTowxWindow(void *ptr) { | |
2795 | wxListCtrl *src; | |
2796 | wxWindow *dest; | |
2797 | src = (wxListCtrl *) ptr; | |
2798 | dest = (wxWindow *) src; | |
2799 | return (void *) dest; | |
2800 | } | |
2801 | ||
2802 | static void *SwigwxListCtrlTowxEvtHandler(void *ptr) { | |
2803 | wxListCtrl *src; | |
2804 | wxEvtHandler *dest; | |
2805 | src = (wxListCtrl *) ptr; | |
2806 | dest = (wxEvtHandler *) src; | |
2807 | return (void *) dest; | |
2808 | } | |
2809 | ||
2810 | #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
efc5f224 | 2811 | static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2812 | PyObject * _resultobj; |
2813 | wxListCtrl * _result; | |
2814 | wxWindow * _arg0; | |
2815 | wxWindowID _arg1; | |
1d99702e RD |
2816 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; |
2817 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
2818 | long _arg4 = (long ) wxLC_ICON; | |
2819 | wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator; | |
2820 | char * _arg6 = (char *) "listCtrl"; | |
2821 | PyObject * _argo0 = 0; | |
2f90df85 RD |
2822 | wxPoint temp; |
2823 | PyObject * _obj2 = 0; | |
2824 | wxSize temp0; | |
2825 | PyObject * _obj3 = 0; | |
1d99702e | 2826 | PyObject * _argo5 = 0; |
efc5f224 | 2827 | char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL }; |
8ab979d7 RD |
2828 | char _ptemp[128]; |
2829 | ||
2830 | self = self; | |
2f90df85 | 2831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|OOlOs:new_wxListCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6)) |
8ab979d7 | 2832 | return NULL; |
1d99702e RD |
2833 | if (_argo0) { |
2834 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2835 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
8ab979d7 RD |
2836 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p."); |
2837 | return NULL; | |
2838 | } | |
2839 | } | |
2f90df85 RD |
2840 | if (_obj2) |
2841 | { | |
2842 | _arg2 = &temp; | |
2843 | if (! wxPoint_helper(_obj2, &_arg2)) | |
8ab979d7 | 2844 | return NULL; |
2f90df85 RD |
2845 | } |
2846 | if (_obj3) | |
2847 | { | |
2848 | _arg3 = &temp0; | |
2849 | if (! wxSize_helper(_obj3, &_arg3)) | |
8ab979d7 | 2850 | return NULL; |
2f90df85 | 2851 | } |
1d99702e RD |
2852 | if (_argo5) { |
2853 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
2854 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) { | |
8ab979d7 RD |
2855 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p."); |
2856 | return NULL; | |
2857 | } | |
2858 | } | |
cf694132 RD |
2859 | { |
2860 | wxPy_BEGIN_ALLOW_THREADS; | |
2861 | _result = (wxListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6); | |
2862 | ||
2863 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
2864 | } if (_result) { |
2865 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListCtrl_p"); | |
2866 | _resultobj = Py_BuildValue("s",_ptemp); | |
2867 | } else { | |
2868 | Py_INCREF(Py_None); | |
2869 | _resultobj = Py_None; | |
2870 | } | |
8ab979d7 RD |
2871 | return _resultobj; |
2872 | } | |
2873 | ||
2874 | #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0)) | |
efc5f224 | 2875 | static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2876 | PyObject * _resultobj; |
2877 | bool _result; | |
2878 | wxListCtrl * _arg0; | |
1d99702e RD |
2879 | int _arg1 = (int ) (wxLIST_ALIGN_DEFAULT); |
2880 | PyObject * _argo0 = 0; | |
efc5f224 | 2881 | char *_kwnames[] = { "self","flag", NULL }; |
8ab979d7 RD |
2882 | |
2883 | self = self; | |
efc5f224 | 2884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxListCtrl_Arrange",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 2885 | return NULL; |
1d99702e RD |
2886 | if (_argo0) { |
2887 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2888 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2889 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p."); |
2890 | return NULL; | |
2891 | } | |
2892 | } | |
cf694132 RD |
2893 | { |
2894 | wxPy_BEGIN_ALLOW_THREADS; | |
2895 | _result = (bool )wxListCtrl_Arrange(_arg0,_arg1); | |
2896 | ||
2897 | wxPy_END_ALLOW_THREADS; | |
2898 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2899 | return _resultobj; |
2900 | } | |
2901 | ||
2902 | #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0)) | |
efc5f224 | 2903 | static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2904 | PyObject * _resultobj; |
2905 | bool _result; | |
2906 | wxListCtrl * _arg0; | |
2907 | long _arg1; | |
1d99702e | 2908 | PyObject * _argo0 = 0; |
efc5f224 | 2909 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
2910 | |
2911 | self = self; | |
efc5f224 | 2912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_DeleteItem",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 2913 | return NULL; |
1d99702e RD |
2914 | if (_argo0) { |
2915 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2916 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2917 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p."); |
2918 | return NULL; | |
2919 | } | |
2920 | } | |
cf694132 RD |
2921 | { |
2922 | wxPy_BEGIN_ALLOW_THREADS; | |
2923 | _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1); | |
2924 | ||
2925 | wxPy_END_ALLOW_THREADS; | |
2926 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2927 | return _resultobj; |
2928 | } | |
2929 | ||
2930 | #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems()) | |
efc5f224 | 2931 | static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2932 | PyObject * _resultobj; |
2933 | bool _result; | |
2934 | wxListCtrl * _arg0; | |
1d99702e | 2935 | PyObject * _argo0 = 0; |
efc5f224 | 2936 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2937 | |
2938 | self = self; | |
efc5f224 | 2939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllItems",_kwnames,&_argo0)) |
8ab979d7 | 2940 | return NULL; |
1d99702e RD |
2941 | if (_argo0) { |
2942 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2943 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2944 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p."); |
2945 | return NULL; | |
2946 | } | |
2947 | } | |
cf694132 RD |
2948 | { |
2949 | wxPy_BEGIN_ALLOW_THREADS; | |
2950 | _result = (bool )wxListCtrl_DeleteAllItems(_arg0); | |
2951 | ||
2952 | wxPy_END_ALLOW_THREADS; | |
2953 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2954 | return _resultobj; |
2955 | } | |
2956 | ||
2957 | #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0)) | |
efc5f224 | 2958 | static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2959 | PyObject * _resultobj; |
2960 | bool _result; | |
2961 | wxListCtrl * _arg0; | |
2962 | int _arg1; | |
1d99702e | 2963 | PyObject * _argo0 = 0; |
efc5f224 | 2964 | char *_kwnames[] = { "self","col", NULL }; |
8ab979d7 RD |
2965 | |
2966 | self = self; | |
efc5f224 | 2967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_DeleteColumn",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 2968 | return NULL; |
1d99702e RD |
2969 | if (_argo0) { |
2970 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2971 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2972 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p."); |
2973 | return NULL; | |
2974 | } | |
2975 | } | |
cf694132 RD |
2976 | { |
2977 | wxPy_BEGIN_ALLOW_THREADS; | |
2978 | _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1); | |
2979 | ||
2980 | wxPy_END_ALLOW_THREADS; | |
2981 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
2982 | return _resultobj; |
2983 | } | |
2984 | ||
2985 | #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns()) | |
efc5f224 | 2986 | static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
2987 | PyObject * _resultobj; |
2988 | bool _result; | |
2989 | wxListCtrl * _arg0; | |
1d99702e | 2990 | PyObject * _argo0 = 0; |
efc5f224 | 2991 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
2992 | |
2993 | self = self; | |
efc5f224 | 2994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_DeleteAllColumns",_kwnames,&_argo0)) |
8ab979d7 | 2995 | return NULL; |
1d99702e RD |
2996 | if (_argo0) { |
2997 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2998 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
2999 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p."); |
3000 | return NULL; | |
3001 | } | |
3002 | } | |
cf694132 RD |
3003 | { |
3004 | wxPy_BEGIN_ALLOW_THREADS; | |
3005 | _result = (bool )wxListCtrl_DeleteAllColumns(_arg0); | |
3006 | ||
3007 | wxPy_END_ALLOW_THREADS; | |
3008 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3009 | return _resultobj; |
3010 | } | |
3011 | ||
3012 | #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll()) | |
efc5f224 | 3013 | static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3014 | PyObject * _resultobj; |
3015 | wxListCtrl * _arg0; | |
1d99702e | 3016 | PyObject * _argo0 = 0; |
efc5f224 | 3017 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3018 | |
3019 | self = self; | |
efc5f224 | 3020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_ClearAll",_kwnames,&_argo0)) |
8ab979d7 | 3021 | return NULL; |
1d99702e RD |
3022 | if (_argo0) { |
3023 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3024 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3025 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p."); |
3026 | return NULL; | |
3027 | } | |
3028 | } | |
cf694132 RD |
3029 | { |
3030 | wxPy_BEGIN_ALLOW_THREADS; | |
3031 | wxListCtrl_ClearAll(_arg0); | |
3032 | ||
3033 | wxPy_END_ALLOW_THREADS; | |
3034 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
3035 | _resultobj = Py_None; |
3036 | return _resultobj; | |
3037 | } | |
3038 | ||
3039 | #define wxListCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0)) | |
efc5f224 | 3040 | static PyObject *_wrap_wxListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3041 | PyObject * _resultobj; |
3042 | wxTextCtrl * _result; | |
3043 | wxListCtrl * _arg0; | |
3044 | long _arg1; | |
1d99702e | 3045 | PyObject * _argo0 = 0; |
efc5f224 | 3046 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
3047 | char _ptemp[128]; |
3048 | ||
3049 | self = self; | |
efc5f224 | 3050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EditLabel",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 3051 | return NULL; |
1d99702e RD |
3052 | if (_argo0) { |
3053 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3054 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3055 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EditLabel. Expected _wxListCtrl_p."); |
3056 | return NULL; | |
3057 | } | |
3058 | } | |
cf694132 RD |
3059 | { |
3060 | wxPy_BEGIN_ALLOW_THREADS; | |
3061 | _result = (wxTextCtrl *)wxListCtrl_EditLabel(_arg0,_arg1); | |
3062 | ||
3063 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
3064 | } if (_result) { |
3065 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p"); | |
3066 | _resultobj = Py_BuildValue("s",_ptemp); | |
3067 | } else { | |
3068 | Py_INCREF(Py_None); | |
3069 | _resultobj = Py_None; | |
3070 | } | |
8ab979d7 RD |
3071 | return _resultobj; |
3072 | } | |
3073 | ||
3074 | #define wxListCtrl_EndEditLabel(_swigobj,_swigarg0) (_swigobj->EndEditLabel(_swigarg0)) | |
efc5f224 | 3075 | static PyObject *_wrap_wxListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3076 | PyObject * _resultobj; |
3077 | bool _result; | |
3078 | wxListCtrl * _arg0; | |
3079 | bool _arg1; | |
1d99702e | 3080 | PyObject * _argo0 = 0; |
8ab979d7 | 3081 | int tempbool1; |
efc5f224 | 3082 | char *_kwnames[] = { "self","cancel", NULL }; |
8ab979d7 RD |
3083 | |
3084 | self = self; | |
efc5f224 | 3085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_EndEditLabel",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 3086 | return NULL; |
1d99702e RD |
3087 | if (_argo0) { |
3088 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3089 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3090 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EndEditLabel. Expected _wxListCtrl_p."); |
3091 | return NULL; | |
3092 | } | |
3093 | } | |
3094 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
3095 | { |
3096 | wxPy_BEGIN_ALLOW_THREADS; | |
3097 | _result = (bool )wxListCtrl_EndEditLabel(_arg0,_arg1); | |
3098 | ||
3099 | wxPy_END_ALLOW_THREADS; | |
3100 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3101 | return _resultobj; |
3102 | } | |
3103 | ||
be4d9c1f | 3104 | #define wxListCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl()) |
efc5f224 | 3105 | static PyObject *_wrap_wxListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { |
be4d9c1f RD |
3106 | PyObject * _resultobj; |
3107 | wxTextCtrl * _result; | |
3108 | wxListCtrl * _arg0; | |
1d99702e | 3109 | PyObject * _argo0 = 0; |
efc5f224 | 3110 | char *_kwnames[] = { "self", NULL }; |
be4d9c1f RD |
3111 | char _ptemp[128]; |
3112 | ||
3113 | self = self; | |
efc5f224 | 3114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetEditControl",_kwnames,&_argo0)) |
be4d9c1f | 3115 | return NULL; |
1d99702e RD |
3116 | if (_argo0) { |
3117 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3118 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
be4d9c1f RD |
3119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetEditControl. Expected _wxListCtrl_p."); |
3120 | return NULL; | |
3121 | } | |
3122 | } | |
cf694132 RD |
3123 | { |
3124 | wxPy_BEGIN_ALLOW_THREADS; | |
3125 | _result = (wxTextCtrl *)wxListCtrl_GetEditControl(_arg0); | |
3126 | ||
3127 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
3128 | } if (_result) { |
3129 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p"); | |
3130 | _resultobj = Py_BuildValue("s",_ptemp); | |
3131 | } else { | |
3132 | Py_INCREF(Py_None); | |
3133 | _resultobj = Py_None; | |
3134 | } | |
be4d9c1f RD |
3135 | return _resultobj; |
3136 | } | |
3137 | ||
8ab979d7 | 3138 | #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0)) |
efc5f224 | 3139 | static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3140 | PyObject * _resultobj; |
3141 | bool _result; | |
3142 | wxListCtrl * _arg0; | |
3143 | long _arg1; | |
1d99702e | 3144 | PyObject * _argo0 = 0; |
efc5f224 | 3145 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
3146 | |
3147 | self = self; | |
efc5f224 | 3148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_EnsureVisible",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 3149 | return NULL; |
1d99702e RD |
3150 | if (_argo0) { |
3151 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3152 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3153 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p."); |
3154 | return NULL; | |
3155 | } | |
3156 | } | |
cf694132 RD |
3157 | { |
3158 | wxPy_BEGIN_ALLOW_THREADS; | |
3159 | _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1); | |
3160 | ||
3161 | wxPy_END_ALLOW_THREADS; | |
3162 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3163 | return _resultobj; |
3164 | } | |
3165 | ||
3166 | #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 3167 | static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3168 | PyObject * _resultobj; |
3169 | long _result; | |
3170 | wxListCtrl * _arg0; | |
3171 | long _arg1; | |
3172 | wxString * _arg2; | |
1d99702e RD |
3173 | bool _arg3 = (bool ) FALSE; |
3174 | PyObject * _argo0 = 0; | |
8ab979d7 | 3175 | PyObject * _obj2 = 0; |
1d99702e | 3176 | int tempbool3 = (int) FALSE; |
efc5f224 | 3177 | char *_kwnames[] = { "self","start","str","partial", NULL }; |
8ab979d7 RD |
3178 | |
3179 | self = self; | |
efc5f224 | 3180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|i:wxListCtrl_FindItem",_kwnames,&_argo0,&_arg1,&_obj2,&tempbool3)) |
8ab979d7 | 3181 | return NULL; |
1d99702e RD |
3182 | if (_argo0) { |
3183 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3184 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3185 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p."); |
3186 | return NULL; | |
3187 | } | |
3188 | } | |
3189 | { | |
3190 | if (!PyString_Check(_obj2)) { | |
3191 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3192 | return NULL; | |
3193 | } | |
cf694132 | 3194 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
8ab979d7 RD |
3195 | } |
3196 | _arg3 = (bool ) tempbool3; | |
cf694132 RD |
3197 | { |
3198 | wxPy_BEGIN_ALLOW_THREADS; | |
3199 | _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3); | |
3200 | ||
3201 | wxPy_END_ALLOW_THREADS; | |
3202 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3203 | { |
3204 | if (_obj2) | |
3205 | delete _arg2; | |
3206 | } | |
3207 | return _resultobj; | |
3208 | } | |
3209 | ||
3210 | #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1)) | |
efc5f224 | 3211 | static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3212 | PyObject * _resultobj; |
3213 | long _result; | |
3214 | wxListCtrl * _arg0; | |
3215 | long _arg1; | |
3216 | long _arg2; | |
1d99702e | 3217 | PyObject * _argo0 = 0; |
efc5f224 | 3218 | char *_kwnames[] = { "self","start","data", NULL }; |
8ab979d7 RD |
3219 | |
3220 | self = self; | |
efc5f224 | 3221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_FindItemData",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 3222 | return NULL; |
1d99702e RD |
3223 | if (_argo0) { |
3224 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3225 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3226 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p."); |
3227 | return NULL; | |
3228 | } | |
3229 | } | |
cf694132 RD |
3230 | { |
3231 | wxPy_BEGIN_ALLOW_THREADS; | |
3232 | _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2); | |
3233 | ||
3234 | wxPy_END_ALLOW_THREADS; | |
3235 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3236 | return _resultobj; |
3237 | } | |
3238 | ||
3239 | #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 3240 | static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3241 | PyObject * _resultobj; |
3242 | long _result; | |
3243 | wxListCtrl * _arg0; | |
3244 | long _arg1; | |
3245 | wxPoint * _arg2; | |
3246 | int _arg3; | |
1d99702e | 3247 | PyObject * _argo0 = 0; |
2f90df85 RD |
3248 | wxPoint temp; |
3249 | PyObject * _obj2 = 0; | |
efc5f224 | 3250 | char *_kwnames[] = { "self","start","pt","direction", NULL }; |
8ab979d7 RD |
3251 | |
3252 | self = self; | |
2f90df85 | 3253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_FindItemAtPos",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3)) |
8ab979d7 | 3254 | return NULL; |
1d99702e RD |
3255 | if (_argo0) { |
3256 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3257 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p."); |
3259 | return NULL; | |
3260 | } | |
3261 | } | |
2f90df85 RD |
3262 | { |
3263 | _arg2 = &temp; | |
3264 | if (! wxPoint_helper(_obj2, &_arg2)) | |
8ab979d7 | 3265 | return NULL; |
2f90df85 | 3266 | } |
cf694132 RD |
3267 | { |
3268 | wxPy_BEGIN_ALLOW_THREADS; | |
3269 | _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3); | |
3270 | ||
3271 | wxPy_END_ALLOW_THREADS; | |
3272 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3273 | return _resultobj; |
3274 | } | |
3275 | ||
3276 | #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1)) | |
efc5f224 | 3277 | static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3278 | PyObject * _resultobj; |
3279 | bool _result; | |
3280 | wxListCtrl * _arg0; | |
3281 | int _arg1; | |
3282 | wxListItem * _arg2; | |
1d99702e RD |
3283 | PyObject * _argo0 = 0; |
3284 | PyObject * _argo2 = 0; | |
efc5f224 | 3285 | char *_kwnames[] = { "self","col","item", NULL }; |
8ab979d7 RD |
3286 | |
3287 | self = self; | |
efc5f224 | 3288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_GetColumn",_kwnames,&_argo0,&_arg1,&_argo2)) |
8ab979d7 | 3289 | return NULL; |
1d99702e RD |
3290 | if (_argo0) { |
3291 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3292 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3293 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p."); |
3294 | return NULL; | |
3295 | } | |
3296 | } | |
1d99702e RD |
3297 | if (_argo2) { |
3298 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3299 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) { | |
8ab979d7 RD |
3300 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p."); |
3301 | return NULL; | |
3302 | } | |
3303 | } | |
cf694132 RD |
3304 | { |
3305 | wxPy_BEGIN_ALLOW_THREADS; | |
3306 | _result = (bool )wxListCtrl_GetColumn(_arg0,_arg1,*_arg2); | |
3307 | ||
3308 | wxPy_END_ALLOW_THREADS; | |
3309 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3310 | return _resultobj; |
3311 | } | |
3312 | ||
3313 | #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0)) | |
efc5f224 | 3314 | static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3315 | PyObject * _resultobj; |
3316 | int _result; | |
3317 | wxListCtrl * _arg0; | |
3318 | int _arg1; | |
1d99702e | 3319 | PyObject * _argo0 = 0; |
efc5f224 | 3320 | char *_kwnames[] = { "self","col", NULL }; |
8ab979d7 RD |
3321 | |
3322 | self = self; | |
efc5f224 | 3323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetColumnWidth",_kwnames,&_argo0,&_arg1)) |
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_GetColumnWidth. Expected _wxListCtrl_p."); |
3329 | return NULL; | |
3330 | } | |
3331 | } | |
cf694132 RD |
3332 | { |
3333 | wxPy_BEGIN_ALLOW_THREADS; | |
3334 | _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1); | |
3335 | ||
3336 | wxPy_END_ALLOW_THREADS; | |
3337 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3338 | return _resultobj; |
3339 | } | |
3340 | ||
3341 | #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage()) | |
efc5f224 | 3342 | static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3343 | PyObject * _resultobj; |
3344 | int _result; | |
3345 | wxListCtrl * _arg0; | |
1d99702e | 3346 | PyObject * _argo0 = 0; |
efc5f224 | 3347 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3348 | |
3349 | self = self; | |
efc5f224 | 3350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetCountPerPage",_kwnames,&_argo0)) |
8ab979d7 | 3351 | return NULL; |
1d99702e RD |
3352 | if (_argo0) { |
3353 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3354 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3355 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p."); |
3356 | return NULL; | |
3357 | } | |
3358 | } | |
cf694132 RD |
3359 | { |
3360 | wxPy_BEGIN_ALLOW_THREADS; | |
3361 | _result = (int )wxListCtrl_GetCountPerPage(_arg0); | |
3362 | ||
3363 | wxPy_END_ALLOW_THREADS; | |
3364 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3365 | return _resultobj; |
3366 | } | |
3367 | ||
3368 | #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0)) | |
efc5f224 | 3369 | static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3370 | PyObject * _resultobj; |
3371 | wxImageList * _result; | |
3372 | wxListCtrl * _arg0; | |
3373 | int _arg1; | |
1d99702e | 3374 | PyObject * _argo0 = 0; |
efc5f224 | 3375 | char *_kwnames[] = { "self","which", NULL }; |
8ab979d7 RD |
3376 | char _ptemp[128]; |
3377 | ||
3378 | self = self; | |
efc5f224 | 3379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetImageList",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 3380 | return NULL; |
1d99702e RD |
3381 | if (_argo0) { |
3382 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3383 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p."); |
3385 | return NULL; | |
3386 | } | |
3387 | } | |
cf694132 RD |
3388 | { |
3389 | wxPy_BEGIN_ALLOW_THREADS; | |
3390 | _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1); | |
3391 | ||
3392 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
3393 | } if (_result) { |
3394 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p"); | |
3395 | _resultobj = Py_BuildValue("s",_ptemp); | |
3396 | } else { | |
3397 | Py_INCREF(Py_None); | |
3398 | _resultobj = Py_None; | |
3399 | } | |
8ab979d7 RD |
3400 | return _resultobj; |
3401 | } | |
3402 | ||
3403 | #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0)) | |
efc5f224 | 3404 | static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3405 | PyObject * _resultobj; |
3406 | long _result; | |
3407 | wxListCtrl * _arg0; | |
3408 | long _arg1; | |
1d99702e | 3409 | PyObject * _argo0 = 0; |
efc5f224 | 3410 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
3411 | |
3412 | self = self; | |
efc5f224 | 3413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemData",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 3414 | return NULL; |
1d99702e RD |
3415 | if (_argo0) { |
3416 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3417 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3418 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p."); |
3419 | return NULL; | |
3420 | } | |
3421 | } | |
cf694132 RD |
3422 | { |
3423 | wxPy_BEGIN_ALLOW_THREADS; | |
3424 | _result = (long )wxListCtrl_GetItemData(_arg0,_arg1); | |
3425 | ||
3426 | wxPy_END_ALLOW_THREADS; | |
3427 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3428 | return _resultobj; |
3429 | } | |
3430 | ||
e166644c | 3431 | static wxListItem * wxListCtrl_GetItem(wxListCtrl *self,long itemId,int col) { |
8ab979d7 | 3432 | wxListItem* info = new wxListItem; |
0699c864 | 3433 | info->m_itemId = itemId; |
e166644c | 3434 | info->m_col = col; |
f17fee68 | 3435 | info->m_mask = 0xFFFF; |
8ab979d7 RD |
3436 | self->GetItem(*info); |
3437 | return info; | |
3438 | } | |
efc5f224 | 3439 | static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3440 | PyObject * _resultobj; |
3441 | wxListItem * _result; | |
3442 | wxListCtrl * _arg0; | |
0699c864 | 3443 | long _arg1; |
e166644c | 3444 | int _arg2 = (int ) 0; |
1d99702e | 3445 | PyObject * _argo0 = 0; |
e166644c | 3446 | char *_kwnames[] = { "self","itemId","col", NULL }; |
8ab979d7 RD |
3447 | char _ptemp[128]; |
3448 | ||
3449 | self = self; | |
e166644c | 3450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItem",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 3451 | return NULL; |
1d99702e RD |
3452 | if (_argo0) { |
3453 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3454 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3455 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p."); |
3456 | return NULL; | |
3457 | } | |
3458 | } | |
cf694132 RD |
3459 | { |
3460 | wxPy_BEGIN_ALLOW_THREADS; | |
e166644c | 3461 | _result = (wxListItem *)wxListCtrl_GetItem(_arg0,_arg1,_arg2); |
cf694132 RD |
3462 | |
3463 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
3464 | } if (_result) { |
3465 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p"); | |
3466 | _resultobj = Py_BuildValue("s",_ptemp); | |
3467 | } else { | |
3468 | Py_INCREF(Py_None); | |
3469 | _resultobj = Py_None; | |
3470 | } | |
8ab979d7 RD |
3471 | return _resultobj; |
3472 | } | |
3473 | ||
3474 | static wxPoint * wxListCtrl_GetItemPosition(wxListCtrl *self,long item) { | |
3475 | wxPoint* pos = new wxPoint; | |
3476 | self->GetItemPosition(item, *pos); | |
3477 | return pos; | |
3478 | } | |
efc5f224 | 3479 | static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3480 | PyObject * _resultobj; |
3481 | wxPoint * _result; | |
3482 | wxListCtrl * _arg0; | |
3483 | long _arg1; | |
1d99702e | 3484 | PyObject * _argo0 = 0; |
efc5f224 | 3485 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
3486 | char _ptemp[128]; |
3487 | ||
3488 | self = self; | |
efc5f224 | 3489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemPosition",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 3490 | return NULL; |
1d99702e RD |
3491 | if (_argo0) { |
3492 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3493 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3494 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p."); |
3495 | return NULL; | |
3496 | } | |
3497 | } | |
cf694132 RD |
3498 | { |
3499 | wxPy_BEGIN_ALLOW_THREADS; | |
3500 | _result = (wxPoint *)wxListCtrl_GetItemPosition(_arg0,_arg1); | |
3501 | ||
3502 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
3503 | } if (_result) { |
3504 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); | |
3505 | _resultobj = Py_BuildValue("s",_ptemp); | |
3506 | } else { | |
3507 | Py_INCREF(Py_None); | |
3508 | _resultobj = Py_None; | |
3509 | } | |
8ab979d7 RD |
3510 | return _resultobj; |
3511 | } | |
3512 | ||
3513 | static wxRect * wxListCtrl_GetItemRect(wxListCtrl *self,long item,int code) { | |
3514 | wxRect* rect= new wxRect; | |
3515 | self->GetItemRect(item, *rect, code); | |
3516 | return rect; | |
3517 | } | |
efc5f224 | 3518 | static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3519 | PyObject * _resultobj; |
3520 | wxRect * _result; | |
3521 | wxListCtrl * _arg0; | |
3522 | long _arg1; | |
1d99702e RD |
3523 | int _arg2 = (int ) (wxLIST_RECT_BOUNDS); |
3524 | PyObject * _argo0 = 0; | |
efc5f224 | 3525 | char *_kwnames[] = { "self","item","code", NULL }; |
8ab979d7 RD |
3526 | char _ptemp[128]; |
3527 | ||
3528 | self = self; | |
efc5f224 | 3529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_GetItemRect",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 3530 | return NULL; |
1d99702e RD |
3531 | if (_argo0) { |
3532 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3533 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3534 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p."); |
3535 | return NULL; | |
3536 | } | |
3537 | } | |
cf694132 RD |
3538 | { |
3539 | wxPy_BEGIN_ALLOW_THREADS; | |
3540 | _result = (wxRect *)wxListCtrl_GetItemRect(_arg0,_arg1,_arg2); | |
3541 | ||
3542 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
3543 | } if (_result) { |
3544 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p"); | |
3545 | _resultobj = Py_BuildValue("s",_ptemp); | |
3546 | } else { | |
3547 | Py_INCREF(Py_None); | |
3548 | _resultobj = Py_None; | |
3549 | } | |
8ab979d7 RD |
3550 | return _resultobj; |
3551 | } | |
3552 | ||
3553 | #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1)) | |
efc5f224 | 3554 | static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3555 | PyObject * _resultobj; |
3556 | int _result; | |
3557 | wxListCtrl * _arg0; | |
3558 | long _arg1; | |
3559 | long _arg2; | |
1d99702e | 3560 | PyObject * _argo0 = 0; |
efc5f224 | 3561 | char *_kwnames[] = { "self","item","stateMask", NULL }; |
8ab979d7 RD |
3562 | |
3563 | self = self; | |
efc5f224 | 3564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_GetItemState",_kwnames,&_argo0,&_arg1,&_arg2)) |
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_GetItemState. Expected _wxListCtrl_p."); |
3570 | return NULL; | |
3571 | } | |
3572 | } | |
cf694132 RD |
3573 | { |
3574 | wxPy_BEGIN_ALLOW_THREADS; | |
3575 | _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2); | |
3576 | ||
3577 | wxPy_END_ALLOW_THREADS; | |
3578 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3579 | return _resultobj; |
3580 | } | |
3581 | ||
3582 | #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount()) | |
efc5f224 | 3583 | static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3584 | PyObject * _resultobj; |
3585 | int _result; | |
3586 | wxListCtrl * _arg0; | |
1d99702e | 3587 | PyObject * _argo0 = 0; |
efc5f224 | 3588 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3589 | |
3590 | self = self; | |
efc5f224 | 3591 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetItemCount",_kwnames,&_argo0)) |
8ab979d7 | 3592 | return NULL; |
1d99702e RD |
3593 | if (_argo0) { |
3594 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3595 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3596 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p."); |
3597 | return NULL; | |
3598 | } | |
3599 | } | |
cf694132 RD |
3600 | { |
3601 | wxPy_BEGIN_ALLOW_THREADS; | |
3602 | _result = (int )wxListCtrl_GetItemCount(_arg0); | |
3603 | ||
3604 | wxPy_END_ALLOW_THREADS; | |
3605 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3606 | return _resultobj; |
3607 | } | |
3608 | ||
3609 | #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0)) | |
efc5f224 | 3610 | static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3611 | PyObject * _resultobj; |
3612 | int _result; | |
3613 | wxListCtrl * _arg0; | |
3614 | bool _arg1; | |
1d99702e | 3615 | PyObject * _argo0 = 0; |
8ab979d7 | 3616 | int tempbool1; |
efc5f224 | 3617 | char *_kwnames[] = { "self","isSmall", NULL }; |
8ab979d7 RD |
3618 | |
3619 | self = self; | |
efc5f224 | 3620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxListCtrl_GetItemSpacing",_kwnames,&_argo0,&tempbool1)) |
8ab979d7 | 3621 | return NULL; |
1d99702e RD |
3622 | if (_argo0) { |
3623 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3624 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3625 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p."); |
3626 | return NULL; | |
3627 | } | |
3628 | } | |
3629 | _arg1 = (bool ) tempbool1; | |
cf694132 RD |
3630 | { |
3631 | wxPy_BEGIN_ALLOW_THREADS; | |
3632 | _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1); | |
3633 | ||
3634 | wxPy_END_ALLOW_THREADS; | |
3635 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3636 | return _resultobj; |
3637 | } | |
3638 | ||
3639 | #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0)) | |
efc5f224 | 3640 | static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3641 | PyObject * _resultobj; |
3642 | wxString * _result; | |
3643 | wxListCtrl * _arg0; | |
3644 | long _arg1; | |
1d99702e | 3645 | PyObject * _argo0 = 0; |
efc5f224 | 3646 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
3647 | |
3648 | self = self; | |
efc5f224 | 3649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_GetItemText",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 3650 | return NULL; |
1d99702e RD |
3651 | if (_argo0) { |
3652 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3653 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3654 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p."); |
3655 | return NULL; | |
3656 | } | |
3657 | } | |
8ab979d7 | 3658 | { |
cf694132 RD |
3659 | wxPy_BEGIN_ALLOW_THREADS; |
3660 | _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1)); | |
3661 | ||
3662 | wxPy_END_ALLOW_THREADS; | |
3663 | }{ | |
eec92d76 | 3664 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
8ab979d7 RD |
3665 | } |
3666 | { | |
3667 | delete _result; | |
3668 | } | |
3669 | return _resultobj; | |
3670 | } | |
3671 | ||
3672 | #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 3673 | static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3674 | PyObject * _resultobj; |
3675 | long _result; | |
3676 | wxListCtrl * _arg0; | |
3677 | long _arg1; | |
1d99702e RD |
3678 | int _arg2 = (int ) (wxLIST_NEXT_ALL); |
3679 | int _arg3 = (int ) (wxLIST_STATE_DONTCARE); | |
3680 | PyObject * _argo0 = 0; | |
efc5f224 | 3681 | char *_kwnames[] = { "self","item","geometry","state", NULL }; |
8ab979d7 RD |
3682 | |
3683 | self = self; | |
efc5f224 | 3684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|ii:wxListCtrl_GetNextItem",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
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_GetNextItem. Expected _wxListCtrl_p."); |
3690 | return NULL; | |
3691 | } | |
3692 | } | |
cf694132 RD |
3693 | { |
3694 | wxPy_BEGIN_ALLOW_THREADS; | |
3695 | _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3); | |
3696 | ||
3697 | wxPy_END_ALLOW_THREADS; | |
3698 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3699 | return _resultobj; |
3700 | } | |
3701 | ||
3702 | #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount()) | |
efc5f224 | 3703 | static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3704 | PyObject * _resultobj; |
3705 | int _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_GetSelectedItemCount",_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_GetSelectedItemCount. Expected _wxListCtrl_p."); |
3717 | return NULL; | |
3718 | } | |
3719 | } | |
cf694132 RD |
3720 | { |
3721 | wxPy_BEGIN_ALLOW_THREADS; | |
3722 | _result = (int )wxListCtrl_GetSelectedItemCount(_arg0); | |
3723 | ||
3724 | wxPy_END_ALLOW_THREADS; | |
3725 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
3726 | return _resultobj; |
3727 | } | |
3728 | ||
3729 | #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour()) | |
efc5f224 | 3730 | static PyObject *_wrap_wxListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3731 | PyObject * _resultobj; |
3732 | wxColour * _result; | |
3733 | wxListCtrl * _arg0; | |
1d99702e | 3734 | PyObject * _argo0 = 0; |
efc5f224 | 3735 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3736 | char _ptemp[128]; |
3737 | ||
3738 | self = self; | |
efc5f224 | 3739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTextColour",_kwnames,&_argo0)) |
8ab979d7 | 3740 | return NULL; |
1d99702e RD |
3741 | if (_argo0) { |
3742 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3743 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3744 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxListCtrl_p."); |
3745 | return NULL; | |
3746 | } | |
3747 | } | |
cf694132 RD |
3748 | { |
3749 | wxPy_BEGIN_ALLOW_THREADS; | |
3750 | _result = new wxColour (wxListCtrl_GetTextColour(_arg0)); | |
3751 | ||
3752 | wxPy_END_ALLOW_THREADS; | |
3753 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p"); | |
8ab979d7 RD |
3754 | _resultobj = Py_BuildValue("s",_ptemp); |
3755 | return _resultobj; | |
3756 | } | |
3757 | ||
be4d9c1f | 3758 | #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) |
efc5f224 | 3759 | static PyObject *_wrap_wxListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
be4d9c1f RD |
3760 | PyObject * _resultobj; |
3761 | wxListCtrl * _arg0; | |
3762 | wxColour * _arg1; | |
1d99702e | 3763 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
3764 | wxColour temp; |
3765 | PyObject * _obj1 = 0; | |
efc5f224 | 3766 | char *_kwnames[] = { "self","col", NULL }; |
be4d9c1f RD |
3767 | |
3768 | self = self; | |
f6bcfd97 | 3769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetTextColour",_kwnames,&_argo0,&_obj1)) |
be4d9c1f | 3770 | return NULL; |
1d99702e RD |
3771 | if (_argo0) { |
3772 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3773 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
be4d9c1f RD |
3774 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p."); |
3775 | return NULL; | |
3776 | } | |
3777 | } | |
f6bcfd97 BP |
3778 | { |
3779 | _arg1 = &temp; | |
3780 | if (! wxColour_helper(_obj1, &_arg1)) | |
be4d9c1f | 3781 | return NULL; |
f6bcfd97 | 3782 | } |
cf694132 RD |
3783 | { |
3784 | wxPy_BEGIN_ALLOW_THREADS; | |
3785 | wxListCtrl_SetTextColour(_arg0,*_arg1); | |
3786 | ||
3787 | wxPy_END_ALLOW_THREADS; | |
3788 | } Py_INCREF(Py_None); | |
be4d9c1f RD |
3789 | _resultobj = Py_None; |
3790 | return _resultobj; | |
3791 | } | |
3792 | ||
8ab979d7 | 3793 | #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem()) |
efc5f224 | 3794 | static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3795 | PyObject * _resultobj; |
3796 | long _result; | |
3797 | wxListCtrl * _arg0; | |
1d99702e | 3798 | PyObject * _argo0 = 0; |
efc5f224 | 3799 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
3800 | |
3801 | self = self; | |
efc5f224 | 3802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxListCtrl_GetTopItem",_kwnames,&_argo0)) |
8ab979d7 | 3803 | return NULL; |
1d99702e RD |
3804 | if (_argo0) { |
3805 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3806 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3807 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p."); |
3808 | return NULL; | |
3809 | } | |
3810 | } | |
cf694132 RD |
3811 | { |
3812 | wxPy_BEGIN_ALLOW_THREADS; | |
3813 | _result = (long )wxListCtrl_GetTopItem(_arg0); | |
3814 | ||
3815 | wxPy_END_ALLOW_THREADS; | |
3816 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3817 | return _resultobj; |
3818 | } | |
3819 | ||
3820 | #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1)) | |
efc5f224 | 3821 | static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3822 | PyObject * _resultobj; |
3823 | long _result; | |
3824 | wxListCtrl * _arg0; | |
3825 | wxPoint * _arg1; | |
3826 | int * _arg2; | |
3827 | int temp; | |
1d99702e | 3828 | PyObject * _argo0 = 0; |
2f90df85 RD |
3829 | wxPoint temp0; |
3830 | PyObject * _obj1 = 0; | |
efc5f224 | 3831 | char *_kwnames[] = { "self","point", NULL }; |
8ab979d7 RD |
3832 | |
3833 | self = self; | |
3834 | { | |
3835 | _arg2 = &temp; | |
3836 | } | |
2f90df85 | 3837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_HitTest",_kwnames,&_argo0,&_obj1)) |
8ab979d7 | 3838 | return NULL; |
1d99702e RD |
3839 | if (_argo0) { |
3840 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3841 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3842 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p."); |
3843 | return NULL; | |
3844 | } | |
3845 | } | |
2f90df85 RD |
3846 | { |
3847 | _arg1 = &temp0; | |
3848 | if (! wxPoint_helper(_obj1, &_arg1)) | |
8ab979d7 | 3849 | return NULL; |
2f90df85 | 3850 | } |
cf694132 RD |
3851 | { |
3852 | wxPy_BEGIN_ALLOW_THREADS; | |
3853 | _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2); | |
3854 | ||
3855 | wxPy_END_ALLOW_THREADS; | |
3856 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3857 | { |
3858 | PyObject *o; | |
3859 | o = PyInt_FromLong((long) (*_arg2)); | |
3860 | _resultobj = t_output_helper(_resultobj, o); | |
3861 | } | |
3862 | return _resultobj; | |
3863 | } | |
3864 | ||
0699c864 | 3865 | #define wxListCtrl_InsertColumnWith(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1)) |
efc5f224 | 3866 | static PyObject *_wrap_wxListCtrl_InsertColumnWith(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3867 | PyObject * _resultobj; |
3868 | long _result; | |
3869 | wxListCtrl * _arg0; | |
3870 | long _arg1; | |
3871 | wxListItem * _arg2; | |
1d99702e RD |
3872 | PyObject * _argo0 = 0; |
3873 | PyObject * _argo2 = 0; | |
efc5f224 | 3874 | char *_kwnames[] = { "self","col","info", NULL }; |
8ab979d7 RD |
3875 | |
3876 | self = self; | |
efc5f224 | 3877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertColumnWith",_kwnames,&_argo0,&_arg1,&_argo2)) |
8ab979d7 | 3878 | return NULL; |
1d99702e RD |
3879 | if (_argo0) { |
3880 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3881 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
0699c864 | 3882 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnWith. Expected _wxListCtrl_p."); |
8ab979d7 RD |
3883 | return NULL; |
3884 | } | |
3885 | } | |
1d99702e RD |
3886 | if (_argo2) { |
3887 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3888 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) { | |
0699c864 | 3889 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnWith. Expected _wxListItem_p."); |
8ab979d7 RD |
3890 | return NULL; |
3891 | } | |
3892 | } | |
cf694132 RD |
3893 | { |
3894 | wxPy_BEGIN_ALLOW_THREADS; | |
3895 | _result = (long )wxListCtrl_InsertColumnWith(_arg0,_arg1,*_arg2); | |
3896 | ||
3897 | wxPy_END_ALLOW_THREADS; | |
3898 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3899 | return _resultobj; |
3900 | } | |
3901 | ||
3902 | #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
efc5f224 | 3903 | static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3904 | PyObject * _resultobj; |
3905 | long _result; | |
3906 | wxListCtrl * _arg0; | |
3907 | long _arg1; | |
3908 | wxString * _arg2; | |
1d99702e RD |
3909 | int _arg3 = (int ) (wxLIST_FORMAT_LEFT); |
3910 | int _arg4 = (int ) -1; | |
3911 | PyObject * _argo0 = 0; | |
8ab979d7 | 3912 | PyObject * _obj2 = 0; |
efc5f224 | 3913 | char *_kwnames[] = { "self","col","heading","format","width", NULL }; |
8ab979d7 RD |
3914 | |
3915 | self = self; | |
efc5f224 | 3916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO|ii:wxListCtrl_InsertColumn",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3,&_arg4)) |
8ab979d7 | 3917 | return NULL; |
1d99702e RD |
3918 | if (_argo0) { |
3919 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3920 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3921 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p."); |
3922 | return NULL; | |
3923 | } | |
3924 | } | |
3925 | { | |
3926 | if (!PyString_Check(_obj2)) { | |
3927 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3928 | return NULL; | |
3929 | } | |
cf694132 | 3930 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
8ab979d7 | 3931 | } |
cf694132 RD |
3932 | { |
3933 | wxPy_BEGIN_ALLOW_THREADS; | |
3934 | _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4); | |
3935 | ||
3936 | wxPy_END_ALLOW_THREADS; | |
3937 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3938 | { |
3939 | if (_obj2) | |
3940 | delete _arg2; | |
3941 | } | |
3942 | return _resultobj; | |
3943 | } | |
3944 | ||
3945 | #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0)) | |
efc5f224 | 3946 | static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3947 | PyObject * _resultobj; |
3948 | long _result; | |
3949 | wxListCtrl * _arg0; | |
3950 | wxListItem * _arg1; | |
1d99702e RD |
3951 | PyObject * _argo0 = 0; |
3952 | PyObject * _argo1 = 0; | |
efc5f224 | 3953 | char *_kwnames[] = { "self","info", NULL }; |
8ab979d7 RD |
3954 | |
3955 | self = self; | |
efc5f224 | 3956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_InsertItem",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 3957 | return NULL; |
1d99702e RD |
3958 | if (_argo0) { |
3959 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3960 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3961 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p."); |
3962 | return NULL; | |
3963 | } | |
3964 | } | |
1d99702e RD |
3965 | if (_argo1) { |
3966 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3967 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) { | |
8ab979d7 RD |
3968 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p."); |
3969 | return NULL; | |
3970 | } | |
3971 | } | |
cf694132 RD |
3972 | { |
3973 | wxPy_BEGIN_ALLOW_THREADS; | |
3974 | _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1); | |
3975 | ||
3976 | wxPy_END_ALLOW_THREADS; | |
3977 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
3978 | return _resultobj; |
3979 | } | |
3980 | ||
3981 | #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1)) | |
efc5f224 | 3982 | static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
3983 | PyObject * _resultobj; |
3984 | long _result; | |
3985 | wxListCtrl * _arg0; | |
3986 | long _arg1; | |
3987 | wxString * _arg2; | |
1d99702e | 3988 | PyObject * _argo0 = 0; |
8ab979d7 | 3989 | PyObject * _obj2 = 0; |
efc5f224 | 3990 | char *_kwnames[] = { "self","index","label", NULL }; |
8ab979d7 RD |
3991 | |
3992 | self = self; | |
efc5f224 | 3993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_InsertStringItem",_kwnames,&_argo0,&_arg1,&_obj2)) |
8ab979d7 | 3994 | return NULL; |
1d99702e RD |
3995 | if (_argo0) { |
3996 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3997 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
3998 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p."); |
3999 | return NULL; | |
4000 | } | |
4001 | } | |
4002 | { | |
4003 | if (!PyString_Check(_obj2)) { | |
4004 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4005 | return NULL; | |
4006 | } | |
cf694132 | 4007 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
8ab979d7 | 4008 | } |
cf694132 RD |
4009 | { |
4010 | wxPy_BEGIN_ALLOW_THREADS; | |
4011 | _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2); | |
4012 | ||
4013 | wxPy_END_ALLOW_THREADS; | |
4014 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
4015 | { |
4016 | if (_obj2) | |
4017 | delete _arg2; | |
4018 | } | |
4019 | return _resultobj; | |
4020 | } | |
4021 | ||
4022 | #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1)) | |
efc5f224 | 4023 | static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4024 | PyObject * _resultobj; |
4025 | long _result; | |
4026 | wxListCtrl * _arg0; | |
4027 | long _arg1; | |
4028 | int _arg2; | |
1d99702e | 4029 | PyObject * _argo0 = 0; |
efc5f224 | 4030 | char *_kwnames[] = { "self","index","imageIndex", NULL }; |
8ab979d7 RD |
4031 | |
4032 | self = self; | |
efc5f224 | 4033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oli:wxListCtrl_InsertImageItem",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 4034 | return NULL; |
1d99702e RD |
4035 | if (_argo0) { |
4036 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4037 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4038 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p."); |
4039 | return NULL; | |
4040 | } | |
4041 | } | |
cf694132 RD |
4042 | { |
4043 | wxPy_BEGIN_ALLOW_THREADS; | |
4044 | _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2); | |
4045 | ||
4046 | wxPy_END_ALLOW_THREADS; | |
4047 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
4048 | return _resultobj; |
4049 | } | |
4050 | ||
4051 | #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 4052 | static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4053 | PyObject * _resultobj; |
4054 | long _result; | |
4055 | wxListCtrl * _arg0; | |
4056 | long _arg1; | |
4057 | wxString * _arg2; | |
4058 | int _arg3; | |
1d99702e | 4059 | PyObject * _argo0 = 0; |
8ab979d7 | 4060 | PyObject * _obj2 = 0; |
efc5f224 | 4061 | char *_kwnames[] = { "self","index","label","imageIndex", NULL }; |
8ab979d7 RD |
4062 | |
4063 | self = self; | |
efc5f224 | 4064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlOi:wxListCtrl_InsertImageStringItem",_kwnames,&_argo0,&_arg1,&_obj2,&_arg3)) |
8ab979d7 | 4065 | return NULL; |
1d99702e RD |
4066 | if (_argo0) { |
4067 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4068 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4069 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p."); |
4070 | return NULL; | |
4071 | } | |
4072 | } | |
4073 | { | |
4074 | if (!PyString_Check(_obj2)) { | |
4075 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4076 | return NULL; | |
4077 | } | |
cf694132 | 4078 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
8ab979d7 | 4079 | } |
cf694132 RD |
4080 | { |
4081 | wxPy_BEGIN_ALLOW_THREADS; | |
4082 | _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3); | |
4083 | ||
4084 | wxPy_END_ALLOW_THREADS; | |
4085 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
4086 | { |
4087 | if (_obj2) | |
4088 | delete _arg2; | |
4089 | } | |
4090 | return _resultobj; | |
4091 | } | |
4092 | ||
4093 | #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1)) | |
efc5f224 | 4094 | static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4095 | PyObject * _resultobj; |
4096 | bool _result; | |
4097 | wxListCtrl * _arg0; | |
4098 | int _arg1; | |
4099 | int _arg2; | |
1d99702e | 4100 | PyObject * _argo0 = 0; |
efc5f224 | 4101 | char *_kwnames[] = { "self","dx","dy", NULL }; |
8ab979d7 RD |
4102 | |
4103 | self = self; | |
efc5f224 | 4104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_ScrollList",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 4105 | return NULL; |
1d99702e RD |
4106 | if (_argo0) { |
4107 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4108 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p."); |
4110 | return NULL; | |
4111 | } | |
4112 | } | |
cf694132 RD |
4113 | { |
4114 | wxPy_BEGIN_ALLOW_THREADS; | |
4115 | _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2); | |
4116 | ||
4117 | wxPy_END_ALLOW_THREADS; | |
4118 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4119 | return _resultobj; |
4120 | } | |
4121 | ||
4122 | #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
efc5f224 | 4123 | static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4124 | PyObject * _resultobj; |
4125 | wxListCtrl * _arg0; | |
4126 | wxColour * _arg1; | |
1d99702e | 4127 | PyObject * _argo0 = 0; |
f6bcfd97 BP |
4128 | wxColour temp; |
4129 | PyObject * _obj1 = 0; | |
efc5f224 | 4130 | char *_kwnames[] = { "self","col", NULL }; |
8ab979d7 RD |
4131 | |
4132 | self = self; | |
f6bcfd97 | 4133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetBackgroundColour",_kwnames,&_argo0,&_obj1)) |
8ab979d7 | 4134 | return NULL; |
1d99702e RD |
4135 | if (_argo0) { |
4136 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4137 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4138 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p."); |
4139 | return NULL; | |
4140 | } | |
4141 | } | |
f6bcfd97 BP |
4142 | { |
4143 | _arg1 = &temp; | |
4144 | if (! wxColour_helper(_obj1, &_arg1)) | |
8ab979d7 | 4145 | return NULL; |
f6bcfd97 | 4146 | } |
cf694132 RD |
4147 | { |
4148 | wxPy_BEGIN_ALLOW_THREADS; | |
4149 | wxListCtrl_SetBackgroundColour(_arg0,*_arg1); | |
4150 | ||
4151 | wxPy_END_ALLOW_THREADS; | |
4152 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4153 | _resultobj = Py_None; |
4154 | return _resultobj; | |
4155 | } | |
4156 | ||
4157 | #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1)) | |
efc5f224 | 4158 | static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4159 | PyObject * _resultobj; |
4160 | bool _result; | |
4161 | wxListCtrl * _arg0; | |
4162 | int _arg1; | |
4163 | wxListItem * _arg2; | |
1d99702e RD |
4164 | PyObject * _argo0 = 0; |
4165 | PyObject * _argo2 = 0; | |
efc5f224 | 4166 | char *_kwnames[] = { "self","col","item", NULL }; |
8ab979d7 RD |
4167 | |
4168 | self = self; | |
efc5f224 | 4169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxListCtrl_SetColumn",_kwnames,&_argo0,&_arg1,&_argo2)) |
8ab979d7 | 4170 | return NULL; |
1d99702e RD |
4171 | if (_argo0) { |
4172 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4173 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4174 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p."); |
4175 | return NULL; | |
4176 | } | |
4177 | } | |
1d99702e RD |
4178 | if (_argo2) { |
4179 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4180 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxListItem_p")) { | |
8ab979d7 RD |
4181 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p."); |
4182 | return NULL; | |
4183 | } | |
4184 | } | |
cf694132 RD |
4185 | { |
4186 | wxPy_BEGIN_ALLOW_THREADS; | |
4187 | _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2); | |
4188 | ||
4189 | wxPy_END_ALLOW_THREADS; | |
4190 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4191 | return _resultobj; |
4192 | } | |
4193 | ||
4194 | #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1)) | |
efc5f224 | 4195 | static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4196 | PyObject * _resultobj; |
4197 | bool _result; | |
4198 | wxListCtrl * _arg0; | |
4199 | int _arg1; | |
4200 | int _arg2; | |
1d99702e | 4201 | PyObject * _argo0 = 0; |
efc5f224 | 4202 | char *_kwnames[] = { "self","col","width", NULL }; |
8ab979d7 RD |
4203 | |
4204 | self = self; | |
efc5f224 | 4205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxListCtrl_SetColumnWidth",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 4206 | return NULL; |
1d99702e RD |
4207 | if (_argo0) { |
4208 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4209 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4210 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p."); |
4211 | return NULL; | |
4212 | } | |
4213 | } | |
cf694132 RD |
4214 | { |
4215 | wxPy_BEGIN_ALLOW_THREADS; | |
4216 | _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2); | |
4217 | ||
4218 | wxPy_END_ALLOW_THREADS; | |
4219 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4220 | return _resultobj; |
4221 | } | |
4222 | ||
4223 | #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1)) | |
efc5f224 | 4224 | static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4225 | PyObject * _resultobj; |
4226 | wxListCtrl * _arg0; | |
4227 | wxImageList * _arg1; | |
4228 | int _arg2; | |
1d99702e RD |
4229 | PyObject * _argo0 = 0; |
4230 | PyObject * _argo1 = 0; | |
efc5f224 | 4231 | char *_kwnames[] = { "self","imageList","which", NULL }; |
8ab979d7 RD |
4232 | |
4233 | self = self; | |
efc5f224 | 4234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxListCtrl_SetImageList",_kwnames,&_argo0,&_argo1,&_arg2)) |
8ab979d7 | 4235 | return NULL; |
1d99702e RD |
4236 | if (_argo0) { |
4237 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4238 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4239 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p."); |
4240 | return NULL; | |
4241 | } | |
4242 | } | |
1d99702e RD |
4243 | if (_argo1) { |
4244 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4245 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) { | |
8ab979d7 RD |
4246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p."); |
4247 | return NULL; | |
4248 | } | |
4249 | } | |
cf694132 RD |
4250 | { |
4251 | wxPy_BEGIN_ALLOW_THREADS; | |
4252 | wxListCtrl_SetImageList(_arg0,_arg1,_arg2); | |
4253 | ||
4254 | wxPy_END_ALLOW_THREADS; | |
4255 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4256 | _resultobj = Py_None; |
4257 | return _resultobj; | |
4258 | } | |
4259 | ||
4260 | #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0)) | |
efc5f224 | 4261 | static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4262 | PyObject * _resultobj; |
4263 | bool _result; | |
4264 | wxListCtrl * _arg0; | |
4265 | wxListItem * _arg1; | |
1d99702e RD |
4266 | PyObject * _argo0 = 0; |
4267 | PyObject * _argo1 = 0; | |
efc5f224 | 4268 | char *_kwnames[] = { "self","info", NULL }; |
8ab979d7 RD |
4269 | |
4270 | self = self; | |
efc5f224 | 4271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SetItem",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 4272 | return NULL; |
1d99702e RD |
4273 | if (_argo0) { |
4274 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4275 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4276 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p."); |
4277 | return NULL; | |
4278 | } | |
4279 | } | |
1d99702e RD |
4280 | if (_argo1) { |
4281 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4282 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxListItem_p")) { | |
8ab979d7 RD |
4283 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p."); |
4284 | return NULL; | |
4285 | } | |
4286 | } | |
cf694132 RD |
4287 | { |
4288 | wxPy_BEGIN_ALLOW_THREADS; | |
4289 | _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1); | |
4290 | ||
4291 | wxPy_END_ALLOW_THREADS; | |
4292 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4293 | return _resultobj; |
4294 | } | |
4295 | ||
af309447 | 4296 | #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
efc5f224 | 4297 | static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4298 | PyObject * _resultobj; |
4299 | long _result; | |
4300 | wxListCtrl * _arg0; | |
4301 | long _arg1; | |
4302 | int _arg2; | |
4303 | wxString * _arg3; | |
1d99702e RD |
4304 | int _arg4 = (int ) -1; |
4305 | PyObject * _argo0 = 0; | |
8ab979d7 | 4306 | PyObject * _obj3 = 0; |
efc5f224 | 4307 | char *_kwnames[] = { "self","index","col","label","imageId", NULL }; |
8ab979d7 RD |
4308 | |
4309 | self = self; | |
efc5f224 | 4310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OliO|i:wxListCtrl_SetStringItem",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_arg4)) |
8ab979d7 | 4311 | return NULL; |
1d99702e RD |
4312 | if (_argo0) { |
4313 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4314 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
af309447 | 4315 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p."); |
8ab979d7 RD |
4316 | return NULL; |
4317 | } | |
4318 | } | |
4319 | { | |
4320 | if (!PyString_Check(_obj3)) { | |
4321 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4322 | return NULL; | |
4323 | } | |
cf694132 | 4324 | _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3)); |
8ab979d7 | 4325 | } |
cf694132 RD |
4326 | { |
4327 | wxPy_BEGIN_ALLOW_THREADS; | |
4328 | _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4); | |
4329 | ||
4330 | wxPy_END_ALLOW_THREADS; | |
4331 | } _resultobj = Py_BuildValue("l",_result); | |
8ab979d7 RD |
4332 | { |
4333 | if (_obj3) | |
4334 | delete _arg3; | |
4335 | } | |
4336 | return _resultobj; | |
4337 | } | |
4338 | ||
4339 | #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1)) | |
efc5f224 | 4340 | static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4341 | PyObject * _resultobj; |
4342 | bool _result; | |
4343 | wxListCtrl * _arg0; | |
4344 | long _arg1; | |
4345 | long _arg2; | |
1d99702e | 4346 | PyObject * _argo0 = 0; |
efc5f224 | 4347 | char *_kwnames[] = { "self","item","data", NULL }; |
8ab979d7 RD |
4348 | |
4349 | self = self; | |
efc5f224 | 4350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oll:wxListCtrl_SetItemData",_kwnames,&_argo0,&_arg1,&_arg2)) |
8ab979d7 | 4351 | return NULL; |
1d99702e RD |
4352 | if (_argo0) { |
4353 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4354 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4355 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p."); |
4356 | return NULL; | |
4357 | } | |
4358 | } | |
cf694132 RD |
4359 | { |
4360 | wxPy_BEGIN_ALLOW_THREADS; | |
4361 | _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2); | |
4362 | ||
4363 | wxPy_END_ALLOW_THREADS; | |
4364 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4365 | return _resultobj; |
4366 | } | |
4367 | ||
4368 | #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 4369 | static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4370 | PyObject * _resultobj; |
4371 | bool _result; | |
4372 | wxListCtrl * _arg0; | |
4373 | long _arg1; | |
4374 | int _arg2; | |
4375 | int _arg3; | |
1d99702e | 4376 | PyObject * _argo0 = 0; |
efc5f224 | 4377 | char *_kwnames[] = { "self","item","image","selImage", NULL }; |
8ab979d7 RD |
4378 | |
4379 | self = self; | |
efc5f224 | 4380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olii:wxListCtrl_SetItemImage",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
8ab979d7 | 4381 | return NULL; |
1d99702e RD |
4382 | if (_argo0) { |
4383 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4384 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4385 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p."); |
4386 | return NULL; | |
4387 | } | |
4388 | } | |
cf694132 RD |
4389 | { |
4390 | wxPy_BEGIN_ALLOW_THREADS; | |
4391 | _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3); | |
4392 | ||
4393 | wxPy_END_ALLOW_THREADS; | |
4394 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4395 | return _resultobj; |
4396 | } | |
4397 | ||
4398 | #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1)) | |
efc5f224 | 4399 | static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4400 | PyObject * _resultobj; |
4401 | bool _result; | |
4402 | wxListCtrl * _arg0; | |
4403 | long _arg1; | |
4404 | wxPoint * _arg2; | |
1d99702e | 4405 | PyObject * _argo0 = 0; |
2f90df85 RD |
4406 | wxPoint temp; |
4407 | PyObject * _obj2 = 0; | |
efc5f224 | 4408 | char *_kwnames[] = { "self","item","pos", NULL }; |
8ab979d7 RD |
4409 | |
4410 | self = self; | |
2f90df85 | 4411 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemPosition",_kwnames,&_argo0,&_arg1,&_obj2)) |
8ab979d7 | 4412 | return NULL; |
1d99702e RD |
4413 | if (_argo0) { |
4414 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4415 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4416 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p."); |
4417 | return NULL; | |
4418 | } | |
4419 | } | |
2f90df85 RD |
4420 | { |
4421 | _arg2 = &temp; | |
4422 | if (! wxPoint_helper(_obj2, &_arg2)) | |
8ab979d7 | 4423 | return NULL; |
2f90df85 | 4424 | } |
cf694132 RD |
4425 | { |
4426 | wxPy_BEGIN_ALLOW_THREADS; | |
4427 | _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2); | |
4428 | ||
4429 | wxPy_END_ALLOW_THREADS; | |
4430 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4431 | return _resultobj; |
4432 | } | |
4433 | ||
4434 | #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2)) | |
efc5f224 | 4435 | static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4436 | PyObject * _resultobj; |
4437 | bool _result; | |
4438 | wxListCtrl * _arg0; | |
4439 | long _arg1; | |
4440 | long _arg2; | |
4441 | long _arg3; | |
1d99702e | 4442 | PyObject * _argo0 = 0; |
efc5f224 | 4443 | char *_kwnames[] = { "self","item","state","stateMask", NULL }; |
8ab979d7 RD |
4444 | |
4445 | self = self; | |
efc5f224 | 4446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Olll:wxListCtrl_SetItemState",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) |
8ab979d7 | 4447 | return NULL; |
1d99702e RD |
4448 | if (_argo0) { |
4449 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4450 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p."); |
4452 | return NULL; | |
4453 | } | |
4454 | } | |
cf694132 RD |
4455 | { |
4456 | wxPy_BEGIN_ALLOW_THREADS; | |
4457 | _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3); | |
4458 | ||
4459 | wxPy_END_ALLOW_THREADS; | |
4460 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4461 | return _resultobj; |
4462 | } | |
4463 | ||
4464 | #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1)) | |
efc5f224 | 4465 | static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4466 | PyObject * _resultobj; |
4467 | wxListCtrl * _arg0; | |
4468 | long _arg1; | |
4469 | wxString * _arg2; | |
1d99702e | 4470 | PyObject * _argo0 = 0; |
8ab979d7 | 4471 | PyObject * _obj2 = 0; |
efc5f224 | 4472 | char *_kwnames[] = { "self","item","text", NULL }; |
8ab979d7 RD |
4473 | |
4474 | self = self; | |
efc5f224 | 4475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OlO:wxListCtrl_SetItemText",_kwnames,&_argo0,&_arg1,&_obj2)) |
8ab979d7 | 4476 | return NULL; |
1d99702e RD |
4477 | if (_argo0) { |
4478 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4479 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4480 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p."); |
4481 | return NULL; | |
4482 | } | |
4483 | } | |
4484 | { | |
4485 | if (!PyString_Check(_obj2)) { | |
4486 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4487 | return NULL; | |
4488 | } | |
cf694132 | 4489 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
8ab979d7 | 4490 | } |
cf694132 RD |
4491 | { |
4492 | wxPy_BEGIN_ALLOW_THREADS; | |
4493 | wxListCtrl_SetItemText(_arg0,_arg1,*_arg2); | |
4494 | ||
4495 | wxPy_END_ALLOW_THREADS; | |
4496 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4497 | _resultobj = Py_None; |
4498 | { | |
4499 | if (_obj2) | |
4500 | delete _arg2; | |
4501 | } | |
4502 | return _resultobj; | |
4503 | } | |
4504 | ||
4505 | #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1)) | |
efc5f224 | 4506 | static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4507 | PyObject * _resultobj; |
4508 | wxListCtrl * _arg0; | |
4509 | long _arg1; | |
1d99702e RD |
4510 | bool _arg2 = (bool ) TRUE; |
4511 | PyObject * _argo0 = 0; | |
4512 | int tempbool2 = (int) TRUE; | |
efc5f224 | 4513 | char *_kwnames[] = { "self","style","add", NULL }; |
8ab979d7 RD |
4514 | |
4515 | self = self; | |
efc5f224 | 4516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol|i:wxListCtrl_SetSingleStyle",_kwnames,&_argo0,&_arg1,&tempbool2)) |
8ab979d7 | 4517 | return NULL; |
1d99702e RD |
4518 | if (_argo0) { |
4519 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4520 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4521 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p."); |
4522 | return NULL; | |
4523 | } | |
4524 | } | |
4525 | _arg2 = (bool ) tempbool2; | |
cf694132 RD |
4526 | { |
4527 | wxPy_BEGIN_ALLOW_THREADS; | |
4528 | wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2); | |
4529 | ||
4530 | wxPy_END_ALLOW_THREADS; | |
4531 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4532 | _resultobj = Py_None; |
4533 | return _resultobj; | |
4534 | } | |
4535 | ||
8ab979d7 | 4536 | #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0)) |
efc5f224 | 4537 | static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 RD |
4538 | PyObject * _resultobj; |
4539 | wxListCtrl * _arg0; | |
4540 | long _arg1; | |
1d99702e | 4541 | PyObject * _argo0 = 0; |
efc5f224 | 4542 | char *_kwnames[] = { "self","style", NULL }; |
8ab979d7 RD |
4543 | |
4544 | self = self; | |
efc5f224 | 4545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxListCtrl_SetWindowStyleFlag",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 4546 | return NULL; |
1d99702e RD |
4547 | if (_argo0) { |
4548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
8ab979d7 RD |
4550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p."); |
4551 | return NULL; | |
4552 | } | |
4553 | } | |
cf694132 RD |
4554 | { |
4555 | wxPy_BEGIN_ALLOW_THREADS; | |
4556 | wxListCtrl_SetWindowStyleFlag(_arg0,_arg1); | |
4557 | ||
4558 | wxPy_END_ALLOW_THREADS; | |
4559 | } Py_INCREF(Py_None); | |
8ab979d7 RD |
4560 | _resultobj = Py_None; |
4561 | return _resultobj; | |
4562 | } | |
4563 | ||
dcd38683 RD |
4564 | static bool wxListCtrl_SortItems(wxListCtrl *self,PyObject * func) { |
4565 | if (!PyCallable_Check(func)) | |
4566 | return FALSE; | |
4567 | ||
f6bcfd97 | 4568 | return self->SortItems(wxPyListCtrl_SortItems, (long)func); |
dcd38683 RD |
4569 | } |
4570 | static PyObject *_wrap_wxListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4571 | PyObject * _resultobj; | |
4572 | bool _result; | |
4573 | wxListCtrl * _arg0; | |
4574 | PyObject * _arg1; | |
4575 | PyObject * _argo0 = 0; | |
4576 | PyObject * _obj1 = 0; | |
4577 | char *_kwnames[] = { "self","func", NULL }; | |
4578 | ||
4579 | self = self; | |
4580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxListCtrl_SortItems",_kwnames,&_argo0,&_obj1)) | |
4581 | return NULL; | |
4582 | if (_argo0) { | |
4583 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4584 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxListCtrl_p")) { | |
4585 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SortItems. Expected _wxListCtrl_p."); | |
4586 | return NULL; | |
4587 | } | |
4588 | } | |
4589 | { | |
4590 | _arg1 = _obj1; | |
4591 | } | |
4592 | { | |
4593 | wxPy_BEGIN_ALLOW_THREADS; | |
4594 | _result = (bool )wxListCtrl_SortItems(_arg0,_arg1); | |
4595 | ||
4596 | wxPy_END_ALLOW_THREADS; | |
4597 | } _resultobj = Py_BuildValue("i",_result); | |
4598 | return _resultobj; | |
4599 | } | |
4600 | ||
d5c9047a | 4601 | #define new_wxTreeItemId() (new wxTreeItemId()) |
efc5f224 | 4602 | static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4603 | PyObject * _resultobj; |
d5c9047a | 4604 | wxTreeItemId * _result; |
efc5f224 | 4605 | char *_kwnames[] = { NULL }; |
d5c9047a | 4606 | char _ptemp[128]; |
8ab979d7 RD |
4607 | |
4608 | self = self; | |
efc5f224 | 4609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxTreeItemId",_kwnames)) |
8ab979d7 | 4610 | return NULL; |
cf694132 RD |
4611 | { |
4612 | wxPy_BEGIN_ALLOW_THREADS; | |
4613 | _result = (wxTreeItemId *)new_wxTreeItemId(); | |
4614 | ||
4615 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
4616 | } if (_result) { |
4617 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p"); | |
4618 | _resultobj = Py_BuildValue("s",_ptemp); | |
4619 | } else { | |
4620 | Py_INCREF(Py_None); | |
4621 | _resultobj = Py_None; | |
4622 | } | |
8ab979d7 RD |
4623 | return _resultobj; |
4624 | } | |
4625 | ||
d5c9047a | 4626 | #define delete_wxTreeItemId(_swigobj) (delete _swigobj) |
efc5f224 | 4627 | static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4628 | PyObject * _resultobj; |
d5c9047a | 4629 | wxTreeItemId * _arg0; |
1d99702e | 4630 | PyObject * _argo0 = 0; |
efc5f224 | 4631 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4632 | |
4633 | self = self; | |
efc5f224 | 4634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxTreeItemId",_kwnames,&_argo0)) |
8ab979d7 | 4635 | return NULL; |
1d99702e RD |
4636 | if (_argo0) { |
4637 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4638 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) { | |
d5c9047a | 4639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p."); |
8ab979d7 RD |
4640 | return NULL; |
4641 | } | |
4642 | } | |
cf694132 RD |
4643 | { |
4644 | wxPy_BEGIN_ALLOW_THREADS; | |
4645 | delete_wxTreeItemId(_arg0); | |
4646 | ||
4647 | wxPy_END_ALLOW_THREADS; | |
4648 | } Py_INCREF(Py_None); | |
d5c9047a | 4649 | _resultobj = Py_None; |
8ab979d7 RD |
4650 | return _resultobj; |
4651 | } | |
4652 | ||
d5c9047a | 4653 | #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk()) |
efc5f224 | 4654 | static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4655 | PyObject * _resultobj; |
d5c9047a RD |
4656 | bool _result; |
4657 | wxTreeItemId * _arg0; | |
1d99702e | 4658 | PyObject * _argo0 = 0; |
efc5f224 | 4659 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4660 | |
4661 | self = self; | |
efc5f224 | 4662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemId_IsOk",_kwnames,&_argo0)) |
8ab979d7 | 4663 | return NULL; |
1d99702e RD |
4664 | if (_argo0) { |
4665 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4666 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) { | |
d5c9047a | 4667 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p."); |
8ab979d7 RD |
4668 | return NULL; |
4669 | } | |
4670 | } | |
cf694132 RD |
4671 | { |
4672 | wxPy_BEGIN_ALLOW_THREADS; | |
4673 | _result = (bool )wxTreeItemId_IsOk(_arg0); | |
4674 | ||
4675 | wxPy_END_ALLOW_THREADS; | |
4676 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
4677 | return _resultobj; |
4678 | } | |
4679 | ||
f6bcfd97 BP |
4680 | static int wxTreeItemId___cmp__(wxTreeItemId *self,wxTreeItemId * other) { |
4681 | if (! other) return 0; | |
4682 | return *self != *other; | |
4683 | } | |
4684 | static PyObject *_wrap_wxTreeItemId___cmp__(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4685 | PyObject * _resultobj; | |
4686 | int _result; | |
4687 | wxTreeItemId * _arg0; | |
4688 | wxTreeItemId * _arg1; | |
4689 | PyObject * _argo0 = 0; | |
4690 | PyObject * _argo1 = 0; | |
4691 | char *_kwnames[] = { "self","other", NULL }; | |
4692 | ||
4693 | self = self; | |
4694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemId___cmp__",_kwnames,&_argo0,&_argo1)) | |
4695 | return NULL; | |
4696 | if (_argo0) { | |
4697 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4698 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeItemId_p")) { | |
4699 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p."); | |
4700 | return NULL; | |
4701 | } | |
4702 | } | |
4703 | if (_argo1) { | |
4704 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4705 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
4706 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemId___cmp__. Expected _wxTreeItemId_p."); | |
4707 | return NULL; | |
4708 | } | |
4709 | } | |
4710 | { | |
4711 | wxPy_BEGIN_ALLOW_THREADS; | |
4712 | _result = (int )wxTreeItemId___cmp__(_arg0,_arg1); | |
4713 | ||
4714 | wxPy_END_ALLOW_THREADS; | |
4715 | } _resultobj = Py_BuildValue("i",_result); | |
4716 | return _resultobj; | |
4717 | } | |
4718 | ||
cf694132 | 4719 | #define new_wxTreeItemData(_swigarg0) (new wxPyTreeItemData(_swigarg0)) |
efc5f224 | 4720 | static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4721 | PyObject * _resultobj; |
cf694132 | 4722 | wxPyTreeItemData * _result; |
1d99702e | 4723 | PyObject * _arg0 = (PyObject *) NULL; |
cf694132 | 4724 | PyObject * _obj0 = 0; |
efc5f224 | 4725 | char *_kwnames[] = { "obj", NULL }; |
d5c9047a | 4726 | char _ptemp[128]; |
8ab979d7 RD |
4727 | |
4728 | self = self; | |
efc5f224 | 4729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|O:new_wxTreeItemData",_kwnames,&_obj0)) |
8ab979d7 | 4730 | return NULL; |
cf694132 RD |
4731 | if (_obj0) |
4732 | { | |
4733 | _arg0 = _obj0; | |
4734 | } | |
4735 | { | |
4736 | wxPy_BEGIN_ALLOW_THREADS; | |
4737 | _result = (wxPyTreeItemData *)new_wxTreeItemData(_arg0); | |
4738 | ||
4739 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
4740 | } if (_result) { |
4741 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p"); | |
4742 | _resultobj = Py_BuildValue("s",_ptemp); | |
4743 | } else { | |
4744 | Py_INCREF(Py_None); | |
4745 | _resultobj = Py_None; | |
4746 | } | |
8ab979d7 RD |
4747 | return _resultobj; |
4748 | } | |
4749 | ||
cf694132 | 4750 | #define wxTreeItemData_GetData(_swigobj) (_swigobj->GetData()) |
efc5f224 | 4751 | static PyObject *_wrap_wxTreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 RD |
4752 | PyObject * _resultobj; |
4753 | PyObject * _result; | |
4754 | wxPyTreeItemData * _arg0; | |
1d99702e | 4755 | PyObject * _argo0 = 0; |
efc5f224 | 4756 | char *_kwnames[] = { "self", NULL }; |
cf694132 RD |
4757 | |
4758 | self = self; | |
efc5f224 | 4759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetData",_kwnames,&_argo0)) |
cf694132 | 4760 | return NULL; |
1d99702e RD |
4761 | if (_argo0) { |
4762 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4763 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) { | |
cf694132 RD |
4764 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetData. Expected _wxPyTreeItemData_p."); |
4765 | return NULL; | |
4766 | } | |
4767 | } | |
4768 | { | |
4769 | wxPy_BEGIN_ALLOW_THREADS; | |
4770 | _result = (PyObject *)wxTreeItemData_GetData(_arg0); | |
4771 | ||
4772 | wxPy_END_ALLOW_THREADS; | |
4773 | }{ | |
4774 | _resultobj = _result; | |
4775 | } | |
4776 | return _resultobj; | |
4777 | } | |
4778 | ||
4779 | #define wxTreeItemData_SetData(_swigobj,_swigarg0) (_swigobj->SetData(_swigarg0)) | |
efc5f224 | 4780 | static PyObject *_wrap_wxTreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4781 | PyObject * _resultobj; |
cf694132 RD |
4782 | wxPyTreeItemData * _arg0; |
4783 | PyObject * _arg1; | |
1d99702e | 4784 | PyObject * _argo0 = 0; |
cf694132 | 4785 | PyObject * _obj1 = 0; |
efc5f224 | 4786 | char *_kwnames[] = { "self","obj", NULL }; |
8ab979d7 RD |
4787 | |
4788 | self = self; | |
efc5f224 | 4789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetData",_kwnames,&_argo0,&_obj1)) |
8ab979d7 | 4790 | return NULL; |
1d99702e RD |
4791 | if (_argo0) { |
4792 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4793 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) { | |
cf694132 | 4794 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetData. Expected _wxPyTreeItemData_p."); |
8ab979d7 RD |
4795 | return NULL; |
4796 | } | |
4797 | } | |
cf694132 RD |
4798 | { |
4799 | _arg1 = _obj1; | |
4800 | } | |
4801 | { | |
4802 | wxPy_BEGIN_ALLOW_THREADS; | |
4803 | wxTreeItemData_SetData(_arg0,_arg1); | |
4804 | ||
4805 | wxPy_END_ALLOW_THREADS; | |
4806 | } Py_INCREF(Py_None); | |
d5c9047a | 4807 | _resultobj = Py_None; |
8ab979d7 RD |
4808 | return _resultobj; |
4809 | } | |
4810 | ||
630d84f2 | 4811 | #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId()) |
efc5f224 | 4812 | static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4813 | PyObject * _resultobj; |
d5c9047a | 4814 | wxTreeItemId * _result; |
cf694132 | 4815 | wxPyTreeItemData * _arg0; |
1d99702e | 4816 | PyObject * _argo0 = 0; |
efc5f224 | 4817 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4818 | char _ptemp[128]; |
4819 | ||
4820 | self = self; | |
efc5f224 | 4821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeItemData_GetId",_kwnames,&_argo0)) |
8ab979d7 | 4822 | return NULL; |
1d99702e RD |
4823 | if (_argo0) { |
4824 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4825 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) { | |
cf694132 | 4826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxPyTreeItemData_p."); |
8ab979d7 RD |
4827 | return NULL; |
4828 | } | |
4829 | } | |
cf694132 RD |
4830 | { |
4831 | wxPy_BEGIN_ALLOW_THREADS; | |
4832 | const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0); | |
d5c9047a | 4833 | _result = (wxTreeItemId *) &_result_ref; |
cf694132 RD |
4834 | |
4835 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
4836 | } if (_result) { |
4837 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p"); | |
4838 | _resultobj = Py_BuildValue("s",_ptemp); | |
4839 | } else { | |
4840 | Py_INCREF(Py_None); | |
4841 | _resultobj = Py_None; | |
4842 | } | |
8ab979d7 RD |
4843 | return _resultobj; |
4844 | } | |
4845 | ||
630d84f2 | 4846 | #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0)) |
efc5f224 | 4847 | static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { |
630d84f2 | 4848 | PyObject * _resultobj; |
cf694132 | 4849 | wxPyTreeItemData * _arg0; |
630d84f2 | 4850 | wxTreeItemId * _arg1; |
1d99702e RD |
4851 | PyObject * _argo0 = 0; |
4852 | PyObject * _argo1 = 0; | |
efc5f224 | 4853 | char *_kwnames[] = { "self","id", NULL }; |
630d84f2 RD |
4854 | |
4855 | self = self; | |
efc5f224 | 4856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeItemData_SetId",_kwnames,&_argo0,&_argo1)) |
630d84f2 | 4857 | return NULL; |
1d99702e RD |
4858 | if (_argo0) { |
4859 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4860 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeItemData_p")) { | |
cf694132 | 4861 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxPyTreeItemData_p."); |
630d84f2 RD |
4862 | return NULL; |
4863 | } | |
4864 | } | |
1d99702e RD |
4865 | if (_argo1) { |
4866 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4867 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
630d84f2 RD |
4868 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p."); |
4869 | return NULL; | |
4870 | } | |
4871 | } | |
cf694132 RD |
4872 | { |
4873 | wxPy_BEGIN_ALLOW_THREADS; | |
4874 | wxTreeItemData_SetId(_arg0,*_arg1); | |
4875 | ||
4876 | wxPy_END_ALLOW_THREADS; | |
4877 | } Py_INCREF(Py_None); | |
630d84f2 RD |
4878 | _resultobj = Py_None; |
4879 | return _resultobj; | |
4880 | } | |
4881 | ||
8bf5d46e RD |
4882 | static void *SwigwxTreeEventTowxNotifyEvent(void *ptr) { |
4883 | wxTreeEvent *src; | |
4884 | wxNotifyEvent *dest; | |
4885 | src = (wxTreeEvent *) ptr; | |
4886 | dest = (wxNotifyEvent *) src; | |
4887 | return (void *) dest; | |
4888 | } | |
4889 | ||
8ab979d7 RD |
4890 | static void *SwigwxTreeEventTowxCommandEvent(void *ptr) { |
4891 | wxTreeEvent *src; | |
4892 | wxCommandEvent *dest; | |
4893 | src = (wxTreeEvent *) ptr; | |
4894 | dest = (wxCommandEvent *) src; | |
4895 | return (void *) dest; | |
4896 | } | |
4897 | ||
4898 | static void *SwigwxTreeEventTowxEvent(void *ptr) { | |
4899 | wxTreeEvent *src; | |
4900 | wxEvent *dest; | |
4901 | src = (wxTreeEvent *) ptr; | |
4902 | dest = (wxEvent *) src; | |
4903 | return (void *) dest; | |
4904 | } | |
4905 | ||
d5c9047a | 4906 | #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem()) |
efc5f224 | 4907 | static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4908 | PyObject * _resultobj; |
d5c9047a | 4909 | wxTreeItemId * _result; |
8ab979d7 | 4910 | wxTreeEvent * _arg0; |
1d99702e | 4911 | PyObject * _argo0 = 0; |
efc5f224 | 4912 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 4913 | char _ptemp[128]; |
8ab979d7 RD |
4914 | |
4915 | self = self; | |
efc5f224 | 4916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetItem",_kwnames,&_argo0)) |
8ab979d7 | 4917 | return NULL; |
1d99702e RD |
4918 | if (_argo0) { |
4919 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4920 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
d5c9047a | 4921 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p."); |
8ab979d7 RD |
4922 | return NULL; |
4923 | } | |
4924 | } | |
cf694132 RD |
4925 | { |
4926 | wxPy_BEGIN_ALLOW_THREADS; | |
4927 | _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0)); | |
4928 | ||
4929 | wxPy_END_ALLOW_THREADS; | |
4930 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 4931 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
4932 | return _resultobj; |
4933 | } | |
4934 | ||
d5c9047a | 4935 | #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem()) |
efc5f224 | 4936 | static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4937 | PyObject * _resultobj; |
d5c9047a | 4938 | wxTreeItemId * _result; |
8ab979d7 | 4939 | wxTreeEvent * _arg0; |
1d99702e | 4940 | PyObject * _argo0 = 0; |
efc5f224 | 4941 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
4942 | char _ptemp[128]; |
4943 | ||
4944 | self = self; | |
efc5f224 | 4945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetOldItem",_kwnames,&_argo0)) |
8ab979d7 | 4946 | return NULL; |
1d99702e RD |
4947 | if (_argo0) { |
4948 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4949 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
d5c9047a | 4950 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p."); |
8ab979d7 RD |
4951 | return NULL; |
4952 | } | |
4953 | } | |
cf694132 RD |
4954 | { |
4955 | wxPy_BEGIN_ALLOW_THREADS; | |
4956 | _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0)); | |
4957 | ||
4958 | wxPy_END_ALLOW_THREADS; | |
4959 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
8ab979d7 RD |
4960 | _resultobj = Py_BuildValue("s",_ptemp); |
4961 | return _resultobj; | |
4962 | } | |
4963 | ||
d5c9047a | 4964 | #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint()) |
efc5f224 | 4965 | static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4966 | PyObject * _resultobj; |
d5c9047a | 4967 | wxPoint * _result; |
8ab979d7 | 4968 | wxTreeEvent * _arg0; |
1d99702e | 4969 | PyObject * _argo0 = 0; |
efc5f224 | 4970 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 4971 | char _ptemp[128]; |
8ab979d7 RD |
4972 | |
4973 | self = self; | |
efc5f224 | 4974 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetPoint",_kwnames,&_argo0)) |
8ab979d7 | 4975 | return NULL; |
1d99702e RD |
4976 | if (_argo0) { |
4977 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4978 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
d5c9047a | 4979 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p."); |
8ab979d7 RD |
4980 | return NULL; |
4981 | } | |
4982 | } | |
cf694132 RD |
4983 | { |
4984 | wxPy_BEGIN_ALLOW_THREADS; | |
4985 | _result = new wxPoint (wxTreeEvent_GetPoint(_arg0)); | |
4986 | ||
4987 | wxPy_END_ALLOW_THREADS; | |
4988 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
d5c9047a | 4989 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
4990 | return _resultobj; |
4991 | } | |
4992 | ||
d5c9047a | 4993 | #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode()) |
efc5f224 | 4994 | static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 4995 | PyObject * _resultobj; |
d5c9047a | 4996 | int _result; |
8ab979d7 | 4997 | wxTreeEvent * _arg0; |
1d99702e | 4998 | PyObject * _argo0 = 0; |
efc5f224 | 4999 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
5000 | |
5001 | self = self; | |
efc5f224 | 5002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetCode",_kwnames,&_argo0)) |
8ab979d7 | 5003 | return NULL; |
1d99702e RD |
5004 | if (_argo0) { |
5005 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5006 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
d5c9047a | 5007 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p."); |
8ab979d7 RD |
5008 | return NULL; |
5009 | } | |
5010 | } | |
cf694132 RD |
5011 | { |
5012 | wxPy_BEGIN_ALLOW_THREADS; | |
5013 | _result = (int )wxTreeEvent_GetCode(_arg0); | |
5014 | ||
5015 | wxPy_END_ALLOW_THREADS; | |
5016 | } _resultobj = Py_BuildValue("i",_result); | |
d5c9047a RD |
5017 | return _resultobj; |
5018 | } | |
5019 | ||
8bf5d46e | 5020 | #define wxTreeEvent_GetLabel(_swigobj) (_swigobj->GetLabel()) |
efc5f224 | 5021 | static PyObject *_wrap_wxTreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 5022 | PyObject * _resultobj; |
8bf5d46e | 5023 | wxString * _result; |
d5c9047a | 5024 | wxTreeEvent * _arg0; |
1d99702e | 5025 | PyObject * _argo0 = 0; |
efc5f224 | 5026 | char *_kwnames[] = { "self", NULL }; |
d5c9047a RD |
5027 | |
5028 | self = self; | |
efc5f224 | 5029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeEvent_GetLabel",_kwnames,&_argo0)) |
d5c9047a | 5030 | return NULL; |
1d99702e RD |
5031 | if (_argo0) { |
5032 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5033 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
8bf5d46e | 5034 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetLabel. Expected _wxTreeEvent_p."); |
d5c9047a RD |
5035 | return NULL; |
5036 | } | |
5037 | } | |
cf694132 RD |
5038 | { |
5039 | wxPy_BEGIN_ALLOW_THREADS; | |
8bf5d46e RD |
5040 | const wxString & _result_ref = wxTreeEvent_GetLabel(_arg0); |
5041 | _result = (wxString *) &_result_ref; | |
cf694132 RD |
5042 | |
5043 | wxPy_END_ALLOW_THREADS; | |
8bf5d46e | 5044 | }{ |
eec92d76 | 5045 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
8bf5d46e | 5046 | } |
8ab979d7 RD |
5047 | return _resultobj; |
5048 | } | |
5049 | ||
f6bcfd97 BP |
5050 | static void *SwigwxPyTreeCtrlTowxControl(void *ptr) { |
5051 | wxPyTreeCtrl *src; | |
8ab979d7 | 5052 | wxControl *dest; |
f6bcfd97 | 5053 | src = (wxPyTreeCtrl *) ptr; |
8ab979d7 RD |
5054 | dest = (wxControl *) src; |
5055 | return (void *) dest; | |
5056 | } | |
5057 | ||
f6bcfd97 BP |
5058 | static void *SwigwxPyTreeCtrlTowxWindow(void *ptr) { |
5059 | wxPyTreeCtrl *src; | |
8ab979d7 | 5060 | wxWindow *dest; |
f6bcfd97 | 5061 | src = (wxPyTreeCtrl *) ptr; |
8ab979d7 RD |
5062 | dest = (wxWindow *) src; |
5063 | return (void *) dest; | |
5064 | } | |
5065 | ||
f6bcfd97 BP |
5066 | static void *SwigwxPyTreeCtrlTowxEvtHandler(void *ptr) { |
5067 | wxPyTreeCtrl *src; | |
8ab979d7 | 5068 | wxEvtHandler *dest; |
f6bcfd97 | 5069 | src = (wxPyTreeCtrl *) ptr; |
8ab979d7 RD |
5070 | dest = (wxEvtHandler *) src; |
5071 | return (void *) dest; | |
5072 | } | |
5073 | ||
f6bcfd97 | 5074 | #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxPyTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
efc5f224 | 5075 | static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5076 | PyObject * _resultobj; |
f6bcfd97 | 5077 | wxPyTreeCtrl * _result; |
8ab979d7 | 5078 | wxWindow * _arg0; |
1d99702e RD |
5079 | wxWindowID _arg1 = (wxWindowID ) -1; |
5080 | wxPoint * _arg2 = (wxPoint *) &wxPyDefaultPosition; | |
5081 | wxSize * _arg3 = (wxSize *) &wxPyDefaultSize; | |
5082 | long _arg4 = (long ) wxTR_HAS_BUTTONS|wxTR_LINES_AT_ROOT; | |
5083 | wxValidator * _arg5 = (wxValidator *) &wxPyDefaultValidator; | |
5084 | char * _arg6 = (char *) "wxTreeCtrl"; | |
5085 | PyObject * _argo0 = 0; | |
2f90df85 RD |
5086 | wxPoint temp; |
5087 | PyObject * _obj2 = 0; | |
5088 | wxSize temp0; | |
5089 | PyObject * _obj3 = 0; | |
1d99702e | 5090 | PyObject * _argo5 = 0; |
efc5f224 | 5091 | char *_kwnames[] = { "parent","id","pos","size","style","validator","name", NULL }; |
8ab979d7 RD |
5092 | char _ptemp[128]; |
5093 | ||
5094 | self = self; | |
2f90df85 | 5095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlOs:new_wxTreeCtrl",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_argo5,&_arg6)) |
8ab979d7 | 5096 | return NULL; |
1d99702e RD |
5097 | if (_argo0) { |
5098 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5099 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
8ab979d7 RD |
5100 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p."); |
5101 | return NULL; | |
5102 | } | |
5103 | } | |
2f90df85 RD |
5104 | if (_obj2) |
5105 | { | |
5106 | _arg2 = &temp; | |
5107 | if (! wxPoint_helper(_obj2, &_arg2)) | |
8ab979d7 | 5108 | return NULL; |
2f90df85 RD |
5109 | } |
5110 | if (_obj3) | |
5111 | { | |
5112 | _arg3 = &temp0; | |
5113 | if (! wxSize_helper(_obj3, &_arg3)) | |
8ab979d7 | 5114 | return NULL; |
2f90df85 | 5115 | } |
1d99702e RD |
5116 | if (_argo5) { |
5117 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
5118 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxValidator_p")) { | |
8ab979d7 RD |
5119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p."); |
5120 | return NULL; | |
5121 | } | |
5122 | } | |
cf694132 RD |
5123 | { |
5124 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 5125 | _result = (wxPyTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6); |
cf694132 RD |
5126 | |
5127 | wxPy_END_ALLOW_THREADS; | |
1d99702e | 5128 | } if (_result) { |
f6bcfd97 | 5129 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeCtrl_p"); |
1d99702e RD |
5130 | _resultobj = Py_BuildValue("s",_ptemp); |
5131 | } else { | |
5132 | Py_INCREF(Py_None); | |
5133 | _resultobj = Py_None; | |
5134 | } | |
8ab979d7 RD |
5135 | return _resultobj; |
5136 | } | |
5137 | ||
f6bcfd97 BP |
5138 | #define wxTreeCtrl__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
5139 | static PyObject *_wrap_wxTreeCtrl__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5140 | PyObject * _resultobj; | |
5141 | wxPyTreeCtrl * _arg0; | |
5142 | PyObject * _arg1; | |
5143 | PyObject * _arg2; | |
5144 | PyObject * _argo0 = 0; | |
5145 | PyObject * _obj1 = 0; | |
5146 | PyObject * _obj2 = 0; | |
5147 | char *_kwnames[] = { "self","self","_class", NULL }; | |
5148 | ||
5149 | self = self; | |
5150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) | |
5151 | return NULL; | |
5152 | if (_argo0) { | |
5153 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5154 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { | |
5155 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl__setSelf. Expected _wxPyTreeCtrl_p."); | |
5156 | return NULL; | |
5157 | } | |
5158 | } | |
5159 | { | |
5160 | _arg1 = _obj1; | |
5161 | } | |
5162 | { | |
5163 | _arg2 = _obj2; | |
5164 | } | |
5165 | { | |
5166 | wxPy_BEGIN_ALLOW_THREADS; | |
5167 | wxTreeCtrl__setSelf(_arg0,_arg1,_arg2); | |
5168 | ||
5169 | wxPy_END_ALLOW_THREADS; | |
5170 | } Py_INCREF(Py_None); | |
5171 | _resultobj = Py_None; | |
5172 | return _resultobj; | |
5173 | } | |
5174 | ||
d5c9047a | 5175 | #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount()) |
efc5f224 | 5176 | static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5177 | PyObject * _resultobj; |
c127177f | 5178 | size_t _result; |
f6bcfd97 | 5179 | wxPyTreeCtrl * _arg0; |
1d99702e | 5180 | PyObject * _argo0 = 0; |
efc5f224 | 5181 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
5182 | |
5183 | self = self; | |
efc5f224 | 5184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetCount",_kwnames,&_argo0)) |
8ab979d7 | 5185 | return NULL; |
1d99702e RD |
5186 | if (_argo0) { |
5187 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5188 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5189 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5190 | return NULL; |
5191 | } | |
5192 | } | |
cf694132 RD |
5193 | { |
5194 | wxPy_BEGIN_ALLOW_THREADS; | |
c127177f | 5195 | _result = (size_t )wxTreeCtrl_GetCount(_arg0); |
cf694132 RD |
5196 | |
5197 | wxPy_END_ALLOW_THREADS; | |
c127177f | 5198 | } _resultobj = Py_BuildValue("i",_result); |
8ab979d7 RD |
5199 | return _resultobj; |
5200 | } | |
5201 | ||
d5c9047a | 5202 | #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent()) |
efc5f224 | 5203 | static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5204 | PyObject * _resultobj; |
d5c9047a | 5205 | unsigned int _result; |
f6bcfd97 | 5206 | wxPyTreeCtrl * _arg0; |
1d99702e | 5207 | PyObject * _argo0 = 0; |
efc5f224 | 5208 | char *_kwnames[] = { "self", NULL }; |
8ab979d7 RD |
5209 | |
5210 | self = self; | |
efc5f224 | 5211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetIndent",_kwnames,&_argo0)) |
8ab979d7 | 5212 | return NULL; |
1d99702e RD |
5213 | if (_argo0) { |
5214 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5215 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5216 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5217 | return NULL; |
5218 | } | |
5219 | } | |
cf694132 RD |
5220 | { |
5221 | wxPy_BEGIN_ALLOW_THREADS; | |
5222 | _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0); | |
5223 | ||
5224 | wxPy_END_ALLOW_THREADS; | |
5225 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
5226 | return _resultobj; |
5227 | } | |
5228 | ||
d5c9047a | 5229 | #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0)) |
efc5f224 | 5230 | static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5231 | PyObject * _resultobj; |
f6bcfd97 | 5232 | wxPyTreeCtrl * _arg0; |
d5c9047a | 5233 | unsigned int _arg1; |
1d99702e | 5234 | PyObject * _argo0 = 0; |
efc5f224 | 5235 | char *_kwnames[] = { "self","indent", NULL }; |
8ab979d7 RD |
5236 | |
5237 | self = self; | |
efc5f224 | 5238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetIndent",_kwnames,&_argo0,&_arg1)) |
8ab979d7 | 5239 | return NULL; |
1d99702e RD |
5240 | if (_argo0) { |
5241 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5242 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5243 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5244 | return NULL; |
5245 | } | |
5246 | } | |
cf694132 RD |
5247 | { |
5248 | wxPy_BEGIN_ALLOW_THREADS; | |
5249 | wxTreeCtrl_SetIndent(_arg0,_arg1); | |
5250 | ||
5251 | wxPy_END_ALLOW_THREADS; | |
5252 | } Py_INCREF(Py_None); | |
d5c9047a | 5253 | _resultobj = Py_None; |
8ab979d7 RD |
5254 | return _resultobj; |
5255 | } | |
5256 | ||
d5c9047a | 5257 | #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList()) |
efc5f224 | 5258 | static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5259 | PyObject * _resultobj; |
d5c9047a | 5260 | wxImageList * _result; |
f6bcfd97 | 5261 | wxPyTreeCtrl * _arg0; |
1d99702e | 5262 | PyObject * _argo0 = 0; |
efc5f224 | 5263 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 5264 | char _ptemp[128]; |
8ab979d7 RD |
5265 | |
5266 | self = self; | |
efc5f224 | 5267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetImageList",_kwnames,&_argo0)) |
8ab979d7 | 5268 | return NULL; |
1d99702e RD |
5269 | if (_argo0) { |
5270 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5271 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5272 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5273 | return NULL; |
5274 | } | |
5275 | } | |
cf694132 RD |
5276 | { |
5277 | wxPy_BEGIN_ALLOW_THREADS; | |
5278 | _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0); | |
5279 | ||
5280 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
5281 | } if (_result) { |
5282 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p"); | |
5283 | _resultobj = Py_BuildValue("s",_ptemp); | |
5284 | } else { | |
5285 | Py_INCREF(Py_None); | |
5286 | _resultobj = Py_None; | |
5287 | } | |
8ab979d7 RD |
5288 | return _resultobj; |
5289 | } | |
5290 | ||
d5c9047a | 5291 | #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList()) |
efc5f224 | 5292 | static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5293 | PyObject * _resultobj; |
d5c9047a | 5294 | wxImageList * _result; |
f6bcfd97 | 5295 | wxPyTreeCtrl * _arg0; |
1d99702e | 5296 | PyObject * _argo0 = 0; |
efc5f224 | 5297 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 5298 | char _ptemp[128]; |
8ab979d7 RD |
5299 | |
5300 | self = self; | |
efc5f224 | 5301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetStateImageList",_kwnames,&_argo0)) |
8ab979d7 | 5302 | return NULL; |
1d99702e RD |
5303 | if (_argo0) { |
5304 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5305 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5306 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5307 | return NULL; |
5308 | } | |
5309 | } | |
cf694132 RD |
5310 | { |
5311 | wxPy_BEGIN_ALLOW_THREADS; | |
5312 | _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0); | |
5313 | ||
5314 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
5315 | } if (_result) { |
5316 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p"); | |
5317 | _resultobj = Py_BuildValue("s",_ptemp); | |
5318 | } else { | |
5319 | Py_INCREF(Py_None); | |
5320 | _resultobj = Py_None; | |
5321 | } | |
8ab979d7 RD |
5322 | return _resultobj; |
5323 | } | |
5324 | ||
d5c9047a | 5325 | #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0)) |
efc5f224 | 5326 | static PyObject *_wrap_wxTreeCtrl_SetImageList(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_SetImageList",_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_SetImageList. 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_SetImageList. Expected _wxImageList_p."); |
5348 | return NULL; | |
5349 | } | |
5350 | } | |
cf694132 RD |
5351 | { |
5352 | wxPy_BEGIN_ALLOW_THREADS; | |
5353 | wxTreeCtrl_SetImageList(_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 | ||
d5c9047a | 5361 | #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0)) |
efc5f224 | 5362 | static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5363 | PyObject * _resultobj; |
f6bcfd97 | 5364 | wxPyTreeCtrl * _arg0; |
d5c9047a | 5365 | wxImageList * _arg1; |
1d99702e RD |
5366 | PyObject * _argo0 = 0; |
5367 | PyObject * _argo1 = 0; | |
efc5f224 | 5368 | char *_kwnames[] = { "self","imageList", NULL }; |
8ab979d7 RD |
5369 | |
5370 | self = self; | |
efc5f224 | 5371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SetStateImageList",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 5372 | return NULL; |
1d99702e RD |
5373 | if (_argo0) { |
5374 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5375 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5376 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5377 | return NULL; |
5378 | } | |
5379 | } | |
1d99702e RD |
5380 | if (_argo1) { |
5381 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5382 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxImageList_p")) { | |
d5c9047a RD |
5383 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p."); |
5384 | return NULL; | |
5385 | } | |
5386 | } | |
cf694132 RD |
5387 | { |
5388 | wxPy_BEGIN_ALLOW_THREADS; | |
5389 | wxTreeCtrl_SetStateImageList(_arg0,_arg1); | |
5390 | ||
5391 | wxPy_END_ALLOW_THREADS; | |
5392 | } Py_INCREF(Py_None); | |
d5c9047a | 5393 | _resultobj = Py_None; |
8ab979d7 RD |
5394 | return _resultobj; |
5395 | } | |
5396 | ||
b1462dfa RD |
5397 | #define wxTreeCtrl_GetSpacing(_swigobj) (_swigobj->GetSpacing()) |
5398 | static PyObject *_wrap_wxTreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5399 | PyObject * _resultobj; | |
5400 | unsigned int _result; | |
f6bcfd97 | 5401 | wxPyTreeCtrl * _arg0; |
b1462dfa RD |
5402 | PyObject * _argo0 = 0; |
5403 | char *_kwnames[] = { "self", NULL }; | |
5404 | ||
5405 | self = self; | |
5406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSpacing",_kwnames,&_argo0)) | |
5407 | return NULL; | |
5408 | if (_argo0) { | |
5409 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5410 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSpacing. Expected _wxPyTreeCtrl_p."); | |
b1462dfa RD |
5412 | return NULL; |
5413 | } | |
5414 | } | |
5415 | { | |
5416 | wxPy_BEGIN_ALLOW_THREADS; | |
5417 | _result = (unsigned int )wxTreeCtrl_GetSpacing(_arg0); | |
5418 | ||
5419 | wxPy_END_ALLOW_THREADS; | |
5420 | } _resultobj = Py_BuildValue("i",_result); | |
5421 | return _resultobj; | |
5422 | } | |
5423 | ||
5424 | #define wxTreeCtrl_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0)) | |
5425 | static PyObject *_wrap_wxTreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5426 | PyObject * _resultobj; | |
f6bcfd97 | 5427 | wxPyTreeCtrl * _arg0; |
b1462dfa RD |
5428 | unsigned int _arg1; |
5429 | PyObject * _argo0 = 0; | |
5430 | char *_kwnames[] = { "self","spacing", NULL }; | |
5431 | ||
5432 | self = self; | |
5433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxTreeCtrl_SetSpacing",_kwnames,&_argo0,&_arg1)) | |
5434 | return NULL; | |
5435 | if (_argo0) { | |
5436 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5437 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5438 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetSpacing. Expected _wxPyTreeCtrl_p."); | |
b1462dfa RD |
5439 | return NULL; |
5440 | } | |
5441 | } | |
5442 | { | |
5443 | wxPy_BEGIN_ALLOW_THREADS; | |
5444 | wxTreeCtrl_SetSpacing(_arg0,_arg1); | |
5445 | ||
5446 | wxPy_END_ALLOW_THREADS; | |
5447 | } Py_INCREF(Py_None); | |
5448 | _resultobj = Py_None; | |
5449 | return _resultobj; | |
5450 | } | |
5451 | ||
d5c9047a | 5452 | #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0)) |
efc5f224 | 5453 | static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5454 | PyObject * _resultobj; |
d5c9047a | 5455 | wxString * _result; |
f6bcfd97 | 5456 | wxPyTreeCtrl * _arg0; |
d5c9047a | 5457 | wxTreeItemId * _arg1; |
1d99702e RD |
5458 | PyObject * _argo0 = 0; |
5459 | PyObject * _argo1 = 0; | |
efc5f224 | 5460 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
5461 | |
5462 | self = self; | |
efc5f224 | 5463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemText",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 5464 | return NULL; |
1d99702e RD |
5465 | if (_argo0) { |
5466 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5467 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5468 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5469 | return NULL; |
5470 | } | |
5471 | } | |
1d99702e RD |
5472 | if (_argo1) { |
5473 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5474 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5475 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p."); |
5476 | return NULL; | |
5477 | } | |
5478 | } | |
d5c9047a | 5479 | { |
cf694132 RD |
5480 | wxPy_BEGIN_ALLOW_THREADS; |
5481 | _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1)); | |
5482 | ||
5483 | wxPy_END_ALLOW_THREADS; | |
5484 | }{ | |
eec92d76 | 5485 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
d5c9047a RD |
5486 | } |
5487 | { | |
5488 | delete _result; | |
5489 | } | |
8ab979d7 RD |
5490 | return _resultobj; |
5491 | } | |
5492 | ||
694759cf | 5493 | #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemImage(_swigarg0,_swigarg1)) |
efc5f224 | 5494 | static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5495 | PyObject * _resultobj; |
d5c9047a | 5496 | int _result; |
f6bcfd97 | 5497 | wxPyTreeCtrl * _arg0; |
d5c9047a | 5498 | wxTreeItemId * _arg1; |
694759cf | 5499 | wxTreeItemIcon _arg2 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal); |
1d99702e RD |
5500 | PyObject * _argo0 = 0; |
5501 | PyObject * _argo1 = 0; | |
694759cf | 5502 | char *_kwnames[] = { "self","item","which", NULL }; |
8ab979d7 RD |
5503 | |
5504 | self = self; | |
694759cf | 5505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetItemImage",_kwnames,&_argo0,&_argo1,&_arg2)) |
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_GetItemImage. 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_GetItemImage. Expected _wxTreeItemId_p."); |
5518 | return NULL; | |
5519 | } | |
5520 | } | |
cf694132 RD |
5521 | { |
5522 | wxPy_BEGIN_ALLOW_THREADS; | |
694759cf | 5523 | _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1,_arg2); |
cf694132 RD |
5524 | |
5525 | wxPy_END_ALLOW_THREADS; | |
5526 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
5527 | return _resultobj; |
5528 | } | |
5529 | ||
d5c9047a | 5530 | #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0)) |
efc5f224 | 5531 | static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5532 | PyObject * _resultobj; |
d5c9047a | 5533 | int _result; |
f6bcfd97 | 5534 | wxPyTreeCtrl * _arg0; |
d5c9047a | 5535 | wxTreeItemId * _arg1; |
1d99702e RD |
5536 | PyObject * _argo0 = 0; |
5537 | PyObject * _argo1 = 0; | |
efc5f224 | 5538 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
5539 | |
5540 | self = self; | |
efc5f224 | 5541 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemSelectedImage",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 5542 | return NULL; |
1d99702e RD |
5543 | if (_argo0) { |
5544 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5545 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5546 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5547 | return NULL; |
5548 | } | |
5549 | } | |
1d99702e RD |
5550 | if (_argo1) { |
5551 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5552 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5553 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p."); |
5554 | return NULL; | |
5555 | } | |
5556 | } | |
cf694132 RD |
5557 | { |
5558 | wxPy_BEGIN_ALLOW_THREADS; | |
5559 | _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1); | |
8ab979d7 | 5560 | |
cf694132 RD |
5561 | wxPy_END_ALLOW_THREADS; |
5562 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
5563 | return _resultobj; |
5564 | } | |
5565 | ||
d5c9047a | 5566 | #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1)) |
efc5f224 | 5567 | static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5568 | PyObject * _resultobj; |
f6bcfd97 | 5569 | wxPyTreeCtrl * _arg0; |
d5c9047a RD |
5570 | wxTreeItemId * _arg1; |
5571 | wxString * _arg2; | |
1d99702e RD |
5572 | PyObject * _argo0 = 0; |
5573 | PyObject * _argo1 = 0; | |
d5c9047a | 5574 | PyObject * _obj2 = 0; |
efc5f224 | 5575 | char *_kwnames[] = { "self","item","text", NULL }; |
8ab979d7 RD |
5576 | |
5577 | self = self; | |
efc5f224 | 5578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemText",_kwnames,&_argo0,&_argo1,&_obj2)) |
8ab979d7 | 5579 | return NULL; |
1d99702e RD |
5580 | if (_argo0) { |
5581 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5582 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5583 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5584 | return NULL; |
5585 | } | |
5586 | } | |
1d99702e RD |
5587 | if (_argo1) { |
5588 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5589 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5590 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p."); |
5591 | return NULL; | |
5592 | } | |
5593 | } | |
5594 | { | |
5595 | if (!PyString_Check(_obj2)) { | |
5596 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5597 | return NULL; | |
5598 | } | |
cf694132 | 5599 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
d5c9047a | 5600 | } |
cf694132 RD |
5601 | { |
5602 | wxPy_BEGIN_ALLOW_THREADS; | |
5603 | wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2); | |
5604 | ||
5605 | wxPy_END_ALLOW_THREADS; | |
5606 | } Py_INCREF(Py_None); | |
d5c9047a RD |
5607 | _resultobj = Py_None; |
5608 | { | |
5609 | if (_obj2) | |
5610 | delete _arg2; | |
5611 | } | |
8ab979d7 RD |
5612 | return _resultobj; |
5613 | } | |
5614 | ||
694759cf | 5615 | #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2)) |
efc5f224 | 5616 | static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5617 | PyObject * _resultobj; |
f6bcfd97 | 5618 | wxPyTreeCtrl * _arg0; |
d5c9047a RD |
5619 | wxTreeItemId * _arg1; |
5620 | int _arg2; | |
694759cf | 5621 | wxTreeItemIcon _arg3 = (wxTreeItemIcon ) (wxTreeItemIcon_Normal); |
1d99702e RD |
5622 | PyObject * _argo0 = 0; |
5623 | PyObject * _argo1 = 0; | |
694759cf | 5624 | char *_kwnames[] = { "self","item","image","which", NULL }; |
8ab979d7 RD |
5625 | |
5626 | self = self; | |
694759cf | 5627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi|i:wxTreeCtrl_SetItemImage",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) |
8ab979d7 | 5628 | return NULL; |
1d99702e RD |
5629 | if (_argo0) { |
5630 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5631 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5632 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5633 | return NULL; |
5634 | } | |
5635 | } | |
1d99702e RD |
5636 | if (_argo1) { |
5637 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5638 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p."); |
5640 | return NULL; | |
5641 | } | |
5642 | } | |
cf694132 RD |
5643 | { |
5644 | wxPy_BEGIN_ALLOW_THREADS; | |
694759cf | 5645 | wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2,_arg3); |
cf694132 RD |
5646 | |
5647 | wxPy_END_ALLOW_THREADS; | |
5648 | } Py_INCREF(Py_None); | |
d5c9047a | 5649 | _resultobj = Py_None; |
8ab979d7 RD |
5650 | return _resultobj; |
5651 | } | |
5652 | ||
d5c9047a | 5653 | #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1)) |
efc5f224 | 5654 | static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5655 | PyObject * _resultobj; |
f6bcfd97 | 5656 | wxPyTreeCtrl * _arg0; |
d5c9047a RD |
5657 | wxTreeItemId * _arg1; |
5658 | int _arg2; | |
1d99702e RD |
5659 | PyObject * _argo0 = 0; |
5660 | PyObject * _argo1 = 0; | |
efc5f224 | 5661 | char *_kwnames[] = { "self","item","image", NULL }; |
8ab979d7 RD |
5662 | |
5663 | self = self; | |
efc5f224 | 5664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxTreeCtrl_SetItemSelectedImage",_kwnames,&_argo0,&_argo1,&_arg2)) |
8ab979d7 | 5665 | return NULL; |
1d99702e RD |
5666 | if (_argo0) { |
5667 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5668 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5669 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5670 | return NULL; |
5671 | } | |
5672 | } | |
1d99702e RD |
5673 | if (_argo1) { |
5674 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5675 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5676 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p."); |
5677 | return NULL; | |
5678 | } | |
5679 | } | |
cf694132 RD |
5680 | { |
5681 | wxPy_BEGIN_ALLOW_THREADS; | |
5682 | wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2); | |
5683 | ||
5684 | wxPy_END_ALLOW_THREADS; | |
5685 | } Py_INCREF(Py_None); | |
5686 | _resultobj = Py_None; | |
5687 | return _resultobj; | |
5688 | } | |
5689 | ||
5690 | #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1)) | |
efc5f224 | 5691 | static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 | 5692 | PyObject * _resultobj; |
f6bcfd97 | 5693 | wxPyTreeCtrl * _arg0; |
cf694132 | 5694 | wxTreeItemId * _arg1; |
1d99702e RD |
5695 | bool _arg2 = (bool ) TRUE; |
5696 | PyObject * _argo0 = 0; | |
5697 | PyObject * _argo1 = 0; | |
5698 | int tempbool2 = (int) TRUE; | |
efc5f224 | 5699 | char *_kwnames[] = { "self","item","hasChildren", NULL }; |
cf694132 RD |
5700 | |
5701 | self = self; | |
efc5f224 | 5702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemHasChildren",_kwnames,&_argo0,&_argo1,&tempbool2)) |
cf694132 | 5703 | return NULL; |
1d99702e RD |
5704 | if (_argo0) { |
5705 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5706 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5707 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxPyTreeCtrl_p."); | |
cf694132 RD |
5708 | return NULL; |
5709 | } | |
5710 | } | |
1d99702e RD |
5711 | if (_argo1) { |
5712 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5713 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
cf694132 RD |
5714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p."); |
5715 | return NULL; | |
5716 | } | |
5717 | } | |
5718 | _arg2 = (bool ) tempbool2; | |
5719 | { | |
5720 | wxPy_BEGIN_ALLOW_THREADS; | |
5721 | wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2); | |
5722 | ||
5723 | wxPy_END_ALLOW_THREADS; | |
5724 | } Py_INCREF(Py_None); | |
d5c9047a | 5725 | _resultobj = Py_None; |
8ab979d7 RD |
5726 | return _resultobj; |
5727 | } | |
5728 | ||
f6bcfd97 | 5729 | static wxPyTreeItemData * wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item) { |
cf694132 RD |
5730 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); |
5731 | if (data == NULL) { | |
5732 | data = new wxPyTreeItemData(); | |
f6bcfd97 | 5733 | data->SetId(item); // set the id |
cf694132 RD |
5734 | self->SetItemData(item, data); |
5735 | } | |
5736 | return data; | |
5737 | } | |
efc5f224 | 5738 | static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 RD |
5739 | PyObject * _resultobj; |
5740 | wxPyTreeItemData * _result; | |
f6bcfd97 | 5741 | wxPyTreeCtrl * _arg0; |
cf694132 | 5742 | wxTreeItemId * _arg1; |
1d99702e RD |
5743 | PyObject * _argo0 = 0; |
5744 | PyObject * _argo1 = 0; | |
efc5f224 | 5745 | char *_kwnames[] = { "self","item", NULL }; |
cf694132 RD |
5746 | char _ptemp[128]; |
5747 | ||
5748 | self = self; | |
efc5f224 | 5749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemData",_kwnames,&_argo0,&_argo1)) |
cf694132 | 5750 | return NULL; |
1d99702e RD |
5751 | if (_argo0) { |
5752 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5753 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5754 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxPyTreeCtrl_p."); | |
cf694132 RD |
5755 | return NULL; |
5756 | } | |
5757 | } | |
1d99702e RD |
5758 | if (_argo1) { |
5759 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5760 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
cf694132 RD |
5761 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p."); |
5762 | return NULL; | |
5763 | } | |
5764 | } | |
5765 | { | |
5766 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 5767 | _result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(_arg0,*_arg1); |
cf694132 RD |
5768 | |
5769 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
5770 | } if (_result) { |
5771 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTreeItemData_p"); | |
5772 | _resultobj = Py_BuildValue("s",_ptemp); | |
5773 | } else { | |
5774 | Py_INCREF(Py_None); | |
5775 | _resultobj = Py_None; | |
5776 | } | |
cf694132 RD |
5777 | return _resultobj; |
5778 | } | |
5779 | ||
f6bcfd97 BP |
5780 | static void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,const wxTreeItemId & item,wxPyTreeItemData * data) { |
5781 | data->SetId(item); // set the id | |
5782 | self->SetItemData(item, data); | |
cf694132 | 5783 | } |
efc5f224 | 5784 | static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5785 | PyObject * _resultobj; |
f6bcfd97 | 5786 | wxPyTreeCtrl * _arg0; |
d5c9047a | 5787 | wxTreeItemId * _arg1; |
cf694132 | 5788 | wxPyTreeItemData * _arg2; |
1d99702e RD |
5789 | PyObject * _argo0 = 0; |
5790 | PyObject * _argo1 = 0; | |
5791 | PyObject * _argo2 = 0; | |
efc5f224 | 5792 | char *_kwnames[] = { "self","item","data", NULL }; |
8ab979d7 RD |
5793 | |
5794 | self = self; | |
efc5f224 | 5795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemData",_kwnames,&_argo0,&_argo1,&_argo2)) |
8ab979d7 | 5796 | return NULL; |
1d99702e RD |
5797 | if (_argo0) { |
5798 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5799 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5800 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5801 | return NULL; |
5802 | } | |
5803 | } | |
1d99702e RD |
5804 | if (_argo1) { |
5805 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5806 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5807 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p."); |
5808 | return NULL; | |
5809 | } | |
5810 | } | |
1d99702e RD |
5811 | if (_argo2) { |
5812 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
5813 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyTreeItemData_p")) { | |
cf694132 | 5814 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxPyTreeItemData_p."); |
d5c9047a RD |
5815 | return NULL; |
5816 | } | |
5817 | } | |
cf694132 RD |
5818 | { |
5819 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 5820 | wxPyTreeCtrl_SetItemData(_arg0,*_arg1,_arg2); |
cf694132 RD |
5821 | |
5822 | wxPy_END_ALLOW_THREADS; | |
5823 | } Py_INCREF(Py_None); | |
d5c9047a | 5824 | _resultobj = Py_None; |
8ab979d7 RD |
5825 | return _resultobj; |
5826 | } | |
5827 | ||
f6bcfd97 | 5828 | static PyObject * wxPyTreeCtrl_GetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item) { |
cf694132 RD |
5829 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); |
5830 | if (data == NULL) { | |
5831 | data = new wxPyTreeItemData(); | |
f6bcfd97 | 5832 | data->SetId(item); // set the id |
cf694132 RD |
5833 | self->SetItemData(item, data); |
5834 | } | |
5835 | return data->GetData(); | |
5836 | } | |
efc5f224 | 5837 | static PyObject *_wrap_wxTreeCtrl_GetPyData(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 | 5838 | PyObject * _resultobj; |
cf694132 | 5839 | PyObject * _result; |
f6bcfd97 | 5840 | wxPyTreeCtrl * _arg0; |
08127323 | 5841 | wxTreeItemId * _arg1; |
1d99702e RD |
5842 | PyObject * _argo0 = 0; |
5843 | PyObject * _argo1 = 0; | |
efc5f224 | 5844 | char *_kwnames[] = { "self","item", NULL }; |
08127323 RD |
5845 | |
5846 | self = self; | |
efc5f224 | 5847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPyData",_kwnames,&_argo0,&_argo1)) |
08127323 | 5848 | return NULL; |
1d99702e RD |
5849 | if (_argo0) { |
5850 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5851 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5852 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPyData. Expected _wxPyTreeCtrl_p."); | |
08127323 RD |
5853 | return NULL; |
5854 | } | |
5855 | } | |
1d99702e RD |
5856 | if (_argo1) { |
5857 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5858 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
cf694132 | 5859 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPyData. Expected _wxTreeItemId_p."); |
08127323 RD |
5860 | return NULL; |
5861 | } | |
5862 | } | |
cf694132 RD |
5863 | { |
5864 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 5865 | _result = (PyObject *)wxPyTreeCtrl_GetPyData(_arg0,*_arg1); |
cf694132 RD |
5866 | |
5867 | wxPy_END_ALLOW_THREADS; | |
5868 | }{ | |
5869 | _resultobj = _result; | |
5870 | } | |
5871 | return _resultobj; | |
5872 | } | |
5873 | ||
f6bcfd97 | 5874 | static void wxPyTreeCtrl_SetPyData(wxPyTreeCtrl *self,const wxTreeItemId & item,PyObject * obj) { |
cf694132 RD |
5875 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); |
5876 | if (data == NULL) { | |
5877 | data = new wxPyTreeItemData(obj); | |
f6bcfd97 | 5878 | data->SetId(item); // set the id |
cf694132 RD |
5879 | self->SetItemData(item, data); |
5880 | } else | |
5881 | data->SetData(obj); | |
5882 | } | |
efc5f224 | 5883 | static PyObject *_wrap_wxTreeCtrl_SetPyData(PyObject *self, PyObject *args, PyObject *kwargs) { |
cf694132 | 5884 | PyObject * _resultobj; |
f6bcfd97 | 5885 | wxPyTreeCtrl * _arg0; |
cf694132 RD |
5886 | wxTreeItemId * _arg1; |
5887 | PyObject * _arg2; | |
1d99702e RD |
5888 | PyObject * _argo0 = 0; |
5889 | PyObject * _argo1 = 0; | |
cf694132 | 5890 | PyObject * _obj2 = 0; |
efc5f224 | 5891 | char *_kwnames[] = { "self","item","obj", NULL }; |
cf694132 RD |
5892 | |
5893 | self = self; | |
efc5f224 | 5894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetPyData",_kwnames,&_argo0,&_argo1,&_obj2)) |
cf694132 | 5895 | return NULL; |
1d99702e RD |
5896 | if (_argo0) { |
5897 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5898 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5899 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetPyData. Expected _wxPyTreeCtrl_p."); | |
cf694132 RD |
5900 | return NULL; |
5901 | } | |
5902 | } | |
1d99702e RD |
5903 | if (_argo1) { |
5904 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5905 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
cf694132 RD |
5906 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetPyData. Expected _wxTreeItemId_p."); |
5907 | return NULL; | |
5908 | } | |
5909 | } | |
5910 | { | |
5911 | _arg2 = _obj2; | |
5912 | } | |
5913 | { | |
5914 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 5915 | wxPyTreeCtrl_SetPyData(_arg0,*_arg1,_arg2); |
cf694132 RD |
5916 | |
5917 | wxPy_END_ALLOW_THREADS; | |
5918 | } Py_INCREF(Py_None); | |
08127323 RD |
5919 | _resultobj = Py_None; |
5920 | return _resultobj; | |
5921 | } | |
5922 | ||
d5c9047a | 5923 | #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0)) |
efc5f224 | 5924 | static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5925 | PyObject * _resultobj; |
d5c9047a | 5926 | bool _result; |
f6bcfd97 | 5927 | wxPyTreeCtrl * _arg0; |
d5c9047a | 5928 | wxTreeItemId * _arg1; |
1d99702e RD |
5929 | PyObject * _argo0 = 0; |
5930 | PyObject * _argo1 = 0; | |
efc5f224 | 5931 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
5932 | |
5933 | self = self; | |
efc5f224 | 5934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsVisible",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 5935 | return NULL; |
1d99702e RD |
5936 | if (_argo0) { |
5937 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5938 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5939 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5940 | return NULL; |
5941 | } | |
5942 | } | |
1d99702e RD |
5943 | if (_argo1) { |
5944 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5945 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5946 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p."); |
5947 | return NULL; | |
5948 | } | |
5949 | } | |
cf694132 RD |
5950 | { |
5951 | wxPy_BEGIN_ALLOW_THREADS; | |
5952 | _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1); | |
5953 | ||
5954 | wxPy_END_ALLOW_THREADS; | |
5955 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
5956 | return _resultobj; |
5957 | } | |
5958 | ||
d5c9047a | 5959 | #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0)) |
efc5f224 | 5960 | static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5961 | PyObject * _resultobj; |
d5c9047a | 5962 | bool _result; |
f6bcfd97 | 5963 | wxPyTreeCtrl * _arg0; |
d5c9047a | 5964 | wxTreeItemId * _arg1; |
1d99702e RD |
5965 | PyObject * _argo0 = 0; |
5966 | PyObject * _argo1 = 0; | |
efc5f224 | 5967 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
5968 | |
5969 | self = self; | |
efc5f224 | 5970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ItemHasChildren",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 5971 | return NULL; |
1d99702e RD |
5972 | if (_argo0) { |
5973 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
5974 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
5975 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
5976 | return NULL; |
5977 | } | |
5978 | } | |
1d99702e RD |
5979 | if (_argo1) { |
5980 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5981 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
5982 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p."); |
5983 | return NULL; | |
5984 | } | |
5985 | } | |
cf694132 RD |
5986 | { |
5987 | wxPy_BEGIN_ALLOW_THREADS; | |
5988 | _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1); | |
5989 | ||
5990 | wxPy_END_ALLOW_THREADS; | |
5991 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
5992 | return _resultobj; |
5993 | } | |
5994 | ||
d5c9047a | 5995 | #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0)) |
efc5f224 | 5996 | static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 5997 | PyObject * _resultobj; |
d5c9047a | 5998 | bool _result; |
f6bcfd97 | 5999 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6000 | wxTreeItemId * _arg1; |
1d99702e RD |
6001 | PyObject * _argo0 = 0; |
6002 | PyObject * _argo1 = 0; | |
efc5f224 | 6003 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
6004 | |
6005 | self = self; | |
efc5f224 | 6006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsExpanded",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 6007 | return NULL; |
1d99702e RD |
6008 | if (_argo0) { |
6009 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6010 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6011 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6012 | return NULL; |
6013 | } | |
6014 | } | |
1d99702e RD |
6015 | if (_argo1) { |
6016 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6017 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
6018 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p."); |
6019 | return NULL; | |
6020 | } | |
6021 | } | |
cf694132 RD |
6022 | { |
6023 | wxPy_BEGIN_ALLOW_THREADS; | |
6024 | _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1); | |
6025 | ||
6026 | wxPy_END_ALLOW_THREADS; | |
6027 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
6028 | return _resultobj; |
6029 | } | |
6030 | ||
d5c9047a | 6031 | #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0)) |
efc5f224 | 6032 | static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6033 | PyObject * _resultobj; |
d5c9047a | 6034 | bool _result; |
f6bcfd97 | 6035 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6036 | wxTreeItemId * _arg1; |
1d99702e RD |
6037 | PyObject * _argo0 = 0; |
6038 | PyObject * _argo1 = 0; | |
efc5f224 | 6039 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
6040 | |
6041 | self = self; | |
efc5f224 | 6042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsSelected",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 6043 | return NULL; |
1d99702e RD |
6044 | if (_argo0) { |
6045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6048 | return NULL; |
6049 | } | |
6050 | } | |
1d99702e RD |
6051 | if (_argo1) { |
6052 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6053 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
6054 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p."); |
6055 | return NULL; | |
6056 | } | |
6057 | } | |
cf694132 RD |
6058 | { |
6059 | wxPy_BEGIN_ALLOW_THREADS; | |
6060 | _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1); | |
6061 | ||
6062 | wxPy_END_ALLOW_THREADS; | |
6063 | } _resultobj = Py_BuildValue("i",_result); | |
8ab979d7 RD |
6064 | return _resultobj; |
6065 | } | |
6066 | ||
6067 | #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem()) | |
efc5f224 | 6068 | static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6069 | PyObject * _resultobj; |
d5c9047a | 6070 | wxTreeItemId * _result; |
f6bcfd97 | 6071 | wxPyTreeCtrl * _arg0; |
1d99702e | 6072 | PyObject * _argo0 = 0; |
efc5f224 | 6073 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 6074 | char _ptemp[128]; |
8ab979d7 RD |
6075 | |
6076 | self = self; | |
efc5f224 | 6077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetRootItem",_kwnames,&_argo0)) |
8ab979d7 | 6078 | return NULL; |
1d99702e RD |
6079 | if (_argo0) { |
6080 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6081 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6082 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6083 | return NULL; |
6084 | } | |
6085 | } | |
cf694132 RD |
6086 | { |
6087 | wxPy_BEGIN_ALLOW_THREADS; | |
6088 | _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0)); | |
6089 | ||
6090 | wxPy_END_ALLOW_THREADS; | |
6091 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6092 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
6093 | return _resultobj; |
6094 | } | |
6095 | ||
6096 | #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
efc5f224 | 6097 | static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6098 | PyObject * _resultobj; |
d5c9047a | 6099 | wxTreeItemId * _result; |
f6bcfd97 | 6100 | wxPyTreeCtrl * _arg0; |
1d99702e | 6101 | PyObject * _argo0 = 0; |
efc5f224 | 6102 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 6103 | char _ptemp[128]; |
8ab979d7 RD |
6104 | |
6105 | self = self; | |
efc5f224 | 6106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelection",_kwnames,&_argo0)) |
8ab979d7 | 6107 | return NULL; |
1d99702e RD |
6108 | if (_argo0) { |
6109 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6110 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6111 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6112 | return NULL; |
6113 | } | |
6114 | } | |
cf694132 RD |
6115 | { |
6116 | wxPy_BEGIN_ALLOW_THREADS; | |
6117 | _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0)); | |
6118 | ||
6119 | wxPy_END_ALLOW_THREADS; | |
6120 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6121 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
6122 | return _resultobj; |
6123 | } | |
6124 | ||
eb715945 RD |
6125 | #define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0)) |
6126 | static PyObject *_wrap_wxTreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8ab979d7 | 6127 | PyObject * _resultobj; |
d5c9047a | 6128 | wxTreeItemId * _result; |
f6bcfd97 | 6129 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6130 | wxTreeItemId * _arg1; |
1d99702e RD |
6131 | PyObject * _argo0 = 0; |
6132 | PyObject * _argo1 = 0; | |
efc5f224 | 6133 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a | 6134 | char _ptemp[128]; |
8ab979d7 RD |
6135 | |
6136 | self = self; | |
eb715945 | 6137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetItemParent",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 6138 | return NULL; |
1d99702e RD |
6139 | if (_argo0) { |
6140 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6141 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6142 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemParent. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6143 | return NULL; |
6144 | } | |
6145 | } | |
1d99702e RD |
6146 | if (_argo1) { |
6147 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6148 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
eb715945 | 6149 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemParent. Expected _wxTreeItemId_p."); |
8ab979d7 RD |
6150 | return NULL; |
6151 | } | |
6152 | } | |
cf694132 RD |
6153 | { |
6154 | wxPy_BEGIN_ALLOW_THREADS; | |
eb715945 | 6155 | _result = new wxTreeItemId (wxTreeCtrl_GetItemParent(_arg0,*_arg1)); |
cf694132 RD |
6156 | |
6157 | wxPy_END_ALLOW_THREADS; | |
6158 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6159 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
6160 | return _resultobj; |
6161 | } | |
6162 | ||
f6bcfd97 | 6163 | static PyObject * wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self) { |
26b9cf27 | 6164 | bool doSave = wxPyRestoreThread(); |
d426c97e RD |
6165 | PyObject* rval = PyList_New(0); |
6166 | wxArrayTreeItemIds array; | |
6167 | size_t num, x; | |
6168 | num = self->GetSelections(array); | |
6169 | for (x=0; x < num; x++) { | |
6170 | PyObject* item = wxPyConstructObject((void*)&array.Item(x), | |
6171 | "wxTreeItemId"); | |
6172 | PyList_Append(rval, item); | |
6173 | } | |
26b9cf27 | 6174 | wxPySaveThread(doSave); |
d426c97e RD |
6175 | return rval; |
6176 | } | |
6177 | static PyObject *_wrap_wxTreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6178 | PyObject * _resultobj; | |
6179 | PyObject * _result; | |
f6bcfd97 | 6180 | wxPyTreeCtrl * _arg0; |
d426c97e RD |
6181 | PyObject * _argo0 = 0; |
6182 | char *_kwnames[] = { "self", NULL }; | |
6183 | ||
6184 | self = self; | |
6185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetSelections",_kwnames,&_argo0)) | |
6186 | return NULL; | |
6187 | if (_argo0) { | |
6188 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6189 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelections. Expected _wxPyTreeCtrl_p."); | |
d426c97e RD |
6191 | return NULL; |
6192 | } | |
6193 | } | |
6194 | { | |
6195 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 6196 | _result = (PyObject *)wxPyTreeCtrl_GetSelections(_arg0); |
d426c97e RD |
6197 | |
6198 | wxPy_END_ALLOW_THREADS; | |
6199 | }{ | |
6200 | _resultobj = _result; | |
6201 | } | |
6202 | return _resultobj; | |
6203 | } | |
6204 | ||
bb0054cd | 6205 | #define wxTreeCtrl_GetChildrenCount(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetChildrenCount(_swigarg0,_swigarg1)) |
efc5f224 | 6206 | static PyObject *_wrap_wxTreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) { |
bb0054cd RD |
6207 | PyObject * _resultobj; |
6208 | size_t _result; | |
f6bcfd97 | 6209 | wxPyTreeCtrl * _arg0; |
bb0054cd | 6210 | wxTreeItemId * _arg1; |
1d99702e RD |
6211 | bool _arg2 = (bool ) TRUE; |
6212 | PyObject * _argo0 = 0; | |
6213 | PyObject * _argo1 = 0; | |
6214 | int tempbool2 = (int) TRUE; | |
efc5f224 | 6215 | char *_kwnames[] = { "self","item","recursively", NULL }; |
bb0054cd RD |
6216 | |
6217 | self = self; | |
efc5f224 | 6218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetChildrenCount",_kwnames,&_argo0,&_argo1,&tempbool2)) |
bb0054cd | 6219 | return NULL; |
1d99702e RD |
6220 | if (_argo0) { |
6221 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6222 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6223 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetChildrenCount. Expected _wxPyTreeCtrl_p."); | |
bb0054cd RD |
6224 | return NULL; |
6225 | } | |
6226 | } | |
1d99702e RD |
6227 | if (_argo1) { |
6228 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6229 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
bb0054cd RD |
6230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetChildrenCount. Expected _wxTreeItemId_p."); |
6231 | return NULL; | |
6232 | } | |
6233 | } | |
6234 | _arg2 = (bool ) tempbool2; | |
6235 | { | |
6236 | wxPy_BEGIN_ALLOW_THREADS; | |
6237 | _result = (size_t )wxTreeCtrl_GetChildrenCount(_arg0,*_arg1,_arg2); | |
6238 | ||
6239 | wxPy_END_ALLOW_THREADS; | |
6240 | } _resultobj = Py_BuildValue("i",_result); | |
6241 | return _resultobj; | |
6242 | } | |
6243 | ||
d5c9047a | 6244 | #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1)) |
efc5f224 | 6245 | static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6246 | PyObject * _resultobj; |
d5c9047a | 6247 | wxTreeItemId * _result; |
f6bcfd97 | 6248 | wxPyTreeCtrl * _arg0; |
d5c9047a RD |
6249 | wxTreeItemId * _arg1; |
6250 | long * _arg2; | |
1d99702e RD |
6251 | PyObject * _argo0 = 0; |
6252 | PyObject * _argo1 = 0; | |
d5c9047a RD |
6253 | long temp; |
6254 | PyObject * _obj2 = 0; | |
efc5f224 | 6255 | char *_kwnames[] = { "self","item","INOUT", NULL }; |
d5c9047a | 6256 | char _ptemp[128]; |
8ab979d7 RD |
6257 | |
6258 | self = self; | |
efc5f224 | 6259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetFirstChild",_kwnames,&_argo0,&_argo1,&_obj2)) |
8ab979d7 | 6260 | return NULL; |
1d99702e RD |
6261 | if (_argo0) { |
6262 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6263 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6264 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6265 | return NULL; |
6266 | } | |
6267 | } | |
1d99702e RD |
6268 | if (_argo1) { |
6269 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6270 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a | 6271 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p."); |
8ab979d7 RD |
6272 | return NULL; |
6273 | } | |
6274 | } | |
d5c9047a RD |
6275 | { |
6276 | temp = (long) PyInt_AsLong(_obj2); | |
6277 | _arg2 = &temp; | |
6278 | } | |
cf694132 RD |
6279 | { |
6280 | wxPy_BEGIN_ALLOW_THREADS; | |
6281 | _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2)); | |
6282 | ||
6283 | wxPy_END_ALLOW_THREADS; | |
6284 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a RD |
6285 | _resultobj = Py_BuildValue("s",_ptemp); |
6286 | { | |
6287 | PyObject *o; | |
6288 | o = PyInt_FromLong((long) (*_arg2)); | |
6289 | _resultobj = t_output_helper(_resultobj, o); | |
6290 | } | |
8ab979d7 RD |
6291 | return _resultobj; |
6292 | } | |
6293 | ||
d5c9047a | 6294 | #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1)) |
efc5f224 | 6295 | static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6296 | PyObject * _resultobj; |
d5c9047a | 6297 | wxTreeItemId * _result; |
f6bcfd97 | 6298 | wxPyTreeCtrl * _arg0; |
d5c9047a RD |
6299 | wxTreeItemId * _arg1; |
6300 | long * _arg2; | |
1d99702e RD |
6301 | PyObject * _argo0 = 0; |
6302 | PyObject * _argo1 = 0; | |
d5c9047a | 6303 | long temp; |
8ab979d7 | 6304 | PyObject * _obj2 = 0; |
efc5f224 | 6305 | char *_kwnames[] = { "self","item","INOUT", NULL }; |
d5c9047a | 6306 | char _ptemp[128]; |
8ab979d7 RD |
6307 | |
6308 | self = self; | |
efc5f224 | 6309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_GetNextChild",_kwnames,&_argo0,&_argo1,&_obj2)) |
8ab979d7 | 6310 | return NULL; |
1d99702e RD |
6311 | if (_argo0) { |
6312 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6313 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6315 | return NULL; |
6316 | } | |
6317 | } | |
1d99702e RD |
6318 | if (_argo1) { |
6319 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6320 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a | 6321 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p."); |
8ab979d7 | 6322 | return NULL; |
d5c9047a | 6323 | } |
8ab979d7 | 6324 | } |
d5c9047a RD |
6325 | { |
6326 | temp = (long) PyInt_AsLong(_obj2); | |
6327 | _arg2 = &temp; | |
8ab979d7 | 6328 | } |
cf694132 RD |
6329 | { |
6330 | wxPy_BEGIN_ALLOW_THREADS; | |
6331 | _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2)); | |
6332 | ||
6333 | wxPy_END_ALLOW_THREADS; | |
6334 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6335 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 | 6336 | { |
d5c9047a RD |
6337 | PyObject *o; |
6338 | o = PyInt_FromLong((long) (*_arg2)); | |
6339 | _resultobj = t_output_helper(_resultobj, o); | |
8ab979d7 RD |
6340 | } |
6341 | return _resultobj; | |
6342 | } | |
6343 | ||
d5c9047a | 6344 | #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0)) |
efc5f224 | 6345 | static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6346 | PyObject * _resultobj; |
d5c9047a | 6347 | wxTreeItemId * _result; |
f6bcfd97 | 6348 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6349 | wxTreeItemId * _arg1; |
1d99702e RD |
6350 | PyObject * _argo0 = 0; |
6351 | PyObject * _argo1 = 0; | |
efc5f224 | 6352 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a | 6353 | char _ptemp[128]; |
8ab979d7 RD |
6354 | |
6355 | self = self; | |
efc5f224 | 6356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextSibling",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 6357 | return NULL; |
1d99702e RD |
6358 | if (_argo0) { |
6359 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6360 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6361 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6362 | return NULL; |
6363 | } | |
6364 | } | |
1d99702e RD |
6365 | if (_argo1) { |
6366 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6367 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
6368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p."); |
6369 | return NULL; | |
6370 | } | |
6371 | } | |
cf694132 RD |
6372 | { |
6373 | wxPy_BEGIN_ALLOW_THREADS; | |
6374 | _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1)); | |
6375 | ||
6376 | wxPy_END_ALLOW_THREADS; | |
6377 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6378 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
6379 | return _resultobj; |
6380 | } | |
6381 | ||
d5c9047a | 6382 | #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0)) |
efc5f224 | 6383 | static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6384 | PyObject * _resultobj; |
d5c9047a | 6385 | wxTreeItemId * _result; |
f6bcfd97 | 6386 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6387 | wxTreeItemId * _arg1; |
1d99702e RD |
6388 | PyObject * _argo0 = 0; |
6389 | PyObject * _argo1 = 0; | |
efc5f224 | 6390 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a | 6391 | char _ptemp[128]; |
8ab979d7 RD |
6392 | |
6393 | self = self; | |
efc5f224 | 6394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevSibling",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 6395 | return NULL; |
1d99702e RD |
6396 | if (_argo0) { |
6397 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6398 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6399 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6400 | return NULL; |
6401 | } | |
6402 | } | |
1d99702e RD |
6403 | if (_argo1) { |
6404 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6405 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
6406 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p."); |
6407 | return NULL; | |
6408 | } | |
6409 | } | |
cf694132 RD |
6410 | { |
6411 | wxPy_BEGIN_ALLOW_THREADS; | |
6412 | _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1)); | |
6413 | ||
6414 | wxPy_END_ALLOW_THREADS; | |
6415 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6416 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
6417 | return _resultobj; |
6418 | } | |
6419 | ||
d5c9047a | 6420 | #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem()) |
efc5f224 | 6421 | static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6422 | PyObject * _resultobj; |
d5c9047a | 6423 | wxTreeItemId * _result; |
f6bcfd97 | 6424 | wxPyTreeCtrl * _arg0; |
1d99702e | 6425 | PyObject * _argo0 = 0; |
efc5f224 | 6426 | char *_kwnames[] = { "self", NULL }; |
d5c9047a | 6427 | char _ptemp[128]; |
8ab979d7 RD |
6428 | |
6429 | self = self; | |
efc5f224 | 6430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetFirstVisibleItem",_kwnames,&_argo0)) |
8ab979d7 | 6431 | return NULL; |
1d99702e RD |
6432 | if (_argo0) { |
6433 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6434 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6436 | return NULL; |
6437 | } | |
6438 | } | |
cf694132 RD |
6439 | { |
6440 | wxPy_BEGIN_ALLOW_THREADS; | |
6441 | _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0)); | |
6442 | ||
6443 | wxPy_END_ALLOW_THREADS; | |
6444 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6445 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
6446 | return _resultobj; |
6447 | } | |
6448 | ||
d5c9047a | 6449 | #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0)) |
efc5f224 | 6450 | static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6451 | PyObject * _resultobj; |
d5c9047a | 6452 | wxTreeItemId * _result; |
f6bcfd97 | 6453 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6454 | wxTreeItemId * _arg1; |
1d99702e RD |
6455 | PyObject * _argo0 = 0; |
6456 | PyObject * _argo1 = 0; | |
efc5f224 | 6457 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a | 6458 | char _ptemp[128]; |
8ab979d7 RD |
6459 | |
6460 | self = self; | |
efc5f224 | 6461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetNextVisible",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 6462 | return NULL; |
1d99702e RD |
6463 | if (_argo0) { |
6464 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6465 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6466 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6467 | return NULL; |
6468 | } | |
6469 | } | |
1d99702e RD |
6470 | if (_argo1) { |
6471 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6472 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
6473 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p."); |
6474 | return NULL; | |
6475 | } | |
6476 | } | |
cf694132 RD |
6477 | { |
6478 | wxPy_BEGIN_ALLOW_THREADS; | |
6479 | _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1)); | |
6480 | ||
6481 | wxPy_END_ALLOW_THREADS; | |
6482 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6483 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
6484 | return _resultobj; |
6485 | } | |
6486 | ||
d5c9047a | 6487 | #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0)) |
efc5f224 | 6488 | static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6489 | PyObject * _resultobj; |
d5c9047a | 6490 | wxTreeItemId * _result; |
f6bcfd97 | 6491 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6492 | wxTreeItemId * _arg1; |
1d99702e RD |
6493 | PyObject * _argo0 = 0; |
6494 | PyObject * _argo1 = 0; | |
efc5f224 | 6495 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a | 6496 | char _ptemp[128]; |
8ab979d7 RD |
6497 | |
6498 | self = self; | |
efc5f224 | 6499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetPrevVisible",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 6500 | return NULL; |
1d99702e RD |
6501 | if (_argo0) { |
6502 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6503 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6504 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6505 | return NULL; |
6506 | } | |
6507 | } | |
1d99702e RD |
6508 | if (_argo1) { |
6509 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6510 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a | 6511 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p."); |
8ab979d7 RD |
6512 | return NULL; |
6513 | } | |
6514 | } | |
cf694132 RD |
6515 | { |
6516 | wxPy_BEGIN_ALLOW_THREADS; | |
6517 | _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1)); | |
6518 | ||
6519 | wxPy_END_ALLOW_THREADS; | |
6520 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6521 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
6522 | return _resultobj; |
6523 | } | |
6524 | ||
d426c97e RD |
6525 | #define wxTreeCtrl_GetLastChild(_swigobj,_swigarg0) (_swigobj->GetLastChild(_swigarg0)) |
6526 | static PyObject *_wrap_wxTreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6527 | PyObject * _resultobj; | |
6528 | wxTreeItemId * _result; | |
f6bcfd97 | 6529 | wxPyTreeCtrl * _arg0; |
d426c97e RD |
6530 | wxTreeItemId * _arg1; |
6531 | PyObject * _argo0 = 0; | |
6532 | PyObject * _argo1 = 0; | |
6533 | char *_kwnames[] = { "self","item", NULL }; | |
6534 | char _ptemp[128]; | |
6535 | ||
6536 | self = self; | |
6537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_GetLastChild",_kwnames,&_argo0,&_argo1)) | |
6538 | return NULL; | |
6539 | if (_argo0) { | |
6540 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6541 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetLastChild. Expected _wxPyTreeCtrl_p."); | |
d426c97e RD |
6543 | return NULL; |
6544 | } | |
6545 | } | |
6546 | if (_argo1) { | |
6547 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6548 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
6549 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetLastChild. Expected _wxTreeItemId_p."); | |
6550 | return NULL; | |
6551 | } | |
6552 | } | |
6553 | { | |
6554 | wxPy_BEGIN_ALLOW_THREADS; | |
6555 | _result = new wxTreeItemId (wxTreeCtrl_GetLastChild(_arg0,*_arg1)); | |
6556 | ||
6557 | wxPy_END_ALLOW_THREADS; | |
6558 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
6559 | _resultobj = Py_BuildValue("s",_ptemp); | |
6560 | return _resultobj; | |
6561 | } | |
6562 | ||
d5c9047a | 6563 | #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) |
efc5f224 | 6564 | static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6565 | PyObject * _resultobj; |
d5c9047a | 6566 | wxTreeItemId * _result; |
f6bcfd97 | 6567 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6568 | wxString * _arg1; |
1d99702e RD |
6569 | int _arg2 = (int ) -1; |
6570 | int _arg3 = (int ) -1; | |
6571 | wxPyTreeItemData * _arg4 = (wxPyTreeItemData *) NULL; | |
6572 | PyObject * _argo0 = 0; | |
d5c9047a | 6573 | PyObject * _obj1 = 0; |
1d99702e | 6574 | PyObject * _argo4 = 0; |
efc5f224 | 6575 | char *_kwnames[] = { "self","text","image","selectedImage","data", NULL }; |
d5c9047a | 6576 | char _ptemp[128]; |
8ab979d7 RD |
6577 | |
6578 | self = self; | |
efc5f224 | 6579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|iiO:wxTreeCtrl_AddRoot",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3,&_argo4)) |
8ab979d7 | 6580 | return NULL; |
1d99702e RD |
6581 | if (_argo0) { |
6582 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6583 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6584 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6585 | return NULL; |
6586 | } | |
6587 | } | |
d5c9047a RD |
6588 | { |
6589 | if (!PyString_Check(_obj1)) { | |
6590 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6591 | return NULL; | |
6592 | } | |
cf694132 | 6593 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); |
d5c9047a | 6594 | } |
1d99702e RD |
6595 | if (_argo4) { |
6596 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
6597 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxPyTreeItemData_p")) { | |
cf694132 | 6598 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxPyTreeItemData_p."); |
8ab979d7 RD |
6599 | return NULL; |
6600 | } | |
6601 | } | |
cf694132 RD |
6602 | { |
6603 | wxPy_BEGIN_ALLOW_THREADS; | |
6604 | _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4)); | |
6605 | ||
6606 | wxPy_END_ALLOW_THREADS; | |
6607 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a RD |
6608 | _resultobj = Py_BuildValue("s",_ptemp); |
6609 | { | |
6610 | if (_obj1) | |
6611 | delete _arg1; | |
6612 | } | |
8ab979d7 RD |
6613 | return _resultobj; |
6614 | } | |
6615 | ||
d5c9047a | 6616 | #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) |
efc5f224 | 6617 | static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6618 | PyObject * _resultobj; |
d5c9047a | 6619 | wxTreeItemId * _result; |
f6bcfd97 | 6620 | wxPyTreeCtrl * _arg0; |
d5c9047a RD |
6621 | wxTreeItemId * _arg1; |
6622 | wxString * _arg2; | |
1d99702e RD |
6623 | int _arg3 = (int ) -1; |
6624 | int _arg4 = (int ) -1; | |
6625 | wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL; | |
6626 | PyObject * _argo0 = 0; | |
6627 | PyObject * _argo1 = 0; | |
d5c9047a | 6628 | PyObject * _obj2 = 0; |
1d99702e | 6629 | PyObject * _argo5 = 0; |
efc5f224 | 6630 | char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL }; |
d5c9047a | 6631 | char _ptemp[128]; |
8ab979d7 RD |
6632 | |
6633 | self = self; | |
efc5f224 | 6634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_PrependItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5)) |
8ab979d7 | 6635 | return NULL; |
1d99702e RD |
6636 | if (_argo0) { |
6637 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6638 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6640 | return NULL; |
6641 | } | |
6642 | } | |
1d99702e RD |
6643 | if (_argo1) { |
6644 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6645 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
6646 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p."); |
6647 | return NULL; | |
6648 | } | |
6649 | } | |
6650 | { | |
6651 | if (!PyString_Check(_obj2)) { | |
6652 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6653 | return NULL; | |
6654 | } | |
cf694132 | 6655 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
d5c9047a | 6656 | } |
1d99702e RD |
6657 | if (_argo5) { |
6658 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
6659 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) { | |
cf694132 | 6660 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxPyTreeItemData_p."); |
d5c9047a RD |
6661 | return NULL; |
6662 | } | |
6663 | } | |
cf694132 RD |
6664 | { |
6665 | wxPy_BEGIN_ALLOW_THREADS; | |
6666 | _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5)); | |
6667 | ||
6668 | wxPy_END_ALLOW_THREADS; | |
6669 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a RD |
6670 | _resultobj = Py_BuildValue("s",_ptemp); |
6671 | { | |
6672 | if (_obj2) | |
6673 | delete _arg2; | |
6674 | } | |
8ab979d7 RD |
6675 | return _resultobj; |
6676 | } | |
6677 | ||
d5c9047a | 6678 | #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
efc5f224 | 6679 | static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6680 | PyObject * _resultobj; |
d5c9047a | 6681 | wxTreeItemId * _result; |
f6bcfd97 | 6682 | wxPyTreeCtrl * _arg0; |
d5c9047a RD |
6683 | wxTreeItemId * _arg1; |
6684 | wxTreeItemId * _arg2; | |
6685 | wxString * _arg3; | |
1d99702e RD |
6686 | int _arg4 = (int ) -1; |
6687 | int _arg5 = (int ) -1; | |
6688 | wxPyTreeItemData * _arg6 = (wxPyTreeItemData *) NULL; | |
6689 | PyObject * _argo0 = 0; | |
6690 | PyObject * _argo1 = 0; | |
6691 | PyObject * _argo2 = 0; | |
d5c9047a | 6692 | PyObject * _obj3 = 0; |
1d99702e | 6693 | PyObject * _argo6 = 0; |
efc5f224 | 6694 | char *_kwnames[] = { "self","parent","idPrevious","text","image","selectedImage","data", NULL }; |
d5c9047a | 6695 | char _ptemp[128]; |
8ab979d7 RD |
6696 | |
6697 | self = self; | |
efc5f224 | 6698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO|iiO:wxTreeCtrl_InsertItem",_kwnames,&_argo0,&_argo1,&_argo2,&_obj3,&_arg4,&_arg5,&_argo6)) |
8ab979d7 | 6699 | return NULL; |
1d99702e RD |
6700 | if (_argo0) { |
6701 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6702 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6703 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6704 | return NULL; |
6705 | } | |
6706 | } | |
1d99702e RD |
6707 | if (_argo1) { |
6708 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6709 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
6710 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p."); |
6711 | return NULL; | |
6712 | } | |
6713 | } | |
1d99702e RD |
6714 | if (_argo2) { |
6715 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
6716 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxTreeItemId_p")) { | |
d5c9047a RD |
6717 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p."); |
6718 | return NULL; | |
6719 | } | |
6720 | } | |
6721 | { | |
6722 | if (!PyString_Check(_obj3)) { | |
6723 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6724 | return NULL; | |
6725 | } | |
cf694132 | 6726 | _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3)); |
d5c9047a | 6727 | } |
1d99702e RD |
6728 | if (_argo6) { |
6729 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
6730 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyTreeItemData_p")) { | |
cf694132 | 6731 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxPyTreeItemData_p."); |
d5c9047a RD |
6732 | return NULL; |
6733 | } | |
6734 | } | |
cf694132 RD |
6735 | { |
6736 | wxPy_BEGIN_ALLOW_THREADS; | |
6737 | _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6)); | |
6738 | ||
6739 | wxPy_END_ALLOW_THREADS; | |
6740 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a RD |
6741 | _resultobj = Py_BuildValue("s",_ptemp); |
6742 | { | |
6743 | if (_obj3) | |
6744 | delete _arg3; | |
6745 | } | |
8ab979d7 RD |
6746 | return _resultobj; |
6747 | } | |
6748 | ||
f6bcfd97 BP |
6749 | #define wxTreeCtrl_InsertItemBefore(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
6750 | static PyObject *_wrap_wxTreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6751 | PyObject * _resultobj; | |
6752 | wxTreeItemId * _result; | |
6753 | wxPyTreeCtrl * _arg0; | |
6754 | wxTreeItemId * _arg1; | |
6755 | size_t _arg2; | |
6756 | wxString * _arg3; | |
6757 | int _arg4 = (int ) -1; | |
6758 | int _arg5 = (int ) -1; | |
6759 | wxTreeItemData * _arg6 = (wxTreeItemData *) NULL; | |
6760 | PyObject * _argo0 = 0; | |
6761 | PyObject * _argo1 = 0; | |
6762 | PyObject * _obj3 = 0; | |
6763 | PyObject * _argo6 = 0; | |
6764 | char *_kwnames[] = { "self","parent","before","text","image","selectedImage","data", NULL }; | |
6765 | char _ptemp[128]; | |
6766 | ||
6767 | self = self; | |
6768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOiO|iiO:wxTreeCtrl_InsertItemBefore",_kwnames,&_argo0,&_argo1,&_arg2,&_obj3,&_arg4,&_arg5,&_argo6)) | |
6769 | return NULL; | |
6770 | if (_argo0) { | |
6771 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6772 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { | |
6773 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItemBefore. Expected _wxPyTreeCtrl_p."); | |
6774 | return NULL; | |
6775 | } | |
6776 | } | |
6777 | if (_argo1) { | |
6778 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6779 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
6780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemId_p."); | |
6781 | return NULL; | |
6782 | } | |
6783 | } | |
6784 | { | |
6785 | if (!PyString_Check(_obj3)) { | |
6786 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6787 | return NULL; | |
6788 | } | |
6789 | _arg3 = new wxString(PyString_AsString(_obj3), PyString_Size(_obj3)); | |
6790 | } | |
6791 | if (_argo6) { | |
6792 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
6793 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxTreeItemData_p")) { | |
6794 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItemBefore. Expected _wxTreeItemData_p."); | |
6795 | return NULL; | |
6796 | } | |
6797 | } | |
6798 | { | |
6799 | wxPy_BEGIN_ALLOW_THREADS; | |
6800 | _result = new wxTreeItemId (wxTreeCtrl_InsertItemBefore(_arg0,*_arg1,_arg2,*_arg3,_arg4,_arg5,_arg6)); | |
6801 | ||
6802 | wxPy_END_ALLOW_THREADS; | |
6803 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
6804 | _resultobj = Py_BuildValue("s",_ptemp); | |
6805 | { | |
6806 | if (_obj3) | |
6807 | delete _arg3; | |
6808 | } | |
6809 | return _resultobj; | |
6810 | } | |
6811 | ||
d5c9047a | 6812 | #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) |
efc5f224 | 6813 | static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6814 | PyObject * _resultobj; |
d5c9047a | 6815 | wxTreeItemId * _result; |
f6bcfd97 | 6816 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6817 | wxTreeItemId * _arg1; |
8ab979d7 | 6818 | wxString * _arg2; |
1d99702e RD |
6819 | int _arg3 = (int ) -1; |
6820 | int _arg4 = (int ) -1; | |
6821 | wxPyTreeItemData * _arg5 = (wxPyTreeItemData *) NULL; | |
6822 | PyObject * _argo0 = 0; | |
6823 | PyObject * _argo1 = 0; | |
8ab979d7 | 6824 | PyObject * _obj2 = 0; |
1d99702e | 6825 | PyObject * _argo5 = 0; |
efc5f224 | 6826 | char *_kwnames[] = { "self","parent","text","image","selectedImage","data", NULL }; |
d5c9047a | 6827 | char _ptemp[128]; |
8ab979d7 RD |
6828 | |
6829 | self = self; | |
efc5f224 | 6830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiO:wxTreeCtrl_AppendItem",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3,&_arg4,&_argo5)) |
8ab979d7 | 6831 | return NULL; |
1d99702e RD |
6832 | if (_argo0) { |
6833 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6834 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6835 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
6836 | return NULL; |
6837 | } | |
6838 | } | |
1d99702e RD |
6839 | if (_argo1) { |
6840 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6841 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a | 6842 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p."); |
8ab979d7 RD |
6843 | return NULL; |
6844 | } | |
6845 | } | |
6846 | { | |
6847 | if (!PyString_Check(_obj2)) { | |
6848 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
6849 | return NULL; | |
6850 | } | |
cf694132 | 6851 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); |
8ab979d7 | 6852 | } |
1d99702e RD |
6853 | if (_argo5) { |
6854 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
6855 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyTreeItemData_p")) { | |
cf694132 | 6856 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxPyTreeItemData_p."); |
d5c9047a RD |
6857 | return NULL; |
6858 | } | |
6859 | } | |
cf694132 RD |
6860 | { |
6861 | wxPy_BEGIN_ALLOW_THREADS; | |
6862 | _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5)); | |
6863 | ||
6864 | wxPy_END_ALLOW_THREADS; | |
6865 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
d5c9047a | 6866 | _resultobj = Py_BuildValue("s",_ptemp); |
8ab979d7 RD |
6867 | { |
6868 | if (_obj2) | |
6869 | delete _arg2; | |
6870 | } | |
6871 | return _resultobj; | |
6872 | } | |
6873 | ||
d5c9047a | 6874 | #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0)) |
efc5f224 | 6875 | static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) { |
8ab979d7 | 6876 | PyObject * _resultobj; |
f6bcfd97 | 6877 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6878 | wxTreeItemId * _arg1; |
1d99702e RD |
6879 | PyObject * _argo0 = 0; |
6880 | PyObject * _argo1 = 0; | |
efc5f224 | 6881 | char *_kwnames[] = { "self","item", NULL }; |
8ab979d7 RD |
6882 | |
6883 | self = self; | |
efc5f224 | 6884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Delete",_kwnames,&_argo0,&_argo1)) |
8ab979d7 | 6885 | return NULL; |
1d99702e RD |
6886 | if (_argo0) { |
6887 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6888 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6889 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxPyTreeCtrl_p."); | |
8ab979d7 RD |
6890 | return NULL; |
6891 | } | |
6892 | } | |
1d99702e RD |
6893 | if (_argo1) { |
6894 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6895 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
6896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p."); |
6897 | return NULL; | |
6898 | } | |
6899 | } | |
cf694132 RD |
6900 | { |
6901 | wxPy_BEGIN_ALLOW_THREADS; | |
6902 | wxTreeCtrl_Delete(_arg0,*_arg1); | |
6903 | ||
6904 | wxPy_END_ALLOW_THREADS; | |
6905 | } Py_INCREF(Py_None); | |
d5c9047a RD |
6906 | _resultobj = Py_None; |
6907 | return _resultobj; | |
6908 | } | |
6909 | ||
08127323 | 6910 | #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0)) |
efc5f224 | 6911 | static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) { |
08127323 | 6912 | PyObject * _resultobj; |
f6bcfd97 | 6913 | wxPyTreeCtrl * _arg0; |
08127323 | 6914 | wxTreeItemId * _arg1; |
1d99702e RD |
6915 | PyObject * _argo0 = 0; |
6916 | PyObject * _argo1 = 0; | |
efc5f224 | 6917 | char *_kwnames[] = { "self","item", NULL }; |
08127323 RD |
6918 | |
6919 | self = self; | |
efc5f224 | 6920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_DeleteChildren",_kwnames,&_argo0,&_argo1)) |
08127323 | 6921 | return NULL; |
1d99702e RD |
6922 | if (_argo0) { |
6923 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6924 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6925 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxPyTreeCtrl_p."); | |
08127323 RD |
6926 | return NULL; |
6927 | } | |
6928 | } | |
1d99702e RD |
6929 | if (_argo1) { |
6930 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6931 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
08127323 RD |
6932 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p."); |
6933 | return NULL; | |
6934 | } | |
6935 | } | |
cf694132 RD |
6936 | { |
6937 | wxPy_BEGIN_ALLOW_THREADS; | |
6938 | wxTreeCtrl_DeleteChildren(_arg0,*_arg1); | |
6939 | ||
6940 | wxPy_END_ALLOW_THREADS; | |
6941 | } Py_INCREF(Py_None); | |
08127323 RD |
6942 | _resultobj = Py_None; |
6943 | return _resultobj; | |
6944 | } | |
6945 | ||
d5c9047a | 6946 | #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems()) |
efc5f224 | 6947 | static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 6948 | PyObject * _resultobj; |
f6bcfd97 | 6949 | wxPyTreeCtrl * _arg0; |
1d99702e | 6950 | PyObject * _argo0 = 0; |
efc5f224 | 6951 | char *_kwnames[] = { "self", NULL }; |
d5c9047a RD |
6952 | |
6953 | self = self; | |
efc5f224 | 6954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_DeleteAllItems",_kwnames,&_argo0)) |
d5c9047a | 6955 | return NULL; |
1d99702e RD |
6956 | if (_argo0) { |
6957 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6958 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
6960 | return NULL; |
6961 | } | |
6962 | } | |
cf694132 RD |
6963 | { |
6964 | wxPy_BEGIN_ALLOW_THREADS; | |
6965 | wxTreeCtrl_DeleteAllItems(_arg0); | |
6966 | ||
6967 | wxPy_END_ALLOW_THREADS; | |
6968 | } Py_INCREF(Py_None); | |
d5c9047a RD |
6969 | _resultobj = Py_None; |
6970 | return _resultobj; | |
6971 | } | |
6972 | ||
6973 | #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0)) | |
efc5f224 | 6974 | static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 6975 | PyObject * _resultobj; |
f6bcfd97 | 6976 | wxPyTreeCtrl * _arg0; |
d5c9047a | 6977 | wxTreeItemId * _arg1; |
1d99702e RD |
6978 | PyObject * _argo0 = 0; |
6979 | PyObject * _argo1 = 0; | |
efc5f224 | 6980 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
6981 | |
6982 | self = self; | |
efc5f224 | 6983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Expand",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 6984 | return NULL; |
1d99702e RD |
6985 | if (_argo0) { |
6986 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
6987 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
6988 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
6989 | return NULL; |
6990 | } | |
6991 | } | |
1d99702e RD |
6992 | if (_argo1) { |
6993 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6994 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
6995 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p."); |
6996 | return NULL; | |
6997 | } | |
6998 | } | |
cf694132 RD |
6999 | { |
7000 | wxPy_BEGIN_ALLOW_THREADS; | |
7001 | wxTreeCtrl_Expand(_arg0,*_arg1); | |
7002 | ||
7003 | wxPy_END_ALLOW_THREADS; | |
7004 | } Py_INCREF(Py_None); | |
d5c9047a RD |
7005 | _resultobj = Py_None; |
7006 | return _resultobj; | |
7007 | } | |
7008 | ||
7009 | #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0)) | |
efc5f224 | 7010 | static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 7011 | PyObject * _resultobj; |
f6bcfd97 | 7012 | wxPyTreeCtrl * _arg0; |
d5c9047a | 7013 | wxTreeItemId * _arg1; |
1d99702e RD |
7014 | PyObject * _argo0 = 0; |
7015 | PyObject * _argo1 = 0; | |
efc5f224 | 7016 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
7017 | |
7018 | self = self; | |
efc5f224 | 7019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Collapse",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 7020 | return NULL; |
1d99702e RD |
7021 | if (_argo0) { |
7022 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7023 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7024 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
7025 | return NULL; |
7026 | } | |
7027 | } | |
1d99702e RD |
7028 | if (_argo1) { |
7029 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7030 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
7031 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p."); |
7032 | return NULL; | |
7033 | } | |
7034 | } | |
cf694132 RD |
7035 | { |
7036 | wxPy_BEGIN_ALLOW_THREADS; | |
7037 | wxTreeCtrl_Collapse(_arg0,*_arg1); | |
7038 | ||
7039 | wxPy_END_ALLOW_THREADS; | |
7040 | } Py_INCREF(Py_None); | |
d5c9047a RD |
7041 | _resultobj = Py_None; |
7042 | return _resultobj; | |
7043 | } | |
7044 | ||
7045 | #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0)) | |
efc5f224 | 7046 | static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 7047 | PyObject * _resultobj; |
f6bcfd97 | 7048 | wxPyTreeCtrl * _arg0; |
d5c9047a | 7049 | wxTreeItemId * _arg1; |
1d99702e RD |
7050 | PyObject * _argo0 = 0; |
7051 | PyObject * _argo1 = 0; | |
efc5f224 | 7052 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
7053 | |
7054 | self = self; | |
efc5f224 | 7055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_CollapseAndReset",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 7056 | return NULL; |
1d99702e RD |
7057 | if (_argo0) { |
7058 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7059 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7060 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
7061 | return NULL; |
7062 | } | |
7063 | } | |
1d99702e RD |
7064 | if (_argo1) { |
7065 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7066 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
7067 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p."); |
7068 | return NULL; | |
7069 | } | |
7070 | } | |
cf694132 RD |
7071 | { |
7072 | wxPy_BEGIN_ALLOW_THREADS; | |
7073 | wxTreeCtrl_CollapseAndReset(_arg0,*_arg1); | |
7074 | ||
7075 | wxPy_END_ALLOW_THREADS; | |
7076 | } Py_INCREF(Py_None); | |
d5c9047a RD |
7077 | _resultobj = Py_None; |
7078 | return _resultobj; | |
7079 | } | |
7080 | ||
7081 | #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0)) | |
efc5f224 | 7082 | static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 7083 | PyObject * _resultobj; |
f6bcfd97 | 7084 | wxPyTreeCtrl * _arg0; |
d5c9047a | 7085 | wxTreeItemId * _arg1; |
1d99702e RD |
7086 | PyObject * _argo0 = 0; |
7087 | PyObject * _argo1 = 0; | |
efc5f224 | 7088 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
7089 | |
7090 | self = self; | |
efc5f224 | 7091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_Toggle",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 7092 | return NULL; |
1d99702e RD |
7093 | if (_argo0) { |
7094 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7095 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7096 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
7097 | return NULL; |
7098 | } | |
7099 | } | |
1d99702e RD |
7100 | if (_argo1) { |
7101 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7102 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
7103 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p."); |
7104 | return NULL; | |
7105 | } | |
7106 | } | |
cf694132 RD |
7107 | { |
7108 | wxPy_BEGIN_ALLOW_THREADS; | |
7109 | wxTreeCtrl_Toggle(_arg0,*_arg1); | |
7110 | ||
7111 | wxPy_END_ALLOW_THREADS; | |
7112 | } Py_INCREF(Py_None); | |
d5c9047a RD |
7113 | _resultobj = Py_None; |
7114 | return _resultobj; | |
7115 | } | |
7116 | ||
7117 | #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect()) | |
efc5f224 | 7118 | static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 7119 | PyObject * _resultobj; |
f6bcfd97 | 7120 | wxPyTreeCtrl * _arg0; |
1d99702e | 7121 | PyObject * _argo0 = 0; |
efc5f224 | 7122 | char *_kwnames[] = { "self", NULL }; |
d5c9047a RD |
7123 | |
7124 | self = self; | |
efc5f224 | 7125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_Unselect",_kwnames,&_argo0)) |
d5c9047a | 7126 | return NULL; |
1d99702e RD |
7127 | if (_argo0) { |
7128 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7129 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7130 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
7131 | return NULL; |
7132 | } | |
7133 | } | |
cf694132 RD |
7134 | { |
7135 | wxPy_BEGIN_ALLOW_THREADS; | |
7136 | wxTreeCtrl_Unselect(_arg0); | |
7137 | ||
7138 | wxPy_END_ALLOW_THREADS; | |
7139 | } Py_INCREF(Py_None); | |
d5c9047a RD |
7140 | _resultobj = Py_None; |
7141 | return _resultobj; | |
7142 | } | |
7143 | ||
8bf5d46e | 7144 | #define wxTreeCtrl_UnselectAll(_swigobj) (_swigobj->UnselectAll()) |
efc5f224 | 7145 | static PyObject *_wrap_wxTreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) { |
8bf5d46e | 7146 | PyObject * _resultobj; |
f6bcfd97 | 7147 | wxPyTreeCtrl * _arg0; |
1d99702e | 7148 | PyObject * _argo0 = 0; |
efc5f224 | 7149 | char *_kwnames[] = { "self", NULL }; |
8bf5d46e RD |
7150 | |
7151 | self = self; | |
efc5f224 | 7152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_UnselectAll",_kwnames,&_argo0)) |
8bf5d46e | 7153 | return NULL; |
1d99702e RD |
7154 | if (_argo0) { |
7155 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7156 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_UnselectAll. Expected _wxPyTreeCtrl_p."); | |
8bf5d46e RD |
7158 | return NULL; |
7159 | } | |
7160 | } | |
7161 | { | |
7162 | wxPy_BEGIN_ALLOW_THREADS; | |
7163 | wxTreeCtrl_UnselectAll(_arg0); | |
7164 | ||
7165 | wxPy_END_ALLOW_THREADS; | |
7166 | } Py_INCREF(Py_None); | |
7167 | _resultobj = Py_None; | |
7168 | return _resultobj; | |
7169 | } | |
7170 | ||
d5c9047a | 7171 | #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0)) |
efc5f224 | 7172 | static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 7173 | PyObject * _resultobj; |
f6bcfd97 | 7174 | wxPyTreeCtrl * _arg0; |
d5c9047a | 7175 | wxTreeItemId * _arg1; |
1d99702e RD |
7176 | PyObject * _argo0 = 0; |
7177 | PyObject * _argo1 = 0; | |
efc5f224 | 7178 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
7179 | |
7180 | self = self; | |
efc5f224 | 7181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SelectItem",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 7182 | return NULL; |
1d99702e RD |
7183 | if (_argo0) { |
7184 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7185 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7186 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
7187 | return NULL; |
7188 | } | |
7189 | } | |
1d99702e RD |
7190 | if (_argo1) { |
7191 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7192 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
7193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p."); |
7194 | return NULL; | |
7195 | } | |
7196 | } | |
cf694132 RD |
7197 | { |
7198 | wxPy_BEGIN_ALLOW_THREADS; | |
7199 | wxTreeCtrl_SelectItem(_arg0,*_arg1); | |
7200 | ||
7201 | wxPy_END_ALLOW_THREADS; | |
7202 | } Py_INCREF(Py_None); | |
d5c9047a RD |
7203 | _resultobj = Py_None; |
7204 | return _resultobj; | |
7205 | } | |
7206 | ||
7207 | #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0)) | |
efc5f224 | 7208 | static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 7209 | PyObject * _resultobj; |
f6bcfd97 | 7210 | wxPyTreeCtrl * _arg0; |
d5c9047a | 7211 | wxTreeItemId * _arg1; |
1d99702e RD |
7212 | PyObject * _argo0 = 0; |
7213 | PyObject * _argo1 = 0; | |
efc5f224 | 7214 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
7215 | |
7216 | self = self; | |
efc5f224 | 7217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EnsureVisible",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 7218 | return NULL; |
1d99702e RD |
7219 | if (_argo0) { |
7220 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7221 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7222 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
7223 | return NULL; |
7224 | } | |
7225 | } | |
1d99702e RD |
7226 | if (_argo1) { |
7227 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7228 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
7229 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p."); |
7230 | return NULL; | |
7231 | } | |
7232 | } | |
cf694132 RD |
7233 | { |
7234 | wxPy_BEGIN_ALLOW_THREADS; | |
7235 | wxTreeCtrl_EnsureVisible(_arg0,*_arg1); | |
7236 | ||
7237 | wxPy_END_ALLOW_THREADS; | |
7238 | } Py_INCREF(Py_None); | |
d5c9047a RD |
7239 | _resultobj = Py_None; |
7240 | return _resultobj; | |
7241 | } | |
7242 | ||
7243 | #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0)) | |
efc5f224 | 7244 | static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 7245 | PyObject * _resultobj; |
f6bcfd97 | 7246 | wxPyTreeCtrl * _arg0; |
d5c9047a | 7247 | wxTreeItemId * _arg1; |
1d99702e RD |
7248 | PyObject * _argo0 = 0; |
7249 | PyObject * _argo1 = 0; | |
efc5f224 | 7250 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
7251 | |
7252 | self = self; | |
efc5f224 | 7253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_ScrollTo",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 7254 | return NULL; |
1d99702e RD |
7255 | if (_argo0) { |
7256 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7257 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
7259 | return NULL; |
7260 | } | |
7261 | } | |
1d99702e RD |
7262 | if (_argo1) { |
7263 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7264 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
7265 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p."); |
7266 | return NULL; | |
7267 | } | |
7268 | } | |
cf694132 RD |
7269 | { |
7270 | wxPy_BEGIN_ALLOW_THREADS; | |
7271 | wxTreeCtrl_ScrollTo(_arg0,*_arg1); | |
7272 | ||
7273 | wxPy_END_ALLOW_THREADS; | |
7274 | } Py_INCREF(Py_None); | |
d5c9047a RD |
7275 | _resultobj = Py_None; |
7276 | return _resultobj; | |
7277 | } | |
7278 | ||
7279 | #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0)) | |
efc5f224 | 7280 | static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a RD |
7281 | PyObject * _resultobj; |
7282 | wxTextCtrl * _result; | |
f6bcfd97 | 7283 | wxPyTreeCtrl * _arg0; |
d5c9047a | 7284 | wxTreeItemId * _arg1; |
1d99702e RD |
7285 | PyObject * _argo0 = 0; |
7286 | PyObject * _argo1 = 0; | |
efc5f224 | 7287 | char *_kwnames[] = { "self","item", NULL }; |
d5c9047a RD |
7288 | char _ptemp[128]; |
7289 | ||
7290 | self = self; | |
efc5f224 | 7291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_EditLabel",_kwnames,&_argo0,&_argo1)) |
d5c9047a | 7292 | return NULL; |
1d99702e RD |
7293 | if (_argo0) { |
7294 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7295 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7296 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
7297 | return NULL; |
7298 | } | |
7299 | } | |
1d99702e RD |
7300 | if (_argo1) { |
7301 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7302 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
7303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p."); |
7304 | return NULL; | |
7305 | } | |
7306 | } | |
cf694132 RD |
7307 | { |
7308 | wxPy_BEGIN_ALLOW_THREADS; | |
7309 | _result = (wxTextCtrl *)wxTreeCtrl_EditLabel(_arg0,*_arg1); | |
7310 | ||
7311 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
7312 | } if (_result) { |
7313 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p"); | |
7314 | _resultobj = Py_BuildValue("s",_ptemp); | |
7315 | } else { | |
7316 | Py_INCREF(Py_None); | |
7317 | _resultobj = Py_None; | |
7318 | } | |
d5c9047a RD |
7319 | return _resultobj; |
7320 | } | |
7321 | ||
7322 | #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl()) | |
efc5f224 | 7323 | static PyObject *_wrap_wxTreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a RD |
7324 | PyObject * _resultobj; |
7325 | wxTextCtrl * _result; | |
f6bcfd97 | 7326 | wxPyTreeCtrl * _arg0; |
1d99702e | 7327 | PyObject * _argo0 = 0; |
efc5f224 | 7328 | char *_kwnames[] = { "self", NULL }; |
d5c9047a RD |
7329 | char _ptemp[128]; |
7330 | ||
7331 | self = self; | |
efc5f224 | 7332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxTreeCtrl_GetEditControl",_kwnames,&_argo0)) |
d5c9047a | 7333 | return NULL; |
1d99702e RD |
7334 | if (_argo0) { |
7335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
7338 | return NULL; |
7339 | } | |
7340 | } | |
cf694132 RD |
7341 | { |
7342 | wxPy_BEGIN_ALLOW_THREADS; | |
7343 | _result = (wxTextCtrl *)wxTreeCtrl_GetEditControl(_arg0); | |
7344 | ||
7345 | wxPy_END_ALLOW_THREADS; | |
1d99702e RD |
7346 | } if (_result) { |
7347 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p"); | |
7348 | _resultobj = Py_BuildValue("s",_ptemp); | |
7349 | } else { | |
7350 | Py_INCREF(Py_None); | |
7351 | _resultobj = Py_None; | |
7352 | } | |
d5c9047a RD |
7353 | return _resultobj; |
7354 | } | |
7355 | ||
7356 | #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1)) | |
efc5f224 | 7357 | static PyObject *_wrap_wxTreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) { |
d5c9047a | 7358 | PyObject * _resultobj; |
f6bcfd97 | 7359 | wxPyTreeCtrl * _arg0; |
d5c9047a | 7360 | wxTreeItemId * _arg1; |
b1462dfa | 7361 | int _arg2 = (int ) FALSE; |
1d99702e RD |
7362 | PyObject * _argo0 = 0; |
7363 | PyObject * _argo1 = 0; | |
efc5f224 | 7364 | char *_kwnames[] = { "self","item","discardChanges", NULL }; |
d5c9047a RD |
7365 | |
7366 | self = self; | |
b1462dfa | 7367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_EndEditLabel",_kwnames,&_argo0,&_argo1,&_arg2)) |
d5c9047a | 7368 | return NULL; |
1d99702e RD |
7369 | if (_argo0) { |
7370 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7371 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7372 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxPyTreeCtrl_p."); | |
d5c9047a RD |
7373 | return NULL; |
7374 | } | |
7375 | } | |
1d99702e RD |
7376 | if (_argo1) { |
7377 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7378 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
d5c9047a RD |
7379 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p."); |
7380 | return NULL; | |
7381 | } | |
7382 | } | |
cf694132 RD |
7383 | { |
7384 | wxPy_BEGIN_ALLOW_THREADS; | |
7385 | wxTreeCtrl_EndEditLabel(_arg0,*_arg1,_arg2); | |
7386 | ||
7387 | wxPy_END_ALLOW_THREADS; | |
7388 | } Py_INCREF(Py_None); | |
d5c9047a | 7389 | _resultobj = Py_None; |
8ab979d7 RD |
7390 | return _resultobj; |
7391 | } | |
7392 | ||
d426c97e RD |
7393 | #define wxTreeCtrl_SortChildren(_swigobj,_swigarg0) (_swigobj->SortChildren(_swigarg0)) |
7394 | static PyObject *_wrap_wxTreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7395 | PyObject * _resultobj; | |
f6bcfd97 | 7396 | wxPyTreeCtrl * _arg0; |
d426c97e RD |
7397 | wxTreeItemId * _arg1; |
7398 | PyObject * _argo0 = 0; | |
7399 | PyObject * _argo1 = 0; | |
7400 | char *_kwnames[] = { "self","item", NULL }; | |
7401 | ||
7402 | self = self; | |
7403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_SortChildren",_kwnames,&_argo0,&_argo1)) | |
7404 | return NULL; | |
7405 | if (_argo0) { | |
7406 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7407 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7408 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SortChildren. Expected _wxPyTreeCtrl_p."); | |
d426c97e RD |
7409 | return NULL; |
7410 | } | |
7411 | } | |
7412 | if (_argo1) { | |
7413 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7414 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
7415 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SortChildren. Expected _wxTreeItemId_p."); | |
7416 | return NULL; | |
7417 | } | |
7418 | } | |
7419 | { | |
7420 | wxPy_BEGIN_ALLOW_THREADS; | |
7421 | wxTreeCtrl_SortChildren(_arg0,*_arg1); | |
7422 | ||
7423 | wxPy_END_ALLOW_THREADS; | |
7424 | } Py_INCREF(Py_None); | |
7425 | _resultobj = Py_None; | |
7426 | return _resultobj; | |
7427 | } | |
7428 | ||
b8b8dda7 | 7429 | #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1)) |
efc5f224 | 7430 | static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) { |
b8b8dda7 | 7431 | PyObject * _resultobj; |
f6bcfd97 | 7432 | wxPyTreeCtrl * _arg0; |
b8b8dda7 | 7433 | wxTreeItemId * _arg1; |
b1462dfa | 7434 | int _arg2 = (int ) TRUE; |
1d99702e RD |
7435 | PyObject * _argo0 = 0; |
7436 | PyObject * _argo1 = 0; | |
efc5f224 | 7437 | char *_kwnames[] = { "self","item","bold", NULL }; |
b8b8dda7 RD |
7438 | |
7439 | self = self; | |
b1462dfa | 7440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemBold",_kwnames,&_argo0,&_argo1,&_arg2)) |
b8b8dda7 | 7441 | return NULL; |
1d99702e RD |
7442 | if (_argo0) { |
7443 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7444 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7445 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxPyTreeCtrl_p."); | |
b8b8dda7 RD |
7446 | return NULL; |
7447 | } | |
7448 | } | |
1d99702e RD |
7449 | if (_argo1) { |
7450 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7451 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
b8b8dda7 RD |
7452 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p."); |
7453 | return NULL; | |
7454 | } | |
7455 | } | |
cf694132 RD |
7456 | { |
7457 | wxPy_BEGIN_ALLOW_THREADS; | |
7458 | wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2); | |
7459 | ||
7460 | wxPy_END_ALLOW_THREADS; | |
7461 | } Py_INCREF(Py_None); | |
b8b8dda7 RD |
7462 | _resultobj = Py_None; |
7463 | return _resultobj; | |
7464 | } | |
7465 | ||
7466 | #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0)) | |
efc5f224 | 7467 | static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) { |
b8b8dda7 RD |
7468 | PyObject * _resultobj; |
7469 | bool _result; | |
f6bcfd97 | 7470 | wxPyTreeCtrl * _arg0; |
b8b8dda7 | 7471 | wxTreeItemId * _arg1; |
1d99702e RD |
7472 | PyObject * _argo0 = 0; |
7473 | PyObject * _argo1 = 0; | |
efc5f224 | 7474 | char *_kwnames[] = { "self","item", NULL }; |
b8b8dda7 RD |
7475 | |
7476 | self = self; | |
efc5f224 | 7477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_IsBold",_kwnames,&_argo0,&_argo1)) |
b8b8dda7 | 7478 | return NULL; |
1d99702e RD |
7479 | if (_argo0) { |
7480 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7481 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7482 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxPyTreeCtrl_p."); | |
b8b8dda7 RD |
7483 | return NULL; |
7484 | } | |
7485 | } | |
1d99702e RD |
7486 | if (_argo1) { |
7487 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7488 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
b8b8dda7 RD |
7489 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p."); |
7490 | return NULL; | |
7491 | } | |
7492 | } | |
cf694132 RD |
7493 | { |
7494 | wxPy_BEGIN_ALLOW_THREADS; | |
7495 | _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1); | |
7496 | ||
7497 | wxPy_END_ALLOW_THREADS; | |
7498 | } _resultobj = Py_BuildValue("i",_result); | |
b8b8dda7 RD |
7499 | return _resultobj; |
7500 | } | |
7501 | ||
164b735b | 7502 | #define wxTreeCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1)) |
efc5f224 | 7503 | static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { |
b8b8dda7 RD |
7504 | PyObject * _resultobj; |
7505 | wxTreeItemId * _result; | |
f6bcfd97 | 7506 | wxPyTreeCtrl * _arg0; |
b8b8dda7 | 7507 | wxPoint * _arg1; |
164b735b RD |
7508 | int * _arg2; |
7509 | int temp; | |
1d99702e | 7510 | PyObject * _argo0 = 0; |
164b735b | 7511 | wxPoint temp0; |
2f90df85 | 7512 | PyObject * _obj1 = 0; |
efc5f224 | 7513 | char *_kwnames[] = { "self","point", NULL }; |
b8b8dda7 RD |
7514 | char _ptemp[128]; |
7515 | ||
7516 | self = self; | |
164b735b RD |
7517 | { |
7518 | _arg2 = &temp; | |
7519 | } | |
2f90df85 | 7520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxTreeCtrl_HitTest",_kwnames,&_argo0,&_obj1)) |
b8b8dda7 | 7521 | return NULL; |
1d99702e RD |
7522 | if (_argo0) { |
7523 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7524 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7525 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxPyTreeCtrl_p."); | |
b8b8dda7 RD |
7526 | return NULL; |
7527 | } | |
7528 | } | |
2f90df85 | 7529 | { |
164b735b | 7530 | _arg1 = &temp0; |
2f90df85 | 7531 | if (! wxPoint_helper(_obj1, &_arg1)) |
b8b8dda7 | 7532 | return NULL; |
2f90df85 | 7533 | } |
cf694132 RD |
7534 | { |
7535 | wxPy_BEGIN_ALLOW_THREADS; | |
164b735b | 7536 | _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1,*_arg2)); |
cf694132 RD |
7537 | |
7538 | wxPy_END_ALLOW_THREADS; | |
7539 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
b8b8dda7 | 7540 | _resultobj = Py_BuildValue("s",_ptemp); |
164b735b RD |
7541 | { |
7542 | PyObject *o; | |
7543 | o = PyInt_FromLong((long) (*_arg2)); | |
7544 | _resultobj = t_output_helper(_resultobj, o); | |
7545 | } | |
b8b8dda7 RD |
7546 | return _resultobj; |
7547 | } | |
7548 | ||
b7e72427 RD |
7549 | #define wxTreeCtrl_SetItemTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemTextColour(_swigarg0,_swigarg1)) |
7550 | static PyObject *_wrap_wxTreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7551 | PyObject * _resultobj; | |
f6bcfd97 | 7552 | wxPyTreeCtrl * _arg0; |
b7e72427 RD |
7553 | wxTreeItemId * _arg1; |
7554 | wxColour * _arg2; | |
7555 | PyObject * _argo0 = 0; | |
7556 | PyObject * _argo1 = 0; | |
f6bcfd97 BP |
7557 | wxColour temp; |
7558 | PyObject * _obj2 = 0; | |
b7e72427 RD |
7559 | char *_kwnames[] = { "self","item","col", NULL }; |
7560 | ||
7561 | self = self; | |
f6bcfd97 | 7562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemTextColour",_kwnames,&_argo0,&_argo1,&_obj2)) |
b7e72427 RD |
7563 | return NULL; |
7564 | if (_argo0) { | |
7565 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7566 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7567 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemTextColour. Expected _wxPyTreeCtrl_p."); | |
b7e72427 RD |
7568 | return NULL; |
7569 | } | |
7570 | } | |
7571 | if (_argo1) { | |
7572 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7573 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
7574 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemTextColour. Expected _wxTreeItemId_p."); | |
7575 | return NULL; | |
7576 | } | |
7577 | } | |
f6bcfd97 BP |
7578 | { |
7579 | _arg2 = &temp; | |
7580 | if (! wxColour_helper(_obj2, &_arg2)) | |
b7e72427 | 7581 | return NULL; |
f6bcfd97 | 7582 | } |
b7e72427 RD |
7583 | { |
7584 | wxPy_BEGIN_ALLOW_THREADS; | |
7585 | wxTreeCtrl_SetItemTextColour(_arg0,*_arg1,*_arg2); | |
7586 | ||
7587 | wxPy_END_ALLOW_THREADS; | |
7588 | } Py_INCREF(Py_None); | |
7589 | _resultobj = Py_None; | |
7590 | return _resultobj; | |
7591 | } | |
7592 | ||
7593 | #define wxTreeCtrl_SetItemBackgroundColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBackgroundColour(_swigarg0,_swigarg1)) | |
7594 | static PyObject *_wrap_wxTreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7595 | PyObject * _resultobj; | |
f6bcfd97 | 7596 | wxPyTreeCtrl * _arg0; |
b7e72427 RD |
7597 | wxTreeItemId * _arg1; |
7598 | wxColour * _arg2; | |
7599 | PyObject * _argo0 = 0; | |
7600 | PyObject * _argo1 = 0; | |
f6bcfd97 BP |
7601 | wxColour temp; |
7602 | PyObject * _obj2 = 0; | |
b7e72427 RD |
7603 | char *_kwnames[] = { "self","item","col", NULL }; |
7604 | ||
7605 | self = self; | |
f6bcfd97 | 7606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemBackgroundColour",_kwnames,&_argo0,&_argo1,&_obj2)) |
b7e72427 RD |
7607 | return NULL; |
7608 | if (_argo0) { | |
7609 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7610 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7611 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxPyTreeCtrl_p."); | |
b7e72427 RD |
7612 | return NULL; |
7613 | } | |
7614 | } | |
7615 | if (_argo1) { | |
7616 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7617 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
7618 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBackgroundColour. Expected _wxTreeItemId_p."); | |
7619 | return NULL; | |
7620 | } | |
7621 | } | |
f6bcfd97 BP |
7622 | { |
7623 | _arg2 = &temp; | |
7624 | if (! wxColour_helper(_obj2, &_arg2)) | |
b7e72427 | 7625 | return NULL; |
f6bcfd97 | 7626 | } |
b7e72427 RD |
7627 | { |
7628 | wxPy_BEGIN_ALLOW_THREADS; | |
7629 | wxTreeCtrl_SetItemBackgroundColour(_arg0,*_arg1,*_arg2); | |
7630 | ||
7631 | wxPy_END_ALLOW_THREADS; | |
7632 | } Py_INCREF(Py_None); | |
7633 | _resultobj = Py_None; | |
7634 | return _resultobj; | |
7635 | } | |
7636 | ||
7637 | #define wxTreeCtrl_SetItemFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemFont(_swigarg0,_swigarg1)) | |
7638 | static PyObject *_wrap_wxTreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7639 | PyObject * _resultobj; | |
f6bcfd97 | 7640 | wxPyTreeCtrl * _arg0; |
b7e72427 RD |
7641 | wxTreeItemId * _arg1; |
7642 | wxFont * _arg2; | |
7643 | PyObject * _argo0 = 0; | |
7644 | PyObject * _argo1 = 0; | |
7645 | PyObject * _argo2 = 0; | |
7646 | char *_kwnames[] = { "self","item","font", NULL }; | |
7647 | ||
7648 | self = self; | |
7649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxTreeCtrl_SetItemFont",_kwnames,&_argo0,&_argo1,&_argo2)) | |
7650 | return NULL; | |
7651 | if (_argo0) { | |
7652 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7653 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7654 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemFont. Expected _wxPyTreeCtrl_p."); | |
b7e72427 RD |
7655 | return NULL; |
7656 | } | |
7657 | } | |
7658 | if (_argo1) { | |
7659 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7660 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
7661 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemFont. Expected _wxTreeItemId_p."); | |
7662 | return NULL; | |
7663 | } | |
7664 | } | |
7665 | if (_argo2) { | |
7666 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7667 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxFont_p")) { | |
7668 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemFont. Expected _wxFont_p."); | |
7669 | return NULL; | |
7670 | } | |
7671 | } | |
7672 | { | |
7673 | wxPy_BEGIN_ALLOW_THREADS; | |
7674 | wxTreeCtrl_SetItemFont(_arg0,*_arg1,*_arg2); | |
7675 | ||
7676 | wxPy_END_ALLOW_THREADS; | |
7677 | } Py_INCREF(Py_None); | |
7678 | _resultobj = Py_None; | |
7679 | return _resultobj; | |
7680 | } | |
7681 | ||
b1462dfa RD |
7682 | #define wxTreeCtrl_SetItemDropHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemDropHighlight(_swigarg0,_swigarg1)) |
7683 | static PyObject *_wrap_wxTreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7684 | PyObject * _resultobj; | |
f6bcfd97 | 7685 | wxPyTreeCtrl * _arg0; |
b1462dfa RD |
7686 | wxTreeItemId * _arg1; |
7687 | int _arg2 = (int ) TRUE; | |
7688 | PyObject * _argo0 = 0; | |
7689 | PyObject * _argo1 = 0; | |
7690 | char *_kwnames[] = { "self","item","highlight", NULL }; | |
7691 | ||
7692 | self = self; | |
7693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_SetItemDropHighlight",_kwnames,&_argo0,&_argo1,&_arg2)) | |
7694 | return NULL; | |
7695 | if (_argo0) { | |
7696 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7697 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7698 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemDropHighlight. Expected _wxPyTreeCtrl_p."); | |
b1462dfa RD |
7699 | return NULL; |
7700 | } | |
7701 | } | |
7702 | if (_argo1) { | |
7703 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7704 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
7705 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemDropHighlight. Expected _wxTreeItemId_p."); | |
7706 | return NULL; | |
7707 | } | |
7708 | } | |
7709 | { | |
7710 | wxPy_BEGIN_ALLOW_THREADS; | |
7711 | wxTreeCtrl_SetItemDropHighlight(_arg0,*_arg1,_arg2); | |
7712 | ||
7713 | wxPy_END_ALLOW_THREADS; | |
7714 | } Py_INCREF(Py_None); | |
7715 | _resultobj = Py_None; | |
7716 | return _resultobj; | |
7717 | } | |
7718 | ||
f6bcfd97 | 7719 | static PyObject * wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,const wxTreeItemId & item,int textOnly) { |
d426c97e | 7720 | wxRect rect; |
164b735b RD |
7721 | if (self->GetBoundingRect(item, rect, textOnly)) { |
7722 | bool doSave = wxPyRestoreThread(); | |
7723 | wxRect* r = new wxRect(rect); | |
7724 | PyObject* val = wxPyConstructObject((void*)r, "wxRect"); | |
7725 | wxPySaveThread(doSave); | |
7726 | return val; | |
7727 | } | |
d426c97e RD |
7728 | else { |
7729 | Py_INCREF(Py_None); | |
7730 | return Py_None; | |
7731 | } | |
7732 | } | |
7733 | static PyObject *_wrap_wxTreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7734 | PyObject * _resultobj; | |
7735 | PyObject * _result; | |
f6bcfd97 | 7736 | wxPyTreeCtrl * _arg0; |
d426c97e RD |
7737 | wxTreeItemId * _arg1; |
7738 | int _arg2 = (int ) FALSE; | |
7739 | PyObject * _argo0 = 0; | |
7740 | PyObject * _argo1 = 0; | |
7741 | char *_kwnames[] = { "self","item","textOnly", NULL }; | |
7742 | ||
7743 | self = self; | |
7744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxTreeCtrl_GetBoundingRect",_kwnames,&_argo0,&_argo1,&_arg2)) | |
7745 | return NULL; | |
7746 | if (_argo0) { | |
7747 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
f6bcfd97 BP |
7748 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTreeCtrl_p")) { |
7749 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetBoundingRect. Expected _wxPyTreeCtrl_p."); | |
d426c97e RD |
7750 | return NULL; |
7751 | } | |
7752 | } | |
7753 | if (_argo1) { | |
7754 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7755 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
7756 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetBoundingRect. Expected _wxTreeItemId_p."); | |
7757 | return NULL; | |
7758 | } | |
7759 | } | |
7760 | { | |
7761 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 7762 | _result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(_arg0,*_arg1,_arg2); |
d426c97e RD |
7763 | |
7764 | wxPy_END_ALLOW_THREADS; | |
7765 | }{ | |
7766 | _resultobj = _result; | |
7767 | } | |
7768 | return _resultobj; | |
7769 | } | |
7770 | ||
8ab979d7 | 7771 | static PyMethodDef controls2cMethods[] = { |
d426c97e | 7772 | { "wxTreeCtrl_GetBoundingRect", (PyCFunction) _wrap_wxTreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS }, |
b1462dfa | 7773 | { "wxTreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_wxTreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS }, |
b7e72427 RD |
7774 | { "wxTreeCtrl_SetItemFont", (PyCFunction) _wrap_wxTreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS }, |
7775 | { "wxTreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
7776 | { "wxTreeCtrl_SetItemTextColour", (PyCFunction) _wrap_wxTreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
7777 | { "wxTreeCtrl_HitTest", (PyCFunction) _wrap_wxTreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS }, |
7778 | { "wxTreeCtrl_IsBold", (PyCFunction) _wrap_wxTreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS }, | |
7779 | { "wxTreeCtrl_SetItemBold", (PyCFunction) _wrap_wxTreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS }, | |
d426c97e | 7780 | { "wxTreeCtrl_SortChildren", (PyCFunction) _wrap_wxTreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7781 | { "wxTreeCtrl_EndEditLabel", (PyCFunction) _wrap_wxTreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS }, |
7782 | { "wxTreeCtrl_GetEditControl", (PyCFunction) _wrap_wxTreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS }, | |
7783 | { "wxTreeCtrl_EditLabel", (PyCFunction) _wrap_wxTreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS }, | |
7784 | { "wxTreeCtrl_ScrollTo", (PyCFunction) _wrap_wxTreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS }, | |
7785 | { "wxTreeCtrl_EnsureVisible", (PyCFunction) _wrap_wxTreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
7786 | { "wxTreeCtrl_SelectItem", (PyCFunction) _wrap_wxTreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS }, | |
7787 | { "wxTreeCtrl_UnselectAll", (PyCFunction) _wrap_wxTreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS }, | |
7788 | { "wxTreeCtrl_Unselect", (PyCFunction) _wrap_wxTreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS }, | |
7789 | { "wxTreeCtrl_Toggle", (PyCFunction) _wrap_wxTreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS }, | |
7790 | { "wxTreeCtrl_CollapseAndReset", (PyCFunction) _wrap_wxTreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS }, | |
7791 | { "wxTreeCtrl_Collapse", (PyCFunction) _wrap_wxTreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS }, | |
7792 | { "wxTreeCtrl_Expand", (PyCFunction) _wrap_wxTreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS }, | |
7793 | { "wxTreeCtrl_DeleteAllItems", (PyCFunction) _wrap_wxTreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS }, | |
7794 | { "wxTreeCtrl_DeleteChildren", (PyCFunction) _wrap_wxTreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS }, | |
7795 | { "wxTreeCtrl_Delete", (PyCFunction) _wrap_wxTreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS }, | |
7796 | { "wxTreeCtrl_AppendItem", (PyCFunction) _wrap_wxTreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 7797 | { "wxTreeCtrl_InsertItemBefore", (PyCFunction) _wrap_wxTreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7798 | { "wxTreeCtrl_InsertItem", (PyCFunction) _wrap_wxTreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS }, |
7799 | { "wxTreeCtrl_PrependItem", (PyCFunction) _wrap_wxTreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS }, | |
7800 | { "wxTreeCtrl_AddRoot", (PyCFunction) _wrap_wxTreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS }, | |
d426c97e | 7801 | { "wxTreeCtrl_GetLastChild", (PyCFunction) _wrap_wxTreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7802 | { "wxTreeCtrl_GetPrevVisible", (PyCFunction) _wrap_wxTreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS }, |
7803 | { "wxTreeCtrl_GetNextVisible", (PyCFunction) _wrap_wxTreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS }, | |
7804 | { "wxTreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_wxTreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS }, | |
7805 | { "wxTreeCtrl_GetPrevSibling", (PyCFunction) _wrap_wxTreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS }, | |
7806 | { "wxTreeCtrl_GetNextSibling", (PyCFunction) _wrap_wxTreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS }, | |
7807 | { "wxTreeCtrl_GetNextChild", (PyCFunction) _wrap_wxTreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS }, | |
7808 | { "wxTreeCtrl_GetFirstChild", (PyCFunction) _wrap_wxTreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS }, | |
7809 | { "wxTreeCtrl_GetChildrenCount", (PyCFunction) _wrap_wxTreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS }, | |
d426c97e | 7810 | { "wxTreeCtrl_GetSelections", (PyCFunction) _wrap_wxTreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS }, |
eb715945 | 7811 | { "wxTreeCtrl_GetItemParent", (PyCFunction) _wrap_wxTreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7812 | { "wxTreeCtrl_GetSelection", (PyCFunction) _wrap_wxTreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS }, |
7813 | { "wxTreeCtrl_GetRootItem", (PyCFunction) _wrap_wxTreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS }, | |
7814 | { "wxTreeCtrl_IsSelected", (PyCFunction) _wrap_wxTreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS }, | |
7815 | { "wxTreeCtrl_IsExpanded", (PyCFunction) _wrap_wxTreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS }, | |
7816 | { "wxTreeCtrl_ItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS }, | |
7817 | { "wxTreeCtrl_IsVisible", (PyCFunction) _wrap_wxTreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS }, | |
7818 | { "wxTreeCtrl_SetPyData", (PyCFunction) _wrap_wxTreeCtrl_SetPyData, METH_VARARGS | METH_KEYWORDS }, | |
7819 | { "wxTreeCtrl_GetPyData", (PyCFunction) _wrap_wxTreeCtrl_GetPyData, METH_VARARGS | METH_KEYWORDS }, | |
7820 | { "wxTreeCtrl_SetItemData", (PyCFunction) _wrap_wxTreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS }, | |
7821 | { "wxTreeCtrl_GetItemData", (PyCFunction) _wrap_wxTreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS }, | |
7822 | { "wxTreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_wxTreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS }, | |
7823 | { "wxTreeCtrl_SetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemSelectedImage, METH_VARARGS | METH_KEYWORDS }, | |
7824 | { "wxTreeCtrl_SetItemImage", (PyCFunction) _wrap_wxTreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS }, | |
7825 | { "wxTreeCtrl_SetItemText", (PyCFunction) _wrap_wxTreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS }, | |
7826 | { "wxTreeCtrl_GetItemSelectedImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemSelectedImage, METH_VARARGS | METH_KEYWORDS }, | |
7827 | { "wxTreeCtrl_GetItemImage", (PyCFunction) _wrap_wxTreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS }, | |
7828 | { "wxTreeCtrl_GetItemText", (PyCFunction) _wrap_wxTreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS }, | |
b1462dfa RD |
7829 | { "wxTreeCtrl_SetSpacing", (PyCFunction) _wrap_wxTreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS }, |
7830 | { "wxTreeCtrl_GetSpacing", (PyCFunction) _wrap_wxTreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
7831 | { "wxTreeCtrl_SetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS }, |
7832 | { "wxTreeCtrl_SetImageList", (PyCFunction) _wrap_wxTreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS }, | |
7833 | { "wxTreeCtrl_GetStateImageList", (PyCFunction) _wrap_wxTreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS }, | |
7834 | { "wxTreeCtrl_GetImageList", (PyCFunction) _wrap_wxTreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS }, | |
7835 | { "wxTreeCtrl_SetIndent", (PyCFunction) _wrap_wxTreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS }, | |
7836 | { "wxTreeCtrl_GetIndent", (PyCFunction) _wrap_wxTreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS }, | |
7837 | { "wxTreeCtrl_GetCount", (PyCFunction) _wrap_wxTreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 7838 | { "wxTreeCtrl__setSelf", (PyCFunction) _wrap_wxTreeCtrl__setSelf, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7839 | { "new_wxTreeCtrl", (PyCFunction) _wrap_new_wxTreeCtrl, METH_VARARGS | METH_KEYWORDS }, |
7840 | { "wxTreeEvent_GetLabel", (PyCFunction) _wrap_wxTreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS }, | |
7841 | { "wxTreeEvent_GetCode", (PyCFunction) _wrap_wxTreeEvent_GetCode, METH_VARARGS | METH_KEYWORDS }, | |
7842 | { "wxTreeEvent_GetPoint", (PyCFunction) _wrap_wxTreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS }, | |
7843 | { "wxTreeEvent_GetOldItem", (PyCFunction) _wrap_wxTreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS }, | |
7844 | { "wxTreeEvent_GetItem", (PyCFunction) _wrap_wxTreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS }, | |
7845 | { "wxTreeItemData_SetId", (PyCFunction) _wrap_wxTreeItemData_SetId, METH_VARARGS | METH_KEYWORDS }, | |
7846 | { "wxTreeItemData_GetId", (PyCFunction) _wrap_wxTreeItemData_GetId, METH_VARARGS | METH_KEYWORDS }, | |
7847 | { "wxTreeItemData_SetData", (PyCFunction) _wrap_wxTreeItemData_SetData, METH_VARARGS | METH_KEYWORDS }, | |
7848 | { "wxTreeItemData_GetData", (PyCFunction) _wrap_wxTreeItemData_GetData, METH_VARARGS | METH_KEYWORDS }, | |
7849 | { "new_wxTreeItemData", (PyCFunction) _wrap_new_wxTreeItemData, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 | 7850 | { "wxTreeItemId___cmp__", (PyCFunction) _wrap_wxTreeItemId___cmp__, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7851 | { "wxTreeItemId_IsOk", (PyCFunction) _wrap_wxTreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS }, |
7852 | { "delete_wxTreeItemId", (PyCFunction) _wrap_delete_wxTreeItemId, METH_VARARGS | METH_KEYWORDS }, | |
7853 | { "new_wxTreeItemId", (PyCFunction) _wrap_new_wxTreeItemId, METH_VARARGS | METH_KEYWORDS }, | |
dcd38683 | 7854 | { "wxListCtrl_SortItems", (PyCFunction) _wrap_wxListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS }, |
efc5f224 RD |
7855 | { "wxListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_wxListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS }, |
7856 | { "wxListCtrl_SetSingleStyle", (PyCFunction) _wrap_wxListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS }, | |
7857 | { "wxListCtrl_SetItemText", (PyCFunction) _wrap_wxListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS }, | |
7858 | { "wxListCtrl_SetItemState", (PyCFunction) _wrap_wxListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS }, | |
7859 | { "wxListCtrl_SetItemPosition", (PyCFunction) _wrap_wxListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS }, | |
7860 | { "wxListCtrl_SetItemImage", (PyCFunction) _wrap_wxListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS }, | |
7861 | { "wxListCtrl_SetItemData", (PyCFunction) _wrap_wxListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS }, | |
7862 | { "wxListCtrl_SetStringItem", (PyCFunction) _wrap_wxListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS }, | |
7863 | { "wxListCtrl_SetItem", (PyCFunction) _wrap_wxListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS }, | |
7864 | { "wxListCtrl_SetImageList", (PyCFunction) _wrap_wxListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS }, | |
7865 | { "wxListCtrl_SetColumnWidth", (PyCFunction) _wrap_wxListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS }, | |
7866 | { "wxListCtrl_SetColumn", (PyCFunction) _wrap_wxListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS }, | |
7867 | { "wxListCtrl_SetBackgroundColour", (PyCFunction) _wrap_wxListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
7868 | { "wxListCtrl_ScrollList", (PyCFunction) _wrap_wxListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS }, | |
7869 | { "wxListCtrl_InsertImageStringItem", (PyCFunction) _wrap_wxListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS }, | |
7870 | { "wxListCtrl_InsertImageItem", (PyCFunction) _wrap_wxListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS }, | |
7871 | { "wxListCtrl_InsertStringItem", (PyCFunction) _wrap_wxListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS }, | |
7872 | { "wxListCtrl_InsertItem", (PyCFunction) _wrap_wxListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS }, | |
7873 | { "wxListCtrl_InsertColumn", (PyCFunction) _wrap_wxListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS }, | |
7874 | { "wxListCtrl_InsertColumnWith", (PyCFunction) _wrap_wxListCtrl_InsertColumnWith, METH_VARARGS | METH_KEYWORDS }, | |
7875 | { "wxListCtrl_HitTest", (PyCFunction) _wrap_wxListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
7876 | { "wxListCtrl_GetTopItem", (PyCFunction) _wrap_wxListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS }, | |
7877 | { "wxListCtrl_SetTextColour", (PyCFunction) _wrap_wxListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
7878 | { "wxListCtrl_GetTextColour", (PyCFunction) _wrap_wxListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
7879 | { "wxListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_wxListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS }, | |
7880 | { "wxListCtrl_GetNextItem", (PyCFunction) _wrap_wxListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS }, | |
7881 | { "wxListCtrl_GetItemText", (PyCFunction) _wrap_wxListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS }, | |
7882 | { "wxListCtrl_GetItemSpacing", (PyCFunction) _wrap_wxListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS }, | |
7883 | { "wxListCtrl_GetItemCount", (PyCFunction) _wrap_wxListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS }, | |
7884 | { "wxListCtrl_GetItemState", (PyCFunction) _wrap_wxListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS }, | |
7885 | { "wxListCtrl_GetItemRect", (PyCFunction) _wrap_wxListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS }, | |
7886 | { "wxListCtrl_GetItemPosition", (PyCFunction) _wrap_wxListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS }, | |
7887 | { "wxListCtrl_GetItem", (PyCFunction) _wrap_wxListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS }, | |
7888 | { "wxListCtrl_GetItemData", (PyCFunction) _wrap_wxListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS }, | |
7889 | { "wxListCtrl_GetImageList", (PyCFunction) _wrap_wxListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS }, | |
7890 | { "wxListCtrl_GetCountPerPage", (PyCFunction) _wrap_wxListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS }, | |
7891 | { "wxListCtrl_GetColumnWidth", (PyCFunction) _wrap_wxListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS }, | |
7892 | { "wxListCtrl_GetColumn", (PyCFunction) _wrap_wxListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
7893 | { "wxListCtrl_FindItemAtPos", (PyCFunction) _wrap_wxListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS }, | |
7894 | { "wxListCtrl_FindItemData", (PyCFunction) _wrap_wxListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS }, | |
7895 | { "wxListCtrl_FindItem", (PyCFunction) _wrap_wxListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS }, | |
7896 | { "wxListCtrl_EnsureVisible", (PyCFunction) _wrap_wxListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS }, | |
7897 | { "wxListCtrl_GetEditControl", (PyCFunction) _wrap_wxListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS }, | |
7898 | { "wxListCtrl_EndEditLabel", (PyCFunction) _wrap_wxListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS }, | |
7899 | { "wxListCtrl_EditLabel", (PyCFunction) _wrap_wxListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS }, | |
7900 | { "wxListCtrl_ClearAll", (PyCFunction) _wrap_wxListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS }, | |
7901 | { "wxListCtrl_DeleteAllColumns", (PyCFunction) _wrap_wxListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS }, | |
7902 | { "wxListCtrl_DeleteColumn", (PyCFunction) _wrap_wxListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS }, | |
7903 | { "wxListCtrl_DeleteAllItems", (PyCFunction) _wrap_wxListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS }, | |
7904 | { "wxListCtrl_DeleteItem", (PyCFunction) _wrap_wxListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS }, | |
7905 | { "wxListCtrl_Arrange", (PyCFunction) _wrap_wxListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS }, | |
7906 | { "new_wxListCtrl", (PyCFunction) _wrap_new_wxListCtrl, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
7907 | { "wxListEvent_GetItem", (PyCFunction) _wrap_wxListEvent_GetItem, METH_VARARGS | METH_KEYWORDS }, |
7908 | { "wxListEvent_GetMask", (PyCFunction) _wrap_wxListEvent_GetMask, METH_VARARGS | METH_KEYWORDS }, | |
7909 | { "wxListEvent_GetData", (PyCFunction) _wrap_wxListEvent_GetData, METH_VARARGS | METH_KEYWORDS }, | |
7910 | { "wxListEvent_GetImage", (PyCFunction) _wrap_wxListEvent_GetImage, METH_VARARGS | METH_KEYWORDS }, | |
7911 | { "wxListEvent_GetText", (PyCFunction) _wrap_wxListEvent_GetText, METH_VARARGS | METH_KEYWORDS }, | |
7912 | { "wxListEvent_GetLabel", (PyCFunction) _wrap_wxListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS }, | |
7913 | { "wxListEvent_GetPoint", (PyCFunction) _wrap_wxListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS }, | |
7914 | { "wxListEvent_Cancelled", (PyCFunction) _wrap_wxListEvent_Cancelled, METH_VARARGS | METH_KEYWORDS }, | |
7915 | { "wxListEvent_GetColumn", (PyCFunction) _wrap_wxListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
7916 | { "wxListEvent_GetOldItem", (PyCFunction) _wrap_wxListEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS }, | |
7917 | { "wxListEvent_GetOldIndex", (PyCFunction) _wrap_wxListEvent_GetOldIndex, METH_VARARGS | METH_KEYWORDS }, | |
7918 | { "wxListEvent_GetIndex", (PyCFunction) _wrap_wxListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS }, | |
7919 | { "wxListEvent_GetCode", (PyCFunction) _wrap_wxListEvent_GetCode, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
7920 | { "wxListEvent_m_item_get", (PyCFunction) _wrap_wxListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS }, |
7921 | { "wxListEvent_m_item_set", (PyCFunction) _wrap_wxListEvent_m_item_set, METH_VARARGS | METH_KEYWORDS }, | |
7922 | { "wxListEvent_m_pointDrag_get", (PyCFunction) _wrap_wxListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS }, | |
7923 | { "wxListEvent_m_pointDrag_set", (PyCFunction) _wrap_wxListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS }, | |
7924 | { "wxListEvent_m_cancelled_get", (PyCFunction) _wrap_wxListEvent_m_cancelled_get, METH_VARARGS | METH_KEYWORDS }, | |
7925 | { "wxListEvent_m_cancelled_set", (PyCFunction) _wrap_wxListEvent_m_cancelled_set, METH_VARARGS | METH_KEYWORDS }, | |
7926 | { "wxListEvent_m_col_get", (PyCFunction) _wrap_wxListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS }, | |
7927 | { "wxListEvent_m_col_set", (PyCFunction) _wrap_wxListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS }, | |
7928 | { "wxListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS }, | |
7929 | { "wxListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_wxListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS }, | |
7930 | { "wxListEvent_m_itemIndex_get", (PyCFunction) _wrap_wxListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS }, | |
7931 | { "wxListEvent_m_itemIndex_set", (PyCFunction) _wrap_wxListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS }, | |
7932 | { "wxListEvent_m_code_get", (PyCFunction) _wrap_wxListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS }, | |
7933 | { "wxListEvent_m_code_set", (PyCFunction) _wrap_wxListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS }, | |
efc5f224 RD |
7934 | { "wxListItem_m_width_get", (PyCFunction) _wrap_wxListItem_m_width_get, METH_VARARGS | METH_KEYWORDS }, |
7935 | { "wxListItem_m_width_set", (PyCFunction) _wrap_wxListItem_m_width_set, METH_VARARGS | METH_KEYWORDS }, | |
7936 | { "wxListItem_m_format_get", (PyCFunction) _wrap_wxListItem_m_format_get, METH_VARARGS | METH_KEYWORDS }, | |
7937 | { "wxListItem_m_format_set", (PyCFunction) _wrap_wxListItem_m_format_set, METH_VARARGS | METH_KEYWORDS }, | |
7938 | { "wxListItem_m_data_get", (PyCFunction) _wrap_wxListItem_m_data_get, METH_VARARGS | METH_KEYWORDS }, | |
7939 | { "wxListItem_m_data_set", (PyCFunction) _wrap_wxListItem_m_data_set, METH_VARARGS | METH_KEYWORDS }, | |
7940 | { "wxListItem_m_image_get", (PyCFunction) _wrap_wxListItem_m_image_get, METH_VARARGS | METH_KEYWORDS }, | |
7941 | { "wxListItem_m_image_set", (PyCFunction) _wrap_wxListItem_m_image_set, METH_VARARGS | METH_KEYWORDS }, | |
7942 | { "wxListItem_m_text_get", (PyCFunction) _wrap_wxListItem_m_text_get, METH_VARARGS | METH_KEYWORDS }, | |
7943 | { "wxListItem_m_text_set", (PyCFunction) _wrap_wxListItem_m_text_set, METH_VARARGS | METH_KEYWORDS }, | |
7944 | { "wxListItem_m_stateMask_get", (PyCFunction) _wrap_wxListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS }, | |
7945 | { "wxListItem_m_stateMask_set", (PyCFunction) _wrap_wxListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS }, | |
7946 | { "wxListItem_m_state_get", (PyCFunction) _wrap_wxListItem_m_state_get, METH_VARARGS | METH_KEYWORDS }, | |
7947 | { "wxListItem_m_state_set", (PyCFunction) _wrap_wxListItem_m_state_set, METH_VARARGS | METH_KEYWORDS }, | |
7948 | { "wxListItem_m_col_get", (PyCFunction) _wrap_wxListItem_m_col_get, METH_VARARGS | METH_KEYWORDS }, | |
7949 | { "wxListItem_m_col_set", (PyCFunction) _wrap_wxListItem_m_col_set, METH_VARARGS | METH_KEYWORDS }, | |
7950 | { "wxListItem_m_itemId_get", (PyCFunction) _wrap_wxListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS }, | |
7951 | { "wxListItem_m_itemId_set", (PyCFunction) _wrap_wxListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS }, | |
7952 | { "wxListItem_m_mask_get", (PyCFunction) _wrap_wxListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS }, | |
7953 | { "wxListItem_m_mask_set", (PyCFunction) _wrap_wxListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS }, | |
f6bcfd97 BP |
7954 | { "wxListItem_GetFont", (PyCFunction) _wrap_wxListItem_GetFont, METH_VARARGS | METH_KEYWORDS }, |
7955 | { "wxListItem_GetBackgroundColour", (PyCFunction) _wrap_wxListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
7956 | { "wxListItem_GetTextColour", (PyCFunction) _wrap_wxListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
7957 | { "wxListItem_HasAttributes", (PyCFunction) _wrap_wxListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS }, | |
7958 | { "wxListItem_GetAttributes", (PyCFunction) _wrap_wxListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS }, | |
7959 | { "wxListItem_GetAlign", (PyCFunction) _wrap_wxListItem_GetAlign, METH_VARARGS | METH_KEYWORDS }, | |
7960 | { "wxListItem_GetWidth", (PyCFunction) _wrap_wxListItem_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
7961 | { "wxListItem_GetData", (PyCFunction) _wrap_wxListItem_GetData, METH_VARARGS | METH_KEYWORDS }, | |
7962 | { "wxListItem_GetImage", (PyCFunction) _wrap_wxListItem_GetImage, METH_VARARGS | METH_KEYWORDS }, | |
7963 | { "wxListItem_GetText", (PyCFunction) _wrap_wxListItem_GetText, METH_VARARGS | METH_KEYWORDS }, | |
7964 | { "wxListItem_GetState", (PyCFunction) _wrap_wxListItem_GetState, METH_VARARGS | METH_KEYWORDS }, | |
7965 | { "wxListItem_GetColumn", (PyCFunction) _wrap_wxListItem_GetColumn, METH_VARARGS | METH_KEYWORDS }, | |
7966 | { "wxListItem_GetId", (PyCFunction) _wrap_wxListItem_GetId, METH_VARARGS | METH_KEYWORDS }, | |
7967 | { "wxListItem_GetMask", (PyCFunction) _wrap_wxListItem_GetMask, METH_VARARGS | METH_KEYWORDS }, | |
7968 | { "wxListItem_SetFont", (PyCFunction) _wrap_wxListItem_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
7969 | { "wxListItem_SetBackgroundColour", (PyCFunction) _wrap_wxListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
7970 | { "wxListItem_SetTextColour", (PyCFunction) _wrap_wxListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
7971 | { "wxListItem_SetAlign", (PyCFunction) _wrap_wxListItem_SetAlign, METH_VARARGS | METH_KEYWORDS }, | |
7972 | { "wxListItem_SetWidth", (PyCFunction) _wrap_wxListItem_SetWidth, METH_VARARGS | METH_KEYWORDS }, | |
7973 | { "wxListItem_SetData", (PyCFunction) _wrap_wxListItem_SetData, METH_VARARGS | METH_KEYWORDS }, | |
7974 | { "wxListItem_SetImage", (PyCFunction) _wrap_wxListItem_SetImage, METH_VARARGS | METH_KEYWORDS }, | |
7975 | { "wxListItem_SetText", (PyCFunction) _wrap_wxListItem_SetText, METH_VARARGS | METH_KEYWORDS }, | |
7976 | { "wxListItem_SetStateMask", (PyCFunction) _wrap_wxListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS }, | |
7977 | { "wxListItem_SetState", (PyCFunction) _wrap_wxListItem_SetState, METH_VARARGS | METH_KEYWORDS }, | |
7978 | { "wxListItem_SetColumn", (PyCFunction) _wrap_wxListItem_SetColumn, METH_VARARGS | METH_KEYWORDS }, | |
7979 | { "wxListItem_SetId", (PyCFunction) _wrap_wxListItem_SetId, METH_VARARGS | METH_KEYWORDS }, | |
7980 | { "wxListItem_SetMask", (PyCFunction) _wrap_wxListItem_SetMask, METH_VARARGS | METH_KEYWORDS }, | |
7981 | { "wxListItem_ClearAttributes", (PyCFunction) _wrap_wxListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS }, | |
7982 | { "wxListItem_Clear", (PyCFunction) _wrap_wxListItem_Clear, METH_VARARGS | METH_KEYWORDS }, | |
7983 | { "delete_wxListItem", (PyCFunction) _wrap_delete_wxListItem, METH_VARARGS | METH_KEYWORDS }, | |
7984 | { "new_wxListItem", (PyCFunction) _wrap_new_wxListItem, METH_VARARGS | METH_KEYWORDS }, | |
7985 | { "wxListItemAttr_GetFont", (PyCFunction) _wrap_wxListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS }, | |
7986 | { "wxListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
7987 | { "wxListItemAttr_GetTextColour", (PyCFunction) _wrap_wxListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
7988 | { "wxListItemAttr_HasFont", (PyCFunction) _wrap_wxListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS }, | |
7989 | { "wxListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
7990 | { "wxListItemAttr_HasTextColour", (PyCFunction) _wrap_wxListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS }, | |
7991 | { "wxListItemAttr_SetFont", (PyCFunction) _wrap_wxListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
7992 | { "wxListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_wxListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
7993 | { "wxListItemAttr_SetTextColour", (PyCFunction) _wrap_wxListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
7994 | { "new_wxListItemAttr", (PyCFunction) _wrap_new_wxListItemAttr, METH_VARARGS | METH_KEYWORDS }, | |
8ab979d7 RD |
7995 | { NULL, NULL } |
7996 | }; | |
1d99702e RD |
7997 | #ifdef __cplusplus |
7998 | } | |
7999 | #endif | |
8000 | /* | |
8001 | * This table is used by the pointer type-checker | |
8002 | */ | |
8003 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
8004 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
8005 | { "_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent}, | |
8006 | { "_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent}, | |
8007 | { "_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent}, | |
8008 | { "_wxEvent","_wxListEvent",SwigwxListEventTowxEvent}, | |
8009 | { "_wxEvent","_class_wxEvent",0}, | |
8010 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
8011 | { "_signed_long","_long",0}, | |
8012 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
65dd82cb | 8013 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
b1462dfa | 8014 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, |
2f90df85 | 8015 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
b1462dfa | 8016 | { "_wxPrintQuality","_wxCoord",0}, |
1d99702e RD |
8017 | { "_wxPrintQuality","_int",0}, |
8018 | { "_wxPrintQuality","_signed_int",0}, | |
8019 | { "_wxPrintQuality","_unsigned_int",0}, | |
8020 | { "_wxPrintQuality","_wxWindowID",0}, | |
8021 | { "_wxPrintQuality","_uint",0}, | |
8022 | { "_wxPrintQuality","_EBool",0}, | |
8023 | { "_wxPrintQuality","_size_t",0}, | |
b1462dfa | 8024 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
f6bcfd97 | 8025 | { "_wxSpinCtrl","_class_wxSpinCtrl",0}, |
1d99702e | 8026 | { "_class_wxRegionIterator","_wxRegionIterator",0}, |
b1462dfa | 8027 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
1d99702e RD |
8028 | { "_class_wxMenuBar","_wxMenuBar",0}, |
8029 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
f6bcfd97 BP |
8030 | { "_class_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler}, |
8031 | { "_class_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler}, | |
1d99702e RD |
8032 | { "_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler}, |
8033 | { "_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler}, | |
8034 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
8035 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
8036 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
8037 | { "_wxCursor","_class_wxCursor",0}, | |
8038 | { "_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent}, | |
8039 | { "_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent}, | |
8040 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
f6bcfd97 | 8041 | { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0}, |
1d99702e RD |
8042 | { "_wxMask","_class_wxMask",0}, |
8043 | { "_wxPen","_class_wxPen",0}, | |
8044 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
8045 | { "_byte","_unsigned_char",0}, | |
b1462dfa | 8046 | { "_wxDataObject","_class_wxDataObject",0}, |
1d99702e | 8047 | { "_wxStaticBox","_class_wxStaticBox",0}, |
65dd82cb RD |
8048 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
8049 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
1d99702e RD |
8050 | { "_wxChoice","_class_wxChoice",0}, |
8051 | { "_wxSlider","_class_wxSlider",0}, | |
1d99702e RD |
8052 | { "_long","_unsigned_long",0}, |
8053 | { "_long","_signed_long",0}, | |
8054 | { "_wxImageList","_class_wxImageList",0}, | |
b1462dfa | 8055 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
1d99702e RD |
8056 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
8057 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
8058 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
b1462dfa | 8059 | { "_class_wxClipboard","_wxClipboard",0}, |
1d99702e RD |
8060 | { "_class_wxGauge","_wxGauge",0}, |
8061 | { "_wxDC","_class_wxDC",0}, | |
b1462dfa | 8062 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
1d99702e RD |
8063 | { "_wxListEvent","_class_wxListEvent",0}, |
8064 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
b1462dfa | 8065 | { "_size_t","_wxCoord",0}, |
1d99702e RD |
8066 | { "_size_t","_wxPrintQuality",0}, |
8067 | { "_size_t","_unsigned_int",0}, | |
8068 | { "_size_t","_int",0}, | |
8069 | { "_size_t","_wxWindowID",0}, | |
8070 | { "_size_t","_uint",0}, | |
8071 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
48115f4a | 8072 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
1d99702e | 8073 | { "_wxPrinterDC","_class_wxPrinterDC",0}, |
48115f4a | 8074 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, |
1d99702e RD |
8075 | { "_class_wxMenuItem","_wxMenuItem",0}, |
8076 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
8077 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
8078 | { "_wxPanel","_class_wxPanel",0}, | |
8079 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
8080 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
f6bcfd97 | 8081 | { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0}, |
1d99702e RD |
8082 | { "_wxPyEvent","_class_wxPyEvent",0}, |
8083 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
8084 | { "_class_wxMask","_wxMask",0}, | |
b1462dfa | 8085 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
1d99702e RD |
8086 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
8087 | { "_wxColour","_class_wxColour",0}, | |
8088 | { "_class_wxDialog","_wxDialog",0}, | |
b1462dfa | 8089 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
1d99702e RD |
8090 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
8091 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
b1462dfa | 8092 | { "_class_wxDataObject","_wxDataObject",0}, |
1d99702e RD |
8093 | { "_wxStaticLine","_class_wxStaticLine",0}, |
8094 | { "_wxBrush","_class_wxBrush",0}, | |
b1462dfa RD |
8095 | { "_wxDataFormat","_class_wxDataFormat",0}, |
8096 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
1d99702e | 8097 | { "_wxShowEvent","_class_wxShowEvent",0}, |
b1462dfa | 8098 | { "_uint","_wxCoord",0}, |
1d99702e RD |
8099 | { "_uint","_wxPrintQuality",0}, |
8100 | { "_uint","_size_t",0}, | |
8101 | { "_uint","_unsigned_int",0}, | |
8102 | { "_uint","_int",0}, | |
8103 | { "_uint","_wxWindowID",0}, | |
f6bcfd97 | 8104 | { "_wxChar","_char",0}, |
2f90df85 | 8105 | { "_wxPyValidator","_class_wxPyValidator",0}, |
1d99702e RD |
8106 | { "_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent}, |
8107 | { "_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent}, | |
8108 | { "_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent}, | |
8109 | { "_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent}, | |
8110 | { "_class_wxEvent","_wxEvent",0}, | |
8111 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
8112 | { "_wxRect","_class_wxRect",0}, | |
8113 | { "_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent}, | |
8114 | { "_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent}, | |
8115 | { "_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent}, | |
8116 | { "_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent}, | |
8117 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
8118 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
8119 | { "_wxPoint","_class_wxPoint",0}, | |
8120 | { "_class_wxButton","_wxButton",0}, | |
8121 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
f6bcfd97 BP |
8122 | { "_class_wxSpinCtrl","_wxSpinCtrl",0}, |
8123 | { "_char","_wxChar",0}, | |
1d99702e | 8124 | { "_wxBitmap","_class_wxBitmap",0}, |
1d99702e | 8125 | { "_wxWindowDC","_class_wxWindowDC",0}, |
f6bcfd97 | 8126 | { "_wxTimerEvent","_class_wxTimerEvent",0}, |
1d99702e RD |
8127 | { "_wxScrollBar","_class_wxScrollBar",0}, |
8128 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
8129 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
8130 | { "_class_wxNotifyEvent","_class_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent}, | |
8131 | { "_class_wxNotifyEvent","_wxTreeEvent",SwigwxTreeEventTowxNotifyEvent}, | |
8132 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
2f90df85 | 8133 | { "_class_wxValidator","_wxValidator",0}, |
1d99702e RD |
8134 | { "_class_wxPyEvent","_wxPyEvent",0}, |
8135 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
8136 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
8137 | { "_wxListItem","_class_wxListItem",0}, | |
b1462dfa | 8138 | { "_wxDropTarget","_class_wxDropTarget",0}, |
1d99702e RD |
8139 | { "_class_wxStaticLine","_wxStaticLine",0}, |
8140 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
b1462dfa | 8141 | { "_EBool","_wxCoord",0}, |
1d99702e RD |
8142 | { "_EBool","_wxPrintQuality",0}, |
8143 | { "_EBool","_signed_int",0}, | |
8144 | { "_EBool","_int",0}, | |
8145 | { "_EBool","_wxWindowID",0}, | |
8146 | { "_class_wxRegion","_wxRegion",0}, | |
b1462dfa | 8147 | { "_class_wxDataFormat","_wxDataFormat",0}, |
1d99702e | 8148 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
48115f4a | 8149 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
1d99702e RD |
8150 | { "_wxStaticText","_class_wxStaticText",0}, |
8151 | { "_wxFont","_class_wxFont",0}, | |
b1462dfa | 8152 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
1d99702e | 8153 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
1d99702e RD |
8154 | { "_unsigned_long","_long",0}, |
8155 | { "_class_wxRect","_wxRect",0}, | |
8156 | { "_class_wxDC","_wxDC",0}, | |
d426c97e | 8157 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
48115f4a RD |
8158 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
8159 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, | |
1d99702e | 8160 | { "_class_wxTreeEvent","_wxTreeEvent",0}, |
1d99702e RD |
8161 | { "_wxFocusEvent","_class_wxFocusEvent",0}, |
8162 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
f6bcfd97 | 8163 | { "_class_wxTimerEvent","_wxTimerEvent",0}, |
1d99702e RD |
8164 | { "_class_wxSpinButton","_wxSpinButton",0}, |
8165 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
8166 | { "_class_wxPanel","_wxPanel",0}, | |
8167 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
8168 | { "_wxComboBox","_class_wxComboBox",0}, | |
8169 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
b1462dfa | 8170 | { "_signed_int","_wxCoord",0}, |
1d99702e RD |
8171 | { "_signed_int","_wxPrintQuality",0}, |
8172 | { "_signed_int","_EBool",0}, | |
8173 | { "_signed_int","_wxWindowID",0}, | |
8174 | { "_signed_int","_int",0}, | |
8175 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
f6bcfd97 | 8176 | { "_class_wxListItemAttr","_wxListItemAttr",0}, |
1d99702e RD |
8177 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, |
8178 | { "_wxMetaFileDC","_class_wxMetaFileDC",0}, | |
b1462dfa | 8179 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
1d99702e RD |
8180 | { "_wxMenu","_class_wxMenu",0}, |
8181 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
8182 | { "_wxListBox","_class_wxListBox",0}, | |
8183 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
8184 | { "_WXTYPE","_short",0}, | |
8185 | { "_WXTYPE","_signed_short",0}, | |
8186 | { "_WXTYPE","_unsigned_short",0}, | |
b1462dfa | 8187 | { "_class_wxDropTarget","_wxDropTarget",0}, |
1d99702e RD |
8188 | { "_class_wxBrush","_wxBrush",0}, |
8189 | { "_unsigned_short","_WXTYPE",0}, | |
8190 | { "_unsigned_short","_short",0}, | |
f6bcfd97 BP |
8191 | { "_class_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow}, |
8192 | { "_class_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow}, | |
1d99702e RD |
8193 | { "_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow}, |
8194 | { "_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow}, | |
8195 | { "_class_wxWindow","_wxWindow",0}, | |
8196 | { "_class_wxStaticText","_wxStaticText",0}, | |
8197 | { "_class_wxFont","_wxFont",0}, | |
b1462dfa | 8198 | { "_wxClipboard","_class_wxClipboard",0}, |
2f90df85 | 8199 | { "_class_wxPyValidator","_wxPyValidator",0}, |
1d99702e | 8200 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
2abc0a0f | 8201 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
1d99702e | 8202 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
48115f4a | 8203 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
65dd82cb | 8204 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, |
1d99702e RD |
8205 | { "_wxClientDC","_class_wxClientDC",0}, |
8206 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
8207 | { "_wxListCtrl","_class_wxListCtrl",0}, | |
8208 | { "_class_wxPoint","_wxPoint",0}, | |
8209 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
8210 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
8211 | { "_signed_short","_WXTYPE",0}, | |
8212 | { "_signed_short","_short",0}, | |
8213 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
65dd82cb | 8214 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
1d99702e RD |
8215 | { "_wxPaintDC","_class_wxPaintDC",0}, |
8216 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
8217 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
8218 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
8219 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
8220 | { "_class_wxCursor","_wxCursor",0}, | |
b1462dfa | 8221 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
1d99702e RD |
8222 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, |
8223 | { "_wxTreeItemId","_class_wxTreeItemId",0}, | |
8224 | { "_unsigned_char","_byte",0}, | |
8225 | { "_class_wxMetaFileDC","_wxMetaFileDC",0}, | |
8226 | { "_class_wxMenu","_wxMenu",0}, | |
f6bcfd97 BP |
8227 | { "_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl}, |
8228 | { "_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl}, | |
1d99702e RD |
8229 | { "_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl}, |
8230 | { "_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl}, | |
8231 | { "_wxControl","_class_wxControl",0}, | |
8232 | { "_class_wxListBox","_wxListBox",0}, | |
b1462dfa | 8233 | { "_unsigned_int","_wxCoord",0}, |
1d99702e RD |
8234 | { "_unsigned_int","_wxPrintQuality",0}, |
8235 | { "_unsigned_int","_size_t",0}, | |
8236 | { "_unsigned_int","_uint",0}, | |
8237 | { "_unsigned_int","_wxWindowID",0}, | |
8238 | { "_unsigned_int","_int",0}, | |
8239 | { "_wxIcon","_class_wxIcon",0}, | |
8240 | { "_wxDialog","_class_wxDialog",0}, | |
8241 | { "_class_wxListItem","_wxListItem",0}, | |
8242 | { "_class_wxPen","_wxPen",0}, | |
8243 | { "_short","_WXTYPE",0}, | |
8244 | { "_short","_unsigned_short",0}, | |
8245 | { "_short","_signed_short",0}, | |
8246 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
65dd82cb RD |
8247 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
8248 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
1d99702e RD |
8249 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
8250 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
8251 | { "_class_wxChoice","_wxChoice",0}, | |
8252 | { "_class_wxSlider","_wxSlider",0}, | |
8253 | { "_class_wxImageList","_wxImageList",0}, | |
8254 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
48115f4a | 8255 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
b1462dfa | 8256 | { "_wxWindowID","_wxCoord",0}, |
1d99702e RD |
8257 | { "_wxWindowID","_wxPrintQuality",0}, |
8258 | { "_wxWindowID","_size_t",0}, | |
8259 | { "_wxWindowID","_EBool",0}, | |
8260 | { "_wxWindowID","_uint",0}, | |
8261 | { "_wxWindowID","_int",0}, | |
8262 | { "_wxWindowID","_signed_int",0}, | |
8263 | { "_wxWindowID","_unsigned_int",0}, | |
d426c97e | 8264 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
b1462dfa | 8265 | { "_int","_wxCoord",0}, |
1d99702e RD |
8266 | { "_int","_wxPrintQuality",0}, |
8267 | { "_int","_size_t",0}, | |
8268 | { "_int","_EBool",0}, | |
8269 | { "_int","_uint",0}, | |
8270 | { "_int","_wxWindowID",0}, | |
8271 | { "_int","_unsigned_int",0}, | |
8272 | { "_int","_signed_int",0}, | |
8273 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2f90df85 | 8274 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
1d99702e RD |
8275 | { "_class_wxListEvent","_wxListEvent",0}, |
8276 | { "_class_wxSpinEvent","_wxSpinEvent",0}, | |
48115f4a RD |
8277 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
8278 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, | |
1d99702e RD |
8279 | { "_wxButton","_class_wxButton",0}, |
8280 | { "_wxSize","_class_wxSize",0}, | |
8281 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
8282 | { "_class_wxPrinterDC","_wxPrinterDC",0}, | |
65dd82cb | 8283 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
1d99702e RD |
8284 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, |
8285 | { "_class_wxPaintDC","_wxPaintDC",0}, | |
8286 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
b1462dfa | 8287 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
1d99702e RD |
8288 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
8289 | { "_class_wxComboBox","_wxComboBox",0}, | |
8290 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
2f90df85 | 8291 | { "_wxValidator","_class_wxValidator",0}, |
1d99702e | 8292 | { "_class_wxTreeItemId","_wxTreeItemId",0}, |
1d99702e RD |
8293 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
8294 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
f6bcfd97 BP |
8295 | { "_class_wxControl","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl}, |
8296 | { "_class_wxControl","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxControl}, | |
1d99702e RD |
8297 | { "_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl}, |
8298 | { "_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl}, | |
8299 | { "_class_wxControl","_wxControl",0}, | |
8300 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
8301 | { "_class_wxIcon","_wxIcon",0}, | |
8302 | { "_class_wxColour","_wxColour",0}, | |
8303 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
8304 | { "_wxPalette","_class_wxPalette",0}, | |
8305 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
b1462dfa RD |
8306 | { "_wxCoord","_int",0}, |
8307 | { "_wxCoord","_signed_int",0}, | |
8308 | { "_wxCoord","_unsigned_int",0}, | |
8309 | { "_wxCoord","_wxWindowID",0}, | |
8310 | { "_wxCoord","_uint",0}, | |
8311 | { "_wxCoord","_EBool",0}, | |
8312 | { "_wxCoord","_size_t",0}, | |
8313 | { "_wxCoord","_wxPrintQuality",0}, | |
1d99702e | 8314 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
b1462dfa | 8315 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
1d99702e RD |
8316 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
8317 | { "_wxRegion","_class_wxRegion",0}, | |
8318 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
b1462dfa | 8319 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, |
1d99702e RD |
8320 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
8321 | { "_wxGauge","_class_wxGauge",0}, | |
8322 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
2abc0a0f | 8323 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
1d99702e RD |
8324 | { "_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent}, |
8325 | { "_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent}, | |
8326 | { "_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent}, | |
8327 | { "_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent}, | |
8328 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
8329 | { "_class_wxClientDC","_wxClientDC",0}, | |
8330 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
8331 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
b1462dfa | 8332 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
1d99702e RD |
8333 | { "_class_wxSize","_wxSize",0}, |
8334 | { "_class_wxBitmap","_wxBitmap",0}, | |
8335 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
b1462dfa | 8336 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
1d99702e RD |
8337 | { "_wxMenuBar","_class_wxMenuBar",0}, |
8338 | { "_wxTreeEvent","_class_wxTreeEvent",0}, | |
f6bcfd97 BP |
8339 | { "_wxEvtHandler","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler}, |
8340 | { "_wxEvtHandler","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxEvtHandler}, | |
1d99702e RD |
8341 | { "_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler}, |
8342 | { "_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler}, | |
8343 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
8344 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
8345 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
1d99702e | 8346 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, |
f6bcfd97 | 8347 | { "_wxListItemAttr","_class_wxListItemAttr",0}, |
1d99702e RD |
8348 | { "_wxKeyEvent","_class_wxKeyEvent",0}, |
8349 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
8350 | { "_class_wxPalette","_wxPalette",0}, | |
b1462dfa | 8351 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
1d99702e | 8352 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
b1462dfa | 8353 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
f6bcfd97 BP |
8354 | { "_wxWindow","_class_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow}, |
8355 | { "_wxWindow","_wxPyTreeCtrl",SwigwxPyTreeCtrlTowxWindow}, | |
1d99702e RD |
8356 | { "_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow}, |
8357 | { "_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow}, | |
8358 | { "_wxWindow","_class_wxWindow",0}, | |
48115f4a | 8359 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
1d99702e RD |
8360 | {0,0,0}}; |
8361 | ||
8ab979d7 RD |
8362 | static PyObject *SWIG_globals; |
8363 | #ifdef __cplusplus | |
8364 | extern "C" | |
8365 | #endif | |
1d99702e | 8366 | SWIGEXPORT(void) initcontrols2c() { |
8ab979d7 RD |
8367 | PyObject *m, *d; |
8368 | SWIG_globals = SWIG_newvarlink(); | |
8369 | m = Py_InitModule("controls2c", controls2cMethods); | |
8370 | d = PyModule_GetDict(m); | |
af309447 RD |
8371 | PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT)); |
8372 | PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE)); | |
8373 | PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA)); | |
8374 | PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH)); | |
8375 | PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT)); | |
bb0054cd | 8376 | PyDict_SetItemString(d,"wxLIST_MASK_STATE", PyInt_FromLong((long) wxLIST_MASK_STATE)); |
af309447 RD |
8377 | PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE)); |
8378 | PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED)); | |
8379 | PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED)); | |
8380 | PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED)); | |
8381 | PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT)); | |
8382 | PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE)); | |
8383 | PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW)); | |
8384 | PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE)); | |
8385 | PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON)); | |
8386 | PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL)); | |
8387 | PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT)); | |
8388 | PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON)); | |
8389 | PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT)); | |
8390 | PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT)); | |
8391 | PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM)); | |
8392 | PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE)); | |
8393 | PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL)); | |
8394 | PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW)); | |
8395 | PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT)); | |
8396 | PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT)); | |
8397 | PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT)); | |
8398 | PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT)); | |
8399 | PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP)); | |
8400 | PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID)); | |
af309447 RD |
8401 | PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE)); |
8402 | PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER)); | |
8403 | PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS)); | |
8404 | PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON)); | |
8405 | PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL)); | |
8406 | PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP)); | |
8407 | PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN)); | |
8408 | PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT)); | |
8409 | PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT)); | |
f6bcfd97 BP |
8410 | PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT)); |
8411 | PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT)); | |
8412 | PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE)); | |
8413 | PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER)); | |
694759cf RD |
8414 | PyDict_SetItemString(d,"wxTreeItemIcon_Normal", PyInt_FromLong((long) wxTreeItemIcon_Normal)); |
8415 | PyDict_SetItemString(d,"wxTreeItemIcon_Selected", PyInt_FromLong((long) wxTreeItemIcon_Selected)); | |
8416 | PyDict_SetItemString(d,"wxTreeItemIcon_Expanded", PyInt_FromLong((long) wxTreeItemIcon_Expanded)); | |
8417 | PyDict_SetItemString(d,"wxTreeItemIcon_SelectedExpanded", PyInt_FromLong((long) wxTreeItemIcon_SelectedExpanded)); | |
8418 | PyDict_SetItemString(d,"wxTreeItemIcon_Max", PyInt_FromLong((long) wxTreeItemIcon_Max)); | |
164b735b RD |
8419 | PyDict_SetItemString(d,"wxTREE_HITTEST_ABOVE", PyInt_FromLong((long) wxTREE_HITTEST_ABOVE)); |
8420 | PyDict_SetItemString(d,"wxTREE_HITTEST_BELOW", PyInt_FromLong((long) wxTREE_HITTEST_BELOW)); | |
8421 | PyDict_SetItemString(d,"wxTREE_HITTEST_NOWHERE", PyInt_FromLong((long) wxTREE_HITTEST_NOWHERE)); | |
8422 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMBUTTON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMBUTTON)); | |
8423 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMICON)); | |
8424 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMINDENT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMINDENT)); | |
8425 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLABEL)); | |
8426 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMRIGHT)); | |
8427 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMSTATEICON)); | |
8428 | PyDict_SetItemString(d,"wxTREE_HITTEST_TOLEFT", PyInt_FromLong((long) wxTREE_HITTEST_TOLEFT)); | |
8429 | PyDict_SetItemString(d,"wxTREE_HITTEST_TORIGHT", PyInt_FromLong((long) wxTREE_HITTEST_TORIGHT)); | |
8430 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMUPPERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMUPPERPART)); | |
8431 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEMLOWERPART", PyInt_FromLong((long) wxTREE_HITTEST_ONITEMLOWERPART)); | |
8432 | PyDict_SetItemString(d,"wxTREE_HITTEST_ONITEM", PyInt_FromLong((long) wxTREE_HITTEST_ONITEM)); | |
1d99702e RD |
8433 | { |
8434 | int i; | |
8435 | for (i = 0; _swig_mapping[i].n1; i++) | |
8436 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
8437 | } | |
8ab979d7 | 8438 | } |