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