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