]>
Commit | Line | Data |
---|---|---|
70551f47 RD |
1 | /* |
2 | * FILE : gtk/controls2.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
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> | |
70551f47 RD |
59 | |
60 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
61 | PyObject* o2; | |
62 | PyObject* o3; | |
63 | if (!target) { | |
64 | target = o; | |
65 | } else if (target == Py_None) { | |
66 | Py_DECREF(Py_None); | |
67 | target = o; | |
68 | } else { | |
69 | if (!PyList_Check(target)) { | |
70 | o2 = target; | |
71 | target = PyList_New(0); | |
72 | PyList_Append(target, o2); | |
73 | Py_XDECREF(o2); | |
74 | } | |
75 | PyList_Append(target,o); | |
76 | Py_XDECREF(o); | |
77 | } | |
78 | return target; | |
79 | } | |
80 | ||
81 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
82 | PyObject* o2; | |
83 | PyObject* o3; | |
84 | ||
85 | if (!target) { | |
86 | target = o; | |
87 | } else if (target == Py_None) { | |
88 | Py_DECREF(Py_None); | |
89 | target = o; | |
90 | } else { | |
91 | if (!PyTuple_Check(target)) { | |
92 | o2 = target; | |
93 | target = PyTuple_New(1); | |
94 | PyTuple_SetItem(target, 0, o2); | |
95 | } | |
96 | o3 = PyTuple_New(1); | |
97 | PyTuple_SetItem(o3, 0, o); | |
98 | ||
99 | o2 = target; | |
100 | target = PySequence_Concat(o2, o3); | |
101 | Py_DECREF(o2); | |
102 | Py_DECREF(o3); | |
103 | } | |
104 | return target; | |
105 | } | |
106 | ||
107 | ||
105e45b9 | 108 | extern byte* byte_LIST_helper(PyObject* source); |
70551f47 RD |
109 | extern int* int_LIST_helper(PyObject* source); |
110 | extern long* long_LIST_helper(PyObject* source); | |
111 | extern char** string_LIST_helper(PyObject* source); | |
112 | extern wxPoint* wxPoint_LIST_helper(PyObject* source); | |
113 | extern wxBitmap** wxBitmap_LIST_helper(PyObject* source); | |
114 | extern wxString* wxString_LIST_helper(PyObject* source); | |
70551f47 | 115 | extern wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source); |
70551f47 RD |
116 | |
117 | ||
118 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
119 | ||
120 | extern wxValidator wxPyDefaultValidator; | |
121 | #define wxListItem_m_mask_get(_swigobj) ((long ) _swigobj->m_mask) | |
122 | static PyObject *_wrap_wxListItem_m_mask_get(PyObject *self, PyObject *args) { | |
123 | PyObject * _resultobj; | |
124 | long _result; | |
125 | wxListItem * _arg0; | |
126 | char * _argc0 = 0; | |
127 | ||
128 | self = self; | |
129 | if(!PyArg_ParseTuple(args,"s:wxListItem_m_mask_get",&_argc0)) | |
130 | return NULL; | |
131 | if (_argc0) { | |
132 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { | |
133 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_mask_get. Expected _wxListItem_p."); | |
134 | return NULL; | |
135 | } | |
136 | } | |
137 | _result = (long )wxListItem_m_mask_get(_arg0); | |
138 | _resultobj = Py_BuildValue("l",_result); | |
139 | return _resultobj; | |
140 | } | |
141 | ||
142 | #define wxListItem_m_itemId_get(_swigobj) ((long ) _swigobj->m_itemId) | |
143 | static PyObject *_wrap_wxListItem_m_itemId_get(PyObject *self, PyObject *args) { | |
144 | PyObject * _resultobj; | |
145 | long _result; | |
146 | wxListItem * _arg0; | |
147 | char * _argc0 = 0; | |
148 | ||
149 | self = self; | |
150 | if(!PyArg_ParseTuple(args,"s:wxListItem_m_itemId_get",&_argc0)) | |
151 | return NULL; | |
152 | if (_argc0) { | |
153 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { | |
154 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_itemId_get. Expected _wxListItem_p."); | |
155 | return NULL; | |
156 | } | |
157 | } | |
158 | _result = (long )wxListItem_m_itemId_get(_arg0); | |
159 | _resultobj = Py_BuildValue("l",_result); | |
160 | return _resultobj; | |
161 | } | |
162 | ||
163 | #define wxListItem_m_col_get(_swigobj) ((int ) _swigobj->m_col) | |
164 | static PyObject *_wrap_wxListItem_m_col_get(PyObject *self, PyObject *args) { | |
165 | PyObject * _resultobj; | |
166 | int _result; | |
167 | wxListItem * _arg0; | |
168 | char * _argc0 = 0; | |
169 | ||
170 | self = self; | |
171 | if(!PyArg_ParseTuple(args,"s:wxListItem_m_col_get",&_argc0)) | |
172 | return NULL; | |
173 | if (_argc0) { | |
174 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { | |
175 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_col_get. Expected _wxListItem_p."); | |
176 | return NULL; | |
177 | } | |
178 | } | |
179 | _result = (int )wxListItem_m_col_get(_arg0); | |
180 | _resultobj = Py_BuildValue("i",_result); | |
181 | return _resultobj; | |
182 | } | |
183 | ||
184 | #define wxListItem_m_state_get(_swigobj) ((long ) _swigobj->m_state) | |
185 | static PyObject *_wrap_wxListItem_m_state_get(PyObject *self, PyObject *args) { | |
186 | PyObject * _resultobj; | |
187 | long _result; | |
188 | wxListItem * _arg0; | |
189 | char * _argc0 = 0; | |
190 | ||
191 | self = self; | |
192 | if(!PyArg_ParseTuple(args,"s:wxListItem_m_state_get",&_argc0)) | |
193 | return NULL; | |
194 | if (_argc0) { | |
195 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { | |
196 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_state_get. Expected _wxListItem_p."); | |
197 | return NULL; | |
198 | } | |
199 | } | |
200 | _result = (long )wxListItem_m_state_get(_arg0); | |
201 | _resultobj = Py_BuildValue("l",_result); | |
202 | return _resultobj; | |
203 | } | |
204 | ||
205 | #define wxListItem_m_stateMask_get(_swigobj) ((long ) _swigobj->m_stateMask) | |
206 | static PyObject *_wrap_wxListItem_m_stateMask_get(PyObject *self, PyObject *args) { | |
207 | PyObject * _resultobj; | |
208 | long _result; | |
209 | wxListItem * _arg0; | |
210 | char * _argc0 = 0; | |
211 | ||
212 | self = self; | |
213 | if(!PyArg_ParseTuple(args,"s:wxListItem_m_stateMask_get",&_argc0)) | |
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_stateMask_get. Expected _wxListItem_p."); | |
218 | return NULL; | |
219 | } | |
220 | } | |
221 | _result = (long )wxListItem_m_stateMask_get(_arg0); | |
222 | _resultobj = Py_BuildValue("l",_result); | |
223 | return _resultobj; | |
224 | } | |
225 | ||
226 | #define wxListItem_m_text_get(_swigobj) (&_swigobj->m_text) | |
227 | static PyObject *_wrap_wxListItem_m_text_get(PyObject *self, PyObject *args) { | |
228 | PyObject * _resultobj; | |
229 | wxString * _result; | |
230 | wxListItem * _arg0; | |
231 | char * _argc0 = 0; | |
232 | ||
233 | self = self; | |
234 | if(!PyArg_ParseTuple(args,"s:wxListItem_m_text_get",&_argc0)) | |
235 | return NULL; | |
236 | if (_argc0) { | |
237 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { | |
238 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_text_get. Expected _wxListItem_p."); | |
239 | return NULL; | |
240 | } | |
241 | } | |
242 | _result = (wxString *)wxListItem_m_text_get(_arg0); | |
243 | { | |
244 | _resultobj = PyString_FromString(WXSTRINGCAST (*_result)); | |
245 | } | |
246 | return _resultobj; | |
247 | } | |
248 | ||
249 | #define wxListItem_m_image_get(_swigobj) ((int ) _swigobj->m_image) | |
250 | static PyObject *_wrap_wxListItem_m_image_get(PyObject *self, PyObject *args) { | |
251 | PyObject * _resultobj; | |
252 | int _result; | |
253 | wxListItem * _arg0; | |
254 | char * _argc0 = 0; | |
255 | ||
256 | self = self; | |
257 | if(!PyArg_ParseTuple(args,"s:wxListItem_m_image_get",&_argc0)) | |
258 | return NULL; | |
259 | if (_argc0) { | |
260 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { | |
261 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_image_get. Expected _wxListItem_p."); | |
262 | return NULL; | |
263 | } | |
264 | } | |
265 | _result = (int )wxListItem_m_image_get(_arg0); | |
266 | _resultobj = Py_BuildValue("i",_result); | |
267 | return _resultobj; | |
268 | } | |
269 | ||
270 | #define wxListItem_m_data_get(_swigobj) ((long ) _swigobj->m_data) | |
271 | static PyObject *_wrap_wxListItem_m_data_get(PyObject *self, PyObject *args) { | |
272 | PyObject * _resultobj; | |
273 | long _result; | |
274 | wxListItem * _arg0; | |
275 | char * _argc0 = 0; | |
276 | ||
277 | self = self; | |
278 | if(!PyArg_ParseTuple(args,"s:wxListItem_m_data_get",&_argc0)) | |
279 | return NULL; | |
280 | if (_argc0) { | |
281 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { | |
282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_data_get. Expected _wxListItem_p."); | |
283 | return NULL; | |
284 | } | |
285 | } | |
286 | _result = (long )wxListItem_m_data_get(_arg0); | |
287 | _resultobj = Py_BuildValue("l",_result); | |
288 | return _resultobj; | |
289 | } | |
290 | ||
291 | #define wxListItem_m_format_get(_swigobj) ((int ) _swigobj->m_format) | |
292 | static PyObject *_wrap_wxListItem_m_format_get(PyObject *self, PyObject *args) { | |
293 | PyObject * _resultobj; | |
294 | int _result; | |
295 | wxListItem * _arg0; | |
296 | char * _argc0 = 0; | |
297 | ||
298 | self = self; | |
299 | if(!PyArg_ParseTuple(args,"s:wxListItem_m_format_get",&_argc0)) | |
300 | return NULL; | |
301 | if (_argc0) { | |
302 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { | |
303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_format_get. Expected _wxListItem_p."); | |
304 | return NULL; | |
305 | } | |
306 | } | |
307 | _result = (int )wxListItem_m_format_get(_arg0); | |
308 | _resultobj = Py_BuildValue("i",_result); | |
309 | return _resultobj; | |
310 | } | |
311 | ||
312 | #define wxListItem_m_width_get(_swigobj) ((int ) _swigobj->m_width) | |
313 | static PyObject *_wrap_wxListItem_m_width_get(PyObject *self, PyObject *args) { | |
314 | PyObject * _resultobj; | |
315 | int _result; | |
316 | wxListItem * _arg0; | |
317 | char * _argc0 = 0; | |
318 | ||
319 | self = self; | |
320 | if(!PyArg_ParseTuple(args,"s:wxListItem_m_width_get",&_argc0)) | |
321 | return NULL; | |
322 | if (_argc0) { | |
323 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { | |
324 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListItem_m_width_get. Expected _wxListItem_p."); | |
325 | return NULL; | |
326 | } | |
327 | } | |
328 | _result = (int )wxListItem_m_width_get(_arg0); | |
329 | _resultobj = Py_BuildValue("i",_result); | |
330 | return _resultobj; | |
331 | } | |
332 | ||
333 | #define new_wxListItem() (new wxListItem()) | |
334 | static PyObject *_wrap_new_wxListItem(PyObject *self, PyObject *args) { | |
335 | PyObject * _resultobj; | |
336 | wxListItem * _result; | |
337 | char _ptemp[128]; | |
338 | ||
339 | self = self; | |
340 | if(!PyArg_ParseTuple(args,":new_wxListItem")) | |
341 | return NULL; | |
342 | _result = (wxListItem *)new_wxListItem(); | |
343 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p"); | |
344 | _resultobj = Py_BuildValue("s",_ptemp); | |
345 | return _resultobj; | |
346 | } | |
347 | ||
348 | #define delete_wxListItem(_swigobj) (delete _swigobj) | |
349 | static PyObject *_wrap_delete_wxListItem(PyObject *self, PyObject *args) { | |
350 | PyObject * _resultobj; | |
351 | wxListItem * _arg0; | |
352 | char * _argc0 = 0; | |
353 | ||
354 | self = self; | |
355 | if(!PyArg_ParseTuple(args,"s:delete_wxListItem",&_argc0)) | |
356 | return NULL; | |
357 | if (_argc0) { | |
358 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListItem_p")) { | |
359 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxListItem. Expected _wxListItem_p."); | |
360 | return NULL; | |
361 | } | |
362 | } | |
363 | delete_wxListItem(_arg0); | |
364 | Py_INCREF(Py_None); | |
365 | _resultobj = Py_None; | |
366 | return _resultobj; | |
367 | } | |
368 | ||
369 | static void *SwigwxListEventTowxCommandEvent(void *ptr) { | |
370 | wxListEvent *src; | |
371 | wxCommandEvent *dest; | |
372 | src = (wxListEvent *) ptr; | |
373 | dest = (wxCommandEvent *) src; | |
374 | return (void *) dest; | |
375 | } | |
376 | ||
377 | static void *SwigwxListEventTowxEvent(void *ptr) { | |
378 | wxListEvent *src; | |
379 | wxEvent *dest; | |
380 | src = (wxListEvent *) ptr; | |
381 | dest = (wxEvent *) src; | |
382 | return (void *) dest; | |
383 | } | |
384 | ||
385 | #define wxListEvent_m_code_get(_swigobj) ((int ) _swigobj->m_code) | |
386 | static PyObject *_wrap_wxListEvent_m_code_get(PyObject *self, PyObject *args) { | |
387 | PyObject * _resultobj; | |
388 | int _result; | |
389 | wxListEvent * _arg0; | |
390 | char * _argc0 = 0; | |
391 | ||
392 | self = self; | |
393 | if(!PyArg_ParseTuple(args,"s:wxListEvent_m_code_get",&_argc0)) | |
394 | return NULL; | |
395 | if (_argc0) { | |
396 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) { | |
397 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_code_get. Expected _wxListEvent_p."); | |
398 | return NULL; | |
399 | } | |
400 | } | |
401 | _result = (int )wxListEvent_m_code_get(_arg0); | |
402 | _resultobj = Py_BuildValue("i",_result); | |
403 | return _resultobj; | |
404 | } | |
405 | ||
406 | #define wxListEvent_m_itemIndex_get(_swigobj) ((long ) _swigobj->m_itemIndex) | |
407 | static PyObject *_wrap_wxListEvent_m_itemIndex_get(PyObject *self, PyObject *args) { | |
408 | PyObject * _resultobj; | |
409 | long _result; | |
410 | wxListEvent * _arg0; | |
411 | char * _argc0 = 0; | |
412 | ||
413 | self = self; | |
414 | if(!PyArg_ParseTuple(args,"s:wxListEvent_m_itemIndex_get",&_argc0)) | |
415 | return NULL; | |
416 | if (_argc0) { | |
417 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) { | |
418 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_itemIndex_get. Expected _wxListEvent_p."); | |
419 | return NULL; | |
420 | } | |
421 | } | |
422 | _result = (long )wxListEvent_m_itemIndex_get(_arg0); | |
423 | _resultobj = Py_BuildValue("l",_result); | |
424 | return _resultobj; | |
425 | } | |
426 | ||
427 | #define wxListEvent_m_oldItemIndex_get(_swigobj) ((long ) _swigobj->m_oldItemIndex) | |
428 | static PyObject *_wrap_wxListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args) { | |
429 | PyObject * _resultobj; | |
430 | long _result; | |
431 | wxListEvent * _arg0; | |
432 | char * _argc0 = 0; | |
433 | ||
434 | self = self; | |
435 | if(!PyArg_ParseTuple(args,"s:wxListEvent_m_oldItemIndex_get",&_argc0)) | |
436 | return NULL; | |
437 | if (_argc0) { | |
438 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) { | |
439 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_oldItemIndex_get. Expected _wxListEvent_p."); | |
440 | return NULL; | |
441 | } | |
442 | } | |
443 | _result = (long )wxListEvent_m_oldItemIndex_get(_arg0); | |
444 | _resultobj = Py_BuildValue("l",_result); | |
445 | return _resultobj; | |
446 | } | |
447 | ||
448 | #define wxListEvent_m_col_get(_swigobj) ((int ) _swigobj->m_col) | |
449 | static PyObject *_wrap_wxListEvent_m_col_get(PyObject *self, PyObject *args) { | |
450 | PyObject * _resultobj; | |
451 | int _result; | |
452 | wxListEvent * _arg0; | |
453 | char * _argc0 = 0; | |
454 | ||
455 | self = self; | |
456 | if(!PyArg_ParseTuple(args,"s:wxListEvent_m_col_get",&_argc0)) | |
457 | return NULL; | |
458 | if (_argc0) { | |
459 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) { | |
460 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_col_get. Expected _wxListEvent_p."); | |
461 | return NULL; | |
462 | } | |
463 | } | |
464 | _result = (int )wxListEvent_m_col_get(_arg0); | |
465 | _resultobj = Py_BuildValue("i",_result); | |
466 | return _resultobj; | |
467 | } | |
468 | ||
469 | #define wxListEvent_m_cancelled_get(_swigobj) ((bool ) _swigobj->m_cancelled) | |
470 | static PyObject *_wrap_wxListEvent_m_cancelled_get(PyObject *self, PyObject *args) { | |
471 | PyObject * _resultobj; | |
472 | bool _result; | |
473 | wxListEvent * _arg0; | |
474 | char * _argc0 = 0; | |
475 | ||
476 | self = self; | |
477 | if(!PyArg_ParseTuple(args,"s:wxListEvent_m_cancelled_get",&_argc0)) | |
478 | return NULL; | |
479 | if (_argc0) { | |
480 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) { | |
481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_cancelled_get. Expected _wxListEvent_p."); | |
482 | return NULL; | |
483 | } | |
484 | } | |
485 | _result = (bool )wxListEvent_m_cancelled_get(_arg0); | |
486 | _resultobj = Py_BuildValue("i",_result); | |
487 | return _resultobj; | |
488 | } | |
489 | ||
490 | #define wxListEvent_m_pointDrag_get(_swigobj) (&_swigobj->m_pointDrag) | |
491 | static PyObject *_wrap_wxListEvent_m_pointDrag_get(PyObject *self, PyObject *args) { | |
492 | PyObject * _resultobj; | |
493 | wxPoint * _result; | |
494 | wxListEvent * _arg0; | |
495 | char * _argc0 = 0; | |
496 | char _ptemp[128]; | |
497 | ||
498 | self = self; | |
499 | if(!PyArg_ParseTuple(args,"s:wxListEvent_m_pointDrag_get",&_argc0)) | |
500 | return NULL; | |
501 | if (_argc0) { | |
502 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) { | |
503 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_pointDrag_get. Expected _wxListEvent_p."); | |
504 | return NULL; | |
505 | } | |
506 | } | |
507 | _result = (wxPoint *)wxListEvent_m_pointDrag_get(_arg0); | |
508 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); | |
509 | _resultobj = Py_BuildValue("s",_ptemp); | |
510 | return _resultobj; | |
511 | } | |
512 | ||
513 | #define wxListEvent_m_item_get(_swigobj) (&_swigobj->m_item) | |
514 | static PyObject *_wrap_wxListEvent_m_item_get(PyObject *self, PyObject *args) { | |
515 | PyObject * _resultobj; | |
516 | wxListItem * _result; | |
517 | wxListEvent * _arg0; | |
518 | char * _argc0 = 0; | |
519 | char _ptemp[128]; | |
520 | ||
521 | self = self; | |
522 | if(!PyArg_ParseTuple(args,"s:wxListEvent_m_item_get",&_argc0)) | |
523 | return NULL; | |
524 | if (_argc0) { | |
525 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListEvent_p")) { | |
526 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListEvent_m_item_get. Expected _wxListEvent_p."); | |
527 | return NULL; | |
528 | } | |
529 | } | |
530 | _result = (wxListItem *)wxListEvent_m_item_get(_arg0); | |
531 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p"); | |
532 | _resultobj = Py_BuildValue("s",_ptemp); | |
533 | return _resultobj; | |
534 | } | |
535 | ||
536 | static void *SwigwxListCtrlTowxControl(void *ptr) { | |
537 | wxListCtrl *src; | |
538 | wxControl *dest; | |
539 | src = (wxListCtrl *) ptr; | |
540 | dest = (wxControl *) src; | |
541 | return (void *) dest; | |
542 | } | |
543 | ||
544 | static void *SwigwxListCtrlTowxWindow(void *ptr) { | |
545 | wxListCtrl *src; | |
546 | wxWindow *dest; | |
547 | src = (wxListCtrl *) ptr; | |
548 | dest = (wxWindow *) src; | |
549 | return (void *) dest; | |
550 | } | |
551 | ||
552 | static void *SwigwxListCtrlTowxEvtHandler(void *ptr) { | |
553 | wxListCtrl *src; | |
554 | wxEvtHandler *dest; | |
555 | src = (wxListCtrl *) ptr; | |
556 | dest = (wxEvtHandler *) src; | |
557 | return (void *) dest; | |
558 | } | |
559 | ||
60e05667 | 560 | #define new_wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxListCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
70551f47 RD |
561 | static PyObject *_wrap_new_wxListCtrl(PyObject *self, PyObject *args) { |
562 | PyObject * _resultobj; | |
563 | wxListCtrl * _result; | |
564 | wxWindow * _arg0; | |
565 | wxWindowID _arg1; | |
566 | wxPoint * _arg2 = &wxPyDefaultPosition; | |
567 | wxSize * _arg3 = &wxPyDefaultSize; | |
568 | long _arg4 = (wxLC_ICON); | |
60e05667 RD |
569 | wxValidator * _arg5 = &wxPyDefaultValidator; |
570 | char * _arg6 = "listCtrl"; | |
70551f47 RD |
571 | char * _argc0 = 0; |
572 | char * _argc2 = 0; | |
573 | char * _argc3 = 0; | |
60e05667 | 574 | char * _argc5 = 0; |
70551f47 RD |
575 | char _ptemp[128]; |
576 | ||
577 | self = self; | |
60e05667 | 578 | if(!PyArg_ParseTuple(args,"si|sslss:new_wxListCtrl",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_argc5,&_arg6)) |
70551f47 RD |
579 | return NULL; |
580 | if (_argc0) { | |
581 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
582 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxListCtrl. Expected _wxWindow_p."); | |
583 | return NULL; | |
584 | } | |
585 | } | |
586 | if (_argc2) { | |
587 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) { | |
588 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxListCtrl. Expected _wxPoint_p."); | |
589 | return NULL; | |
590 | } | |
591 | } | |
592 | if (_argc3) { | |
593 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) { | |
594 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxListCtrl. Expected _wxSize_p."); | |
595 | return NULL; | |
596 | } | |
597 | } | |
60e05667 RD |
598 | if (_argc5) { |
599 | if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxValidator_p")) { | |
600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxListCtrl. Expected _wxValidator_p."); | |
601 | return NULL; | |
602 | } | |
603 | } | |
604 | _result = (wxListCtrl *)new_wxListCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6); | |
70551f47 RD |
605 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListCtrl_p"); |
606 | _resultobj = Py_BuildValue("s",_ptemp); | |
607 | return _resultobj; | |
608 | } | |
609 | ||
610 | #define wxListCtrl_Arrange(_swigobj,_swigarg0) (_swigobj->Arrange(_swigarg0)) | |
611 | static PyObject *_wrap_wxListCtrl_Arrange(PyObject *self, PyObject *args) { | |
612 | PyObject * _resultobj; | |
613 | bool _result; | |
614 | wxListCtrl * _arg0; | |
615 | int _arg1 = wxLIST_ALIGN_DEFAULT; | |
616 | char * _argc0 = 0; | |
617 | ||
618 | self = self; | |
619 | if(!PyArg_ParseTuple(args,"s|i:wxListCtrl_Arrange",&_argc0,&_arg1)) | |
620 | return NULL; | |
621 | if (_argc0) { | |
622 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
623 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_Arrange. Expected _wxListCtrl_p."); | |
624 | return NULL; | |
625 | } | |
626 | } | |
627 | _result = (bool )wxListCtrl_Arrange(_arg0,_arg1); | |
628 | _resultobj = Py_BuildValue("i",_result); | |
629 | return _resultobj; | |
630 | } | |
631 | ||
632 | #define wxListCtrl_DeleteItem(_swigobj,_swigarg0) (_swigobj->DeleteItem(_swigarg0)) | |
633 | static PyObject *_wrap_wxListCtrl_DeleteItem(PyObject *self, PyObject *args) { | |
634 | PyObject * _resultobj; | |
635 | bool _result; | |
636 | wxListCtrl * _arg0; | |
637 | long _arg1; | |
638 | char * _argc0 = 0; | |
639 | ||
640 | self = self; | |
641 | if(!PyArg_ParseTuple(args,"sl:wxListCtrl_DeleteItem",&_argc0,&_arg1)) | |
642 | return NULL; | |
643 | if (_argc0) { | |
644 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
645 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteItem. Expected _wxListCtrl_p."); | |
646 | return NULL; | |
647 | } | |
648 | } | |
649 | _result = (bool )wxListCtrl_DeleteItem(_arg0,_arg1); | |
650 | _resultobj = Py_BuildValue("i",_result); | |
651 | return _resultobj; | |
652 | } | |
653 | ||
654 | #define wxListCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems()) | |
655 | static PyObject *_wrap_wxListCtrl_DeleteAllItems(PyObject *self, PyObject *args) { | |
656 | PyObject * _resultobj; | |
657 | bool _result; | |
658 | wxListCtrl * _arg0; | |
659 | char * _argc0 = 0; | |
660 | ||
661 | self = self; | |
662 | if(!PyArg_ParseTuple(args,"s:wxListCtrl_DeleteAllItems",&_argc0)) | |
663 | return NULL; | |
664 | if (_argc0) { | |
665 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
666 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllItems. Expected _wxListCtrl_p."); | |
667 | return NULL; | |
668 | } | |
669 | } | |
670 | _result = (bool )wxListCtrl_DeleteAllItems(_arg0); | |
671 | _resultobj = Py_BuildValue("i",_result); | |
672 | return _resultobj; | |
673 | } | |
674 | ||
675 | #define wxListCtrl_DeleteColumn(_swigobj,_swigarg0) (_swigobj->DeleteColumn(_swigarg0)) | |
676 | static PyObject *_wrap_wxListCtrl_DeleteColumn(PyObject *self, PyObject *args) { | |
677 | PyObject * _resultobj; | |
678 | bool _result; | |
679 | wxListCtrl * _arg0; | |
680 | int _arg1; | |
681 | char * _argc0 = 0; | |
682 | ||
683 | self = self; | |
684 | if(!PyArg_ParseTuple(args,"si:wxListCtrl_DeleteColumn",&_argc0,&_arg1)) | |
685 | return NULL; | |
686 | if (_argc0) { | |
687 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
688 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteColumn. Expected _wxListCtrl_p."); | |
689 | return NULL; | |
690 | } | |
691 | } | |
692 | _result = (bool )wxListCtrl_DeleteColumn(_arg0,_arg1); | |
693 | _resultobj = Py_BuildValue("i",_result); | |
694 | return _resultobj; | |
695 | } | |
696 | ||
c95e68d8 RD |
697 | #define wxListCtrl_DeleteAllColumns(_swigobj) (_swigobj->DeleteAllColumns()) |
698 | static PyObject *_wrap_wxListCtrl_DeleteAllColumns(PyObject *self, PyObject *args) { | |
699 | PyObject * _resultobj; | |
700 | bool _result; | |
701 | wxListCtrl * _arg0; | |
702 | char * _argc0 = 0; | |
703 | ||
704 | self = self; | |
705 | if(!PyArg_ParseTuple(args,"s:wxListCtrl_DeleteAllColumns",&_argc0)) | |
706 | return NULL; | |
707 | if (_argc0) { | |
708 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
709 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_DeleteAllColumns. Expected _wxListCtrl_p."); | |
710 | return NULL; | |
711 | } | |
712 | } | |
713 | _result = (bool )wxListCtrl_DeleteAllColumns(_arg0); | |
714 | _resultobj = Py_BuildValue("i",_result); | |
715 | return _resultobj; | |
716 | } | |
717 | ||
718 | #define wxListCtrl_ClearAll(_swigobj) (_swigobj->ClearAll()) | |
719 | static PyObject *_wrap_wxListCtrl_ClearAll(PyObject *self, PyObject *args) { | |
720 | PyObject * _resultobj; | |
721 | wxListCtrl * _arg0; | |
722 | char * _argc0 = 0; | |
723 | ||
724 | self = self; | |
725 | if(!PyArg_ParseTuple(args,"s:wxListCtrl_ClearAll",&_argc0)) | |
726 | return NULL; | |
727 | if (_argc0) { | |
728 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ClearAll. Expected _wxListCtrl_p."); | |
730 | return NULL; | |
731 | } | |
732 | } | |
733 | wxListCtrl_ClearAll(_arg0); | |
734 | Py_INCREF(Py_None); | |
735 | _resultobj = Py_None; | |
736 | return _resultobj; | |
737 | } | |
738 | ||
70551f47 RD |
739 | #define wxListCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0)) |
740 | static PyObject *_wrap_wxListCtrl_EnsureVisible(PyObject *self, PyObject *args) { | |
741 | PyObject * _resultobj; | |
742 | bool _result; | |
743 | wxListCtrl * _arg0; | |
744 | long _arg1; | |
745 | char * _argc0 = 0; | |
746 | ||
747 | self = self; | |
748 | if(!PyArg_ParseTuple(args,"sl:wxListCtrl_EnsureVisible",&_argc0,&_arg1)) | |
749 | return NULL; | |
750 | if (_argc0) { | |
751 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
752 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_EnsureVisible. Expected _wxListCtrl_p."); | |
753 | return NULL; | |
754 | } | |
755 | } | |
756 | _result = (bool )wxListCtrl_EnsureVisible(_arg0,_arg1); | |
757 | _resultobj = Py_BuildValue("i",_result); | |
758 | return _resultobj; | |
759 | } | |
760 | ||
761 | #define wxListCtrl_FindItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2)) | |
762 | static PyObject *_wrap_wxListCtrl_FindItem(PyObject *self, PyObject *args) { | |
763 | PyObject * _resultobj; | |
764 | long _result; | |
765 | wxListCtrl * _arg0; | |
766 | long _arg1; | |
767 | wxString * _arg2; | |
768 | bool _arg3 = (0); | |
769 | char * _argc0 = 0; | |
770 | PyObject * _obj2 = 0; | |
771 | int tempbool3; | |
772 | ||
773 | self = self; | |
774 | if(!PyArg_ParseTuple(args,"slO|i:wxListCtrl_FindItem",&_argc0,&_arg1,&_obj2,&tempbool3)) | |
775 | return NULL; | |
776 | if (_argc0) { | |
777 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
778 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItem. Expected _wxListCtrl_p."); | |
779 | return NULL; | |
780 | } | |
781 | } | |
782 | { | |
783 | if (!PyString_Check(_obj2)) { | |
784 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
785 | return NULL; | |
786 | } | |
787 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
788 | } | |
789 | _arg3 = (bool ) tempbool3; | |
790 | _result = (long )wxListCtrl_FindItem(_arg0,_arg1,*_arg2,_arg3); | |
791 | _resultobj = Py_BuildValue("l",_result); | |
792 | { | |
793 | if (_obj2) | |
794 | delete _arg2; | |
795 | } | |
796 | return _resultobj; | |
797 | } | |
798 | ||
799 | #define wxListCtrl_FindItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindItem(_swigarg0,_swigarg1)) | |
800 | static PyObject *_wrap_wxListCtrl_FindItemData(PyObject *self, PyObject *args) { | |
801 | PyObject * _resultobj; | |
802 | long _result; | |
803 | wxListCtrl * _arg0; | |
804 | long _arg1; | |
805 | long _arg2; | |
806 | char * _argc0 = 0; | |
807 | ||
808 | self = self; | |
809 | if(!PyArg_ParseTuple(args,"sll:wxListCtrl_FindItemData",&_argc0,&_arg1,&_arg2)) | |
810 | return NULL; | |
811 | if (_argc0) { | |
812 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
813 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemData. Expected _wxListCtrl_p."); | |
814 | return NULL; | |
815 | } | |
816 | } | |
817 | _result = (long )wxListCtrl_FindItemData(_arg0,_arg1,_arg2); | |
818 | _resultobj = Py_BuildValue("l",_result); | |
819 | return _resultobj; | |
820 | } | |
821 | ||
822 | #define wxListCtrl_FindItemAtPos(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FindItem(_swigarg0,_swigarg1,_swigarg2)) | |
823 | static PyObject *_wrap_wxListCtrl_FindItemAtPos(PyObject *self, PyObject *args) { | |
824 | PyObject * _resultobj; | |
825 | long _result; | |
826 | wxListCtrl * _arg0; | |
827 | long _arg1; | |
828 | wxPoint * _arg2; | |
829 | int _arg3; | |
830 | char * _argc0 = 0; | |
831 | char * _argc2 = 0; | |
832 | ||
833 | self = self; | |
834 | if(!PyArg_ParseTuple(args,"slsi:wxListCtrl_FindItemAtPos",&_argc0,&_arg1,&_argc2,&_arg3)) | |
835 | return NULL; | |
836 | if (_argc0) { | |
837 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
838 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_FindItemAtPos. Expected _wxListCtrl_p."); | |
839 | return NULL; | |
840 | } | |
841 | } | |
842 | if (_argc2) { | |
843 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) { | |
844 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_FindItemAtPos. Expected _wxPoint_p."); | |
845 | return NULL; | |
846 | } | |
847 | } | |
848 | _result = (long )wxListCtrl_FindItemAtPos(_arg0,_arg1,*_arg2,_arg3); | |
849 | _resultobj = Py_BuildValue("l",_result); | |
850 | return _resultobj; | |
851 | } | |
852 | ||
853 | #define wxListCtrl_GetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetColumn(_swigarg0,_swigarg1)) | |
854 | static PyObject *_wrap_wxListCtrl_GetColumn(PyObject *self, PyObject *args) { | |
855 | PyObject * _resultobj; | |
856 | bool _result; | |
857 | wxListCtrl * _arg0; | |
858 | int _arg1; | |
859 | wxListItem * _arg2; | |
860 | char * _argc0 = 0; | |
861 | char * _argc2 = 0; | |
862 | ||
863 | self = self; | |
864 | if(!PyArg_ParseTuple(args,"sis:wxListCtrl_GetColumn",&_argc0,&_arg1,&_argc2)) | |
865 | return NULL; | |
866 | if (_argc0) { | |
867 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
868 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumn. Expected _wxListCtrl_p."); | |
869 | return NULL; | |
870 | } | |
871 | } | |
872 | if (_argc2) { | |
873 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxListItem_p")) { | |
874 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_GetColumn. Expected _wxListItem_p."); | |
875 | return NULL; | |
876 | } | |
877 | } | |
878 | _result = (bool )wxListCtrl_GetColumn(_arg0,_arg1,*_arg2); | |
879 | _resultobj = Py_BuildValue("i",_result); | |
880 | return _resultobj; | |
881 | } | |
882 | ||
883 | #define wxListCtrl_GetColumnWidth(_swigobj,_swigarg0) (_swigobj->GetColumnWidth(_swigarg0)) | |
884 | static PyObject *_wrap_wxListCtrl_GetColumnWidth(PyObject *self, PyObject *args) { | |
885 | PyObject * _resultobj; | |
886 | int _result; | |
887 | wxListCtrl * _arg0; | |
888 | int _arg1; | |
889 | char * _argc0 = 0; | |
890 | ||
891 | self = self; | |
892 | if(!PyArg_ParseTuple(args,"si:wxListCtrl_GetColumnWidth",&_argc0,&_arg1)) | |
893 | return NULL; | |
894 | if (_argc0) { | |
895 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetColumnWidth. Expected _wxListCtrl_p."); | |
897 | return NULL; | |
898 | } | |
899 | } | |
900 | _result = (int )wxListCtrl_GetColumnWidth(_arg0,_arg1); | |
901 | _resultobj = Py_BuildValue("i",_result); | |
902 | return _resultobj; | |
903 | } | |
904 | ||
905 | #define wxListCtrl_GetCountPerPage(_swigobj) (_swigobj->GetCountPerPage()) | |
906 | static PyObject *_wrap_wxListCtrl_GetCountPerPage(PyObject *self, PyObject *args) { | |
907 | PyObject * _resultobj; | |
908 | int _result; | |
909 | wxListCtrl * _arg0; | |
910 | char * _argc0 = 0; | |
911 | ||
912 | self = self; | |
913 | if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetCountPerPage",&_argc0)) | |
914 | return NULL; | |
915 | if (_argc0) { | |
916 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
917 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetCountPerPage. Expected _wxListCtrl_p."); | |
918 | return NULL; | |
919 | } | |
920 | } | |
921 | _result = (int )wxListCtrl_GetCountPerPage(_arg0); | |
922 | _resultobj = Py_BuildValue("i",_result); | |
923 | return _resultobj; | |
924 | } | |
925 | ||
926 | #define wxListCtrl_GetImageList(_swigobj,_swigarg0) (_swigobj->GetImageList(_swigarg0)) | |
927 | static PyObject *_wrap_wxListCtrl_GetImageList(PyObject *self, PyObject *args) { | |
928 | PyObject * _resultobj; | |
929 | wxImageList * _result; | |
930 | wxListCtrl * _arg0; | |
931 | int _arg1; | |
932 | char * _argc0 = 0; | |
933 | char _ptemp[128]; | |
934 | ||
935 | self = self; | |
936 | if(!PyArg_ParseTuple(args,"si:wxListCtrl_GetImageList",&_argc0,&_arg1)) | |
937 | return NULL; | |
938 | if (_argc0) { | |
939 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetImageList. Expected _wxListCtrl_p."); | |
941 | return NULL; | |
942 | } | |
943 | } | |
944 | _result = (wxImageList *)wxListCtrl_GetImageList(_arg0,_arg1); | |
945 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p"); | |
946 | _resultobj = Py_BuildValue("s",_ptemp); | |
947 | return _resultobj; | |
948 | } | |
949 | ||
950 | #define wxListCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0)) | |
951 | static PyObject *_wrap_wxListCtrl_GetItemData(PyObject *self, PyObject *args) { | |
952 | PyObject * _resultobj; | |
953 | long _result; | |
954 | wxListCtrl * _arg0; | |
955 | long _arg1; | |
956 | char * _argc0 = 0; | |
957 | ||
958 | self = self; | |
959 | if(!PyArg_ParseTuple(args,"sl:wxListCtrl_GetItemData",&_argc0,&_arg1)) | |
960 | return NULL; | |
961 | if (_argc0) { | |
962 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
963 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemData. Expected _wxListCtrl_p."); | |
964 | return NULL; | |
965 | } | |
966 | } | |
967 | _result = (long )wxListCtrl_GetItemData(_arg0,_arg1); | |
968 | _resultobj = Py_BuildValue("l",_result); | |
969 | return _resultobj; | |
970 | } | |
971 | ||
972 | static wxListItem * wxListCtrl_GetItem(wxListCtrl *self) { | |
973 | wxListItem* info = new wxListItem; | |
974 | self->GetItem(*info); | |
975 | return info; | |
976 | } | |
977 | static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args) { | |
978 | PyObject * _resultobj; | |
979 | wxListItem * _result; | |
980 | wxListCtrl * _arg0; | |
981 | char * _argc0 = 0; | |
982 | char _ptemp[128]; | |
983 | ||
984 | self = self; | |
985 | if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetItem",&_argc0)) | |
986 | return NULL; | |
987 | if (_argc0) { | |
988 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
989 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p."); | |
990 | return NULL; | |
991 | } | |
992 | } | |
993 | _result = (wxListItem *)wxListCtrl_GetItem(_arg0); | |
994 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p"); | |
995 | _resultobj = Py_BuildValue("s",_ptemp); | |
996 | return _resultobj; | |
997 | } | |
998 | ||
999 | static wxPoint * wxListCtrl_GetItemPosition(wxListCtrl *self,long item) { | |
1000 | wxPoint* pos = new wxPoint; | |
1001 | self->GetItemPosition(item, *pos); | |
1002 | return pos; | |
1003 | } | |
1004 | static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args) { | |
1005 | PyObject * _resultobj; | |
1006 | wxPoint * _result; | |
1007 | wxListCtrl * _arg0; | |
1008 | long _arg1; | |
1009 | char * _argc0 = 0; | |
1010 | char _ptemp[128]; | |
1011 | ||
1012 | self = self; | |
1013 | if(!PyArg_ParseTuple(args,"sl:wxListCtrl_GetItemPosition",&_argc0,&_arg1)) | |
1014 | return NULL; | |
1015 | if (_argc0) { | |
1016 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1017 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p."); | |
1018 | return NULL; | |
1019 | } | |
1020 | } | |
1021 | _result = (wxPoint *)wxListCtrl_GetItemPosition(_arg0,_arg1); | |
1022 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); | |
1023 | _resultobj = Py_BuildValue("s",_ptemp); | |
1024 | return _resultobj; | |
1025 | } | |
1026 | ||
1027 | static wxRect * wxListCtrl_GetItemRect(wxListCtrl *self,long item,int code) { | |
1028 | wxRect* rect= new wxRect; | |
1029 | self->GetItemRect(item, *rect, code); | |
1030 | return rect; | |
1031 | } | |
1032 | static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args) { | |
1033 | PyObject * _resultobj; | |
1034 | wxRect * _result; | |
1035 | wxListCtrl * _arg0; | |
1036 | long _arg1; | |
1037 | int _arg2 = wxLIST_RECT_BOUNDS; | |
1038 | char * _argc0 = 0; | |
1039 | char _ptemp[128]; | |
1040 | ||
1041 | self = self; | |
1042 | if(!PyArg_ParseTuple(args,"sl|i:wxListCtrl_GetItemRect",&_argc0,&_arg1,&_arg2)) | |
1043 | return NULL; | |
1044 | if (_argc0) { | |
1045 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1046 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p."); | |
1047 | return NULL; | |
1048 | } | |
1049 | } | |
1050 | _result = (wxRect *)wxListCtrl_GetItemRect(_arg0,_arg1,_arg2); | |
1051 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p"); | |
1052 | _resultobj = Py_BuildValue("s",_ptemp); | |
1053 | return _resultobj; | |
1054 | } | |
1055 | ||
1056 | #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1)) | |
1057 | static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args) { | |
1058 | PyObject * _resultobj; | |
1059 | int _result; | |
1060 | wxListCtrl * _arg0; | |
1061 | long _arg1; | |
1062 | long _arg2; | |
1063 | char * _argc0 = 0; | |
1064 | ||
1065 | self = self; | |
1066 | if(!PyArg_ParseTuple(args,"sll:wxListCtrl_GetItemState",&_argc0,&_arg1,&_arg2)) | |
1067 | return NULL; | |
1068 | if (_argc0) { | |
1069 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1070 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p."); | |
1071 | return NULL; | |
1072 | } | |
1073 | } | |
1074 | _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2); | |
1075 | _resultobj = Py_BuildValue("i",_result); | |
1076 | return _resultobj; | |
1077 | } | |
1078 | ||
1079 | #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount()) | |
1080 | static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args) { | |
1081 | PyObject * _resultobj; | |
1082 | int _result; | |
1083 | wxListCtrl * _arg0; | |
1084 | char * _argc0 = 0; | |
1085 | ||
1086 | self = self; | |
1087 | if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetItemCount",&_argc0)) | |
1088 | return NULL; | |
1089 | if (_argc0) { | |
1090 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1091 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p."); | |
1092 | return NULL; | |
1093 | } | |
1094 | } | |
1095 | _result = (int )wxListCtrl_GetItemCount(_arg0); | |
1096 | _resultobj = Py_BuildValue("i",_result); | |
1097 | return _resultobj; | |
1098 | } | |
1099 | ||
1100 | #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0)) | |
1101 | static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args) { | |
1102 | PyObject * _resultobj; | |
1103 | int _result; | |
1104 | wxListCtrl * _arg0; | |
1105 | bool _arg1; | |
1106 | char * _argc0 = 0; | |
1107 | int tempbool1; | |
1108 | ||
1109 | self = self; | |
1110 | if(!PyArg_ParseTuple(args,"si:wxListCtrl_GetItemSpacing",&_argc0,&tempbool1)) | |
1111 | return NULL; | |
1112 | if (_argc0) { | |
1113 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p."); | |
1115 | return NULL; | |
1116 | } | |
1117 | } | |
1118 | _arg1 = (bool ) tempbool1; | |
1119 | _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1); | |
1120 | _resultobj = Py_BuildValue("i",_result); | |
1121 | return _resultobj; | |
1122 | } | |
1123 | ||
1124 | #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0)) | |
1125 | static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args) { | |
1126 | PyObject * _resultobj; | |
1127 | wxString * _result; | |
1128 | wxListCtrl * _arg0; | |
1129 | long _arg1; | |
1130 | char * _argc0 = 0; | |
1131 | ||
1132 | self = self; | |
1133 | if(!PyArg_ParseTuple(args,"sl:wxListCtrl_GetItemText",&_argc0,&_arg1)) | |
1134 | return NULL; | |
1135 | if (_argc0) { | |
1136 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1137 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p."); | |
1138 | return NULL; | |
1139 | } | |
1140 | } | |
1141 | _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1)); | |
1142 | { | |
1143 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
1144 | } | |
1145 | { | |
1146 | delete _result; | |
1147 | } | |
1148 | return _resultobj; | |
1149 | } | |
1150 | ||
1151 | #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2)) | |
1152 | static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args) { | |
1153 | PyObject * _resultobj; | |
1154 | long _result; | |
1155 | wxListCtrl * _arg0; | |
1156 | long _arg1; | |
1157 | int _arg2 = wxLIST_NEXT_ALL; | |
1158 | int _arg3 = wxLIST_STATE_DONTCARE; | |
1159 | char * _argc0 = 0; | |
1160 | ||
1161 | self = self; | |
1162 | if(!PyArg_ParseTuple(args,"sl|ii:wxListCtrl_GetNextItem",&_argc0,&_arg1,&_arg2,&_arg3)) | |
1163 | return NULL; | |
1164 | if (_argc0) { | |
1165 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1166 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p."); | |
1167 | return NULL; | |
1168 | } | |
1169 | } | |
1170 | _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3); | |
1171 | _resultobj = Py_BuildValue("l",_result); | |
1172 | return _resultobj; | |
1173 | } | |
1174 | ||
1175 | #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount()) | |
1176 | static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args) { | |
1177 | PyObject * _resultobj; | |
1178 | int _result; | |
1179 | wxListCtrl * _arg0; | |
1180 | char * _argc0 = 0; | |
1181 | ||
1182 | self = self; | |
1183 | if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetSelectedItemCount",&_argc0)) | |
1184 | return NULL; | |
1185 | if (_argc0) { | |
1186 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1187 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p."); | |
1188 | return NULL; | |
1189 | } | |
1190 | } | |
1191 | _result = (int )wxListCtrl_GetSelectedItemCount(_arg0); | |
1192 | _resultobj = Py_BuildValue("i",_result); | |
1193 | return _resultobj; | |
1194 | } | |
1195 | ||
1196 | #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem()) | |
1197 | static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args) { | |
1198 | PyObject * _resultobj; | |
1199 | long _result; | |
1200 | wxListCtrl * _arg0; | |
1201 | char * _argc0 = 0; | |
1202 | ||
1203 | self = self; | |
1204 | if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetTopItem",&_argc0)) | |
1205 | return NULL; | |
1206 | if (_argc0) { | |
1207 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1208 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p."); | |
1209 | return NULL; | |
1210 | } | |
1211 | } | |
1212 | _result = (long )wxListCtrl_GetTopItem(_arg0); | |
1213 | _resultobj = Py_BuildValue("l",_result); | |
1214 | return _resultobj; | |
1215 | } | |
1216 | ||
1217 | #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1)) | |
1218 | static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args) { | |
1219 | PyObject * _resultobj; | |
1220 | long _result; | |
1221 | wxListCtrl * _arg0; | |
1222 | wxPoint * _arg1; | |
1223 | int * _arg2; | |
1224 | int temp; | |
1225 | char * _argc0 = 0; | |
1226 | char * _argc1 = 0; | |
1227 | ||
1228 | self = self; | |
1229 | { | |
1230 | _arg2 = &temp; | |
1231 | } | |
1232 | if(!PyArg_ParseTuple(args,"ss:wxListCtrl_HitTest",&_argc0,&_argc1)) | |
1233 | return NULL; | |
1234 | if (_argc0) { | |
1235 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p."); | |
1237 | return NULL; | |
1238 | } | |
1239 | } | |
1240 | if (_argc1) { | |
1241 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) { | |
1242 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p."); | |
1243 | return NULL; | |
1244 | } | |
1245 | } | |
1246 | _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2); | |
1247 | _resultobj = Py_BuildValue("l",_result); | |
1248 | { | |
1249 | PyObject *o; | |
1250 | o = PyInt_FromLong((long) (*_arg2)); | |
1251 | _resultobj = t_output_helper(_resultobj, o); | |
1252 | } | |
1253 | return _resultobj; | |
1254 | } | |
1255 | ||
1256 | #define wxListCtrl_InsertColumnWithInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1)) | |
1257 | static PyObject *_wrap_wxListCtrl_InsertColumnWithInfo(PyObject *self, PyObject *args) { | |
1258 | PyObject * _resultobj; | |
1259 | long _result; | |
1260 | wxListCtrl * _arg0; | |
1261 | long _arg1; | |
1262 | wxListItem * _arg2; | |
1263 | char * _argc0 = 0; | |
1264 | char * _argc2 = 0; | |
1265 | ||
1266 | self = self; | |
1267 | if(!PyArg_ParseTuple(args,"sls:wxListCtrl_InsertColumnWithInfo",&_argc0,&_arg1,&_argc2)) | |
1268 | return NULL; | |
1269 | if (_argc0) { | |
1270 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1271 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnWithInfo. Expected _wxListCtrl_p."); | |
1272 | return NULL; | |
1273 | } | |
1274 | } | |
1275 | if (_argc2) { | |
1276 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxListItem_p")) { | |
1277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnWithInfo. Expected _wxListItem_p."); | |
1278 | return NULL; | |
1279 | } | |
1280 | } | |
1281 | _result = (long )wxListCtrl_InsertColumnWithInfo(_arg0,_arg1,*_arg2); | |
1282 | _resultobj = Py_BuildValue("l",_result); | |
1283 | return _resultobj; | |
1284 | } | |
1285 | ||
1286 | #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1287 | static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args) { | |
1288 | PyObject * _resultobj; | |
1289 | long _result; | |
1290 | wxListCtrl * _arg0; | |
1291 | long _arg1; | |
1292 | wxString * _arg2; | |
1293 | int _arg3 = wxLIST_FORMAT_LEFT; | |
1294 | int _arg4 = -1; | |
1295 | char * _argc0 = 0; | |
1296 | PyObject * _obj2 = 0; | |
1297 | ||
1298 | self = self; | |
1299 | if(!PyArg_ParseTuple(args,"slO|ii:wxListCtrl_InsertColumn",&_argc0,&_arg1,&_obj2,&_arg3,&_arg4)) | |
1300 | return NULL; | |
1301 | if (_argc0) { | |
1302 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p."); | |
1304 | return NULL; | |
1305 | } | |
1306 | } | |
1307 | { | |
1308 | if (!PyString_Check(_obj2)) { | |
1309 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1310 | return NULL; | |
1311 | } | |
1312 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
1313 | } | |
1314 | _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4); | |
1315 | _resultobj = Py_BuildValue("l",_result); | |
1316 | { | |
1317 | if (_obj2) | |
1318 | delete _arg2; | |
1319 | } | |
1320 | return _resultobj; | |
1321 | } | |
1322 | ||
1323 | #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0)) | |
1324 | static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args) { | |
1325 | PyObject * _resultobj; | |
1326 | long _result; | |
1327 | wxListCtrl * _arg0; | |
1328 | wxListItem * _arg1; | |
1329 | char * _argc0 = 0; | |
1330 | char * _argc1 = 0; | |
1331 | ||
1332 | self = self; | |
1333 | if(!PyArg_ParseTuple(args,"ss:wxListCtrl_InsertItem",&_argc0,&_argc1)) | |
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_InsertItem. Expected _wxListCtrl_p."); | |
1338 | return NULL; | |
1339 | } | |
1340 | } | |
1341 | if (_argc1) { | |
1342 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxListItem_p")) { | |
1343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p."); | |
1344 | return NULL; | |
1345 | } | |
1346 | } | |
1347 | _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1); | |
1348 | _resultobj = Py_BuildValue("l",_result); | |
1349 | return _resultobj; | |
1350 | } | |
1351 | ||
1352 | #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1)) | |
1353 | static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args) { | |
1354 | PyObject * _resultobj; | |
1355 | long _result; | |
1356 | wxListCtrl * _arg0; | |
1357 | long _arg1; | |
1358 | wxString * _arg2; | |
1359 | char * _argc0 = 0; | |
1360 | PyObject * _obj2 = 0; | |
1361 | ||
1362 | self = self; | |
1363 | if(!PyArg_ParseTuple(args,"slO:wxListCtrl_InsertStringItem",&_argc0,&_arg1,&_obj2)) | |
1364 | return NULL; | |
1365 | if (_argc0) { | |
1366 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p."); | |
1368 | return NULL; | |
1369 | } | |
1370 | } | |
1371 | { | |
1372 | if (!PyString_Check(_obj2)) { | |
1373 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1374 | return NULL; | |
1375 | } | |
1376 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
1377 | } | |
1378 | _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2); | |
1379 | _resultobj = Py_BuildValue("l",_result); | |
1380 | { | |
1381 | if (_obj2) | |
1382 | delete _arg2; | |
1383 | } | |
1384 | return _resultobj; | |
1385 | } | |
1386 | ||
1387 | #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1)) | |
1388 | static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args) { | |
1389 | PyObject * _resultobj; | |
1390 | long _result; | |
1391 | wxListCtrl * _arg0; | |
1392 | long _arg1; | |
1393 | int _arg2; | |
1394 | char * _argc0 = 0; | |
1395 | ||
1396 | self = self; | |
1397 | if(!PyArg_ParseTuple(args,"sli:wxListCtrl_InsertImageItem",&_argc0,&_arg1,&_arg2)) | |
1398 | return NULL; | |
1399 | if (_argc0) { | |
1400 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1401 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p."); | |
1402 | return NULL; | |
1403 | } | |
1404 | } | |
1405 | _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2); | |
1406 | _resultobj = Py_BuildValue("l",_result); | |
1407 | return _resultobj; | |
1408 | } | |
1409 | ||
1410 | #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2)) | |
1411 | static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args) { | |
1412 | PyObject * _resultobj; | |
1413 | long _result; | |
1414 | wxListCtrl * _arg0; | |
1415 | long _arg1; | |
1416 | wxString * _arg2; | |
1417 | int _arg3; | |
1418 | char * _argc0 = 0; | |
1419 | PyObject * _obj2 = 0; | |
1420 | ||
1421 | self = self; | |
1422 | if(!PyArg_ParseTuple(args,"slOi:wxListCtrl_InsertImageStringItem",&_argc0,&_arg1,&_obj2,&_arg3)) | |
1423 | return NULL; | |
1424 | if (_argc0) { | |
1425 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1426 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p."); | |
1427 | return NULL; | |
1428 | } | |
1429 | } | |
1430 | { | |
1431 | if (!PyString_Check(_obj2)) { | |
1432 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1433 | return NULL; | |
1434 | } | |
1435 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
1436 | } | |
1437 | _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3); | |
1438 | _resultobj = Py_BuildValue("l",_result); | |
1439 | { | |
1440 | if (_obj2) | |
1441 | delete _arg2; | |
1442 | } | |
1443 | return _resultobj; | |
1444 | } | |
1445 | ||
1446 | #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1)) | |
1447 | static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args) { | |
1448 | PyObject * _resultobj; | |
1449 | bool _result; | |
1450 | wxListCtrl * _arg0; | |
1451 | int _arg1; | |
1452 | int _arg2; | |
1453 | char * _argc0 = 0; | |
1454 | ||
1455 | self = self; | |
1456 | if(!PyArg_ParseTuple(args,"sii:wxListCtrl_ScrollList",&_argc0,&_arg1,&_arg2)) | |
1457 | return NULL; | |
1458 | if (_argc0) { | |
1459 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1460 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p."); | |
1461 | return NULL; | |
1462 | } | |
1463 | } | |
1464 | _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2); | |
1465 | _resultobj = Py_BuildValue("i",_result); | |
1466 | return _resultobj; | |
1467 | } | |
1468 | ||
1469 | #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
1470 | static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args) { | |
1471 | PyObject * _resultobj; | |
1472 | wxListCtrl * _arg0; | |
1473 | wxColour * _arg1; | |
1474 | char * _argc0 = 0; | |
1475 | char * _argc1 = 0; | |
1476 | ||
1477 | self = self; | |
1478 | if(!PyArg_ParseTuple(args,"ss:wxListCtrl_SetBackgroundColour",&_argc0,&_argc1)) | |
1479 | return NULL; | |
1480 | if (_argc0) { | |
1481 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1482 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p."); | |
1483 | return NULL; | |
1484 | } | |
1485 | } | |
1486 | if (_argc1) { | |
1487 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) { | |
1488 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p."); | |
1489 | return NULL; | |
1490 | } | |
1491 | } | |
1492 | wxListCtrl_SetBackgroundColour(_arg0,*_arg1); | |
1493 | Py_INCREF(Py_None); | |
1494 | _resultobj = Py_None; | |
1495 | return _resultobj; | |
1496 | } | |
1497 | ||
1498 | #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1)) | |
1499 | static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args) { | |
1500 | PyObject * _resultobj; | |
1501 | bool _result; | |
1502 | wxListCtrl * _arg0; | |
1503 | int _arg1; | |
1504 | wxListItem * _arg2; | |
1505 | char * _argc0 = 0; | |
1506 | char * _argc2 = 0; | |
1507 | ||
1508 | self = self; | |
1509 | if(!PyArg_ParseTuple(args,"sis:wxListCtrl_SetColumn",&_argc0,&_arg1,&_argc2)) | |
1510 | return NULL; | |
1511 | if (_argc0) { | |
1512 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p."); | |
1514 | return NULL; | |
1515 | } | |
1516 | } | |
1517 | if (_argc2) { | |
1518 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxListItem_p")) { | |
1519 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p."); | |
1520 | return NULL; | |
1521 | } | |
1522 | } | |
1523 | _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2); | |
1524 | _resultobj = Py_BuildValue("i",_result); | |
1525 | return _resultobj; | |
1526 | } | |
1527 | ||
1528 | #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1)) | |
1529 | static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args) { | |
1530 | PyObject * _resultobj; | |
1531 | bool _result; | |
1532 | wxListCtrl * _arg0; | |
1533 | int _arg1; | |
1534 | int _arg2; | |
1535 | char * _argc0 = 0; | |
1536 | ||
1537 | self = self; | |
1538 | if(!PyArg_ParseTuple(args,"sii:wxListCtrl_SetColumnWidth",&_argc0,&_arg1,&_arg2)) | |
1539 | return NULL; | |
1540 | if (_argc0) { | |
1541 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p."); | |
1543 | return NULL; | |
1544 | } | |
1545 | } | |
1546 | _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2); | |
1547 | _resultobj = Py_BuildValue("i",_result); | |
1548 | return _resultobj; | |
1549 | } | |
1550 | ||
1551 | #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1)) | |
1552 | static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args) { | |
1553 | PyObject * _resultobj; | |
1554 | wxListCtrl * _arg0; | |
1555 | wxImageList * _arg1; | |
1556 | int _arg2; | |
1557 | char * _argc0 = 0; | |
1558 | char * _argc1 = 0; | |
1559 | ||
1560 | self = self; | |
1561 | if(!PyArg_ParseTuple(args,"ssi:wxListCtrl_SetImageList",&_argc0,&_argc1,&_arg2)) | |
1562 | return NULL; | |
1563 | if (_argc0) { | |
1564 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1565 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p."); | |
1566 | return NULL; | |
1567 | } | |
1568 | } | |
1569 | if (_argc1) { | |
1570 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) { | |
1571 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p."); | |
1572 | return NULL; | |
1573 | } | |
1574 | } | |
1575 | wxListCtrl_SetImageList(_arg0,_arg1,_arg2); | |
1576 | Py_INCREF(Py_None); | |
1577 | _resultobj = Py_None; | |
1578 | return _resultobj; | |
1579 | } | |
1580 | ||
1581 | #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0)) | |
1582 | static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args) { | |
1583 | PyObject * _resultobj; | |
1584 | bool _result; | |
1585 | wxListCtrl * _arg0; | |
1586 | wxListItem * _arg1; | |
1587 | char * _argc0 = 0; | |
1588 | char * _argc1 = 0; | |
1589 | ||
1590 | self = self; | |
1591 | if(!PyArg_ParseTuple(args,"ss:wxListCtrl_SetItem",&_argc0,&_argc1)) | |
1592 | return NULL; | |
1593 | if (_argc0) { | |
1594 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1595 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p."); | |
1596 | return NULL; | |
1597 | } | |
1598 | } | |
1599 | if (_argc1) { | |
1600 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxListItem_p")) { | |
1601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p."); | |
1602 | return NULL; | |
1603 | } | |
1604 | } | |
1605 | _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1); | |
1606 | _resultobj = Py_BuildValue("i",_result); | |
1607 | return _resultobj; | |
1608 | } | |
1609 | ||
1610 | #define wxListCtrl_SetItemString(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1611 | static PyObject *_wrap_wxListCtrl_SetItemString(PyObject *self, PyObject *args) { | |
1612 | PyObject * _resultobj; | |
1613 | long _result; | |
1614 | wxListCtrl * _arg0; | |
1615 | long _arg1; | |
1616 | int _arg2; | |
1617 | wxString * _arg3; | |
1618 | int _arg4 = -1; | |
1619 | char * _argc0 = 0; | |
1620 | PyObject * _obj3 = 0; | |
1621 | ||
1622 | self = self; | |
1623 | if(!PyArg_ParseTuple(args,"sliO|i:wxListCtrl_SetItemString",&_argc0,&_arg1,&_arg2,&_obj3,&_arg4)) | |
1624 | return NULL; | |
1625 | if (_argc0) { | |
1626 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1627 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemString. Expected _wxListCtrl_p."); | |
1628 | return NULL; | |
1629 | } | |
1630 | } | |
1631 | { | |
1632 | if (!PyString_Check(_obj3)) { | |
1633 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1634 | return NULL; | |
1635 | } | |
1636 | _arg3 = new wxString(PyString_AsString(_obj3)); | |
1637 | } | |
1638 | _result = (long )wxListCtrl_SetItemString(_arg0,_arg1,_arg2,*_arg3,_arg4); | |
1639 | _resultobj = Py_BuildValue("l",_result); | |
1640 | { | |
1641 | if (_obj3) | |
1642 | delete _arg3; | |
1643 | } | |
1644 | return _resultobj; | |
1645 | } | |
1646 | ||
1647 | #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1)) | |
1648 | static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args) { | |
1649 | PyObject * _resultobj; | |
1650 | bool _result; | |
1651 | wxListCtrl * _arg0; | |
1652 | long _arg1; | |
1653 | long _arg2; | |
1654 | char * _argc0 = 0; | |
1655 | ||
1656 | self = self; | |
1657 | if(!PyArg_ParseTuple(args,"sll:wxListCtrl_SetItemData",&_argc0,&_arg1,&_arg2)) | |
1658 | return NULL; | |
1659 | if (_argc0) { | |
1660 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1661 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p."); | |
1662 | return NULL; | |
1663 | } | |
1664 | } | |
1665 | _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2); | |
1666 | _resultobj = Py_BuildValue("i",_result); | |
1667 | return _resultobj; | |
1668 | } | |
1669 | ||
1670 | #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2)) | |
1671 | static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args) { | |
1672 | PyObject * _resultobj; | |
1673 | bool _result; | |
1674 | wxListCtrl * _arg0; | |
1675 | long _arg1; | |
1676 | int _arg2; | |
1677 | int _arg3; | |
1678 | char * _argc0 = 0; | |
1679 | ||
1680 | self = self; | |
1681 | if(!PyArg_ParseTuple(args,"slii:wxListCtrl_SetItemImage",&_argc0,&_arg1,&_arg2,&_arg3)) | |
1682 | return NULL; | |
1683 | if (_argc0) { | |
1684 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1685 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p."); | |
1686 | return NULL; | |
1687 | } | |
1688 | } | |
1689 | _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3); | |
1690 | _resultobj = Py_BuildValue("i",_result); | |
1691 | return _resultobj; | |
1692 | } | |
1693 | ||
1694 | #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1)) | |
1695 | static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args) { | |
1696 | PyObject * _resultobj; | |
1697 | bool _result; | |
1698 | wxListCtrl * _arg0; | |
1699 | long _arg1; | |
1700 | wxPoint * _arg2; | |
1701 | char * _argc0 = 0; | |
1702 | char * _argc2 = 0; | |
1703 | ||
1704 | self = self; | |
1705 | if(!PyArg_ParseTuple(args,"sls:wxListCtrl_SetItemPosition",&_argc0,&_arg1,&_argc2)) | |
1706 | return NULL; | |
1707 | if (_argc0) { | |
1708 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1709 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p."); | |
1710 | return NULL; | |
1711 | } | |
1712 | } | |
1713 | if (_argc2) { | |
1714 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) { | |
1715 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p."); | |
1716 | return NULL; | |
1717 | } | |
1718 | } | |
1719 | _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2); | |
1720 | _resultobj = Py_BuildValue("i",_result); | |
1721 | return _resultobj; | |
1722 | } | |
1723 | ||
1724 | #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2)) | |
1725 | static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args) { | |
1726 | PyObject * _resultobj; | |
1727 | bool _result; | |
1728 | wxListCtrl * _arg0; | |
1729 | long _arg1; | |
1730 | long _arg2; | |
1731 | long _arg3; | |
1732 | char * _argc0 = 0; | |
1733 | ||
1734 | self = self; | |
1735 | if(!PyArg_ParseTuple(args,"slll:wxListCtrl_SetItemState",&_argc0,&_arg1,&_arg2,&_arg3)) | |
1736 | return NULL; | |
1737 | if (_argc0) { | |
1738 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1739 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p."); | |
1740 | return NULL; | |
1741 | } | |
1742 | } | |
1743 | _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3); | |
1744 | _resultobj = Py_BuildValue("i",_result); | |
1745 | return _resultobj; | |
1746 | } | |
1747 | ||
1748 | #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1)) | |
1749 | static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args) { | |
1750 | PyObject * _resultobj; | |
1751 | wxListCtrl * _arg0; | |
1752 | long _arg1; | |
1753 | wxString * _arg2; | |
1754 | char * _argc0 = 0; | |
1755 | PyObject * _obj2 = 0; | |
1756 | ||
1757 | self = self; | |
1758 | if(!PyArg_ParseTuple(args,"slO:wxListCtrl_SetItemText",&_argc0,&_arg1,&_obj2)) | |
1759 | return NULL; | |
1760 | if (_argc0) { | |
1761 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1762 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p."); | |
1763 | return NULL; | |
1764 | } | |
1765 | } | |
1766 | { | |
1767 | if (!PyString_Check(_obj2)) { | |
1768 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1769 | return NULL; | |
1770 | } | |
1771 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
1772 | } | |
1773 | wxListCtrl_SetItemText(_arg0,_arg1,*_arg2); | |
1774 | Py_INCREF(Py_None); | |
1775 | _resultobj = Py_None; | |
1776 | { | |
1777 | if (_obj2) | |
1778 | delete _arg2; | |
1779 | } | |
1780 | return _resultobj; | |
1781 | } | |
1782 | ||
1783 | #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1)) | |
1784 | static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args) { | |
1785 | PyObject * _resultobj; | |
1786 | wxListCtrl * _arg0; | |
1787 | long _arg1; | |
1788 | bool _arg2 = (1); | |
1789 | char * _argc0 = 0; | |
1790 | int tempbool2; | |
1791 | ||
1792 | self = self; | |
1793 | if(!PyArg_ParseTuple(args,"sl|i:wxListCtrl_SetSingleStyle",&_argc0,&_arg1,&tempbool2)) | |
1794 | return NULL; | |
1795 | if (_argc0) { | |
1796 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1797 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p."); | |
1798 | return NULL; | |
1799 | } | |
1800 | } | |
1801 | _arg2 = (bool ) tempbool2; | |
1802 | wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2); | |
1803 | Py_INCREF(Py_None); | |
1804 | _resultobj = Py_None; | |
1805 | return _resultobj; | |
1806 | } | |
1807 | ||
1808 | #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0)) | |
1809 | static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args) { | |
1810 | PyObject * _resultobj; | |
1811 | wxListCtrl * _arg0; | |
1812 | long _arg1; | |
1813 | char * _argc0 = 0; | |
1814 | ||
1815 | self = self; | |
1816 | if(!PyArg_ParseTuple(args,"sl:wxListCtrl_SetWindowStyleFlag",&_argc0,&_arg1)) | |
1817 | return NULL; | |
1818 | if (_argc0) { | |
1819 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) { | |
1820 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p."); | |
1821 | return NULL; | |
1822 | } | |
1823 | } | |
1824 | wxListCtrl_SetWindowStyleFlag(_arg0,_arg1); | |
1825 | Py_INCREF(Py_None); | |
1826 | _resultobj = Py_None; | |
1827 | return _resultobj; | |
1828 | } | |
1829 | ||
60e05667 RD |
1830 | #define new_wxTreeItemId() (new wxTreeItemId()) |
1831 | static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args) { | |
1832 | PyObject * _resultobj; | |
1833 | wxTreeItemId * _result; | |
1834 | char _ptemp[128]; | |
1835 | ||
1836 | self = self; | |
1837 | if(!PyArg_ParseTuple(args,":new_wxTreeItemId")) | |
1838 | return NULL; | |
1839 | _result = (wxTreeItemId *)new_wxTreeItemId(); | |
1840 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p"); | |
1841 | _resultobj = Py_BuildValue("s",_ptemp); | |
1842 | return _resultobj; | |
1843 | } | |
1844 | ||
1845 | #define delete_wxTreeItemId(_swigobj) (delete _swigobj) | |
1846 | static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args) { | |
1847 | PyObject * _resultobj; | |
1848 | wxTreeItemId * _arg0; | |
1849 | char * _argc0 = 0; | |
1850 | ||
1851 | self = self; | |
1852 | if(!PyArg_ParseTuple(args,"s:delete_wxTreeItemId",&_argc0)) | |
1853 | return NULL; | |
1854 | if (_argc0) { | |
1855 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItemId_p")) { | |
1856 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p."); | |
1857 | return NULL; | |
1858 | } | |
1859 | } | |
1860 | delete_wxTreeItemId(_arg0); | |
1861 | Py_INCREF(Py_None); | |
1862 | _resultobj = Py_None; | |
1863 | return _resultobj; | |
1864 | } | |
1865 | ||
1866 | #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk()) | |
1867 | static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args) { | |
1868 | PyObject * _resultobj; | |
1869 | bool _result; | |
1870 | wxTreeItemId * _arg0; | |
1871 | char * _argc0 = 0; | |
1872 | ||
1873 | self = self; | |
1874 | if(!PyArg_ParseTuple(args,"s:wxTreeItemId_IsOk",&_argc0)) | |
1875 | return NULL; | |
1876 | if (_argc0) { | |
1877 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItemId_p")) { | |
1878 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p."); | |
1879 | return NULL; | |
1880 | } | |
1881 | } | |
1882 | _result = (bool )wxTreeItemId_IsOk(_arg0); | |
1883 | _resultobj = Py_BuildValue("i",_result); | |
1884 | return _resultobj; | |
1885 | } | |
1886 | ||
1887 | #define new_wxTreeItemData() (new wxTreeItemData()) | |
1888 | static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args) { | |
1889 | PyObject * _resultobj; | |
1890 | wxTreeItemData * _result; | |
1891 | char _ptemp[128]; | |
1892 | ||
1893 | self = self; | |
1894 | if(!PyArg_ParseTuple(args,":new_wxTreeItemData")) | |
1895 | return NULL; | |
1896 | _result = (wxTreeItemData *)new_wxTreeItemData(); | |
1897 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemData_p"); | |
1898 | _resultobj = Py_BuildValue("s",_ptemp); | |
1899 | return _resultobj; | |
1900 | } | |
1901 | ||
1902 | #define delete_wxTreeItemData(_swigobj) (delete _swigobj) | |
1903 | static PyObject *_wrap_delete_wxTreeItemData(PyObject *self, PyObject *args) { | |
1904 | PyObject * _resultobj; | |
1905 | wxTreeItemData * _arg0; | |
1906 | char * _argc0 = 0; | |
1907 | ||
1908 | self = self; | |
1909 | if(!PyArg_ParseTuple(args,"s:delete_wxTreeItemData",&_argc0)) | |
1910 | return NULL; | |
1911 | if (_argc0) { | |
1912 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItemData_p")) { | |
1913 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemData. Expected _wxTreeItemData_p."); | |
1914 | return NULL; | |
1915 | } | |
1916 | } | |
1917 | delete_wxTreeItemData(_arg0); | |
1918 | Py_INCREF(Py_None); | |
1919 | _resultobj = Py_None; | |
1920 | return _resultobj; | |
1921 | } | |
1922 | ||
1923 | #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId()) | |
1924 | static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args) { | |
1925 | PyObject * _resultobj; | |
1926 | wxTreeItemId * _result; | |
1927 | wxTreeItemData * _arg0; | |
1928 | char * _argc0 = 0; | |
1929 | char _ptemp[128]; | |
1930 | ||
1931 | self = self; | |
1932 | if(!PyArg_ParseTuple(args,"s:wxTreeItemData_GetId",&_argc0)) | |
1933 | return NULL; | |
1934 | if (_argc0) { | |
1935 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItemData_p")) { | |
1936 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxTreeItemData_p."); | |
1937 | return NULL; | |
1938 | } | |
1939 | } | |
1940 | const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0); | |
1941 | _result = (wxTreeItemId *) &_result_ref; | |
1942 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p"); | |
1943 | _resultobj = Py_BuildValue("s",_ptemp); | |
1944 | return _resultobj; | |
1945 | } | |
1946 | ||
1947 | #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0)) | |
1948 | static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args) { | |
1949 | PyObject * _resultobj; | |
1950 | wxTreeItemData * _arg0; | |
1951 | wxTreeItemId * _arg1; | |
1952 | char * _argc0 = 0; | |
1953 | char * _argc1 = 0; | |
1954 | ||
1955 | self = self; | |
1956 | if(!PyArg_ParseTuple(args,"ss:wxTreeItemData_SetId",&_argc0,&_argc1)) | |
1957 | return NULL; | |
1958 | if (_argc0) { | |
1959 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItemData_p")) { | |
1960 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxTreeItemData_p."); | |
1961 | return NULL; | |
1962 | } | |
1963 | } | |
1964 | if (_argc1) { | |
1965 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
1966 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p."); | |
1967 | return NULL; | |
1968 | } | |
1969 | } | |
1970 | wxTreeItemData_SetId(_arg0,*_arg1); | |
1971 | Py_INCREF(Py_None); | |
1972 | _resultobj = Py_None; | |
1973 | return _resultobj; | |
1974 | } | |
1975 | ||
1976 | static void *SwigwxTreeEventTowxCommandEvent(void *ptr) { | |
1977 | wxTreeEvent *src; | |
1978 | wxCommandEvent *dest; | |
1979 | src = (wxTreeEvent *) ptr; | |
1980 | dest = (wxCommandEvent *) src; | |
1981 | return (void *) dest; | |
1982 | } | |
1983 | ||
1984 | static void *SwigwxTreeEventTowxEvent(void *ptr) { | |
1985 | wxTreeEvent *src; | |
1986 | wxEvent *dest; | |
1987 | src = (wxTreeEvent *) ptr; | |
1988 | dest = (wxEvent *) src; | |
1989 | return (void *) dest; | |
1990 | } | |
1991 | ||
1992 | #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem()) | |
1993 | static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args) { | |
1994 | PyObject * _resultobj; | |
1995 | wxTreeItemId * _result; | |
1996 | wxTreeEvent * _arg0; | |
1997 | char * _argc0 = 0; | |
1998 | char _ptemp[128]; | |
1999 | ||
2000 | self = self; | |
2001 | if(!PyArg_ParseTuple(args,"s:wxTreeEvent_GetItem",&_argc0)) | |
2002 | return NULL; | |
2003 | if (_argc0) { | |
2004 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
2005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p."); | |
2006 | return NULL; | |
2007 | } | |
2008 | } | |
2009 | _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0)); | |
2010 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
2011 | _resultobj = Py_BuildValue("s",_ptemp); | |
2012 | return _resultobj; | |
2013 | } | |
2014 | ||
2015 | #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem()) | |
2016 | static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args) { | |
2017 | PyObject * _resultobj; | |
2018 | wxTreeItemId * _result; | |
2019 | wxTreeEvent * _arg0; | |
2020 | char * _argc0 = 0; | |
2021 | char _ptemp[128]; | |
2022 | ||
2023 | self = self; | |
2024 | if(!PyArg_ParseTuple(args,"s:wxTreeEvent_GetOldItem",&_argc0)) | |
2025 | return NULL; | |
2026 | if (_argc0) { | |
2027 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
2028 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p."); | |
2029 | return NULL; | |
2030 | } | |
2031 | } | |
2032 | _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0)); | |
2033 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
2034 | _resultobj = Py_BuildValue("s",_ptemp); | |
2035 | return _resultobj; | |
2036 | } | |
2037 | ||
2038 | #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint()) | |
2039 | static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args) { | |
2040 | PyObject * _resultobj; | |
2041 | wxPoint * _result; | |
2042 | wxTreeEvent * _arg0; | |
2043 | char * _argc0 = 0; | |
2044 | char _ptemp[128]; | |
2045 | ||
2046 | self = self; | |
2047 | if(!PyArg_ParseTuple(args,"s:wxTreeEvent_GetPoint",&_argc0)) | |
2048 | return NULL; | |
2049 | if (_argc0) { | |
2050 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
2051 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p."); | |
2052 | return NULL; | |
2053 | } | |
2054 | } | |
2055 | _result = new wxPoint (wxTreeEvent_GetPoint(_arg0)); | |
2056 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p"); | |
2057 | _resultobj = Py_BuildValue("s",_ptemp); | |
2058 | return _resultobj; | |
2059 | } | |
2060 | ||
2061 | #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode()) | |
2062 | static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args) { | |
2063 | PyObject * _resultobj; | |
2064 | int _result; | |
2065 | wxTreeEvent * _arg0; | |
2066 | char * _argc0 = 0; | |
2067 | ||
2068 | self = self; | |
2069 | if(!PyArg_ParseTuple(args,"s:wxTreeEvent_GetCode",&_argc0)) | |
2070 | return NULL; | |
2071 | if (_argc0) { | |
2072 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
2073 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p."); | |
2074 | return NULL; | |
2075 | } | |
2076 | } | |
2077 | _result = (int )wxTreeEvent_GetCode(_arg0); | |
2078 | _resultobj = Py_BuildValue("i",_result); | |
2079 | return _resultobj; | |
2080 | } | |
2081 | ||
2082 | #define wxTreeEvent_Veto(_swigobj) (_swigobj->Veto()) | |
2083 | static PyObject *_wrap_wxTreeEvent_Veto(PyObject *self, PyObject *args) { | |
2084 | PyObject * _resultobj; | |
2085 | wxTreeEvent * _arg0; | |
2086 | char * _argc0 = 0; | |
2087 | ||
2088 | self = self; | |
2089 | if(!PyArg_ParseTuple(args,"s:wxTreeEvent_Veto",&_argc0)) | |
2090 | return NULL; | |
2091 | if (_argc0) { | |
2092 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) { | |
2093 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_Veto. Expected _wxTreeEvent_p."); | |
2094 | return NULL; | |
2095 | } | |
2096 | } | |
2097 | wxTreeEvent_Veto(_arg0); | |
2098 | Py_INCREF(Py_None); | |
2099 | _resultobj = Py_None; | |
2100 | return _resultobj; | |
2101 | } | |
2102 | ||
2103 | static void *SwigwxTreeCtrlTowxControl(void *ptr) { | |
2104 | wxTreeCtrl *src; | |
2105 | wxControl *dest; | |
2106 | src = (wxTreeCtrl *) ptr; | |
2107 | dest = (wxControl *) src; | |
2108 | return (void *) dest; | |
2109 | } | |
2110 | ||
2111 | static void *SwigwxTreeCtrlTowxWindow(void *ptr) { | |
2112 | wxTreeCtrl *src; | |
2113 | wxWindow *dest; | |
2114 | src = (wxTreeCtrl *) ptr; | |
2115 | dest = (wxWindow *) src; | |
2116 | return (void *) dest; | |
2117 | } | |
2118 | ||
2119 | static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr) { | |
2120 | wxTreeCtrl *src; | |
2121 | wxEvtHandler *dest; | |
2122 | src = (wxTreeCtrl *) ptr; | |
2123 | dest = (wxEvtHandler *) src; | |
2124 | return (void *) dest; | |
2125 | } | |
2126 | ||
c95e68d8 | 2127 | #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
60e05667 RD |
2128 | static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args) { |
2129 | PyObject * _resultobj; | |
2130 | wxTreeCtrl * _result; | |
2131 | wxWindow * _arg0; | |
2132 | wxWindowID _arg1 = -1; | |
2133 | wxPoint * _arg2 = &wxPyDefaultPosition; | |
2134 | wxSize * _arg3 = &wxPyDefaultSize; | |
2135 | long _arg4 = (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT); | |
c95e68d8 RD |
2136 | wxValidator * _arg5 = &wxPyDefaultValidator; |
2137 | char * _arg6 = "wxTreeCtrl"; | |
60e05667 RD |
2138 | char * _argc0 = 0; |
2139 | char * _argc2 = 0; | |
2140 | char * _argc3 = 0; | |
c95e68d8 | 2141 | char * _argc5 = 0; |
60e05667 RD |
2142 | char _ptemp[128]; |
2143 | ||
2144 | self = self; | |
c95e68d8 | 2145 | if(!PyArg_ParseTuple(args,"s|isslss:new_wxTreeCtrl",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_argc5,&_arg6)) |
60e05667 RD |
2146 | return NULL; |
2147 | if (_argc0) { | |
2148 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) { | |
2149 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p."); | |
2150 | return NULL; | |
2151 | } | |
2152 | } | |
2153 | if (_argc2) { | |
2154 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) { | |
2155 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p."); | |
2156 | return NULL; | |
2157 | } | |
2158 | } | |
2159 | if (_argc3) { | |
2160 | if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) { | |
2161 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p."); | |
2162 | return NULL; | |
2163 | } | |
2164 | } | |
c95e68d8 RD |
2165 | if (_argc5) { |
2166 | if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxValidator_p")) { | |
2167 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p."); | |
2168 | return NULL; | |
2169 | } | |
2170 | } | |
2171 | _result = (wxTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6); | |
60e05667 RD |
2172 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeCtrl_p"); |
2173 | _resultobj = Py_BuildValue("s",_ptemp); | |
2174 | return _resultobj; | |
2175 | } | |
2176 | ||
2177 | #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount()) | |
2178 | static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args) { | |
2179 | PyObject * _resultobj; | |
2180 | size_t * _result; | |
2181 | wxTreeCtrl * _arg0; | |
2182 | char * _argc0 = 0; | |
2183 | char _ptemp[128]; | |
2184 | ||
2185 | self = self; | |
2186 | if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetCount",&_argc0)) | |
2187 | return NULL; | |
2188 | if (_argc0) { | |
2189 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p."); | |
2191 | return NULL; | |
2192 | } | |
2193 | } | |
2194 | _result = new size_t (wxTreeCtrl_GetCount(_arg0)); | |
2195 | SWIG_MakePtr(_ptemp, (void *) _result,"_size_t_p"); | |
2196 | _resultobj = Py_BuildValue("s",_ptemp); | |
2197 | return _resultobj; | |
2198 | } | |
2199 | ||
2200 | #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent()) | |
2201 | static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args) { | |
2202 | PyObject * _resultobj; | |
2203 | unsigned int _result; | |
2204 | wxTreeCtrl * _arg0; | |
2205 | char * _argc0 = 0; | |
2206 | ||
2207 | self = self; | |
2208 | if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetIndent",&_argc0)) | |
2209 | return NULL; | |
2210 | if (_argc0) { | |
2211 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2212 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p."); | |
2213 | return NULL; | |
2214 | } | |
2215 | } | |
2216 | _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0); | |
2217 | _resultobj = Py_BuildValue("i",_result); | |
2218 | return _resultobj; | |
2219 | } | |
2220 | ||
2221 | #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0)) | |
2222 | static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args) { | |
2223 | PyObject * _resultobj; | |
2224 | wxTreeCtrl * _arg0; | |
2225 | unsigned int _arg1; | |
2226 | char * _argc0 = 0; | |
2227 | ||
2228 | self = self; | |
2229 | if(!PyArg_ParseTuple(args,"si:wxTreeCtrl_SetIndent",&_argc0,&_arg1)) | |
2230 | return NULL; | |
2231 | if (_argc0) { | |
2232 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p."); | |
2234 | return NULL; | |
2235 | } | |
2236 | } | |
2237 | wxTreeCtrl_SetIndent(_arg0,_arg1); | |
2238 | Py_INCREF(Py_None); | |
2239 | _resultobj = Py_None; | |
2240 | return _resultobj; | |
2241 | } | |
2242 | ||
2243 | #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList()) | |
2244 | static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args) { | |
2245 | PyObject * _resultobj; | |
2246 | wxImageList * _result; | |
2247 | wxTreeCtrl * _arg0; | |
2248 | char * _argc0 = 0; | |
2249 | char _ptemp[128]; | |
2250 | ||
2251 | self = self; | |
2252 | if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetImageList",&_argc0)) | |
2253 | return NULL; | |
2254 | if (_argc0) { | |
2255 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2256 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p."); | |
2257 | return NULL; | |
2258 | } | |
2259 | } | |
2260 | _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0); | |
2261 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p"); | |
2262 | _resultobj = Py_BuildValue("s",_ptemp); | |
2263 | return _resultobj; | |
2264 | } | |
2265 | ||
2266 | #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList()) | |
2267 | static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args) { | |
2268 | PyObject * _resultobj; | |
2269 | wxImageList * _result; | |
2270 | wxTreeCtrl * _arg0; | |
2271 | char * _argc0 = 0; | |
2272 | char _ptemp[128]; | |
2273 | ||
2274 | self = self; | |
2275 | if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetStateImageList",&_argc0)) | |
2276 | return NULL; | |
2277 | if (_argc0) { | |
2278 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2279 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p."); | |
2280 | return NULL; | |
2281 | } | |
2282 | } | |
2283 | _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0); | |
2284 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p"); | |
2285 | _resultobj = Py_BuildValue("s",_ptemp); | |
2286 | return _resultobj; | |
2287 | } | |
2288 | ||
2289 | #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0)) | |
2290 | static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args) { | |
2291 | PyObject * _resultobj; | |
2292 | wxTreeCtrl * _arg0; | |
2293 | wxImageList * _arg1; | |
2294 | char * _argc0 = 0; | |
2295 | char * _argc1 = 0; | |
2296 | ||
2297 | self = self; | |
2298 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_SetImageList",&_argc0,&_argc1)) | |
2299 | return NULL; | |
2300 | if (_argc0) { | |
2301 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2302 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p."); | |
2303 | return NULL; | |
2304 | } | |
2305 | } | |
2306 | if (_argc1) { | |
2307 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) { | |
2308 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p."); | |
2309 | return NULL; | |
2310 | } | |
2311 | } | |
2312 | wxTreeCtrl_SetImageList(_arg0,_arg1); | |
2313 | Py_INCREF(Py_None); | |
2314 | _resultobj = Py_None; | |
2315 | return _resultobj; | |
2316 | } | |
2317 | ||
2318 | #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0)) | |
2319 | static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args) { | |
2320 | PyObject * _resultobj; | |
2321 | wxTreeCtrl * _arg0; | |
2322 | wxImageList * _arg1; | |
2323 | char * _argc0 = 0; | |
2324 | char * _argc1 = 0; | |
2325 | ||
2326 | self = self; | |
2327 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_SetStateImageList",&_argc0,&_argc1)) | |
2328 | return NULL; | |
2329 | if (_argc0) { | |
2330 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2331 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p."); | |
2332 | return NULL; | |
2333 | } | |
2334 | } | |
2335 | if (_argc1) { | |
2336 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) { | |
2337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p."); | |
2338 | return NULL; | |
2339 | } | |
2340 | } | |
2341 | wxTreeCtrl_SetStateImageList(_arg0,_arg1); | |
2342 | Py_INCREF(Py_None); | |
2343 | _resultobj = Py_None; | |
2344 | return _resultobj; | |
2345 | } | |
2346 | ||
2347 | #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0)) | |
2348 | static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args) { | |
2349 | PyObject * _resultobj; | |
2350 | wxString * _result; | |
2351 | wxTreeCtrl * _arg0; | |
2352 | wxTreeItemId * _arg1; | |
2353 | char * _argc0 = 0; | |
2354 | char * _argc1 = 0; | |
2355 | ||
2356 | self = self; | |
2357 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemText",&_argc0,&_argc1)) | |
2358 | return NULL; | |
2359 | if (_argc0) { | |
2360 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2361 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p."); | |
2362 | return NULL; | |
2363 | } | |
2364 | } | |
2365 | if (_argc1) { | |
2366 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
2367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p."); | |
2368 | return NULL; | |
2369 | } | |
2370 | } | |
2371 | _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1)); | |
2372 | { | |
2373 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
2374 | } | |
2375 | { | |
2376 | delete _result; | |
2377 | } | |
2378 | return _resultobj; | |
2379 | } | |
2380 | ||
2381 | #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0)) | |
2382 | static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args) { | |
2383 | PyObject * _resultobj; | |
2384 | int _result; | |
2385 | wxTreeCtrl * _arg0; | |
2386 | wxTreeItemId * _arg1; | |
2387 | char * _argc0 = 0; | |
2388 | char * _argc1 = 0; | |
2389 | ||
2390 | self = self; | |
2391 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemImage",&_argc0,&_argc1)) | |
2392 | return NULL; | |
2393 | if (_argc0) { | |
2394 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2395 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p."); | |
2396 | return NULL; | |
2397 | } | |
2398 | } | |
2399 | if (_argc1) { | |
2400 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
2401 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p."); | |
2402 | return NULL; | |
2403 | } | |
2404 | } | |
2405 | _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1); | |
2406 | _resultobj = Py_BuildValue("i",_result); | |
2407 | return _resultobj; | |
2408 | } | |
2409 | ||
2410 | #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0)) | |
2411 | static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args) { | |
2412 | PyObject * _resultobj; | |
2413 | int _result; | |
2414 | wxTreeCtrl * _arg0; | |
2415 | wxTreeItemId * _arg1; | |
2416 | char * _argc0 = 0; | |
2417 | char * _argc1 = 0; | |
2418 | ||
2419 | self = self; | |
2420 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemSelectedImage",&_argc0,&_argc1)) | |
2421 | return NULL; | |
2422 | if (_argc0) { | |
2423 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2424 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p."); | |
2425 | return NULL; | |
2426 | } | |
2427 | } | |
2428 | if (_argc1) { | |
2429 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
2430 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p."); | |
2431 | return NULL; | |
2432 | } | |
2433 | } | |
2434 | _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1); | |
2435 | _resultobj = Py_BuildValue("i",_result); | |
2436 | return _resultobj; | |
2437 | } | |
2438 | ||
2439 | #define wxTreeCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0)) | |
2440 | static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args) { | |
2441 | PyObject * _resultobj; | |
2442 | wxTreeItemData * _result; | |
2443 | wxTreeCtrl * _arg0; | |
2444 | wxTreeItemId * _arg1; | |
2445 | char * _argc0 = 0; | |
2446 | char * _argc1 = 0; | |
2447 | char _ptemp[128]; | |
2448 | ||
2449 | self = self; | |
2450 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemData",&_argc0,&_argc1)) | |
2451 | return NULL; | |
2452 | if (_argc0) { | |
2453 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p."); | |
2455 | return NULL; | |
2456 | } | |
2457 | } | |
2458 | if (_argc1) { | |
2459 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
2460 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p."); | |
2461 | return NULL; | |
2462 | } | |
2463 | } | |
2464 | _result = (wxTreeItemData *)wxTreeCtrl_GetItemData(_arg0,*_arg1); | |
2465 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemData_p"); | |
2466 | _resultobj = Py_BuildValue("s",_ptemp); | |
2467 | return _resultobj; | |
2468 | } | |
2469 | ||
2470 | #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1)) | |
2471 | static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args) { | |
2472 | PyObject * _resultobj; | |
2473 | wxTreeCtrl * _arg0; | |
2474 | wxTreeItemId * _arg1; | |
2475 | wxString * _arg2; | |
2476 | char * _argc0 = 0; | |
2477 | char * _argc1 = 0; | |
2478 | PyObject * _obj2 = 0; | |
2479 | ||
2480 | self = self; | |
2481 | if(!PyArg_ParseTuple(args,"ssO:wxTreeCtrl_SetItemText",&_argc0,&_argc1,&_obj2)) | |
2482 | return NULL; | |
2483 | if (_argc0) { | |
2484 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2485 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p."); | |
2486 | return NULL; | |
2487 | } | |
2488 | } | |
2489 | if (_argc1) { | |
2490 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
2491 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p."); | |
2492 | return NULL; | |
2493 | } | |
2494 | } | |
2495 | { | |
2496 | if (!PyString_Check(_obj2)) { | |
2497 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2498 | return NULL; | |
2499 | } | |
2500 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
2501 | } | |
2502 | wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2); | |
2503 | Py_INCREF(Py_None); | |
2504 | _resultobj = Py_None; | |
2505 | { | |
2506 | if (_obj2) | |
2507 | delete _arg2; | |
2508 | } | |
2509 | return _resultobj; | |
2510 | } | |
2511 | ||
2512 | #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1)) | |
2513 | static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args) { | |
2514 | PyObject * _resultobj; | |
2515 | wxTreeCtrl * _arg0; | |
2516 | wxTreeItemId * _arg1; | |
2517 | int _arg2; | |
2518 | char * _argc0 = 0; | |
2519 | char * _argc1 = 0; | |
2520 | ||
2521 | self = self; | |
2522 | if(!PyArg_ParseTuple(args,"ssi:wxTreeCtrl_SetItemImage",&_argc0,&_argc1,&_arg2)) | |
2523 | return NULL; | |
2524 | if (_argc0) { | |
2525 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2526 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p."); | |
2527 | return NULL; | |
2528 | } | |
2529 | } | |
2530 | if (_argc1) { | |
2531 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
2532 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p."); | |
2533 | return NULL; | |
2534 | } | |
2535 | } | |
2536 | wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2); | |
2537 | Py_INCREF(Py_None); | |
2538 | _resultobj = Py_None; | |
2539 | return _resultobj; | |
2540 | } | |
2541 | ||
2542 | #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1)) | |
2543 | static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args) { | |
2544 | PyObject * _resultobj; | |
2545 | wxTreeCtrl * _arg0; | |
2546 | wxTreeItemId * _arg1; | |
2547 | int _arg2; | |
2548 | char * _argc0 = 0; | |
2549 | char * _argc1 = 0; | |
2550 | ||
2551 | self = self; | |
2552 | if(!PyArg_ParseTuple(args,"ssi:wxTreeCtrl_SetItemSelectedImage",&_argc0,&_argc1,&_arg2)) | |
2553 | return NULL; | |
2554 | if (_argc0) { | |
2555 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2556 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p."); | |
2557 | return NULL; | |
2558 | } | |
2559 | } | |
2560 | if (_argc1) { | |
2561 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
2562 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p."); | |
2563 | return NULL; | |
2564 | } | |
2565 | } | |
2566 | wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2); | |
2567 | Py_INCREF(Py_None); | |
2568 | _resultobj = Py_None; | |
2569 | return _resultobj; | |
2570 | } | |
2571 | ||
2572 | #define wxTreeCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1)) | |
2573 | static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args) { | |
2574 | PyObject * _resultobj; | |
2575 | wxTreeCtrl * _arg0; | |
2576 | wxTreeItemId * _arg1; | |
2577 | wxTreeItemData * _arg2; | |
2578 | char * _argc0 = 0; | |
2579 | char * _argc1 = 0; | |
2580 | char * _argc2 = 0; | |
2581 | ||
2582 | self = self; | |
2583 | if(!PyArg_ParseTuple(args,"sss:wxTreeCtrl_SetItemData",&_argc0,&_argc1,&_argc2)) | |
2584 | return NULL; | |
2585 | if (_argc0) { | |
2586 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p."); | |
2588 | return NULL; | |
2589 | } | |
2590 | } | |
2591 | if (_argc1) { | |
2592 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
2593 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p."); | |
2594 | return NULL; | |
2595 | } | |
2596 | } | |
2597 | if (_argc2) { | |
2598 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxTreeItemData_p")) { | |
2599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxTreeItemData_p."); | |
2600 | return NULL; | |
2601 | } | |
2602 | } | |
2603 | wxTreeCtrl_SetItemData(_arg0,*_arg1,_arg2); | |
2604 | Py_INCREF(Py_None); | |
2605 | _resultobj = Py_None; | |
2606 | return _resultobj; | |
2607 | } | |
2608 | ||
2609 | #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0)) | |
2610 | static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args) { | |
2611 | PyObject * _resultobj; | |
2612 | bool _result; | |
2613 | wxTreeCtrl * _arg0; | |
2614 | wxTreeItemId * _arg1; | |
2615 | char * _argc0 = 0; | |
2616 | char * _argc1 = 0; | |
2617 | ||
2618 | self = self; | |
2619 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsVisible",&_argc0,&_argc1)) | |
2620 | return NULL; | |
2621 | if (_argc0) { | |
2622 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2623 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p."); | |
2624 | return NULL; | |
2625 | } | |
2626 | } | |
2627 | if (_argc1) { | |
2628 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
2629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p."); | |
2630 | return NULL; | |
2631 | } | |
2632 | } | |
2633 | _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1); | |
2634 | _resultobj = Py_BuildValue("i",_result); | |
2635 | return _resultobj; | |
2636 | } | |
2637 | ||
2638 | #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0)) | |
2639 | static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args) { | |
2640 | PyObject * _resultobj; | |
2641 | bool _result; | |
2642 | wxTreeCtrl * _arg0; | |
2643 | wxTreeItemId * _arg1; | |
2644 | char * _argc0 = 0; | |
2645 | char * _argc1 = 0; | |
2646 | ||
2647 | self = self; | |
2648 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_ItemHasChildren",&_argc0,&_argc1)) | |
2649 | return NULL; | |
2650 | if (_argc0) { | |
2651 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2652 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p."); | |
2653 | return NULL; | |
2654 | } | |
2655 | } | |
2656 | if (_argc1) { | |
2657 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
2658 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p."); | |
2659 | return NULL; | |
2660 | } | |
2661 | } | |
2662 | _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1); | |
2663 | _resultobj = Py_BuildValue("i",_result); | |
2664 | return _resultobj; | |
2665 | } | |
2666 | ||
2667 | #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0)) | |
2668 | static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args) { | |
2669 | PyObject * _resultobj; | |
2670 | bool _result; | |
2671 | wxTreeCtrl * _arg0; | |
2672 | wxTreeItemId * _arg1; | |
2673 | char * _argc0 = 0; | |
2674 | char * _argc1 = 0; | |
2675 | ||
2676 | self = self; | |
2677 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsExpanded",&_argc0,&_argc1)) | |
2678 | return NULL; | |
2679 | if (_argc0) { | |
2680 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2681 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p."); | |
2682 | return NULL; | |
2683 | } | |
2684 | } | |
2685 | if (_argc1) { | |
2686 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
2687 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p."); | |
2688 | return NULL; | |
2689 | } | |
2690 | } | |
2691 | _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1); | |
2692 | _resultobj = Py_BuildValue("i",_result); | |
2693 | return _resultobj; | |
2694 | } | |
2695 | ||
2696 | #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0)) | |
2697 | static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args) { | |
2698 | PyObject * _resultobj; | |
2699 | bool _result; | |
2700 | wxTreeCtrl * _arg0; | |
2701 | wxTreeItemId * _arg1; | |
2702 | char * _argc0 = 0; | |
2703 | char * _argc1 = 0; | |
2704 | ||
2705 | self = self; | |
2706 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsSelected",&_argc0,&_argc1)) | |
2707 | return NULL; | |
2708 | if (_argc0) { | |
2709 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2710 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p."); | |
2711 | return NULL; | |
2712 | } | |
2713 | } | |
2714 | if (_argc1) { | |
2715 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
2716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p."); | |
2717 | return NULL; | |
2718 | } | |
2719 | } | |
2720 | _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1); | |
2721 | _resultobj = Py_BuildValue("i",_result); | |
2722 | return _resultobj; | |
2723 | } | |
2724 | ||
2725 | #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem()) | |
2726 | static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args) { | |
2727 | PyObject * _resultobj; | |
2728 | wxTreeItemId * _result; | |
2729 | wxTreeCtrl * _arg0; | |
2730 | char * _argc0 = 0; | |
2731 | char _ptemp[128]; | |
2732 | ||
2733 | self = self; | |
2734 | if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetRootItem",&_argc0)) | |
2735 | return NULL; | |
2736 | if (_argc0) { | |
2737 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2738 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p."); | |
2739 | return NULL; | |
2740 | } | |
2741 | } | |
2742 | _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0)); | |
2743 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
2744 | _resultobj = Py_BuildValue("s",_ptemp); | |
2745 | return _resultobj; | |
2746 | } | |
2747 | ||
2748 | #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection()) | |
2749 | static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args) { | |
2750 | PyObject * _resultobj; | |
2751 | wxTreeItemId * _result; | |
2752 | wxTreeCtrl * _arg0; | |
2753 | char * _argc0 = 0; | |
2754 | char _ptemp[128]; | |
2755 | ||
2756 | self = self; | |
2757 | if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetSelection",&_argc0)) | |
2758 | return NULL; | |
2759 | if (_argc0) { | |
2760 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2761 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p."); | |
2762 | return NULL; | |
2763 | } | |
2764 | } | |
2765 | _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0)); | |
2766 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
2767 | _resultobj = Py_BuildValue("s",_ptemp); | |
2768 | return _resultobj; | |
2769 | } | |
2770 | ||
2771 | #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0)) | |
2772 | static PyObject *_wrap_wxTreeCtrl_GetParent(PyObject *self, PyObject *args) { | |
2773 | PyObject * _resultobj; | |
2774 | wxTreeItemId * _result; | |
2775 | wxTreeCtrl * _arg0; | |
2776 | wxTreeItemId * _arg1; | |
2777 | char * _argc0 = 0; | |
2778 | char * _argc1 = 0; | |
2779 | char _ptemp[128]; | |
2780 | ||
2781 | self = self; | |
2782 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetParent",&_argc0,&_argc1)) | |
2783 | return NULL; | |
2784 | if (_argc0) { | |
2785 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2786 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p."); | |
2787 | return NULL; | |
2788 | } | |
2789 | } | |
2790 | if (_argc1) { | |
2791 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
2792 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p."); | |
2793 | return NULL; | |
2794 | } | |
2795 | } | |
2796 | _result = new wxTreeItemId (wxTreeCtrl_GetParent(_arg0,*_arg1)); | |
2797 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
2798 | _resultobj = Py_BuildValue("s",_ptemp); | |
2799 | return _resultobj; | |
2800 | } | |
2801 | ||
2802 | #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1)) | |
2803 | static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args) { | |
2804 | PyObject * _resultobj; | |
2805 | wxTreeItemId * _result; | |
2806 | wxTreeCtrl * _arg0; | |
2807 | wxTreeItemId * _arg1; | |
2808 | long * _arg2; | |
2809 | char * _argc0 = 0; | |
2810 | char * _argc1 = 0; | |
2811 | long temp; | |
2812 | PyObject * _obj2 = 0; | |
2813 | char _ptemp[128]; | |
2814 | ||
2815 | self = self; | |
2816 | if(!PyArg_ParseTuple(args,"ssO:wxTreeCtrl_GetFirstChild",&_argc0,&_argc1,&_obj2)) | |
2817 | return NULL; | |
2818 | if (_argc0) { | |
2819 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2820 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p."); | |
2821 | return NULL; | |
2822 | } | |
2823 | } | |
2824 | if (_argc1) { | |
2825 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
2826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p."); | |
2827 | return NULL; | |
2828 | } | |
2829 | } | |
2830 | { | |
2831 | temp = (long) PyInt_AsLong(_obj2); | |
2832 | _arg2 = &temp; | |
2833 | } | |
2834 | _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2)); | |
2835 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
2836 | _resultobj = Py_BuildValue("s",_ptemp); | |
2837 | { | |
2838 | PyObject *o; | |
2839 | o = PyInt_FromLong((long) (*_arg2)); | |
2840 | _resultobj = t_output_helper(_resultobj, o); | |
2841 | } | |
2842 | return _resultobj; | |
2843 | } | |
2844 | ||
2845 | #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1)) | |
2846 | static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args) { | |
2847 | PyObject * _resultobj; | |
2848 | wxTreeItemId * _result; | |
2849 | wxTreeCtrl * _arg0; | |
2850 | wxTreeItemId * _arg1; | |
2851 | long * _arg2; | |
2852 | char * _argc0 = 0; | |
2853 | char * _argc1 = 0; | |
2854 | long temp; | |
2855 | PyObject * _obj2 = 0; | |
2856 | char _ptemp[128]; | |
2857 | ||
2858 | self = self; | |
2859 | if(!PyArg_ParseTuple(args,"ssO:wxTreeCtrl_GetNextChild",&_argc0,&_argc1,&_obj2)) | |
2860 | return NULL; | |
2861 | if (_argc0) { | |
2862 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2863 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p."); | |
2864 | return NULL; | |
2865 | } | |
2866 | } | |
2867 | if (_argc1) { | |
2868 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
2869 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p."); | |
2870 | return NULL; | |
2871 | } | |
2872 | } | |
2873 | { | |
2874 | temp = (long) PyInt_AsLong(_obj2); | |
2875 | _arg2 = &temp; | |
2876 | } | |
2877 | _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2)); | |
2878 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
2879 | _resultobj = Py_BuildValue("s",_ptemp); | |
2880 | { | |
2881 | PyObject *o; | |
2882 | o = PyInt_FromLong((long) (*_arg2)); | |
2883 | _resultobj = t_output_helper(_resultobj, o); | |
2884 | } | |
2885 | return _resultobj; | |
2886 | } | |
2887 | ||
2888 | #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0)) | |
2889 | static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args) { | |
2890 | PyObject * _resultobj; | |
2891 | wxTreeItemId * _result; | |
2892 | wxTreeCtrl * _arg0; | |
2893 | wxTreeItemId * _arg1; | |
2894 | char * _argc0 = 0; | |
2895 | char * _argc1 = 0; | |
2896 | char _ptemp[128]; | |
2897 | ||
2898 | self = self; | |
2899 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetNextSibling",&_argc0,&_argc1)) | |
2900 | return NULL; | |
2901 | if (_argc0) { | |
2902 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2903 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p."); | |
2904 | return NULL; | |
2905 | } | |
2906 | } | |
2907 | if (_argc1) { | |
2908 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
2909 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p."); | |
2910 | return NULL; | |
2911 | } | |
2912 | } | |
2913 | _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1)); | |
2914 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
2915 | _resultobj = Py_BuildValue("s",_ptemp); | |
2916 | return _resultobj; | |
2917 | } | |
2918 | ||
2919 | #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0)) | |
2920 | static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args) { | |
2921 | PyObject * _resultobj; | |
2922 | wxTreeItemId * _result; | |
2923 | wxTreeCtrl * _arg0; | |
2924 | wxTreeItemId * _arg1; | |
2925 | char * _argc0 = 0; | |
2926 | char * _argc1 = 0; | |
2927 | char _ptemp[128]; | |
2928 | ||
2929 | self = self; | |
2930 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetPrevSibling",&_argc0,&_argc1)) | |
2931 | return NULL; | |
2932 | if (_argc0) { | |
2933 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2934 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p."); | |
2935 | return NULL; | |
2936 | } | |
2937 | } | |
2938 | if (_argc1) { | |
2939 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
2940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p."); | |
2941 | return NULL; | |
2942 | } | |
2943 | } | |
2944 | _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1)); | |
2945 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
2946 | _resultobj = Py_BuildValue("s",_ptemp); | |
2947 | return _resultobj; | |
2948 | } | |
2949 | ||
2950 | #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem()) | |
2951 | static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args) { | |
2952 | PyObject * _resultobj; | |
2953 | wxTreeItemId * _result; | |
2954 | wxTreeCtrl * _arg0; | |
2955 | char * _argc0 = 0; | |
2956 | char _ptemp[128]; | |
2957 | ||
2958 | self = self; | |
2959 | if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetFirstVisibleItem",&_argc0)) | |
2960 | return NULL; | |
2961 | if (_argc0) { | |
2962 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2963 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p."); | |
2964 | return NULL; | |
2965 | } | |
2966 | } | |
2967 | _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0)); | |
2968 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
2969 | _resultobj = Py_BuildValue("s",_ptemp); | |
2970 | return _resultobj; | |
2971 | } | |
2972 | ||
2973 | #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0)) | |
2974 | static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args) { | |
2975 | PyObject * _resultobj; | |
2976 | wxTreeItemId * _result; | |
2977 | wxTreeCtrl * _arg0; | |
2978 | wxTreeItemId * _arg1; | |
2979 | char * _argc0 = 0; | |
2980 | char * _argc1 = 0; | |
2981 | char _ptemp[128]; | |
2982 | ||
2983 | self = self; | |
2984 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetNextVisible",&_argc0,&_argc1)) | |
2985 | return NULL; | |
2986 | if (_argc0) { | |
2987 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
2988 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p."); | |
2989 | return NULL; | |
2990 | } | |
2991 | } | |
2992 | if (_argc1) { | |
2993 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
2994 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p."); | |
2995 | return NULL; | |
2996 | } | |
2997 | } | |
2998 | _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1)); | |
2999 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
3000 | _resultobj = Py_BuildValue("s",_ptemp); | |
3001 | return _resultobj; | |
3002 | } | |
3003 | ||
3004 | #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0)) | |
3005 | static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args) { | |
3006 | PyObject * _resultobj; | |
3007 | wxTreeItemId * _result; | |
3008 | wxTreeCtrl * _arg0; | |
3009 | wxTreeItemId * _arg1; | |
3010 | char * _argc0 = 0; | |
3011 | char * _argc1 = 0; | |
3012 | char _ptemp[128]; | |
3013 | ||
3014 | self = self; | |
3015 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetPrevVisible",&_argc0,&_argc1)) | |
3016 | return NULL; | |
3017 | if (_argc0) { | |
3018 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3019 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p."); | |
3020 | return NULL; | |
3021 | } | |
3022 | } | |
3023 | if (_argc1) { | |
3024 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
3025 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p."); | |
3026 | return NULL; | |
3027 | } | |
3028 | } | |
3029 | _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1)); | |
3030 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
3031 | _resultobj = Py_BuildValue("s",_ptemp); | |
3032 | return _resultobj; | |
3033 | } | |
3034 | ||
3035 | #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3036 | static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args) { | |
3037 | PyObject * _resultobj; | |
3038 | wxTreeItemId * _result; | |
3039 | wxTreeCtrl * _arg0; | |
3040 | wxString * _arg1; | |
3041 | int _arg2 = -1; | |
3042 | int _arg3 = -1; | |
3043 | wxTreeItemData * _arg4 = NULL; | |
3044 | char * _argc0 = 0; | |
3045 | PyObject * _obj1 = 0; | |
3046 | char * _argc4 = 0; | |
3047 | char _ptemp[128]; | |
3048 | ||
3049 | self = self; | |
3050 | if(!PyArg_ParseTuple(args,"sO|iis:wxTreeCtrl_AddRoot",&_argc0,&_obj1,&_arg2,&_arg3,&_argc4)) | |
3051 | return NULL; | |
3052 | if (_argc0) { | |
3053 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3054 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p."); | |
3055 | return NULL; | |
3056 | } | |
3057 | } | |
3058 | { | |
3059 | if (!PyString_Check(_obj1)) { | |
3060 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3061 | return NULL; | |
3062 | } | |
3063 | _arg1 = new wxString(PyString_AsString(_obj1)); | |
3064 | } | |
3065 | if (_argc4) { | |
3066 | if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxTreeItemData_p")) { | |
3067 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxTreeItemData_p."); | |
3068 | return NULL; | |
3069 | } | |
3070 | } | |
3071 | _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4)); | |
3072 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
3073 | _resultobj = Py_BuildValue("s",_ptemp); | |
3074 | { | |
3075 | if (_obj1) | |
3076 | delete _arg1; | |
3077 | } | |
3078 | return _resultobj; | |
3079 | } | |
3080 | ||
3081 | #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3082 | static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args) { | |
3083 | PyObject * _resultobj; | |
3084 | wxTreeItemId * _result; | |
3085 | wxTreeCtrl * _arg0; | |
3086 | wxTreeItemId * _arg1; | |
3087 | wxString * _arg2; | |
3088 | int _arg3 = -1; | |
3089 | int _arg4 = -1; | |
3090 | wxTreeItemData * _arg5 = NULL; | |
3091 | char * _argc0 = 0; | |
3092 | char * _argc1 = 0; | |
3093 | PyObject * _obj2 = 0; | |
3094 | char * _argc5 = 0; | |
3095 | char _ptemp[128]; | |
3096 | ||
3097 | self = self; | |
3098 | if(!PyArg_ParseTuple(args,"ssO|iis:wxTreeCtrl_PrependItem",&_argc0,&_argc1,&_obj2,&_arg3,&_arg4,&_argc5)) | |
3099 | return NULL; | |
3100 | if (_argc0) { | |
3101 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3102 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p."); | |
3103 | return NULL; | |
3104 | } | |
3105 | } | |
3106 | if (_argc1) { | |
3107 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
3108 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p."); | |
3109 | return NULL; | |
3110 | } | |
3111 | } | |
3112 | { | |
3113 | if (!PyString_Check(_obj2)) { | |
3114 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3115 | return NULL; | |
3116 | } | |
3117 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
3118 | } | |
3119 | if (_argc5) { | |
3120 | if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxTreeItemData_p")) { | |
3121 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxTreeItemData_p."); | |
3122 | return NULL; | |
3123 | } | |
3124 | } | |
3125 | _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5)); | |
3126 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
3127 | _resultobj = Py_BuildValue("s",_ptemp); | |
3128 | { | |
3129 | if (_obj2) | |
3130 | delete _arg2; | |
3131 | } | |
3132 | return _resultobj; | |
3133 | } | |
3134 | ||
3135 | #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
3136 | static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args) { | |
3137 | PyObject * _resultobj; | |
3138 | wxTreeItemId * _result; | |
3139 | wxTreeCtrl * _arg0; | |
3140 | wxTreeItemId * _arg1; | |
3141 | wxTreeItemId * _arg2; | |
3142 | wxString * _arg3; | |
3143 | int _arg4 = -1; | |
3144 | int _arg5 = -1; | |
3145 | wxTreeItemData * _arg6 = NULL; | |
3146 | char * _argc0 = 0; | |
3147 | char * _argc1 = 0; | |
3148 | char * _argc2 = 0; | |
3149 | PyObject * _obj3 = 0; | |
3150 | char * _argc6 = 0; | |
3151 | char _ptemp[128]; | |
3152 | ||
3153 | self = self; | |
3154 | if(!PyArg_ParseTuple(args,"sssO|iis:wxTreeCtrl_InsertItem",&_argc0,&_argc1,&_argc2,&_obj3,&_arg4,&_arg5,&_argc6)) | |
3155 | return NULL; | |
3156 | if (_argc0) { | |
3157 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3158 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p."); | |
3159 | return NULL; | |
3160 | } | |
3161 | } | |
3162 | if (_argc1) { | |
3163 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
3164 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p."); | |
3165 | return NULL; | |
3166 | } | |
3167 | } | |
3168 | if (_argc2) { | |
3169 | if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxTreeItemId_p")) { | |
3170 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p."); | |
3171 | return NULL; | |
3172 | } | |
3173 | } | |
3174 | { | |
3175 | if (!PyString_Check(_obj3)) { | |
3176 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3177 | return NULL; | |
3178 | } | |
3179 | _arg3 = new wxString(PyString_AsString(_obj3)); | |
3180 | } | |
3181 | if (_argc6) { | |
3182 | if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxTreeItemData_p")) { | |
3183 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxTreeItemData_p."); | |
3184 | return NULL; | |
3185 | } | |
3186 | } | |
3187 | _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6)); | |
3188 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
3189 | _resultobj = Py_BuildValue("s",_ptemp); | |
3190 | { | |
3191 | if (_obj3) | |
3192 | delete _arg3; | |
3193 | } | |
3194 | return _resultobj; | |
3195 | } | |
3196 | ||
3197 | #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3198 | static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args) { | |
3199 | PyObject * _resultobj; | |
3200 | wxTreeItemId * _result; | |
3201 | wxTreeCtrl * _arg0; | |
3202 | wxTreeItemId * _arg1; | |
3203 | wxString * _arg2; | |
3204 | int _arg3 = -1; | |
3205 | int _arg4 = -1; | |
3206 | wxTreeItemData * _arg5 = NULL; | |
3207 | char * _argc0 = 0; | |
3208 | char * _argc1 = 0; | |
3209 | PyObject * _obj2 = 0; | |
3210 | char * _argc5 = 0; | |
3211 | char _ptemp[128]; | |
3212 | ||
3213 | self = self; | |
3214 | if(!PyArg_ParseTuple(args,"ssO|iis:wxTreeCtrl_AppendItem",&_argc0,&_argc1,&_obj2,&_arg3,&_arg4,&_argc5)) | |
3215 | return NULL; | |
3216 | if (_argc0) { | |
3217 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3218 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p."); | |
3219 | return NULL; | |
3220 | } | |
3221 | } | |
3222 | if (_argc1) { | |
3223 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
3224 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p."); | |
3225 | return NULL; | |
3226 | } | |
3227 | } | |
3228 | { | |
3229 | if (!PyString_Check(_obj2)) { | |
3230 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3231 | return NULL; | |
3232 | } | |
3233 | _arg2 = new wxString(PyString_AsString(_obj2)); | |
3234 | } | |
3235 | if (_argc5) { | |
3236 | if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxTreeItemData_p")) { | |
3237 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxTreeItemData_p."); | |
3238 | return NULL; | |
3239 | } | |
3240 | } | |
3241 | _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5)); | |
3242 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
3243 | _resultobj = Py_BuildValue("s",_ptemp); | |
3244 | { | |
3245 | if (_obj2) | |
3246 | delete _arg2; | |
3247 | } | |
3248 | return _resultobj; | |
3249 | } | |
3250 | ||
3251 | #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0)) | |
3252 | static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args) { | |
3253 | PyObject * _resultobj; | |
3254 | wxTreeCtrl * _arg0; | |
3255 | wxTreeItemId * _arg1; | |
3256 | char * _argc0 = 0; | |
3257 | char * _argc1 = 0; | |
3258 | ||
3259 | self = self; | |
3260 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Delete",&_argc0,&_argc1)) | |
3261 | return NULL; | |
3262 | if (_argc0) { | |
3263 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3264 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p."); | |
3265 | return NULL; | |
3266 | } | |
3267 | } | |
3268 | if (_argc1) { | |
3269 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
3270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p."); | |
3271 | return NULL; | |
3272 | } | |
3273 | } | |
3274 | wxTreeCtrl_Delete(_arg0,*_arg1); | |
3275 | Py_INCREF(Py_None); | |
3276 | _resultobj = Py_None; | |
3277 | return _resultobj; | |
3278 | } | |
3279 | ||
3280 | #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems()) | |
3281 | static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args) { | |
3282 | PyObject * _resultobj; | |
3283 | wxTreeCtrl * _arg0; | |
3284 | char * _argc0 = 0; | |
3285 | ||
3286 | self = self; | |
3287 | if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_DeleteAllItems",&_argc0)) | |
3288 | return NULL; | |
3289 | if (_argc0) { | |
3290 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3291 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p."); | |
3292 | return NULL; | |
3293 | } | |
3294 | } | |
3295 | wxTreeCtrl_DeleteAllItems(_arg0); | |
3296 | Py_INCREF(Py_None); | |
3297 | _resultobj = Py_None; | |
3298 | return _resultobj; | |
3299 | } | |
3300 | ||
3301 | #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0)) | |
3302 | static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args) { | |
3303 | PyObject * _resultobj; | |
3304 | wxTreeCtrl * _arg0; | |
3305 | wxTreeItemId * _arg1; | |
3306 | char * _argc0 = 0; | |
3307 | char * _argc1 = 0; | |
3308 | ||
3309 | self = self; | |
3310 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Expand",&_argc0,&_argc1)) | |
3311 | return NULL; | |
3312 | if (_argc0) { | |
3313 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p."); | |
3315 | return NULL; | |
3316 | } | |
3317 | } | |
3318 | if (_argc1) { | |
3319 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
3320 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p."); | |
3321 | return NULL; | |
3322 | } | |
3323 | } | |
3324 | wxTreeCtrl_Expand(_arg0,*_arg1); | |
3325 | Py_INCREF(Py_None); | |
3326 | _resultobj = Py_None; | |
3327 | return _resultobj; | |
3328 | } | |
3329 | ||
3330 | #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0)) | |
3331 | static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args) { | |
3332 | PyObject * _resultobj; | |
3333 | wxTreeCtrl * _arg0; | |
3334 | wxTreeItemId * _arg1; | |
3335 | char * _argc0 = 0; | |
3336 | char * _argc1 = 0; | |
3337 | ||
3338 | self = self; | |
3339 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Collapse",&_argc0,&_argc1)) | |
3340 | return NULL; | |
3341 | if (_argc0) { | |
3342 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p."); | |
3344 | return NULL; | |
3345 | } | |
3346 | } | |
3347 | if (_argc1) { | |
3348 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
3349 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p."); | |
3350 | return NULL; | |
3351 | } | |
3352 | } | |
3353 | wxTreeCtrl_Collapse(_arg0,*_arg1); | |
3354 | Py_INCREF(Py_None); | |
3355 | _resultobj = Py_None; | |
3356 | return _resultobj; | |
3357 | } | |
3358 | ||
3359 | #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0)) | |
3360 | static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args) { | |
3361 | PyObject * _resultobj; | |
3362 | wxTreeCtrl * _arg0; | |
3363 | wxTreeItemId * _arg1; | |
3364 | char * _argc0 = 0; | |
3365 | char * _argc1 = 0; | |
3366 | ||
3367 | self = self; | |
3368 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_CollapseAndReset",&_argc0,&_argc1)) | |
3369 | return NULL; | |
3370 | if (_argc0) { | |
3371 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3372 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p."); | |
3373 | return NULL; | |
3374 | } | |
3375 | } | |
3376 | if (_argc1) { | |
3377 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
3378 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p."); | |
3379 | return NULL; | |
3380 | } | |
3381 | } | |
3382 | wxTreeCtrl_CollapseAndReset(_arg0,*_arg1); | |
3383 | Py_INCREF(Py_None); | |
3384 | _resultobj = Py_None; | |
3385 | return _resultobj; | |
3386 | } | |
3387 | ||
3388 | #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0)) | |
3389 | static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args) { | |
3390 | PyObject * _resultobj; | |
3391 | wxTreeCtrl * _arg0; | |
3392 | wxTreeItemId * _arg1; | |
3393 | char * _argc0 = 0; | |
3394 | char * _argc1 = 0; | |
3395 | ||
3396 | self = self; | |
3397 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Toggle",&_argc0,&_argc1)) | |
3398 | return NULL; | |
3399 | if (_argc0) { | |
3400 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3401 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p."); | |
3402 | return NULL; | |
3403 | } | |
3404 | } | |
3405 | if (_argc1) { | |
3406 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
3407 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p."); | |
3408 | return NULL; | |
3409 | } | |
3410 | } | |
3411 | wxTreeCtrl_Toggle(_arg0,*_arg1); | |
3412 | Py_INCREF(Py_None); | |
3413 | _resultobj = Py_None; | |
3414 | return _resultobj; | |
3415 | } | |
3416 | ||
3417 | #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect()) | |
3418 | static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args) { | |
3419 | PyObject * _resultobj; | |
3420 | wxTreeCtrl * _arg0; | |
3421 | char * _argc0 = 0; | |
3422 | ||
3423 | self = self; | |
3424 | if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_Unselect",&_argc0)) | |
3425 | return NULL; | |
3426 | if (_argc0) { | |
3427 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3428 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p."); | |
3429 | return NULL; | |
3430 | } | |
3431 | } | |
3432 | wxTreeCtrl_Unselect(_arg0); | |
3433 | Py_INCREF(Py_None); | |
3434 | _resultobj = Py_None; | |
3435 | return _resultobj; | |
3436 | } | |
3437 | ||
3438 | #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0)) | |
3439 | static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args) { | |
3440 | PyObject * _resultobj; | |
3441 | wxTreeCtrl * _arg0; | |
3442 | wxTreeItemId * _arg1; | |
3443 | char * _argc0 = 0; | |
3444 | char * _argc1 = 0; | |
3445 | ||
3446 | self = self; | |
3447 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_SelectItem",&_argc0,&_argc1)) | |
3448 | return NULL; | |
3449 | if (_argc0) { | |
3450 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p."); | |
3452 | return NULL; | |
3453 | } | |
3454 | } | |
3455 | if (_argc1) { | |
3456 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
3457 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p."); | |
3458 | return NULL; | |
3459 | } | |
3460 | } | |
3461 | wxTreeCtrl_SelectItem(_arg0,*_arg1); | |
3462 | Py_INCREF(Py_None); | |
3463 | _resultobj = Py_None; | |
3464 | return _resultobj; | |
3465 | } | |
3466 | ||
3467 | #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0)) | |
3468 | static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args) { | |
3469 | PyObject * _resultobj; | |
3470 | wxTreeCtrl * _arg0; | |
3471 | wxTreeItemId * _arg1; | |
3472 | char * _argc0 = 0; | |
3473 | char * _argc1 = 0; | |
3474 | ||
3475 | self = self; | |
3476 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_EnsureVisible",&_argc0,&_argc1)) | |
3477 | return NULL; | |
3478 | if (_argc0) { | |
3479 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3480 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p."); | |
3481 | return NULL; | |
3482 | } | |
3483 | } | |
3484 | if (_argc1) { | |
3485 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
3486 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p."); | |
3487 | return NULL; | |
3488 | } | |
3489 | } | |
3490 | wxTreeCtrl_EnsureVisible(_arg0,*_arg1); | |
3491 | Py_INCREF(Py_None); | |
3492 | _resultobj = Py_None; | |
3493 | return _resultobj; | |
3494 | } | |
3495 | ||
3496 | #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0)) | |
3497 | static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args) { | |
3498 | PyObject * _resultobj; | |
3499 | wxTreeCtrl * _arg0; | |
3500 | wxTreeItemId * _arg1; | |
3501 | char * _argc0 = 0; | |
3502 | char * _argc1 = 0; | |
3503 | ||
3504 | self = self; | |
3505 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_ScrollTo",&_argc0,&_argc1)) | |
3506 | return NULL; | |
3507 | if (_argc0) { | |
3508 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p."); | |
3510 | return NULL; | |
3511 | } | |
3512 | } | |
3513 | if (_argc1) { | |
3514 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
3515 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p."); | |
3516 | return NULL; | |
3517 | } | |
3518 | } | |
3519 | wxTreeCtrl_ScrollTo(_arg0,*_arg1); | |
3520 | Py_INCREF(Py_None); | |
3521 | _resultobj = Py_None; | |
3522 | return _resultobj; | |
3523 | } | |
3524 | ||
3525 | #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0)) | |
3526 | static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args) { | |
3527 | PyObject * _resultobj; | |
3528 | wxTextCtrl * _result; | |
3529 | wxTreeCtrl * _arg0; | |
3530 | wxTreeItemId * _arg1; | |
3531 | char * _argc0 = 0; | |
3532 | char * _argc1 = 0; | |
3533 | char _ptemp[128]; | |
3534 | ||
3535 | self = self; | |
3536 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_EditLabel",&_argc0,&_argc1)) | |
3537 | return NULL; | |
3538 | if (_argc0) { | |
3539 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3540 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p."); | |
3541 | return NULL; | |
3542 | } | |
3543 | } | |
3544 | if (_argc1) { | |
3545 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
3546 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p."); | |
3547 | return NULL; | |
3548 | } | |
3549 | } | |
3550 | _result = (wxTextCtrl *)wxTreeCtrl_EditLabel(_arg0,*_arg1); | |
3551 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p"); | |
3552 | _resultobj = Py_BuildValue("s",_ptemp); | |
3553 | return _resultobj; | |
3554 | } | |
3555 | ||
3556 | #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl()) | |
3557 | static PyObject *_wrap_wxTreeCtrl_GetEditControl(PyObject *self, PyObject *args) { | |
3558 | PyObject * _resultobj; | |
3559 | wxTextCtrl * _result; | |
3560 | wxTreeCtrl * _arg0; | |
3561 | char * _argc0 = 0; | |
3562 | char _ptemp[128]; | |
3563 | ||
3564 | self = self; | |
3565 | if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetEditControl",&_argc0)) | |
3566 | return NULL; | |
3567 | if (_argc0) { | |
3568 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3569 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p."); | |
3570 | return NULL; | |
3571 | } | |
3572 | } | |
3573 | _result = (wxTextCtrl *)wxTreeCtrl_GetEditControl(_arg0); | |
3574 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p"); | |
3575 | _resultobj = Py_BuildValue("s",_ptemp); | |
3576 | return _resultobj; | |
3577 | } | |
3578 | ||
3579 | #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1)) | |
3580 | static PyObject *_wrap_wxTreeCtrl_EndEditLabel(PyObject *self, PyObject *args) { | |
3581 | PyObject * _resultobj; | |
3582 | wxTreeCtrl * _arg0; | |
3583 | wxTreeItemId * _arg1; | |
3584 | bool _arg2 = (0); | |
3585 | char * _argc0 = 0; | |
3586 | char * _argc1 = 0; | |
3587 | int tempbool2; | |
3588 | ||
3589 | self = self; | |
3590 | if(!PyArg_ParseTuple(args,"ss|i:wxTreeCtrl_EndEditLabel",&_argc0,&_argc1,&tempbool2)) | |
3591 | return NULL; | |
3592 | if (_argc0) { | |
3593 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3594 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p."); | |
3595 | return NULL; | |
3596 | } | |
3597 | } | |
3598 | if (_argc1) { | |
3599 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
3600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p."); | |
3601 | return NULL; | |
3602 | } | |
3603 | } | |
3604 | _arg2 = (bool ) tempbool2; | |
3605 | wxTreeCtrl_EndEditLabel(_arg0,*_arg1,_arg2); | |
3606 | Py_INCREF(Py_None); | |
3607 | _resultobj = Py_None; | |
3608 | return _resultobj; | |
3609 | } | |
3610 | ||
105e45b9 RD |
3611 | #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1)) |
3612 | static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args) { | |
3613 | PyObject * _resultobj; | |
3614 | wxTreeCtrl * _arg0; | |
3615 | wxTreeItemId * _arg1; | |
3616 | bool _arg2 = (1); | |
3617 | char * _argc0 = 0; | |
3618 | char * _argc1 = 0; | |
3619 | int tempbool2; | |
3620 | ||
3621 | self = self; | |
3622 | if(!PyArg_ParseTuple(args,"ss|i:wxTreeCtrl_SetItemBold",&_argc0,&_argc1,&tempbool2)) | |
3623 | return NULL; | |
3624 | if (_argc0) { | |
3625 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3626 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p."); | |
3627 | return NULL; | |
3628 | } | |
3629 | } | |
3630 | if (_argc1) { | |
3631 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
3632 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p."); | |
3633 | return NULL; | |
3634 | } | |
3635 | } | |
3636 | _arg2 = (bool ) tempbool2; | |
3637 | wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2); | |
3638 | Py_INCREF(Py_None); | |
3639 | _resultobj = Py_None; | |
3640 | return _resultobj; | |
3641 | } | |
3642 | ||
3643 | #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0)) | |
3644 | static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args) { | |
3645 | PyObject * _resultobj; | |
3646 | bool _result; | |
3647 | wxTreeCtrl * _arg0; | |
3648 | wxTreeItemId * _arg1; | |
3649 | char * _argc0 = 0; | |
3650 | char * _argc1 = 0; | |
3651 | ||
3652 | self = self; | |
3653 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsBold",&_argc0,&_argc1)) | |
3654 | return NULL; | |
3655 | if (_argc0) { | |
3656 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p."); | |
3658 | return NULL; | |
3659 | } | |
3660 | } | |
3661 | if (_argc1) { | |
3662 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) { | |
3663 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p."); | |
3664 | return NULL; | |
3665 | } | |
3666 | } | |
3667 | _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1); | |
3668 | _resultobj = Py_BuildValue("i",_result); | |
3669 | return _resultobj; | |
3670 | } | |
3671 | ||
c95e68d8 RD |
3672 | #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0)) |
3673 | static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args) { | |
3674 | PyObject * _resultobj; | |
3675 | wxTreeItemId * _result; | |
3676 | wxTreeCtrl * _arg0; | |
3677 | wxPoint * _arg1; | |
3678 | char * _argc0 = 0; | |
3679 | char * _argc1 = 0; | |
3680 | char _ptemp[128]; | |
3681 | ||
3682 | self = self; | |
3683 | if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_HitTest",&_argc0,&_argc1)) | |
3684 | return NULL; | |
3685 | if (_argc0) { | |
3686 | if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) { | |
3687 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p."); | |
3688 | return NULL; | |
3689 | } | |
3690 | } | |
3691 | if (_argc1) { | |
3692 | if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) { | |
3693 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p."); | |
3694 | return NULL; | |
3695 | } | |
3696 | } | |
3697 | _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1)); | |
3698 | SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p"); | |
3699 | _resultobj = Py_BuildValue("s",_ptemp); | |
3700 | return _resultobj; | |
3701 | } | |
3702 | ||
70551f47 | 3703 | static PyMethodDef controls2cMethods[] = { |
c95e68d8 | 3704 | { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest, 1 }, |
105e45b9 RD |
3705 | { "wxTreeCtrl_IsBold", _wrap_wxTreeCtrl_IsBold, 1 }, |
3706 | { "wxTreeCtrl_SetItemBold", _wrap_wxTreeCtrl_SetItemBold, 1 }, | |
60e05667 RD |
3707 | { "wxTreeCtrl_EndEditLabel", _wrap_wxTreeCtrl_EndEditLabel, 1 }, |
3708 | { "wxTreeCtrl_GetEditControl", _wrap_wxTreeCtrl_GetEditControl, 1 }, | |
3709 | { "wxTreeCtrl_EditLabel", _wrap_wxTreeCtrl_EditLabel, 1 }, | |
3710 | { "wxTreeCtrl_ScrollTo", _wrap_wxTreeCtrl_ScrollTo, 1 }, | |
3711 | { "wxTreeCtrl_EnsureVisible", _wrap_wxTreeCtrl_EnsureVisible, 1 }, | |
3712 | { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem, 1 }, | |
3713 | { "wxTreeCtrl_Unselect", _wrap_wxTreeCtrl_Unselect, 1 }, | |
3714 | { "wxTreeCtrl_Toggle", _wrap_wxTreeCtrl_Toggle, 1 }, | |
3715 | { "wxTreeCtrl_CollapseAndReset", _wrap_wxTreeCtrl_CollapseAndReset, 1 }, | |
3716 | { "wxTreeCtrl_Collapse", _wrap_wxTreeCtrl_Collapse, 1 }, | |
3717 | { "wxTreeCtrl_Expand", _wrap_wxTreeCtrl_Expand, 1 }, | |
3718 | { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems, 1 }, | |
3719 | { "wxTreeCtrl_Delete", _wrap_wxTreeCtrl_Delete, 1 }, | |
3720 | { "wxTreeCtrl_AppendItem", _wrap_wxTreeCtrl_AppendItem, 1 }, | |
3721 | { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem, 1 }, | |
3722 | { "wxTreeCtrl_PrependItem", _wrap_wxTreeCtrl_PrependItem, 1 }, | |
3723 | { "wxTreeCtrl_AddRoot", _wrap_wxTreeCtrl_AddRoot, 1 }, | |
3724 | { "wxTreeCtrl_GetPrevVisible", _wrap_wxTreeCtrl_GetPrevVisible, 1 }, | |
3725 | { "wxTreeCtrl_GetNextVisible", _wrap_wxTreeCtrl_GetNextVisible, 1 }, | |
3726 | { "wxTreeCtrl_GetFirstVisibleItem", _wrap_wxTreeCtrl_GetFirstVisibleItem, 1 }, | |
3727 | { "wxTreeCtrl_GetPrevSibling", _wrap_wxTreeCtrl_GetPrevSibling, 1 }, | |
3728 | { "wxTreeCtrl_GetNextSibling", _wrap_wxTreeCtrl_GetNextSibling, 1 }, | |
3729 | { "wxTreeCtrl_GetNextChild", _wrap_wxTreeCtrl_GetNextChild, 1 }, | |
3730 | { "wxTreeCtrl_GetFirstChild", _wrap_wxTreeCtrl_GetFirstChild, 1 }, | |
3731 | { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent, 1 }, | |
3732 | { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection, 1 }, | |
3733 | { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem, 1 }, | |
3734 | { "wxTreeCtrl_IsSelected", _wrap_wxTreeCtrl_IsSelected, 1 }, | |
3735 | { "wxTreeCtrl_IsExpanded", _wrap_wxTreeCtrl_IsExpanded, 1 }, | |
3736 | { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren, 1 }, | |
3737 | { "wxTreeCtrl_IsVisible", _wrap_wxTreeCtrl_IsVisible, 1 }, | |
3738 | { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData, 1 }, | |
3739 | { "wxTreeCtrl_SetItemSelectedImage", _wrap_wxTreeCtrl_SetItemSelectedImage, 1 }, | |
3740 | { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage, 1 }, | |
3741 | { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText, 1 }, | |
3742 | { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData, 1 }, | |
3743 | { "wxTreeCtrl_GetItemSelectedImage", _wrap_wxTreeCtrl_GetItemSelectedImage, 1 }, | |
3744 | { "wxTreeCtrl_GetItemImage", _wrap_wxTreeCtrl_GetItemImage, 1 }, | |
3745 | { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText, 1 }, | |
3746 | { "wxTreeCtrl_SetStateImageList", _wrap_wxTreeCtrl_SetStateImageList, 1 }, | |
3747 | { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList, 1 }, | |
3748 | { "wxTreeCtrl_GetStateImageList", _wrap_wxTreeCtrl_GetStateImageList, 1 }, | |
3749 | { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList, 1 }, | |
3750 | { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent, 1 }, | |
3751 | { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent, 1 }, | |
3752 | { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount, 1 }, | |
3753 | { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl, 1 }, | |
3754 | { "wxTreeEvent_Veto", _wrap_wxTreeEvent_Veto, 1 }, | |
3755 | { "wxTreeEvent_GetCode", _wrap_wxTreeEvent_GetCode, 1 }, | |
3756 | { "wxTreeEvent_GetPoint", _wrap_wxTreeEvent_GetPoint, 1 }, | |
3757 | { "wxTreeEvent_GetOldItem", _wrap_wxTreeEvent_GetOldItem, 1 }, | |
3758 | { "wxTreeEvent_GetItem", _wrap_wxTreeEvent_GetItem, 1 }, | |
3759 | { "wxTreeItemData_SetId", _wrap_wxTreeItemData_SetId, 1 }, | |
3760 | { "wxTreeItemData_GetId", _wrap_wxTreeItemData_GetId, 1 }, | |
3761 | { "delete_wxTreeItemData", _wrap_delete_wxTreeItemData, 1 }, | |
3762 | { "new_wxTreeItemData", _wrap_new_wxTreeItemData, 1 }, | |
3763 | { "wxTreeItemId_IsOk", _wrap_wxTreeItemId_IsOk, 1 }, | |
3764 | { "delete_wxTreeItemId", _wrap_delete_wxTreeItemId, 1 }, | |
3765 | { "new_wxTreeItemId", _wrap_new_wxTreeItemId, 1 }, | |
70551f47 RD |
3766 | { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag, 1 }, |
3767 | { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle, 1 }, | |
3768 | { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText, 1 }, | |
3769 | { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState, 1 }, | |
3770 | { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition, 1 }, | |
3771 | { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage, 1 }, | |
3772 | { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData, 1 }, | |
3773 | { "wxListCtrl_SetItemString", _wrap_wxListCtrl_SetItemString, 1 }, | |
3774 | { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem, 1 }, | |
3775 | { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList, 1 }, | |
3776 | { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth, 1 }, | |
3777 | { "wxListCtrl_SetColumn", _wrap_wxListCtrl_SetColumn, 1 }, | |
3778 | { "wxListCtrl_SetBackgroundColour", _wrap_wxListCtrl_SetBackgroundColour, 1 }, | |
3779 | { "wxListCtrl_ScrollList", _wrap_wxListCtrl_ScrollList, 1 }, | |
3780 | { "wxListCtrl_InsertImageStringItem", _wrap_wxListCtrl_InsertImageStringItem, 1 }, | |
3781 | { "wxListCtrl_InsertImageItem", _wrap_wxListCtrl_InsertImageItem, 1 }, | |
3782 | { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem, 1 }, | |
3783 | { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem, 1 }, | |
3784 | { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn, 1 }, | |
3785 | { "wxListCtrl_InsertColumnWithInfo", _wrap_wxListCtrl_InsertColumnWithInfo, 1 }, | |
3786 | { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest, 1 }, | |
3787 | { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem, 1 }, | |
3788 | { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount, 1 }, | |
3789 | { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem, 1 }, | |
3790 | { "wxListCtrl_GetItemText", _wrap_wxListCtrl_GetItemText, 1 }, | |
3791 | { "wxListCtrl_GetItemSpacing", _wrap_wxListCtrl_GetItemSpacing, 1 }, | |
3792 | { "wxListCtrl_GetItemCount", _wrap_wxListCtrl_GetItemCount, 1 }, | |
3793 | { "wxListCtrl_GetItemState", _wrap_wxListCtrl_GetItemState, 1 }, | |
3794 | { "wxListCtrl_GetItemRect", _wrap_wxListCtrl_GetItemRect, 1 }, | |
3795 | { "wxListCtrl_GetItemPosition", _wrap_wxListCtrl_GetItemPosition, 1 }, | |
3796 | { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem, 1 }, | |
3797 | { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData, 1 }, | |
3798 | { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList, 1 }, | |
3799 | { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage, 1 }, | |
3800 | { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth, 1 }, | |
3801 | { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn, 1 }, | |
3802 | { "wxListCtrl_FindItemAtPos", _wrap_wxListCtrl_FindItemAtPos, 1 }, | |
3803 | { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData, 1 }, | |
3804 | { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem, 1 }, | |
3805 | { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible, 1 }, | |
c95e68d8 RD |
3806 | { "wxListCtrl_ClearAll", _wrap_wxListCtrl_ClearAll, 1 }, |
3807 | { "wxListCtrl_DeleteAllColumns", _wrap_wxListCtrl_DeleteAllColumns, 1 }, | |
70551f47 RD |
3808 | { "wxListCtrl_DeleteColumn", _wrap_wxListCtrl_DeleteColumn, 1 }, |
3809 | { "wxListCtrl_DeleteAllItems", _wrap_wxListCtrl_DeleteAllItems, 1 }, | |
3810 | { "wxListCtrl_DeleteItem", _wrap_wxListCtrl_DeleteItem, 1 }, | |
3811 | { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange, 1 }, | |
3812 | { "new_wxListCtrl", _wrap_new_wxListCtrl, 1 }, | |
3813 | { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get, 1 }, | |
3814 | { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get, 1 }, | |
3815 | { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get, 1 }, | |
3816 | { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get, 1 }, | |
3817 | { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get, 1 }, | |
3818 | { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get, 1 }, | |
3819 | { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get, 1 }, | |
3820 | { "delete_wxListItem", _wrap_delete_wxListItem, 1 }, | |
3821 | { "new_wxListItem", _wrap_new_wxListItem, 1 }, | |
3822 | { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get, 1 }, | |
3823 | { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get, 1 }, | |
3824 | { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get, 1 }, | |
3825 | { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get, 1 }, | |
3826 | { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get, 1 }, | |
3827 | { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get, 1 }, | |
3828 | { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get, 1 }, | |
3829 | { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get, 1 }, | |
3830 | { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get, 1 }, | |
3831 | { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get, 1 }, | |
3832 | { NULL, NULL } | |
3833 | }; | |
3834 | static PyObject *SWIG_globals; | |
3835 | #ifdef __cplusplus | |
3836 | extern "C" | |
3837 | #endif | |
3838 | SWIGEXPORT(void,initcontrols2c)() { | |
3839 | PyObject *m, *d; | |
3840 | SWIG_globals = SWIG_newvarlink(); | |
3841 | m = Py_InitModule("controls2c", controls2cMethods); | |
3842 | d = PyModule_GetDict(m); | |
70551f47 RD |
3843 | /* |
3844 | * These are the pointer type-equivalency mappings. | |
3845 | * (Used by the SWIG pointer type-checker). | |
3846 | */ | |
faf3cb35 | 3847 | SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0); |
60e05667 RD |
3848 | SWIG_RegisterMapping("_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent); |
3849 | SWIG_RegisterMapping("_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent); | |
70551f47 RD |
3850 | SWIG_RegisterMapping("_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent); |
3851 | SWIG_RegisterMapping("_wxEvent","_wxListEvent",SwigwxListEventTowxEvent); | |
3852 | SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0); | |
3853 | SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0); | |
3854 | SWIG_RegisterMapping("_signed_long","_long",0); | |
3855 | SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0); | |
105e45b9 | 3856 | SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0); |
70551f47 | 3857 | SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0); |
60e05667 RD |
3858 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler); |
3859 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler); | |
70551f47 RD |
3860 | SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler); |
3861 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler); | |
3862 | SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0); | |
3863 | SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0); | |
3864 | SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0); | |
3865 | SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0); | |
60e05667 | 3866 | SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0); |
70551f47 RD |
3867 | SWIG_RegisterMapping("_wxMask","_class_wxMask",0); |
3868 | SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0); | |
3869 | SWIG_RegisterMapping("_wxPen","_class_wxPen",0); | |
3870 | SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0); | |
3871 | SWIG_RegisterMapping("_byte","_unsigned_char",0); | |
3872 | SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0); | |
3873 | SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0); | |
3874 | SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0); | |
3875 | SWIG_RegisterMapping("_long","_wxDash",0); | |
3876 | SWIG_RegisterMapping("_long","_unsigned_long",0); | |
3877 | SWIG_RegisterMapping("_long","_signed_long",0); | |
3878 | SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0); | |
3879 | SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0); | |
faf3cb35 | 3880 | SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0); |
70551f47 RD |
3881 | SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0); |
3882 | SWIG_RegisterMapping("_wxDC","_class_wxDC",0); | |
3883 | SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0); | |
62bd0874 | 3884 | SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0); |
70551f47 RD |
3885 | SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0); |
3886 | SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0); | |
3887 | SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0); | |
3888 | SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0); | |
3889 | SWIG_RegisterMapping("_class_wxPostScriptDC","_wxPostScriptDC",0); | |
3890 | SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0); | |
3891 | SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0); | |
3892 | SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0); | |
3893 | SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0); | |
3894 | SWIG_RegisterMapping("_class_wxMask","_wxMask",0); | |
3895 | SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0); | |
3896 | SWIG_RegisterMapping("_wxColour","_class_wxColour",0); | |
3897 | SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0); | |
3898 | SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0); | |
3899 | SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0); | |
3900 | SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0); | |
3901 | SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0); | |
3902 | SWIG_RegisterMapping("_uint","_unsigned_int",0); | |
3903 | SWIG_RegisterMapping("_uint","_int",0); | |
3904 | SWIG_RegisterMapping("_uint","_wxWindowID",0); | |
60e05667 RD |
3905 | SWIG_RegisterMapping("_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent); |
3906 | SWIG_RegisterMapping("_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent); | |
70551f47 RD |
3907 | SWIG_RegisterMapping("_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent); |
3908 | SWIG_RegisterMapping("_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent); | |
3909 | SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0); | |
c95e68d8 | 3910 | SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0); |
70551f47 | 3911 | SWIG_RegisterMapping("_wxRect","_class_wxRect",0); |
60e05667 RD |
3912 | SWIG_RegisterMapping("_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent); |
3913 | SWIG_RegisterMapping("_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent); | |
70551f47 RD |
3914 | SWIG_RegisterMapping("_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent); |
3915 | SWIG_RegisterMapping("_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent); | |
3916 | SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0); | |
3917 | SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0); | |
3918 | SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0); | |
3919 | SWIG_RegisterMapping("_class_wxButton","_wxButton",0); | |
3920 | SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0); | |
60e05667 | 3921 | SWIG_RegisterMapping("_wxTreeItemData","_class_wxTreeItemData",0); |
70551f47 RD |
3922 | SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0); |
3923 | SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0); | |
c95e68d8 | 3924 | SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0); |
70551f47 | 3925 | SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0); |
62bd0874 | 3926 | SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0); |
70551f47 RD |
3927 | SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0); |
3928 | SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0); | |
3929 | SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0); | |
3930 | SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0); | |
3931 | SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0); | |
3932 | SWIG_RegisterMapping("_EBool","_signed_int",0); | |
3933 | SWIG_RegisterMapping("_EBool","_int",0); | |
3934 | SWIG_RegisterMapping("_EBool","_wxWindowID",0); | |
105e45b9 | 3935 | SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0); |
70551f47 RD |
3936 | SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0); |
3937 | SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0); | |
3938 | SWIG_RegisterMapping("_wxFont","_class_wxFont",0); | |
3939 | SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0); | |
3940 | SWIG_RegisterMapping("_unsigned_long","_wxDash",0); | |
3941 | SWIG_RegisterMapping("_unsigned_long","_long",0); | |
3942 | SWIG_RegisterMapping("_class_wxRect","_wxRect",0); | |
3943 | SWIG_RegisterMapping("_class_wxDC","_wxDC",0); | |
60e05667 | 3944 | SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0); |
70551f47 RD |
3945 | SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0); |
3946 | SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0); | |
3947 | SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0); | |
62bd0874 | 3948 | SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0); |
faf3cb35 | 3949 | SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0); |
70551f47 RD |
3950 | SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0); |
3951 | SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0); | |
3952 | SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0); | |
3953 | SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0); | |
3954 | SWIG_RegisterMapping("_signed_int","_EBool",0); | |
3955 | SWIG_RegisterMapping("_signed_int","_wxWindowID",0); | |
3956 | SWIG_RegisterMapping("_signed_int","_int",0); | |
3957 | SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0); | |
3958 | SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0); | |
3959 | SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0); | |
3960 | SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0); | |
3961 | SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0); | |
3962 | SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0); | |
3963 | SWIG_RegisterMapping("_WXTYPE","_short",0); | |
3964 | SWIG_RegisterMapping("_WXTYPE","_signed_short",0); | |
3965 | SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0); | |
3966 | SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0); | |
3967 | SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0); | |
3968 | SWIG_RegisterMapping("_unsigned_short","_short",0); | |
60e05667 RD |
3969 | SWIG_RegisterMapping("_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow); |
3970 | SWIG_RegisterMapping("_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow); | |
70551f47 RD |
3971 | SWIG_RegisterMapping("_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow); |
3972 | SWIG_RegisterMapping("_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow); | |
3973 | SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0); | |
3974 | SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0); | |
3975 | SWIG_RegisterMapping("_class_wxFont","_wxFont",0); | |
3976 | SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0); | |
70551f47 RD |
3977 | SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0); |
3978 | SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0); | |
3979 | SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0); | |
3980 | SWIG_RegisterMapping("_wxListCtrl","_class_wxListCtrl",0); | |
3981 | SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0); | |
3982 | SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0); | |
3983 | SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0); | |
3984 | SWIG_RegisterMapping("_signed_short","_WXTYPE",0); | |
3985 | SWIG_RegisterMapping("_signed_short","_short",0); | |
3986 | SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0); | |
3987 | SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0); | |
c95e68d8 | 3988 | SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0); |
70551f47 RD |
3989 | SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0); |
3990 | SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0); | |
faf3cb35 | 3991 | SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0); |
70551f47 RD |
3992 | SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0); |
3993 | SWIG_RegisterMapping("_wxPostScriptDC","_class_wxPostScriptDC",0); | |
3994 | SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0); | |
60e05667 | 3995 | SWIG_RegisterMapping("_wxTreeItemId","_class_wxTreeItemId",0); |
70551f47 RD |
3996 | SWIG_RegisterMapping("_unsigned_char","_byte",0); |
3997 | SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0); | |
60e05667 RD |
3998 | SWIG_RegisterMapping("_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl); |
3999 | SWIG_RegisterMapping("_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl); | |
70551f47 RD |
4000 | SWIG_RegisterMapping("_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl); |
4001 | SWIG_RegisterMapping("_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl); | |
4002 | SWIG_RegisterMapping("_wxControl","_class_wxControl",0); | |
4003 | SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0); | |
4004 | SWIG_RegisterMapping("_unsigned_int","_uint",0); | |
4005 | SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0); | |
4006 | SWIG_RegisterMapping("_unsigned_int","_int",0); | |
4007 | SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0); | |
4008 | SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0); | |
4009 | SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0); | |
4010 | SWIG_RegisterMapping("_class_wxListItem","_wxListItem",0); | |
4011 | SWIG_RegisterMapping("_class_wxPen","_wxPen",0); | |
4012 | SWIG_RegisterMapping("_short","_WXTYPE",0); | |
4013 | SWIG_RegisterMapping("_short","_unsigned_short",0); | |
4014 | SWIG_RegisterMapping("_short","_signed_short",0); | |
4015 | SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0); | |
4016 | SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0); | |
4017 | SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0); | |
4018 | SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0); | |
4019 | SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0); | |
4020 | SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0); | |
70551f47 RD |
4021 | SWIG_RegisterMapping("_wxWindowID","_EBool",0); |
4022 | SWIG_RegisterMapping("_wxWindowID","_uint",0); | |
4023 | SWIG_RegisterMapping("_wxWindowID","_int",0); | |
4024 | SWIG_RegisterMapping("_wxWindowID","_signed_int",0); | |
4025 | SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0); | |
4026 | SWIG_RegisterMapping("_int","_EBool",0); | |
4027 | SWIG_RegisterMapping("_int","_uint",0); | |
4028 | SWIG_RegisterMapping("_int","_wxWindowID",0); | |
4029 | SWIG_RegisterMapping("_int","_unsigned_int",0); | |
4030 | SWIG_RegisterMapping("_int","_signed_int",0); | |
4031 | SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0); | |
4032 | SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0); | |
62bd0874 | 4033 | SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0); |
70551f47 RD |
4034 | SWIG_RegisterMapping("_wxButton","_class_wxButton",0); |
4035 | SWIG_RegisterMapping("_wxSize","_class_wxSize",0); | |
105e45b9 | 4036 | SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0); |
70551f47 RD |
4037 | SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0); |
4038 | SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0); | |
4039 | SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0); | |
4040 | SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0); | |
4041 | SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0); | |
60e05667 RD |
4042 | SWIG_RegisterMapping("_class_wxTreeItemId","_wxTreeItemId",0); |
4043 | SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0); | |
70551f47 RD |
4044 | SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0); |
4045 | SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0); | |
60e05667 RD |
4046 | SWIG_RegisterMapping("_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl); |
4047 | SWIG_RegisterMapping("_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl); | |
70551f47 RD |
4048 | SWIG_RegisterMapping("_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl); |
4049 | SWIG_RegisterMapping("_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl); | |
4050 | SWIG_RegisterMapping("_class_wxControl","_wxControl",0); | |
4051 | SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0); | |
4052 | SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0); | |
4053 | SWIG_RegisterMapping("_class_wxColour","_wxColour",0); | |
4054 | SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0); | |
105e45b9 | 4055 | SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0); |
70551f47 RD |
4056 | SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0); |
4057 | SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0); | |
4058 | SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0); | |
105e45b9 | 4059 | SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0); |
70551f47 RD |
4060 | SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0); |
4061 | SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0); | |
4062 | SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0); | |
c95e68d8 | 4063 | SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0); |
60e05667 RD |
4064 | SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent); |
4065 | SWIG_RegisterMapping("_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent); | |
70551f47 RD |
4066 | SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent); |
4067 | SWIG_RegisterMapping("_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent); | |
4068 | SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0); | |
4069 | SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0); | |
4070 | SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0); | |
4071 | SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0); | |
60e05667 | 4072 | SWIG_RegisterMapping("_class_wxTreeItemData","_wxTreeItemData",0); |
70551f47 RD |
4073 | SWIG_RegisterMapping("_class_wxSize","_wxSize",0); |
4074 | SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0); | |
4075 | SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0); | |
4076 | SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0); | |
60e05667 RD |
4077 | SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0); |
4078 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler); | |
4079 | SWIG_RegisterMapping("_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler); | |
70551f47 RD |
4080 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler); |
4081 | SWIG_RegisterMapping("_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler); | |
4082 | SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0); | |
4083 | SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0); | |
4084 | SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0); | |
4085 | SWIG_RegisterMapping("_wxDash","_unsigned_long",0); | |
4086 | SWIG_RegisterMapping("_wxDash","_long",0); | |
4087 | SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0); | |
4088 | SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0); | |
4089 | SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0); | |
105e45b9 | 4090 | SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0); |
70551f47 | 4091 | SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0); |
60e05667 RD |
4092 | SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow); |
4093 | SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow); | |
70551f47 RD |
4094 | SWIG_RegisterMapping("_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow); |
4095 | SWIG_RegisterMapping("_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow); | |
4096 | SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0); | |
70551f47 | 4097 | } |