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