]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/src/msw/controls2.cpp
Added wxWindow_FromHWND(hWnd) for wxMSW to construct a wxWindow from a
[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) {
1451 wxListItem* info = new wxListItem;
1452 self->GetItem(*info);
1453 return info;
1454 }
1455 static PyObject *_wrap_wxListCtrl_GetItem(PyObject *self, PyObject *args) {
1456 PyObject * _resultobj;
1457 wxListItem * _result;
1458 wxListCtrl * _arg0;
1459 char * _argc0 = 0;
1460 char _ptemp[128];
1461
1462 self = self;
1463 if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetItem",&_argc0))
1464 return NULL;
1465 if (_argc0) {
1466 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItem. Expected _wxListCtrl_p.");
1468 return NULL;
1469 }
1470 }
1471 _result = (wxListItem *)wxListCtrl_GetItem(_arg0);
1472 SWIG_MakePtr(_ptemp, (char *) _result,"_wxListItem_p");
1473 _resultobj = Py_BuildValue("s",_ptemp);
1474 return _resultobj;
1475 }
1476
1477 static wxPoint * wxListCtrl_GetItemPosition(wxListCtrl *self,long item) {
1478 wxPoint* pos = new wxPoint;
1479 self->GetItemPosition(item, *pos);
1480 return pos;
1481 }
1482 static PyObject *_wrap_wxListCtrl_GetItemPosition(PyObject *self, PyObject *args) {
1483 PyObject * _resultobj;
1484 wxPoint * _result;
1485 wxListCtrl * _arg0;
1486 long _arg1;
1487 char * _argc0 = 0;
1488 char _ptemp[128];
1489
1490 self = self;
1491 if(!PyArg_ParseTuple(args,"sl:wxListCtrl_GetItemPosition",&_argc0,&_arg1))
1492 return NULL;
1493 if (_argc0) {
1494 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemPosition. Expected _wxListCtrl_p.");
1496 return NULL;
1497 }
1498 }
1499 _result = (wxPoint *)wxListCtrl_GetItemPosition(_arg0,_arg1);
1500 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
1501 _resultobj = Py_BuildValue("s",_ptemp);
1502 return _resultobj;
1503 }
1504
1505 static wxRect * wxListCtrl_GetItemRect(wxListCtrl *self,long item,int code) {
1506 wxRect* rect= new wxRect;
1507 self->GetItemRect(item, *rect, code);
1508 return rect;
1509 }
1510 static PyObject *_wrap_wxListCtrl_GetItemRect(PyObject *self, PyObject *args) {
1511 PyObject * _resultobj;
1512 wxRect * _result;
1513 wxListCtrl * _arg0;
1514 long _arg1;
1515 int _arg2 = (wxLIST_RECT_BOUNDS);
1516 char * _argc0 = 0;
1517 char _ptemp[128];
1518
1519 self = self;
1520 if(!PyArg_ParseTuple(args,"sl|i:wxListCtrl_GetItemRect",&_argc0,&_arg1,&_arg2))
1521 return NULL;
1522 if (_argc0) {
1523 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1524 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemRect. Expected _wxListCtrl_p.");
1525 return NULL;
1526 }
1527 }
1528 _result = (wxRect *)wxListCtrl_GetItemRect(_arg0,_arg1,_arg2);
1529 SWIG_MakePtr(_ptemp, (char *) _result,"_wxRect_p");
1530 _resultobj = Py_BuildValue("s",_ptemp);
1531 return _resultobj;
1532 }
1533
1534 #define wxListCtrl_GetItemState(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetItemState(_swigarg0,_swigarg1))
1535 static PyObject *_wrap_wxListCtrl_GetItemState(PyObject *self, PyObject *args) {
1536 PyObject * _resultobj;
1537 int _result;
1538 wxListCtrl * _arg0;
1539 long _arg1;
1540 long _arg2;
1541 char * _argc0 = 0;
1542
1543 self = self;
1544 if(!PyArg_ParseTuple(args,"sll:wxListCtrl_GetItemState",&_argc0,&_arg1,&_arg2))
1545 return NULL;
1546 if (_argc0) {
1547 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1548 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemState. Expected _wxListCtrl_p.");
1549 return NULL;
1550 }
1551 }
1552 _result = (int )wxListCtrl_GetItemState(_arg0,_arg1,_arg2);
1553 _resultobj = Py_BuildValue("i",_result);
1554 return _resultobj;
1555 }
1556
1557 #define wxListCtrl_GetItemCount(_swigobj) (_swigobj->GetItemCount())
1558 static PyObject *_wrap_wxListCtrl_GetItemCount(PyObject *self, PyObject *args) {
1559 PyObject * _resultobj;
1560 int _result;
1561 wxListCtrl * _arg0;
1562 char * _argc0 = 0;
1563
1564 self = self;
1565 if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetItemCount",&_argc0))
1566 return NULL;
1567 if (_argc0) {
1568 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1569 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemCount. Expected _wxListCtrl_p.");
1570 return NULL;
1571 }
1572 }
1573 _result = (int )wxListCtrl_GetItemCount(_arg0);
1574 _resultobj = Py_BuildValue("i",_result);
1575 return _resultobj;
1576 }
1577
1578 #define wxListCtrl_GetItemSpacing(_swigobj,_swigarg0) (_swigobj->GetItemSpacing(_swigarg0))
1579 static PyObject *_wrap_wxListCtrl_GetItemSpacing(PyObject *self, PyObject *args) {
1580 PyObject * _resultobj;
1581 int _result;
1582 wxListCtrl * _arg0;
1583 bool _arg1;
1584 char * _argc0 = 0;
1585 int tempbool1;
1586
1587 self = self;
1588 if(!PyArg_ParseTuple(args,"si:wxListCtrl_GetItemSpacing",&_argc0,&tempbool1))
1589 return NULL;
1590 if (_argc0) {
1591 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1592 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemSpacing. Expected _wxListCtrl_p.");
1593 return NULL;
1594 }
1595 }
1596 _arg1 = (bool ) tempbool1;
1597 _result = (int )wxListCtrl_GetItemSpacing(_arg0,_arg1);
1598 _resultobj = Py_BuildValue("i",_result);
1599 return _resultobj;
1600 }
1601
1602 #define wxListCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
1603 static PyObject *_wrap_wxListCtrl_GetItemText(PyObject *self, PyObject *args) {
1604 PyObject * _resultobj;
1605 wxString * _result;
1606 wxListCtrl * _arg0;
1607 long _arg1;
1608 char * _argc0 = 0;
1609
1610 self = self;
1611 if(!PyArg_ParseTuple(args,"sl:wxListCtrl_GetItemText",&_argc0,&_arg1))
1612 return NULL;
1613 if (_argc0) {
1614 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetItemText. Expected _wxListCtrl_p.");
1616 return NULL;
1617 }
1618 }
1619 _result = new wxString (wxListCtrl_GetItemText(_arg0,_arg1));
1620 {
1621 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
1622 }
1623 {
1624 delete _result;
1625 }
1626 return _resultobj;
1627 }
1628
1629 #define wxListCtrl_GetNextItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetNextItem(_swigarg0,_swigarg1,_swigarg2))
1630 static PyObject *_wrap_wxListCtrl_GetNextItem(PyObject *self, PyObject *args) {
1631 PyObject * _resultobj;
1632 long _result;
1633 wxListCtrl * _arg0;
1634 long _arg1;
1635 int _arg2 = (wxLIST_NEXT_ALL);
1636 int _arg3 = (wxLIST_STATE_DONTCARE);
1637 char * _argc0 = 0;
1638
1639 self = self;
1640 if(!PyArg_ParseTuple(args,"sl|ii:wxListCtrl_GetNextItem",&_argc0,&_arg1,&_arg2,&_arg3))
1641 return NULL;
1642 if (_argc0) {
1643 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1644 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetNextItem. Expected _wxListCtrl_p.");
1645 return NULL;
1646 }
1647 }
1648 _result = (long )wxListCtrl_GetNextItem(_arg0,_arg1,_arg2,_arg3);
1649 _resultobj = Py_BuildValue("l",_result);
1650 return _resultobj;
1651 }
1652
1653 #define wxListCtrl_GetSelectedItemCount(_swigobj) (_swigobj->GetSelectedItemCount())
1654 static PyObject *_wrap_wxListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args) {
1655 PyObject * _resultobj;
1656 int _result;
1657 wxListCtrl * _arg0;
1658 char * _argc0 = 0;
1659
1660 self = self;
1661 if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetSelectedItemCount",&_argc0))
1662 return NULL;
1663 if (_argc0) {
1664 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetSelectedItemCount. Expected _wxListCtrl_p.");
1666 return NULL;
1667 }
1668 }
1669 _result = (int )wxListCtrl_GetSelectedItemCount(_arg0);
1670 _resultobj = Py_BuildValue("i",_result);
1671 return _resultobj;
1672 }
1673
1674 #define wxListCtrl_GetTextColour(_swigobj) (_swigobj->GetTextColour())
1675 static PyObject *_wrap_wxListCtrl_GetTextColour(PyObject *self, PyObject *args) {
1676 PyObject * _resultobj;
1677 wxColour * _result;
1678 wxListCtrl * _arg0;
1679 char * _argc0 = 0;
1680 char _ptemp[128];
1681
1682 self = self;
1683 if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetTextColour",&_argc0))
1684 return NULL;
1685 if (_argc0) {
1686 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTextColour. Expected _wxListCtrl_p.");
1688 return NULL;
1689 }
1690 }
1691 _result = new wxColour (wxListCtrl_GetTextColour(_arg0));
1692 SWIG_MakePtr(_ptemp, (void *) _result,"_wxColour_p");
1693 _resultobj = Py_BuildValue("s",_ptemp);
1694 return _resultobj;
1695 }
1696
1697 #define wxListCtrl_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
1698 static PyObject *_wrap_wxListCtrl_SetTextColour(PyObject *self, PyObject *args) {
1699 PyObject * _resultobj;
1700 wxListCtrl * _arg0;
1701 wxColour * _arg1;
1702 char * _argc0 = 0;
1703 char * _argc1 = 0;
1704
1705 self = self;
1706 if(!PyArg_ParseTuple(args,"ss:wxListCtrl_SetTextColour",&_argc0,&_argc1))
1707 return NULL;
1708 if (_argc0) {
1709 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1710 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetTextColour. Expected _wxListCtrl_p.");
1711 return NULL;
1712 }
1713 }
1714 if (_argc1) {
1715 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
1716 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetTextColour. Expected _wxColour_p.");
1717 return NULL;
1718 }
1719 }
1720 wxListCtrl_SetTextColour(_arg0,*_arg1);
1721 Py_INCREF(Py_None);
1722 _resultobj = Py_None;
1723 return _resultobj;
1724 }
1725
1726 #define wxListCtrl_GetTopItem(_swigobj) (_swigobj->GetTopItem())
1727 static PyObject *_wrap_wxListCtrl_GetTopItem(PyObject *self, PyObject *args) {
1728 PyObject * _resultobj;
1729 long _result;
1730 wxListCtrl * _arg0;
1731 char * _argc0 = 0;
1732
1733 self = self;
1734 if(!PyArg_ParseTuple(args,"s:wxListCtrl_GetTopItem",&_argc0))
1735 return NULL;
1736 if (_argc0) {
1737 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_GetTopItem. Expected _wxListCtrl_p.");
1739 return NULL;
1740 }
1741 }
1742 _result = (long )wxListCtrl_GetTopItem(_arg0);
1743 _resultobj = Py_BuildValue("l",_result);
1744 return _resultobj;
1745 }
1746
1747 #define wxListCtrl_HitTest(_swigobj,_swigarg0,_swigarg1) (_swigobj->HitTest(_swigarg0,_swigarg1))
1748 static PyObject *_wrap_wxListCtrl_HitTest(PyObject *self, PyObject *args) {
1749 PyObject * _resultobj;
1750 long _result;
1751 wxListCtrl * _arg0;
1752 wxPoint * _arg1;
1753 int * _arg2;
1754 int temp;
1755 char * _argc0 = 0;
1756 char * _argc1 = 0;
1757
1758 self = self;
1759 {
1760 _arg2 = &temp;
1761 }
1762 if(!PyArg_ParseTuple(args,"ss:wxListCtrl_HitTest",&_argc0,&_argc1))
1763 return NULL;
1764 if (_argc0) {
1765 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_HitTest. Expected _wxListCtrl_p.");
1767 return NULL;
1768 }
1769 }
1770 if (_argc1) {
1771 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
1772 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_HitTest. Expected _wxPoint_p.");
1773 return NULL;
1774 }
1775 }
1776 _result = (long )wxListCtrl_HitTest(_arg0,*_arg1,*_arg2);
1777 _resultobj = Py_BuildValue("l",_result);
1778 {
1779 PyObject *o;
1780 o = PyInt_FromLong((long) (*_arg2));
1781 _resultobj = t_output_helper(_resultobj, o);
1782 }
1783 return _resultobj;
1784 }
1785
1786 #define wxListCtrl_InsertColumnWithInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertColumn(_swigarg0,_swigarg1))
1787 static PyObject *_wrap_wxListCtrl_InsertColumnWithInfo(PyObject *self, PyObject *args) {
1788 PyObject * _resultobj;
1789 long _result;
1790 wxListCtrl * _arg0;
1791 long _arg1;
1792 wxListItem * _arg2;
1793 char * _argc0 = 0;
1794 char * _argc2 = 0;
1795
1796 self = self;
1797 if(!PyArg_ParseTuple(args,"sls:wxListCtrl_InsertColumnWithInfo",&_argc0,&_arg1,&_argc2))
1798 return NULL;
1799 if (_argc0) {
1800 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1801 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumnWithInfo. Expected _wxListCtrl_p.");
1802 return NULL;
1803 }
1804 }
1805 if (_argc2) {
1806 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxListItem_p")) {
1807 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_InsertColumnWithInfo. Expected _wxListItem_p.");
1808 return NULL;
1809 }
1810 }
1811 _result = (long )wxListCtrl_InsertColumnWithInfo(_arg0,_arg1,*_arg2);
1812 _resultobj = Py_BuildValue("l",_result);
1813 return _resultobj;
1814 }
1815
1816 #define wxListCtrl_InsertColumn(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->InsertColumn(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
1817 static PyObject *_wrap_wxListCtrl_InsertColumn(PyObject *self, PyObject *args) {
1818 PyObject * _resultobj;
1819 long _result;
1820 wxListCtrl * _arg0;
1821 long _arg1;
1822 wxString * _arg2;
1823 int _arg3 = (wxLIST_FORMAT_LEFT);
1824 int _arg4 = -1;
1825 char * _argc0 = 0;
1826 PyObject * _obj2 = 0;
1827
1828 self = self;
1829 if(!PyArg_ParseTuple(args,"slO|ii:wxListCtrl_InsertColumn",&_argc0,&_arg1,&_obj2,&_arg3,&_arg4))
1830 return NULL;
1831 if (_argc0) {
1832 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1833 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertColumn. Expected _wxListCtrl_p.");
1834 return NULL;
1835 }
1836 }
1837 {
1838 if (!PyString_Check(_obj2)) {
1839 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1840 return NULL;
1841 }
1842 _arg2 = new wxString(PyString_AsString(_obj2));
1843 }
1844 _result = (long )wxListCtrl_InsertColumn(_arg0,_arg1,*_arg2,_arg3,_arg4);
1845 _resultobj = Py_BuildValue("l",_result);
1846 {
1847 if (_obj2)
1848 delete _arg2;
1849 }
1850 return _resultobj;
1851 }
1852
1853 #define wxListCtrl_InsertItem(_swigobj,_swigarg0) (_swigobj->InsertItem(_swigarg0))
1854 static PyObject *_wrap_wxListCtrl_InsertItem(PyObject *self, PyObject *args) {
1855 PyObject * _resultobj;
1856 long _result;
1857 wxListCtrl * _arg0;
1858 wxListItem * _arg1;
1859 char * _argc0 = 0;
1860 char * _argc1 = 0;
1861
1862 self = self;
1863 if(!PyArg_ParseTuple(args,"ss:wxListCtrl_InsertItem",&_argc0,&_argc1))
1864 return NULL;
1865 if (_argc0) {
1866 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertItem. Expected _wxListCtrl_p.");
1868 return NULL;
1869 }
1870 }
1871 if (_argc1) {
1872 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxListItem_p")) {
1873 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_InsertItem. Expected _wxListItem_p.");
1874 return NULL;
1875 }
1876 }
1877 _result = (long )wxListCtrl_InsertItem(_arg0,*_arg1);
1878 _resultobj = Py_BuildValue("l",_result);
1879 return _resultobj;
1880 }
1881
1882 #define wxListCtrl_InsertStringItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
1883 static PyObject *_wrap_wxListCtrl_InsertStringItem(PyObject *self, PyObject *args) {
1884 PyObject * _resultobj;
1885 long _result;
1886 wxListCtrl * _arg0;
1887 long _arg1;
1888 wxString * _arg2;
1889 char * _argc0 = 0;
1890 PyObject * _obj2 = 0;
1891
1892 self = self;
1893 if(!PyArg_ParseTuple(args,"slO:wxListCtrl_InsertStringItem",&_argc0,&_arg1,&_obj2))
1894 return NULL;
1895 if (_argc0) {
1896 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1897 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertStringItem. Expected _wxListCtrl_p.");
1898 return NULL;
1899 }
1900 }
1901 {
1902 if (!PyString_Check(_obj2)) {
1903 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1904 return NULL;
1905 }
1906 _arg2 = new wxString(PyString_AsString(_obj2));
1907 }
1908 _result = (long )wxListCtrl_InsertStringItem(_arg0,_arg1,*_arg2);
1909 _resultobj = Py_BuildValue("l",_result);
1910 {
1911 if (_obj2)
1912 delete _arg2;
1913 }
1914 return _resultobj;
1915 }
1916
1917 #define wxListCtrl_InsertImageItem(_swigobj,_swigarg0,_swigarg1) (_swigobj->InsertItem(_swigarg0,_swigarg1))
1918 static PyObject *_wrap_wxListCtrl_InsertImageItem(PyObject *self, PyObject *args) {
1919 PyObject * _resultobj;
1920 long _result;
1921 wxListCtrl * _arg0;
1922 long _arg1;
1923 int _arg2;
1924 char * _argc0 = 0;
1925
1926 self = self;
1927 if(!PyArg_ParseTuple(args,"sli:wxListCtrl_InsertImageItem",&_argc0,&_arg1,&_arg2))
1928 return NULL;
1929 if (_argc0) {
1930 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1931 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageItem. Expected _wxListCtrl_p.");
1932 return NULL;
1933 }
1934 }
1935 _result = (long )wxListCtrl_InsertImageItem(_arg0,_arg1,_arg2);
1936 _resultobj = Py_BuildValue("l",_result);
1937 return _resultobj;
1938 }
1939
1940 #define wxListCtrl_InsertImageStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2))
1941 static PyObject *_wrap_wxListCtrl_InsertImageStringItem(PyObject *self, PyObject *args) {
1942 PyObject * _resultobj;
1943 long _result;
1944 wxListCtrl * _arg0;
1945 long _arg1;
1946 wxString * _arg2;
1947 int _arg3;
1948 char * _argc0 = 0;
1949 PyObject * _obj2 = 0;
1950
1951 self = self;
1952 if(!PyArg_ParseTuple(args,"slOi:wxListCtrl_InsertImageStringItem",&_argc0,&_arg1,&_obj2,&_arg3))
1953 return NULL;
1954 if (_argc0) {
1955 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1956 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_InsertImageStringItem. Expected _wxListCtrl_p.");
1957 return NULL;
1958 }
1959 }
1960 {
1961 if (!PyString_Check(_obj2)) {
1962 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1963 return NULL;
1964 }
1965 _arg2 = new wxString(PyString_AsString(_obj2));
1966 }
1967 _result = (long )wxListCtrl_InsertImageStringItem(_arg0,_arg1,*_arg2,_arg3);
1968 _resultobj = Py_BuildValue("l",_result);
1969 {
1970 if (_obj2)
1971 delete _arg2;
1972 }
1973 return _resultobj;
1974 }
1975
1976 #define wxListCtrl_ScrollList(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScrollList(_swigarg0,_swigarg1))
1977 static PyObject *_wrap_wxListCtrl_ScrollList(PyObject *self, PyObject *args) {
1978 PyObject * _resultobj;
1979 bool _result;
1980 wxListCtrl * _arg0;
1981 int _arg1;
1982 int _arg2;
1983 char * _argc0 = 0;
1984
1985 self = self;
1986 if(!PyArg_ParseTuple(args,"sii:wxListCtrl_ScrollList",&_argc0,&_arg1,&_arg2))
1987 return NULL;
1988 if (_argc0) {
1989 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
1990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_ScrollList. Expected _wxListCtrl_p.");
1991 return NULL;
1992 }
1993 }
1994 _result = (bool )wxListCtrl_ScrollList(_arg0,_arg1,_arg2);
1995 _resultobj = Py_BuildValue("i",_result);
1996 return _resultobj;
1997 }
1998
1999 #define wxListCtrl_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
2000 static PyObject *_wrap_wxListCtrl_SetBackgroundColour(PyObject *self, PyObject *args) {
2001 PyObject * _resultobj;
2002 wxListCtrl * _arg0;
2003 wxColour * _arg1;
2004 char * _argc0 = 0;
2005 char * _argc1 = 0;
2006
2007 self = self;
2008 if(!PyArg_ParseTuple(args,"ss:wxListCtrl_SetBackgroundColour",&_argc0,&_argc1))
2009 return NULL;
2010 if (_argc0) {
2011 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2012 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetBackgroundColour. Expected _wxListCtrl_p.");
2013 return NULL;
2014 }
2015 }
2016 if (_argc1) {
2017 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxColour_p")) {
2018 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetBackgroundColour. Expected _wxColour_p.");
2019 return NULL;
2020 }
2021 }
2022 wxListCtrl_SetBackgroundColour(_arg0,*_arg1);
2023 Py_INCREF(Py_None);
2024 _resultobj = Py_None;
2025 return _resultobj;
2026 }
2027
2028 #define wxListCtrl_SetColumn(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumn(_swigarg0,_swigarg1))
2029 static PyObject *_wrap_wxListCtrl_SetColumn(PyObject *self, PyObject *args) {
2030 PyObject * _resultobj;
2031 bool _result;
2032 wxListCtrl * _arg0;
2033 int _arg1;
2034 wxListItem * _arg2;
2035 char * _argc0 = 0;
2036 char * _argc2 = 0;
2037
2038 self = self;
2039 if(!PyArg_ParseTuple(args,"sis:wxListCtrl_SetColumn",&_argc0,&_arg1,&_argc2))
2040 return NULL;
2041 if (_argc0) {
2042 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2043 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumn. Expected _wxListCtrl_p.");
2044 return NULL;
2045 }
2046 }
2047 if (_argc2) {
2048 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxListItem_p")) {
2049 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetColumn. Expected _wxListItem_p.");
2050 return NULL;
2051 }
2052 }
2053 _result = (bool )wxListCtrl_SetColumn(_arg0,_arg1,*_arg2);
2054 _resultobj = Py_BuildValue("i",_result);
2055 return _resultobj;
2056 }
2057
2058 #define wxListCtrl_SetColumnWidth(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetColumnWidth(_swigarg0,_swigarg1))
2059 static PyObject *_wrap_wxListCtrl_SetColumnWidth(PyObject *self, PyObject *args) {
2060 PyObject * _resultobj;
2061 bool _result;
2062 wxListCtrl * _arg0;
2063 int _arg1;
2064 int _arg2;
2065 char * _argc0 = 0;
2066
2067 self = self;
2068 if(!PyArg_ParseTuple(args,"sii:wxListCtrl_SetColumnWidth",&_argc0,&_arg1,&_arg2))
2069 return NULL;
2070 if (_argc0) {
2071 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetColumnWidth. Expected _wxListCtrl_p.");
2073 return NULL;
2074 }
2075 }
2076 _result = (bool )wxListCtrl_SetColumnWidth(_arg0,_arg1,_arg2);
2077 _resultobj = Py_BuildValue("i",_result);
2078 return _resultobj;
2079 }
2080
2081 #define wxListCtrl_SetImageList(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetImageList(_swigarg0,_swigarg1))
2082 static PyObject *_wrap_wxListCtrl_SetImageList(PyObject *self, PyObject *args) {
2083 PyObject * _resultobj;
2084 wxListCtrl * _arg0;
2085 wxImageList * _arg1;
2086 int _arg2;
2087 char * _argc0 = 0;
2088 char * _argc1 = 0;
2089
2090 self = self;
2091 if(!PyArg_ParseTuple(args,"ssi:wxListCtrl_SetImageList",&_argc0,&_argc1,&_arg2))
2092 return NULL;
2093 if (_argc0) {
2094 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetImageList. Expected _wxListCtrl_p.");
2096 return NULL;
2097 }
2098 }
2099 if (_argc1) {
2100 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) {
2101 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetImageList. Expected _wxImageList_p.");
2102 return NULL;
2103 }
2104 }
2105 wxListCtrl_SetImageList(_arg0,_arg1,_arg2);
2106 Py_INCREF(Py_None);
2107 _resultobj = Py_None;
2108 return _resultobj;
2109 }
2110
2111 #define wxListCtrl_SetItem(_swigobj,_swigarg0) (_swigobj->SetItem(_swigarg0))
2112 static PyObject *_wrap_wxListCtrl_SetItem(PyObject *self, PyObject *args) {
2113 PyObject * _resultobj;
2114 bool _result;
2115 wxListCtrl * _arg0;
2116 wxListItem * _arg1;
2117 char * _argc0 = 0;
2118 char * _argc1 = 0;
2119
2120 self = self;
2121 if(!PyArg_ParseTuple(args,"ss:wxListCtrl_SetItem",&_argc0,&_argc1))
2122 return NULL;
2123 if (_argc0) {
2124 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItem. Expected _wxListCtrl_p.");
2126 return NULL;
2127 }
2128 }
2129 if (_argc1) {
2130 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxListItem_p")) {
2131 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxListCtrl_SetItem. Expected _wxListItem_p.");
2132 return NULL;
2133 }
2134 }
2135 _result = (bool )wxListCtrl_SetItem(_arg0,*_arg1);
2136 _resultobj = Py_BuildValue("i",_result);
2137 return _resultobj;
2138 }
2139
2140 #define wxListCtrl_SetStringItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2141 static PyObject *_wrap_wxListCtrl_SetStringItem(PyObject *self, PyObject *args) {
2142 PyObject * _resultobj;
2143 long _result;
2144 wxListCtrl * _arg0;
2145 long _arg1;
2146 int _arg2;
2147 wxString * _arg3;
2148 int _arg4 = -1;
2149 char * _argc0 = 0;
2150 PyObject * _obj3 = 0;
2151
2152 self = self;
2153 if(!PyArg_ParseTuple(args,"sliO|i:wxListCtrl_SetStringItem",&_argc0,&_arg1,&_arg2,&_obj3,&_arg4))
2154 return NULL;
2155 if (_argc0) {
2156 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2157 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetStringItem. Expected _wxListCtrl_p.");
2158 return NULL;
2159 }
2160 }
2161 {
2162 if (!PyString_Check(_obj3)) {
2163 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2164 return NULL;
2165 }
2166 _arg3 = new wxString(PyString_AsString(_obj3));
2167 }
2168 _result = (long )wxListCtrl_SetStringItem(_arg0,_arg1,_arg2,*_arg3,_arg4);
2169 _resultobj = Py_BuildValue("l",_result);
2170 {
2171 if (_obj3)
2172 delete _arg3;
2173 }
2174 return _resultobj;
2175 }
2176
2177 #define wxListCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
2178 static PyObject *_wrap_wxListCtrl_SetItemData(PyObject *self, PyObject *args) {
2179 PyObject * _resultobj;
2180 bool _result;
2181 wxListCtrl * _arg0;
2182 long _arg1;
2183 long _arg2;
2184 char * _argc0 = 0;
2185
2186 self = self;
2187 if(!PyArg_ParseTuple(args,"sll:wxListCtrl_SetItemData",&_argc0,&_arg1,&_arg2))
2188 return NULL;
2189 if (_argc0) {
2190 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemData. Expected _wxListCtrl_p.");
2192 return NULL;
2193 }
2194 }
2195 _result = (bool )wxListCtrl_SetItemData(_arg0,_arg1,_arg2);
2196 _resultobj = Py_BuildValue("i",_result);
2197 return _resultobj;
2198 }
2199
2200 #define wxListCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemImage(_swigarg0,_swigarg1,_swigarg2))
2201 static PyObject *_wrap_wxListCtrl_SetItemImage(PyObject *self, PyObject *args) {
2202 PyObject * _resultobj;
2203 bool _result;
2204 wxListCtrl * _arg0;
2205 long _arg1;
2206 int _arg2;
2207 int _arg3;
2208 char * _argc0 = 0;
2209
2210 self = self;
2211 if(!PyArg_ParseTuple(args,"slii:wxListCtrl_SetItemImage",&_argc0,&_arg1,&_arg2,&_arg3))
2212 return NULL;
2213 if (_argc0) {
2214 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2215 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemImage. Expected _wxListCtrl_p.");
2216 return NULL;
2217 }
2218 }
2219 _result = (bool )wxListCtrl_SetItemImage(_arg0,_arg1,_arg2,_arg3);
2220 _resultobj = Py_BuildValue("i",_result);
2221 return _resultobj;
2222 }
2223
2224 #define wxListCtrl_SetItemPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemPosition(_swigarg0,_swigarg1))
2225 static PyObject *_wrap_wxListCtrl_SetItemPosition(PyObject *self, PyObject *args) {
2226 PyObject * _resultobj;
2227 bool _result;
2228 wxListCtrl * _arg0;
2229 long _arg1;
2230 wxPoint * _arg2;
2231 char * _argc0 = 0;
2232 char * _argc2 = 0;
2233
2234 self = self;
2235 if(!PyArg_ParseTuple(args,"sls:wxListCtrl_SetItemPosition",&_argc0,&_arg1,&_argc2))
2236 return NULL;
2237 if (_argc0) {
2238 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemPosition. Expected _wxListCtrl_p.");
2240 return NULL;
2241 }
2242 }
2243 if (_argc2) {
2244 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
2245 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxListCtrl_SetItemPosition. Expected _wxPoint_p.");
2246 return NULL;
2247 }
2248 }
2249 _result = (bool )wxListCtrl_SetItemPosition(_arg0,_arg1,*_arg2);
2250 _resultobj = Py_BuildValue("i",_result);
2251 return _resultobj;
2252 }
2253
2254 #define wxListCtrl_SetItemState(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetItemState(_swigarg0,_swigarg1,_swigarg2))
2255 static PyObject *_wrap_wxListCtrl_SetItemState(PyObject *self, PyObject *args) {
2256 PyObject * _resultobj;
2257 bool _result;
2258 wxListCtrl * _arg0;
2259 long _arg1;
2260 long _arg2;
2261 long _arg3;
2262 char * _argc0 = 0;
2263
2264 self = self;
2265 if(!PyArg_ParseTuple(args,"slll:wxListCtrl_SetItemState",&_argc0,&_arg1,&_arg2,&_arg3))
2266 return NULL;
2267 if (_argc0) {
2268 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemState. Expected _wxListCtrl_p.");
2270 return NULL;
2271 }
2272 }
2273 _result = (bool )wxListCtrl_SetItemState(_arg0,_arg1,_arg2,_arg3);
2274 _resultobj = Py_BuildValue("i",_result);
2275 return _resultobj;
2276 }
2277
2278 #define wxListCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
2279 static PyObject *_wrap_wxListCtrl_SetItemText(PyObject *self, PyObject *args) {
2280 PyObject * _resultobj;
2281 wxListCtrl * _arg0;
2282 long _arg1;
2283 wxString * _arg2;
2284 char * _argc0 = 0;
2285 PyObject * _obj2 = 0;
2286
2287 self = self;
2288 if(!PyArg_ParseTuple(args,"slO:wxListCtrl_SetItemText",&_argc0,&_arg1,&_obj2))
2289 return NULL;
2290 if (_argc0) {
2291 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetItemText. Expected _wxListCtrl_p.");
2293 return NULL;
2294 }
2295 }
2296 {
2297 if (!PyString_Check(_obj2)) {
2298 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
2299 return NULL;
2300 }
2301 _arg2 = new wxString(PyString_AsString(_obj2));
2302 }
2303 wxListCtrl_SetItemText(_arg0,_arg1,*_arg2);
2304 Py_INCREF(Py_None);
2305 _resultobj = Py_None;
2306 {
2307 if (_obj2)
2308 delete _arg2;
2309 }
2310 return _resultobj;
2311 }
2312
2313 #define wxListCtrl_SetSingleStyle(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSingleStyle(_swigarg0,_swigarg1))
2314 static PyObject *_wrap_wxListCtrl_SetSingleStyle(PyObject *self, PyObject *args) {
2315 PyObject * _resultobj;
2316 wxListCtrl * _arg0;
2317 long _arg1;
2318 bool _arg2 = (1);
2319 char * _argc0 = 0;
2320 int tempbool2;
2321
2322 self = self;
2323 if(!PyArg_ParseTuple(args,"sl|i:wxListCtrl_SetSingleStyle",&_argc0,&_arg1,&tempbool2))
2324 return NULL;
2325 if (_argc0) {
2326 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetSingleStyle. Expected _wxListCtrl_p.");
2328 return NULL;
2329 }
2330 }
2331 _arg2 = (bool ) tempbool2;
2332 wxListCtrl_SetSingleStyle(_arg0,_arg1,_arg2);
2333 Py_INCREF(Py_None);
2334 _resultobj = Py_None;
2335 return _resultobj;
2336 }
2337
2338 #define wxListCtrl_SetWindowStyleFlag(_swigobj,_swigarg0) (_swigobj->SetWindowStyleFlag(_swigarg0))
2339 static PyObject *_wrap_wxListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args) {
2340 PyObject * _resultobj;
2341 wxListCtrl * _arg0;
2342 long _arg1;
2343 char * _argc0 = 0;
2344
2345 self = self;
2346 if(!PyArg_ParseTuple(args,"sl:wxListCtrl_SetWindowStyleFlag",&_argc0,&_arg1))
2347 return NULL;
2348 if (_argc0) {
2349 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxListCtrl_p")) {
2350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxListCtrl_SetWindowStyleFlag. Expected _wxListCtrl_p.");
2351 return NULL;
2352 }
2353 }
2354 wxListCtrl_SetWindowStyleFlag(_arg0,_arg1);
2355 Py_INCREF(Py_None);
2356 _resultobj = Py_None;
2357 return _resultobj;
2358 }
2359
2360 #define new_wxTreeItemId() (new wxTreeItemId())
2361 static PyObject *_wrap_new_wxTreeItemId(PyObject *self, PyObject *args) {
2362 PyObject * _resultobj;
2363 wxTreeItemId * _result;
2364 char _ptemp[128];
2365
2366 self = self;
2367 if(!PyArg_ParseTuple(args,":new_wxTreeItemId"))
2368 return NULL;
2369 _result = (wxTreeItemId *)new_wxTreeItemId();
2370 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
2371 _resultobj = Py_BuildValue("s",_ptemp);
2372 return _resultobj;
2373 }
2374
2375 #define delete_wxTreeItemId(_swigobj) (delete _swigobj)
2376 static PyObject *_wrap_delete_wxTreeItemId(PyObject *self, PyObject *args) {
2377 PyObject * _resultobj;
2378 wxTreeItemId * _arg0;
2379 char * _argc0 = 0;
2380
2381 self = self;
2382 if(!PyArg_ParseTuple(args,"s:delete_wxTreeItemId",&_argc0))
2383 return NULL;
2384 if (_argc0) {
2385 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItemId_p")) {
2386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemId. Expected _wxTreeItemId_p.");
2387 return NULL;
2388 }
2389 }
2390 delete_wxTreeItemId(_arg0);
2391 Py_INCREF(Py_None);
2392 _resultobj = Py_None;
2393 return _resultobj;
2394 }
2395
2396 #define wxTreeItemId_IsOk(_swigobj) (_swigobj->IsOk())
2397 static PyObject *_wrap_wxTreeItemId_IsOk(PyObject *self, PyObject *args) {
2398 PyObject * _resultobj;
2399 bool _result;
2400 wxTreeItemId * _arg0;
2401 char * _argc0 = 0;
2402
2403 self = self;
2404 if(!PyArg_ParseTuple(args,"s:wxTreeItemId_IsOk",&_argc0))
2405 return NULL;
2406 if (_argc0) {
2407 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItemId_p")) {
2408 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemId_IsOk. Expected _wxTreeItemId_p.");
2409 return NULL;
2410 }
2411 }
2412 _result = (bool )wxTreeItemId_IsOk(_arg0);
2413 _resultobj = Py_BuildValue("i",_result);
2414 return _resultobj;
2415 }
2416
2417 #define new_wxTreeItemData() (new wxTreeItemData())
2418 static PyObject *_wrap_new_wxTreeItemData(PyObject *self, PyObject *args) {
2419 PyObject * _resultobj;
2420 wxTreeItemData * _result;
2421 char _ptemp[128];
2422
2423 self = self;
2424 if(!PyArg_ParseTuple(args,":new_wxTreeItemData"))
2425 return NULL;
2426 _result = (wxTreeItemData *)new_wxTreeItemData();
2427 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemData_p");
2428 _resultobj = Py_BuildValue("s",_ptemp);
2429 return _resultobj;
2430 }
2431
2432 #define delete_wxTreeItemData(_swigobj) (delete _swigobj)
2433 static PyObject *_wrap_delete_wxTreeItemData(PyObject *self, PyObject *args) {
2434 PyObject * _resultobj;
2435 wxTreeItemData * _arg0;
2436 char * _argc0 = 0;
2437
2438 self = self;
2439 if(!PyArg_ParseTuple(args,"s:delete_wxTreeItemData",&_argc0))
2440 return NULL;
2441 if (_argc0) {
2442 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItemData_p")) {
2443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxTreeItemData. Expected _wxTreeItemData_p.");
2444 return NULL;
2445 }
2446 }
2447 delete_wxTreeItemData(_arg0);
2448 Py_INCREF(Py_None);
2449 _resultobj = Py_None;
2450 return _resultobj;
2451 }
2452
2453 #define wxTreeItemData_GetId(_swigobj) (_swigobj->GetId())
2454 static PyObject *_wrap_wxTreeItemData_GetId(PyObject *self, PyObject *args) {
2455 PyObject * _resultobj;
2456 wxTreeItemId * _result;
2457 wxTreeItemData * _arg0;
2458 char * _argc0 = 0;
2459 char _ptemp[128];
2460
2461 self = self;
2462 if(!PyArg_ParseTuple(args,"s:wxTreeItemData_GetId",&_argc0))
2463 return NULL;
2464 if (_argc0) {
2465 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItemData_p")) {
2466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_GetId. Expected _wxTreeItemData_p.");
2467 return NULL;
2468 }
2469 }
2470 const wxTreeItemId & _result_ref = wxTreeItemData_GetId(_arg0);
2471 _result = (wxTreeItemId *) &_result_ref;
2472 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemId_p");
2473 _resultobj = Py_BuildValue("s",_ptemp);
2474 return _resultobj;
2475 }
2476
2477 #define wxTreeItemData_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0))
2478 static PyObject *_wrap_wxTreeItemData_SetId(PyObject *self, PyObject *args) {
2479 PyObject * _resultobj;
2480 wxTreeItemData * _arg0;
2481 wxTreeItemId * _arg1;
2482 char * _argc0 = 0;
2483 char * _argc1 = 0;
2484
2485 self = self;
2486 if(!PyArg_ParseTuple(args,"ss:wxTreeItemData_SetId",&_argc0,&_argc1))
2487 return NULL;
2488 if (_argc0) {
2489 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeItemData_p")) {
2490 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeItemData_SetId. Expected _wxTreeItemData_p.");
2491 return NULL;
2492 }
2493 }
2494 if (_argc1) {
2495 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2496 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeItemData_SetId. Expected _wxTreeItemId_p.");
2497 return NULL;
2498 }
2499 }
2500 wxTreeItemData_SetId(_arg0,*_arg1);
2501 Py_INCREF(Py_None);
2502 _resultobj = Py_None;
2503 return _resultobj;
2504 }
2505
2506 static void *SwigwxTreeEventTowxCommandEvent(void *ptr) {
2507 wxTreeEvent *src;
2508 wxCommandEvent *dest;
2509 src = (wxTreeEvent *) ptr;
2510 dest = (wxCommandEvent *) src;
2511 return (void *) dest;
2512 }
2513
2514 static void *SwigwxTreeEventTowxEvent(void *ptr) {
2515 wxTreeEvent *src;
2516 wxEvent *dest;
2517 src = (wxTreeEvent *) ptr;
2518 dest = (wxEvent *) src;
2519 return (void *) dest;
2520 }
2521
2522 #define wxTreeEvent_GetItem(_swigobj) (_swigobj->GetItem())
2523 static PyObject *_wrap_wxTreeEvent_GetItem(PyObject *self, PyObject *args) {
2524 PyObject * _resultobj;
2525 wxTreeItemId * _result;
2526 wxTreeEvent * _arg0;
2527 char * _argc0 = 0;
2528 char _ptemp[128];
2529
2530 self = self;
2531 if(!PyArg_ParseTuple(args,"s:wxTreeEvent_GetItem",&_argc0))
2532 return NULL;
2533 if (_argc0) {
2534 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
2535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetItem. Expected _wxTreeEvent_p.");
2536 return NULL;
2537 }
2538 }
2539 _result = new wxTreeItemId (wxTreeEvent_GetItem(_arg0));
2540 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
2541 _resultobj = Py_BuildValue("s",_ptemp);
2542 return _resultobj;
2543 }
2544
2545 #define wxTreeEvent_GetOldItem(_swigobj) (_swigobj->GetOldItem())
2546 static PyObject *_wrap_wxTreeEvent_GetOldItem(PyObject *self, PyObject *args) {
2547 PyObject * _resultobj;
2548 wxTreeItemId * _result;
2549 wxTreeEvent * _arg0;
2550 char * _argc0 = 0;
2551 char _ptemp[128];
2552
2553 self = self;
2554 if(!PyArg_ParseTuple(args,"s:wxTreeEvent_GetOldItem",&_argc0))
2555 return NULL;
2556 if (_argc0) {
2557 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
2558 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetOldItem. Expected _wxTreeEvent_p.");
2559 return NULL;
2560 }
2561 }
2562 _result = new wxTreeItemId (wxTreeEvent_GetOldItem(_arg0));
2563 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
2564 _resultobj = Py_BuildValue("s",_ptemp);
2565 return _resultobj;
2566 }
2567
2568 #define wxTreeEvent_GetPoint(_swigobj) (_swigobj->GetPoint())
2569 static PyObject *_wrap_wxTreeEvent_GetPoint(PyObject *self, PyObject *args) {
2570 PyObject * _resultobj;
2571 wxPoint * _result;
2572 wxTreeEvent * _arg0;
2573 char * _argc0 = 0;
2574 char _ptemp[128];
2575
2576 self = self;
2577 if(!PyArg_ParseTuple(args,"s:wxTreeEvent_GetPoint",&_argc0))
2578 return NULL;
2579 if (_argc0) {
2580 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
2581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetPoint. Expected _wxTreeEvent_p.");
2582 return NULL;
2583 }
2584 }
2585 _result = new wxPoint (wxTreeEvent_GetPoint(_arg0));
2586 SWIG_MakePtr(_ptemp, (void *) _result,"_wxPoint_p");
2587 _resultobj = Py_BuildValue("s",_ptemp);
2588 return _resultobj;
2589 }
2590
2591 #define wxTreeEvent_GetCode(_swigobj) (_swigobj->GetCode())
2592 static PyObject *_wrap_wxTreeEvent_GetCode(PyObject *self, PyObject *args) {
2593 PyObject * _resultobj;
2594 int _result;
2595 wxTreeEvent * _arg0;
2596 char * _argc0 = 0;
2597
2598 self = self;
2599 if(!PyArg_ParseTuple(args,"s:wxTreeEvent_GetCode",&_argc0))
2600 return NULL;
2601 if (_argc0) {
2602 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
2603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_GetCode. Expected _wxTreeEvent_p.");
2604 return NULL;
2605 }
2606 }
2607 _result = (int )wxTreeEvent_GetCode(_arg0);
2608 _resultobj = Py_BuildValue("i",_result);
2609 return _resultobj;
2610 }
2611
2612 #define wxTreeEvent_Veto(_swigobj) (_swigobj->Veto())
2613 static PyObject *_wrap_wxTreeEvent_Veto(PyObject *self, PyObject *args) {
2614 PyObject * _resultobj;
2615 wxTreeEvent * _arg0;
2616 char * _argc0 = 0;
2617
2618 self = self;
2619 if(!PyArg_ParseTuple(args,"s:wxTreeEvent_Veto",&_argc0))
2620 return NULL;
2621 if (_argc0) {
2622 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeEvent_p")) {
2623 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeEvent_Veto. Expected _wxTreeEvent_p.");
2624 return NULL;
2625 }
2626 }
2627 wxTreeEvent_Veto(_arg0);
2628 Py_INCREF(Py_None);
2629 _resultobj = Py_None;
2630 return _resultobj;
2631 }
2632
2633 static void *SwigwxTreeCtrlTowxControl(void *ptr) {
2634 wxTreeCtrl *src;
2635 wxControl *dest;
2636 src = (wxTreeCtrl *) ptr;
2637 dest = (wxControl *) src;
2638 return (void *) dest;
2639 }
2640
2641 static void *SwigwxTreeCtrlTowxWindow(void *ptr) {
2642 wxTreeCtrl *src;
2643 wxWindow *dest;
2644 src = (wxTreeCtrl *) ptr;
2645 dest = (wxWindow *) src;
2646 return (void *) dest;
2647 }
2648
2649 static void *SwigwxTreeCtrlTowxEvtHandler(void *ptr) {
2650 wxTreeCtrl *src;
2651 wxEvtHandler *dest;
2652 src = (wxTreeCtrl *) ptr;
2653 dest = (wxEvtHandler *) src;
2654 return (void *) dest;
2655 }
2656
2657 #define new_wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxTreeCtrl(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6))
2658 static PyObject *_wrap_new_wxTreeCtrl(PyObject *self, PyObject *args) {
2659 PyObject * _resultobj;
2660 wxTreeCtrl * _result;
2661 wxWindow * _arg0;
2662 wxWindowID _arg1 = -1;
2663 wxPoint * _arg2 = &wxPyDefaultPosition;
2664 wxSize * _arg3 = &wxPyDefaultSize;
2665 long _arg4 = (wxTR_HAS_BUTTONS)|(wxTR_LINES_AT_ROOT);
2666 wxValidator * _arg5 = &wxPyDefaultValidator;
2667 char * _arg6 = "wxTreeCtrl";
2668 char * _argc0 = 0;
2669 char * _argc2 = 0;
2670 char * _argc3 = 0;
2671 char * _argc5 = 0;
2672 char _ptemp[128];
2673
2674 self = self;
2675 if(!PyArg_ParseTuple(args,"s|isslss:new_wxTreeCtrl",&_argc0,&_arg1,&_argc2,&_argc3,&_arg4,&_argc5,&_arg6))
2676 return NULL;
2677 if (_argc0) {
2678 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxWindow_p")) {
2679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxTreeCtrl. Expected _wxWindow_p.");
2680 return NULL;
2681 }
2682 }
2683 if (_argc2) {
2684 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxPoint_p")) {
2685 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxTreeCtrl. Expected _wxPoint_p.");
2686 return NULL;
2687 }
2688 }
2689 if (_argc3) {
2690 if (SWIG_GetPtr(_argc3,(void **) &_arg3,"_wxSize_p")) {
2691 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of new_wxTreeCtrl. Expected _wxSize_p.");
2692 return NULL;
2693 }
2694 }
2695 if (_argc5) {
2696 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxValidator_p")) {
2697 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxTreeCtrl. Expected _wxValidator_p.");
2698 return NULL;
2699 }
2700 }
2701 _result = (wxTreeCtrl *)new_wxTreeCtrl(_arg0,_arg1,*_arg2,*_arg3,_arg4,*_arg5,_arg6);
2702 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeCtrl_p");
2703 _resultobj = Py_BuildValue("s",_ptemp);
2704 return _resultobj;
2705 }
2706
2707 #define wxTreeCtrl_GetCount(_swigobj) (_swigobj->GetCount())
2708 static PyObject *_wrap_wxTreeCtrl_GetCount(PyObject *self, PyObject *args) {
2709 PyObject * _resultobj;
2710 size_t * _result;
2711 wxTreeCtrl * _arg0;
2712 char * _argc0 = 0;
2713 char _ptemp[128];
2714
2715 self = self;
2716 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetCount",&_argc0))
2717 return NULL;
2718 if (_argc0) {
2719 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetCount. Expected _wxTreeCtrl_p.");
2721 return NULL;
2722 }
2723 }
2724 _result = new size_t (wxTreeCtrl_GetCount(_arg0));
2725 SWIG_MakePtr(_ptemp, (void *) _result,"_size_t_p");
2726 _resultobj = Py_BuildValue("s",_ptemp);
2727 return _resultobj;
2728 }
2729
2730 #define wxTreeCtrl_GetIndent(_swigobj) (_swigobj->GetIndent())
2731 static PyObject *_wrap_wxTreeCtrl_GetIndent(PyObject *self, PyObject *args) {
2732 PyObject * _resultobj;
2733 unsigned int _result;
2734 wxTreeCtrl * _arg0;
2735 char * _argc0 = 0;
2736
2737 self = self;
2738 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetIndent",&_argc0))
2739 return NULL;
2740 if (_argc0) {
2741 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetIndent. Expected _wxTreeCtrl_p.");
2743 return NULL;
2744 }
2745 }
2746 _result = (unsigned int )wxTreeCtrl_GetIndent(_arg0);
2747 _resultobj = Py_BuildValue("i",_result);
2748 return _resultobj;
2749 }
2750
2751 #define wxTreeCtrl_SetIndent(_swigobj,_swigarg0) (_swigobj->SetIndent(_swigarg0))
2752 static PyObject *_wrap_wxTreeCtrl_SetIndent(PyObject *self, PyObject *args) {
2753 PyObject * _resultobj;
2754 wxTreeCtrl * _arg0;
2755 unsigned int _arg1;
2756 char * _argc0 = 0;
2757
2758 self = self;
2759 if(!PyArg_ParseTuple(args,"si:wxTreeCtrl_SetIndent",&_argc0,&_arg1))
2760 return NULL;
2761 if (_argc0) {
2762 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetIndent. Expected _wxTreeCtrl_p.");
2764 return NULL;
2765 }
2766 }
2767 wxTreeCtrl_SetIndent(_arg0,_arg1);
2768 Py_INCREF(Py_None);
2769 _resultobj = Py_None;
2770 return _resultobj;
2771 }
2772
2773 #define wxTreeCtrl_GetImageList(_swigobj) (_swigobj->GetImageList())
2774 static PyObject *_wrap_wxTreeCtrl_GetImageList(PyObject *self, PyObject *args) {
2775 PyObject * _resultobj;
2776 wxImageList * _result;
2777 wxTreeCtrl * _arg0;
2778 char * _argc0 = 0;
2779 char _ptemp[128];
2780
2781 self = self;
2782 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetImageList",&_argc0))
2783 return NULL;
2784 if (_argc0) {
2785 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetImageList. Expected _wxTreeCtrl_p.");
2787 return NULL;
2788 }
2789 }
2790 _result = (wxImageList *)wxTreeCtrl_GetImageList(_arg0);
2791 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
2792 _resultobj = Py_BuildValue("s",_ptemp);
2793 return _resultobj;
2794 }
2795
2796 #define wxTreeCtrl_GetStateImageList(_swigobj) (_swigobj->GetStateImageList())
2797 static PyObject *_wrap_wxTreeCtrl_GetStateImageList(PyObject *self, PyObject *args) {
2798 PyObject * _resultobj;
2799 wxImageList * _result;
2800 wxTreeCtrl * _arg0;
2801 char * _argc0 = 0;
2802 char _ptemp[128];
2803
2804 self = self;
2805 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetStateImageList",&_argc0))
2806 return NULL;
2807 if (_argc0) {
2808 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2809 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetStateImageList. Expected _wxTreeCtrl_p.");
2810 return NULL;
2811 }
2812 }
2813 _result = (wxImageList *)wxTreeCtrl_GetStateImageList(_arg0);
2814 SWIG_MakePtr(_ptemp, (char *) _result,"_wxImageList_p");
2815 _resultobj = Py_BuildValue("s",_ptemp);
2816 return _resultobj;
2817 }
2818
2819 #define wxTreeCtrl_SetImageList(_swigobj,_swigarg0) (_swigobj->SetImageList(_swigarg0))
2820 static PyObject *_wrap_wxTreeCtrl_SetImageList(PyObject *self, PyObject *args) {
2821 PyObject * _resultobj;
2822 wxTreeCtrl * _arg0;
2823 wxImageList * _arg1;
2824 char * _argc0 = 0;
2825 char * _argc1 = 0;
2826
2827 self = self;
2828 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_SetImageList",&_argc0,&_argc1))
2829 return NULL;
2830 if (_argc0) {
2831 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2832 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetImageList. Expected _wxTreeCtrl_p.");
2833 return NULL;
2834 }
2835 }
2836 if (_argc1) {
2837 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) {
2838 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetImageList. Expected _wxImageList_p.");
2839 return NULL;
2840 }
2841 }
2842 wxTreeCtrl_SetImageList(_arg0,_arg1);
2843 Py_INCREF(Py_None);
2844 _resultobj = Py_None;
2845 return _resultobj;
2846 }
2847
2848 #define wxTreeCtrl_SetStateImageList(_swigobj,_swigarg0) (_swigobj->SetStateImageList(_swigarg0))
2849 static PyObject *_wrap_wxTreeCtrl_SetStateImageList(PyObject *self, PyObject *args) {
2850 PyObject * _resultobj;
2851 wxTreeCtrl * _arg0;
2852 wxImageList * _arg1;
2853 char * _argc0 = 0;
2854 char * _argc1 = 0;
2855
2856 self = self;
2857 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_SetStateImageList",&_argc0,&_argc1))
2858 return NULL;
2859 if (_argc0) {
2860 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2861 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetStateImageList. Expected _wxTreeCtrl_p.");
2862 return NULL;
2863 }
2864 }
2865 if (_argc1) {
2866 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxImageList_p")) {
2867 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetStateImageList. Expected _wxImageList_p.");
2868 return NULL;
2869 }
2870 }
2871 wxTreeCtrl_SetStateImageList(_arg0,_arg1);
2872 Py_INCREF(Py_None);
2873 _resultobj = Py_None;
2874 return _resultobj;
2875 }
2876
2877 #define wxTreeCtrl_GetItemText(_swigobj,_swigarg0) (_swigobj->GetItemText(_swigarg0))
2878 static PyObject *_wrap_wxTreeCtrl_GetItemText(PyObject *self, PyObject *args) {
2879 PyObject * _resultobj;
2880 wxString * _result;
2881 wxTreeCtrl * _arg0;
2882 wxTreeItemId * _arg1;
2883 char * _argc0 = 0;
2884 char * _argc1 = 0;
2885
2886 self = self;
2887 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemText",&_argc0,&_argc1))
2888 return NULL;
2889 if (_argc0) {
2890 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemText. Expected _wxTreeCtrl_p.");
2892 return NULL;
2893 }
2894 }
2895 if (_argc1) {
2896 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2897 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemText. Expected _wxTreeItemId_p.");
2898 return NULL;
2899 }
2900 }
2901 _result = new wxString (wxTreeCtrl_GetItemText(_arg0,*_arg1));
2902 {
2903 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2904 }
2905 {
2906 delete _result;
2907 }
2908 return _resultobj;
2909 }
2910
2911 #define wxTreeCtrl_GetItemImage(_swigobj,_swigarg0) (_swigobj->GetItemImage(_swigarg0))
2912 static PyObject *_wrap_wxTreeCtrl_GetItemImage(PyObject *self, PyObject *args) {
2913 PyObject * _resultobj;
2914 int _result;
2915 wxTreeCtrl * _arg0;
2916 wxTreeItemId * _arg1;
2917 char * _argc0 = 0;
2918 char * _argc1 = 0;
2919
2920 self = self;
2921 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemImage",&_argc0,&_argc1))
2922 return NULL;
2923 if (_argc0) {
2924 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemImage. Expected _wxTreeCtrl_p.");
2926 return NULL;
2927 }
2928 }
2929 if (_argc1) {
2930 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2931 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemImage. Expected _wxTreeItemId_p.");
2932 return NULL;
2933 }
2934 }
2935 _result = (int )wxTreeCtrl_GetItemImage(_arg0,*_arg1);
2936 _resultobj = Py_BuildValue("i",_result);
2937 return _resultobj;
2938 }
2939
2940 #define wxTreeCtrl_GetItemSelectedImage(_swigobj,_swigarg0) (_swigobj->GetItemSelectedImage(_swigarg0))
2941 static PyObject *_wrap_wxTreeCtrl_GetItemSelectedImage(PyObject *self, PyObject *args) {
2942 PyObject * _resultobj;
2943 int _result;
2944 wxTreeCtrl * _arg0;
2945 wxTreeItemId * _arg1;
2946 char * _argc0 = 0;
2947 char * _argc1 = 0;
2948
2949 self = self;
2950 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemSelectedImage",&_argc0,&_argc1))
2951 return NULL;
2952 if (_argc0) {
2953 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2954 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeCtrl_p.");
2955 return NULL;
2956 }
2957 }
2958 if (_argc1) {
2959 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2960 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemSelectedImage. Expected _wxTreeItemId_p.");
2961 return NULL;
2962 }
2963 }
2964 _result = (int )wxTreeCtrl_GetItemSelectedImage(_arg0,*_arg1);
2965 _resultobj = Py_BuildValue("i",_result);
2966 return _resultobj;
2967 }
2968
2969 #define wxTreeCtrl_GetItemData(_swigobj,_swigarg0) (_swigobj->GetItemData(_swigarg0))
2970 static PyObject *_wrap_wxTreeCtrl_GetItemData(PyObject *self, PyObject *args) {
2971 PyObject * _resultobj;
2972 wxTreeItemData * _result;
2973 wxTreeCtrl * _arg0;
2974 wxTreeItemId * _arg1;
2975 char * _argc0 = 0;
2976 char * _argc1 = 0;
2977 char _ptemp[128];
2978
2979 self = self;
2980 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetItemData",&_argc0,&_argc1))
2981 return NULL;
2982 if (_argc0) {
2983 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
2984 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetItemData. Expected _wxTreeCtrl_p.");
2985 return NULL;
2986 }
2987 }
2988 if (_argc1) {
2989 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
2990 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetItemData. Expected _wxTreeItemId_p.");
2991 return NULL;
2992 }
2993 }
2994 _result = (wxTreeItemData *)wxTreeCtrl_GetItemData(_arg0,*_arg1);
2995 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTreeItemData_p");
2996 _resultobj = Py_BuildValue("s",_ptemp);
2997 return _resultobj;
2998 }
2999
3000 #define wxTreeCtrl_SetItemText(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemText(_swigarg0,_swigarg1))
3001 static PyObject *_wrap_wxTreeCtrl_SetItemText(PyObject *self, PyObject *args) {
3002 PyObject * _resultobj;
3003 wxTreeCtrl * _arg0;
3004 wxTreeItemId * _arg1;
3005 wxString * _arg2;
3006 char * _argc0 = 0;
3007 char * _argc1 = 0;
3008 PyObject * _obj2 = 0;
3009
3010 self = self;
3011 if(!PyArg_ParseTuple(args,"ssO:wxTreeCtrl_SetItemText",&_argc0,&_argc1,&_obj2))
3012 return NULL;
3013 if (_argc0) {
3014 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3015 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemText. Expected _wxTreeCtrl_p.");
3016 return NULL;
3017 }
3018 }
3019 if (_argc1) {
3020 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3021 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemText. Expected _wxTreeItemId_p.");
3022 return NULL;
3023 }
3024 }
3025 {
3026 if (!PyString_Check(_obj2)) {
3027 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3028 return NULL;
3029 }
3030 _arg2 = new wxString(PyString_AsString(_obj2));
3031 }
3032 wxTreeCtrl_SetItemText(_arg0,*_arg1,*_arg2);
3033 Py_INCREF(Py_None);
3034 _resultobj = Py_None;
3035 {
3036 if (_obj2)
3037 delete _arg2;
3038 }
3039 return _resultobj;
3040 }
3041
3042 #define wxTreeCtrl_SetItemImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemImage(_swigarg0,_swigarg1))
3043 static PyObject *_wrap_wxTreeCtrl_SetItemImage(PyObject *self, PyObject *args) {
3044 PyObject * _resultobj;
3045 wxTreeCtrl * _arg0;
3046 wxTreeItemId * _arg1;
3047 int _arg2;
3048 char * _argc0 = 0;
3049 char * _argc1 = 0;
3050
3051 self = self;
3052 if(!PyArg_ParseTuple(args,"ssi:wxTreeCtrl_SetItemImage",&_argc0,&_argc1,&_arg2))
3053 return NULL;
3054 if (_argc0) {
3055 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3056 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemImage. Expected _wxTreeCtrl_p.");
3057 return NULL;
3058 }
3059 }
3060 if (_argc1) {
3061 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3062 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemImage. Expected _wxTreeItemId_p.");
3063 return NULL;
3064 }
3065 }
3066 wxTreeCtrl_SetItemImage(_arg0,*_arg1,_arg2);
3067 Py_INCREF(Py_None);
3068 _resultobj = Py_None;
3069 return _resultobj;
3070 }
3071
3072 #define wxTreeCtrl_SetItemSelectedImage(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemSelectedImage(_swigarg0,_swigarg1))
3073 static PyObject *_wrap_wxTreeCtrl_SetItemSelectedImage(PyObject *self, PyObject *args) {
3074 PyObject * _resultobj;
3075 wxTreeCtrl * _arg0;
3076 wxTreeItemId * _arg1;
3077 int _arg2;
3078 char * _argc0 = 0;
3079 char * _argc1 = 0;
3080
3081 self = self;
3082 if(!PyArg_ParseTuple(args,"ssi:wxTreeCtrl_SetItemSelectedImage",&_argc0,&_argc1,&_arg2))
3083 return NULL;
3084 if (_argc0) {
3085 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3086 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeCtrl_p.");
3087 return NULL;
3088 }
3089 }
3090 if (_argc1) {
3091 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3092 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemSelectedImage. Expected _wxTreeItemId_p.");
3093 return NULL;
3094 }
3095 }
3096 wxTreeCtrl_SetItemSelectedImage(_arg0,*_arg1,_arg2);
3097 Py_INCREF(Py_None);
3098 _resultobj = Py_None;
3099 return _resultobj;
3100 }
3101
3102 #define wxTreeCtrl_SetItemData(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemData(_swigarg0,_swigarg1))
3103 static PyObject *_wrap_wxTreeCtrl_SetItemData(PyObject *self, PyObject *args) {
3104 PyObject * _resultobj;
3105 wxTreeCtrl * _arg0;
3106 wxTreeItemId * _arg1;
3107 wxTreeItemData * _arg2;
3108 char * _argc0 = 0;
3109 char * _argc1 = 0;
3110 char * _argc2 = 0;
3111
3112 self = self;
3113 if(!PyArg_ParseTuple(args,"sss:wxTreeCtrl_SetItemData",&_argc0,&_argc1,&_argc2))
3114 return NULL;
3115 if (_argc0) {
3116 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3117 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemData. Expected _wxTreeCtrl_p.");
3118 return NULL;
3119 }
3120 }
3121 if (_argc1) {
3122 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3123 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemData. Expected _wxTreeItemId_p.");
3124 return NULL;
3125 }
3126 }
3127 if (_argc2) {
3128 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxTreeItemData_p")) {
3129 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_SetItemData. Expected _wxTreeItemData_p.");
3130 return NULL;
3131 }
3132 }
3133 wxTreeCtrl_SetItemData(_arg0,*_arg1,_arg2);
3134 Py_INCREF(Py_None);
3135 _resultobj = Py_None;
3136 return _resultobj;
3137 }
3138
3139 #define wxTreeCtrl_SetItemHasChildren(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemHasChildren(_swigarg0,_swigarg1))
3140 static PyObject *_wrap_wxTreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args) {
3141 PyObject * _resultobj;
3142 wxTreeCtrl * _arg0;
3143 wxTreeItemId * _arg1;
3144 bool _arg2 = (1);
3145 char * _argc0 = 0;
3146 char * _argc1 = 0;
3147 int tempbool2;
3148
3149 self = self;
3150 if(!PyArg_ParseTuple(args,"ss|i:wxTreeCtrl_SetItemHasChildren",&_argc0,&_argc1,&tempbool2))
3151 return NULL;
3152 if (_argc0) {
3153 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3154 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeCtrl_p.");
3155 return NULL;
3156 }
3157 }
3158 if (_argc1) {
3159 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3160 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemHasChildren. Expected _wxTreeItemId_p.");
3161 return NULL;
3162 }
3163 }
3164 _arg2 = (bool ) tempbool2;
3165 wxTreeCtrl_SetItemHasChildren(_arg0,*_arg1,_arg2);
3166 Py_INCREF(Py_None);
3167 _resultobj = Py_None;
3168 return _resultobj;
3169 }
3170
3171 #define wxTreeCtrl_IsVisible(_swigobj,_swigarg0) (_swigobj->IsVisible(_swigarg0))
3172 static PyObject *_wrap_wxTreeCtrl_IsVisible(PyObject *self, PyObject *args) {
3173 PyObject * _resultobj;
3174 bool _result;
3175 wxTreeCtrl * _arg0;
3176 wxTreeItemId * _arg1;
3177 char * _argc0 = 0;
3178 char * _argc1 = 0;
3179
3180 self = self;
3181 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsVisible",&_argc0,&_argc1))
3182 return NULL;
3183 if (_argc0) {
3184 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsVisible. Expected _wxTreeCtrl_p.");
3186 return NULL;
3187 }
3188 }
3189 if (_argc1) {
3190 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3191 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsVisible. Expected _wxTreeItemId_p.");
3192 return NULL;
3193 }
3194 }
3195 _result = (bool )wxTreeCtrl_IsVisible(_arg0,*_arg1);
3196 _resultobj = Py_BuildValue("i",_result);
3197 return _resultobj;
3198 }
3199
3200 #define wxTreeCtrl_ItemHasChildren(_swigobj,_swigarg0) (_swigobj->ItemHasChildren(_swigarg0))
3201 static PyObject *_wrap_wxTreeCtrl_ItemHasChildren(PyObject *self, PyObject *args) {
3202 PyObject * _resultobj;
3203 bool _result;
3204 wxTreeCtrl * _arg0;
3205 wxTreeItemId * _arg1;
3206 char * _argc0 = 0;
3207 char * _argc1 = 0;
3208
3209 self = self;
3210 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_ItemHasChildren",&_argc0,&_argc1))
3211 return NULL;
3212 if (_argc0) {
3213 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeCtrl_p.");
3215 return NULL;
3216 }
3217 }
3218 if (_argc1) {
3219 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3220 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ItemHasChildren. Expected _wxTreeItemId_p.");
3221 return NULL;
3222 }
3223 }
3224 _result = (bool )wxTreeCtrl_ItemHasChildren(_arg0,*_arg1);
3225 _resultobj = Py_BuildValue("i",_result);
3226 return _resultobj;
3227 }
3228
3229 #define wxTreeCtrl_IsExpanded(_swigobj,_swigarg0) (_swigobj->IsExpanded(_swigarg0))
3230 static PyObject *_wrap_wxTreeCtrl_IsExpanded(PyObject *self, PyObject *args) {
3231 PyObject * _resultobj;
3232 bool _result;
3233 wxTreeCtrl * _arg0;
3234 wxTreeItemId * _arg1;
3235 char * _argc0 = 0;
3236 char * _argc1 = 0;
3237
3238 self = self;
3239 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsExpanded",&_argc0,&_argc1))
3240 return NULL;
3241 if (_argc0) {
3242 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3243 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsExpanded. Expected _wxTreeCtrl_p.");
3244 return NULL;
3245 }
3246 }
3247 if (_argc1) {
3248 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3249 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsExpanded. Expected _wxTreeItemId_p.");
3250 return NULL;
3251 }
3252 }
3253 _result = (bool )wxTreeCtrl_IsExpanded(_arg0,*_arg1);
3254 _resultobj = Py_BuildValue("i",_result);
3255 return _resultobj;
3256 }
3257
3258 #define wxTreeCtrl_IsSelected(_swigobj,_swigarg0) (_swigobj->IsSelected(_swigarg0))
3259 static PyObject *_wrap_wxTreeCtrl_IsSelected(PyObject *self, PyObject *args) {
3260 PyObject * _resultobj;
3261 bool _result;
3262 wxTreeCtrl * _arg0;
3263 wxTreeItemId * _arg1;
3264 char * _argc0 = 0;
3265 char * _argc1 = 0;
3266
3267 self = self;
3268 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsSelected",&_argc0,&_argc1))
3269 return NULL;
3270 if (_argc0) {
3271 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsSelected. Expected _wxTreeCtrl_p.");
3273 return NULL;
3274 }
3275 }
3276 if (_argc1) {
3277 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3278 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsSelected. Expected _wxTreeItemId_p.");
3279 return NULL;
3280 }
3281 }
3282 _result = (bool )wxTreeCtrl_IsSelected(_arg0,*_arg1);
3283 _resultobj = Py_BuildValue("i",_result);
3284 return _resultobj;
3285 }
3286
3287 #define wxTreeCtrl_GetRootItem(_swigobj) (_swigobj->GetRootItem())
3288 static PyObject *_wrap_wxTreeCtrl_GetRootItem(PyObject *self, PyObject *args) {
3289 PyObject * _resultobj;
3290 wxTreeItemId * _result;
3291 wxTreeCtrl * _arg0;
3292 char * _argc0 = 0;
3293 char _ptemp[128];
3294
3295 self = self;
3296 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetRootItem",&_argc0))
3297 return NULL;
3298 if (_argc0) {
3299 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetRootItem. Expected _wxTreeCtrl_p.");
3301 return NULL;
3302 }
3303 }
3304 _result = new wxTreeItemId (wxTreeCtrl_GetRootItem(_arg0));
3305 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3306 _resultobj = Py_BuildValue("s",_ptemp);
3307 return _resultobj;
3308 }
3309
3310 #define wxTreeCtrl_GetSelection(_swigobj) (_swigobj->GetSelection())
3311 static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args) {
3312 PyObject * _resultobj;
3313 wxTreeItemId * _result;
3314 wxTreeCtrl * _arg0;
3315 char * _argc0 = 0;
3316 char _ptemp[128];
3317
3318 self = self;
3319 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetSelection",&_argc0))
3320 return NULL;
3321 if (_argc0) {
3322 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetSelection. Expected _wxTreeCtrl_p.");
3324 return NULL;
3325 }
3326 }
3327 _result = new wxTreeItemId (wxTreeCtrl_GetSelection(_arg0));
3328 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3329 _resultobj = Py_BuildValue("s",_ptemp);
3330 return _resultobj;
3331 }
3332
3333 #define wxTreeCtrl_GetParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0))
3334 static PyObject *_wrap_wxTreeCtrl_GetParent(PyObject *self, PyObject *args) {
3335 PyObject * _resultobj;
3336 wxTreeItemId * _result;
3337 wxTreeCtrl * _arg0;
3338 wxTreeItemId * _arg1;
3339 char * _argc0 = 0;
3340 char * _argc1 = 0;
3341 char _ptemp[128];
3342
3343 self = self;
3344 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetParent",&_argc0,&_argc1))
3345 return NULL;
3346 if (_argc0) {
3347 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3348 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetParent. Expected _wxTreeCtrl_p.");
3349 return NULL;
3350 }
3351 }
3352 if (_argc1) {
3353 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3354 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetParent. Expected _wxTreeItemId_p.");
3355 return NULL;
3356 }
3357 }
3358 _result = new wxTreeItemId (wxTreeCtrl_GetParent(_arg0,*_arg1));
3359 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3360 _resultobj = Py_BuildValue("s",_ptemp);
3361 return _resultobj;
3362 }
3363
3364 #define wxTreeCtrl_GetFirstChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFirstChild(_swigarg0,_swigarg1))
3365 static PyObject *_wrap_wxTreeCtrl_GetFirstChild(PyObject *self, PyObject *args) {
3366 PyObject * _resultobj;
3367 wxTreeItemId * _result;
3368 wxTreeCtrl * _arg0;
3369 wxTreeItemId * _arg1;
3370 long * _arg2;
3371 char * _argc0 = 0;
3372 char * _argc1 = 0;
3373 long temp;
3374 PyObject * _obj2 = 0;
3375 char _ptemp[128];
3376
3377 self = self;
3378 if(!PyArg_ParseTuple(args,"ssO:wxTreeCtrl_GetFirstChild",&_argc0,&_argc1,&_obj2))
3379 return NULL;
3380 if (_argc0) {
3381 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstChild. Expected _wxTreeCtrl_p.");
3383 return NULL;
3384 }
3385 }
3386 if (_argc1) {
3387 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3388 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetFirstChild. Expected _wxTreeItemId_p.");
3389 return NULL;
3390 }
3391 }
3392 {
3393 temp = (long) PyInt_AsLong(_obj2);
3394 _arg2 = &temp;
3395 }
3396 _result = new wxTreeItemId (wxTreeCtrl_GetFirstChild(_arg0,*_arg1,*_arg2));
3397 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3398 _resultobj = Py_BuildValue("s",_ptemp);
3399 {
3400 PyObject *o;
3401 o = PyInt_FromLong((long) (*_arg2));
3402 _resultobj = t_output_helper(_resultobj, o);
3403 }
3404 return _resultobj;
3405 }
3406
3407 #define wxTreeCtrl_GetNextChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetNextChild(_swigarg0,_swigarg1))
3408 static PyObject *_wrap_wxTreeCtrl_GetNextChild(PyObject *self, PyObject *args) {
3409 PyObject * _resultobj;
3410 wxTreeItemId * _result;
3411 wxTreeCtrl * _arg0;
3412 wxTreeItemId * _arg1;
3413 long * _arg2;
3414 char * _argc0 = 0;
3415 char * _argc1 = 0;
3416 long temp;
3417 PyObject * _obj2 = 0;
3418 char _ptemp[128];
3419
3420 self = self;
3421 if(!PyArg_ParseTuple(args,"ssO:wxTreeCtrl_GetNextChild",&_argc0,&_argc1,&_obj2))
3422 return NULL;
3423 if (_argc0) {
3424 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextChild. Expected _wxTreeCtrl_p.");
3426 return NULL;
3427 }
3428 }
3429 if (_argc1) {
3430 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3431 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextChild. Expected _wxTreeItemId_p.");
3432 return NULL;
3433 }
3434 }
3435 {
3436 temp = (long) PyInt_AsLong(_obj2);
3437 _arg2 = &temp;
3438 }
3439 _result = new wxTreeItemId (wxTreeCtrl_GetNextChild(_arg0,*_arg1,*_arg2));
3440 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3441 _resultobj = Py_BuildValue("s",_ptemp);
3442 {
3443 PyObject *o;
3444 o = PyInt_FromLong((long) (*_arg2));
3445 _resultobj = t_output_helper(_resultobj, o);
3446 }
3447 return _resultobj;
3448 }
3449
3450 #define wxTreeCtrl_GetNextSibling(_swigobj,_swigarg0) (_swigobj->GetNextSibling(_swigarg0))
3451 static PyObject *_wrap_wxTreeCtrl_GetNextSibling(PyObject *self, PyObject *args) {
3452 PyObject * _resultobj;
3453 wxTreeItemId * _result;
3454 wxTreeCtrl * _arg0;
3455 wxTreeItemId * _arg1;
3456 char * _argc0 = 0;
3457 char * _argc1 = 0;
3458 char _ptemp[128];
3459
3460 self = self;
3461 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetNextSibling",&_argc0,&_argc1))
3462 return NULL;
3463 if (_argc0) {
3464 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3465 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextSibling. Expected _wxTreeCtrl_p.");
3466 return NULL;
3467 }
3468 }
3469 if (_argc1) {
3470 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3471 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextSibling. Expected _wxTreeItemId_p.");
3472 return NULL;
3473 }
3474 }
3475 _result = new wxTreeItemId (wxTreeCtrl_GetNextSibling(_arg0,*_arg1));
3476 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3477 _resultobj = Py_BuildValue("s",_ptemp);
3478 return _resultobj;
3479 }
3480
3481 #define wxTreeCtrl_GetPrevSibling(_swigobj,_swigarg0) (_swigobj->GetPrevSibling(_swigarg0))
3482 static PyObject *_wrap_wxTreeCtrl_GetPrevSibling(PyObject *self, PyObject *args) {
3483 PyObject * _resultobj;
3484 wxTreeItemId * _result;
3485 wxTreeCtrl * _arg0;
3486 wxTreeItemId * _arg1;
3487 char * _argc0 = 0;
3488 char * _argc1 = 0;
3489 char _ptemp[128];
3490
3491 self = self;
3492 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetPrevSibling",&_argc0,&_argc1))
3493 return NULL;
3494 if (_argc0) {
3495 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeCtrl_p.");
3497 return NULL;
3498 }
3499 }
3500 if (_argc1) {
3501 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3502 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevSibling. Expected _wxTreeItemId_p.");
3503 return NULL;
3504 }
3505 }
3506 _result = new wxTreeItemId (wxTreeCtrl_GetPrevSibling(_arg0,*_arg1));
3507 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3508 _resultobj = Py_BuildValue("s",_ptemp);
3509 return _resultobj;
3510 }
3511
3512 #define wxTreeCtrl_GetFirstVisibleItem(_swigobj) (_swigobj->GetFirstVisibleItem())
3513 static PyObject *_wrap_wxTreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args) {
3514 PyObject * _resultobj;
3515 wxTreeItemId * _result;
3516 wxTreeCtrl * _arg0;
3517 char * _argc0 = 0;
3518 char _ptemp[128];
3519
3520 self = self;
3521 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetFirstVisibleItem",&_argc0))
3522 return NULL;
3523 if (_argc0) {
3524 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetFirstVisibleItem. Expected _wxTreeCtrl_p.");
3526 return NULL;
3527 }
3528 }
3529 _result = new wxTreeItemId (wxTreeCtrl_GetFirstVisibleItem(_arg0));
3530 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3531 _resultobj = Py_BuildValue("s",_ptemp);
3532 return _resultobj;
3533 }
3534
3535 #define wxTreeCtrl_GetNextVisible(_swigobj,_swigarg0) (_swigobj->GetNextVisible(_swigarg0))
3536 static PyObject *_wrap_wxTreeCtrl_GetNextVisible(PyObject *self, PyObject *args) {
3537 PyObject * _resultobj;
3538 wxTreeItemId * _result;
3539 wxTreeCtrl * _arg0;
3540 wxTreeItemId * _arg1;
3541 char * _argc0 = 0;
3542 char * _argc1 = 0;
3543 char _ptemp[128];
3544
3545 self = self;
3546 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetNextVisible",&_argc0,&_argc1))
3547 return NULL;
3548 if (_argc0) {
3549 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3550 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetNextVisible. Expected _wxTreeCtrl_p.");
3551 return NULL;
3552 }
3553 }
3554 if (_argc1) {
3555 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3556 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetNextVisible. Expected _wxTreeItemId_p.");
3557 return NULL;
3558 }
3559 }
3560 _result = new wxTreeItemId (wxTreeCtrl_GetNextVisible(_arg0,*_arg1));
3561 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3562 _resultobj = Py_BuildValue("s",_ptemp);
3563 return _resultobj;
3564 }
3565
3566 #define wxTreeCtrl_GetPrevVisible(_swigobj,_swigarg0) (_swigobj->GetPrevVisible(_swigarg0))
3567 static PyObject *_wrap_wxTreeCtrl_GetPrevVisible(PyObject *self, PyObject *args) {
3568 PyObject * _resultobj;
3569 wxTreeItemId * _result;
3570 wxTreeCtrl * _arg0;
3571 wxTreeItemId * _arg1;
3572 char * _argc0 = 0;
3573 char * _argc1 = 0;
3574 char _ptemp[128];
3575
3576 self = self;
3577 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_GetPrevVisible",&_argc0,&_argc1))
3578 return NULL;
3579 if (_argc0) {
3580 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3581 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeCtrl_p.");
3582 return NULL;
3583 }
3584 }
3585 if (_argc1) {
3586 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3587 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_GetPrevVisible. Expected _wxTreeItemId_p.");
3588 return NULL;
3589 }
3590 }
3591 _result = new wxTreeItemId (wxTreeCtrl_GetPrevVisible(_arg0,*_arg1));
3592 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3593 _resultobj = Py_BuildValue("s",_ptemp);
3594 return _resultobj;
3595 }
3596
3597 #define wxTreeCtrl_AddRoot(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->AddRoot(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3598 static PyObject *_wrap_wxTreeCtrl_AddRoot(PyObject *self, PyObject *args) {
3599 PyObject * _resultobj;
3600 wxTreeItemId * _result;
3601 wxTreeCtrl * _arg0;
3602 wxString * _arg1;
3603 int _arg2 = -1;
3604 int _arg3 = -1;
3605 wxTreeItemData * _arg4 = NULL;
3606 char * _argc0 = 0;
3607 PyObject * _obj1 = 0;
3608 char * _argc4 = 0;
3609 char _ptemp[128];
3610
3611 self = self;
3612 if(!PyArg_ParseTuple(args,"sO|iis:wxTreeCtrl_AddRoot",&_argc0,&_obj1,&_arg2,&_arg3,&_argc4))
3613 return NULL;
3614 if (_argc0) {
3615 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AddRoot. Expected _wxTreeCtrl_p.");
3617 return NULL;
3618 }
3619 }
3620 {
3621 if (!PyString_Check(_obj1)) {
3622 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3623 return NULL;
3624 }
3625 _arg1 = new wxString(PyString_AsString(_obj1));
3626 }
3627 if (_argc4) {
3628 if (SWIG_GetPtr(_argc4,(void **) &_arg4,"_wxTreeItemData_p")) {
3629 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxTreeCtrl_AddRoot. Expected _wxTreeItemData_p.");
3630 return NULL;
3631 }
3632 }
3633 _result = new wxTreeItemId (wxTreeCtrl_AddRoot(_arg0,*_arg1,_arg2,_arg3,_arg4));
3634 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3635 _resultobj = Py_BuildValue("s",_ptemp);
3636 {
3637 if (_obj1)
3638 delete _arg1;
3639 }
3640 return _resultobj;
3641 }
3642
3643 #define wxTreeCtrl_PrependItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->PrependItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3644 static PyObject *_wrap_wxTreeCtrl_PrependItem(PyObject *self, PyObject *args) {
3645 PyObject * _resultobj;
3646 wxTreeItemId * _result;
3647 wxTreeCtrl * _arg0;
3648 wxTreeItemId * _arg1;
3649 wxString * _arg2;
3650 int _arg3 = -1;
3651 int _arg4 = -1;
3652 wxTreeItemData * _arg5 = NULL;
3653 char * _argc0 = 0;
3654 char * _argc1 = 0;
3655 PyObject * _obj2 = 0;
3656 char * _argc5 = 0;
3657 char _ptemp[128];
3658
3659 self = self;
3660 if(!PyArg_ParseTuple(args,"ssO|iis:wxTreeCtrl_PrependItem",&_argc0,&_argc1,&_obj2,&_arg3,&_arg4,&_argc5))
3661 return NULL;
3662 if (_argc0) {
3663 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3664 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_PrependItem. Expected _wxTreeCtrl_p.");
3665 return NULL;
3666 }
3667 }
3668 if (_argc1) {
3669 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3670 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_PrependItem. Expected _wxTreeItemId_p.");
3671 return NULL;
3672 }
3673 }
3674 {
3675 if (!PyString_Check(_obj2)) {
3676 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3677 return NULL;
3678 }
3679 _arg2 = new wxString(PyString_AsString(_obj2));
3680 }
3681 if (_argc5) {
3682 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxTreeItemData_p")) {
3683 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_PrependItem. Expected _wxTreeItemData_p.");
3684 return NULL;
3685 }
3686 }
3687 _result = new wxTreeItemId (wxTreeCtrl_PrependItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
3688 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3689 _resultobj = Py_BuildValue("s",_ptemp);
3690 {
3691 if (_obj2)
3692 delete _arg2;
3693 }
3694 return _resultobj;
3695 }
3696
3697 #define wxTreeCtrl_InsertItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->InsertItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3698 static PyObject *_wrap_wxTreeCtrl_InsertItem(PyObject *self, PyObject *args) {
3699 PyObject * _resultobj;
3700 wxTreeItemId * _result;
3701 wxTreeCtrl * _arg0;
3702 wxTreeItemId * _arg1;
3703 wxTreeItemId * _arg2;
3704 wxString * _arg3;
3705 int _arg4 = -1;
3706 int _arg5 = -1;
3707 wxTreeItemData * _arg6 = NULL;
3708 char * _argc0 = 0;
3709 char * _argc1 = 0;
3710 char * _argc2 = 0;
3711 PyObject * _obj3 = 0;
3712 char * _argc6 = 0;
3713 char _ptemp[128];
3714
3715 self = self;
3716 if(!PyArg_ParseTuple(args,"sssO|iis:wxTreeCtrl_InsertItem",&_argc0,&_argc1,&_argc2,&_obj3,&_arg4,&_arg5,&_argc6))
3717 return NULL;
3718 if (_argc0) {
3719 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3720 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_InsertItem. Expected _wxTreeCtrl_p.");
3721 return NULL;
3722 }
3723 }
3724 if (_argc1) {
3725 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3726 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
3727 return NULL;
3728 }
3729 }
3730 if (_argc2) {
3731 if (SWIG_GetPtr(_argc2,(void **) &_arg2,"_wxTreeItemId_p")) {
3732 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxTreeCtrl_InsertItem. Expected _wxTreeItemId_p.");
3733 return NULL;
3734 }
3735 }
3736 {
3737 if (!PyString_Check(_obj3)) {
3738 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3739 return NULL;
3740 }
3741 _arg3 = new wxString(PyString_AsString(_obj3));
3742 }
3743 if (_argc6) {
3744 if (SWIG_GetPtr(_argc6,(void **) &_arg6,"_wxTreeItemData_p")) {
3745 PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxTreeCtrl_InsertItem. Expected _wxTreeItemData_p.");
3746 return NULL;
3747 }
3748 }
3749 _result = new wxTreeItemId (wxTreeCtrl_InsertItem(_arg0,*_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6));
3750 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3751 _resultobj = Py_BuildValue("s",_ptemp);
3752 {
3753 if (_obj3)
3754 delete _arg3;
3755 }
3756 return _resultobj;
3757 }
3758
3759 #define wxTreeCtrl_AppendItem(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->AppendItem(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3760 static PyObject *_wrap_wxTreeCtrl_AppendItem(PyObject *self, PyObject *args) {
3761 PyObject * _resultobj;
3762 wxTreeItemId * _result;
3763 wxTreeCtrl * _arg0;
3764 wxTreeItemId * _arg1;
3765 wxString * _arg2;
3766 int _arg3 = -1;
3767 int _arg4 = -1;
3768 wxTreeItemData * _arg5 = NULL;
3769 char * _argc0 = 0;
3770 char * _argc1 = 0;
3771 PyObject * _obj2 = 0;
3772 char * _argc5 = 0;
3773 char _ptemp[128];
3774
3775 self = self;
3776 if(!PyArg_ParseTuple(args,"ssO|iis:wxTreeCtrl_AppendItem",&_argc0,&_argc1,&_obj2,&_arg3,&_arg4,&_argc5))
3777 return NULL;
3778 if (_argc0) {
3779 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3780 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_AppendItem. Expected _wxTreeCtrl_p.");
3781 return NULL;
3782 }
3783 }
3784 if (_argc1) {
3785 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3786 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_AppendItem. Expected _wxTreeItemId_p.");
3787 return NULL;
3788 }
3789 }
3790 {
3791 if (!PyString_Check(_obj2)) {
3792 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3793 return NULL;
3794 }
3795 _arg2 = new wxString(PyString_AsString(_obj2));
3796 }
3797 if (_argc5) {
3798 if (SWIG_GetPtr(_argc5,(void **) &_arg5,"_wxTreeItemData_p")) {
3799 PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxTreeCtrl_AppendItem. Expected _wxTreeItemData_p.");
3800 return NULL;
3801 }
3802 }
3803 _result = new wxTreeItemId (wxTreeCtrl_AppendItem(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5));
3804 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
3805 _resultobj = Py_BuildValue("s",_ptemp);
3806 {
3807 if (_obj2)
3808 delete _arg2;
3809 }
3810 return _resultobj;
3811 }
3812
3813 #define wxTreeCtrl_Delete(_swigobj,_swigarg0) (_swigobj->Delete(_swigarg0))
3814 static PyObject *_wrap_wxTreeCtrl_Delete(PyObject *self, PyObject *args) {
3815 PyObject * _resultobj;
3816 wxTreeCtrl * _arg0;
3817 wxTreeItemId * _arg1;
3818 char * _argc0 = 0;
3819 char * _argc1 = 0;
3820
3821 self = self;
3822 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Delete",&_argc0,&_argc1))
3823 return NULL;
3824 if (_argc0) {
3825 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3826 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Delete. Expected _wxTreeCtrl_p.");
3827 return NULL;
3828 }
3829 }
3830 if (_argc1) {
3831 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3832 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Delete. Expected _wxTreeItemId_p.");
3833 return NULL;
3834 }
3835 }
3836 wxTreeCtrl_Delete(_arg0,*_arg1);
3837 Py_INCREF(Py_None);
3838 _resultobj = Py_None;
3839 return _resultobj;
3840 }
3841
3842 #define wxTreeCtrl_DeleteChildren(_swigobj,_swigarg0) (_swigobj->DeleteChildren(_swigarg0))
3843 static PyObject *_wrap_wxTreeCtrl_DeleteChildren(PyObject *self, PyObject *args) {
3844 PyObject * _resultobj;
3845 wxTreeCtrl * _arg0;
3846 wxTreeItemId * _arg1;
3847 char * _argc0 = 0;
3848 char * _argc1 = 0;
3849
3850 self = self;
3851 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_DeleteChildren",&_argc0,&_argc1))
3852 return NULL;
3853 if (_argc0) {
3854 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3855 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteChildren. Expected _wxTreeCtrl_p.");
3856 return NULL;
3857 }
3858 }
3859 if (_argc1) {
3860 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3861 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_DeleteChildren. Expected _wxTreeItemId_p.");
3862 return NULL;
3863 }
3864 }
3865 wxTreeCtrl_DeleteChildren(_arg0,*_arg1);
3866 Py_INCREF(Py_None);
3867 _resultobj = Py_None;
3868 return _resultobj;
3869 }
3870
3871 #define wxTreeCtrl_DeleteAllItems(_swigobj) (_swigobj->DeleteAllItems())
3872 static PyObject *_wrap_wxTreeCtrl_DeleteAllItems(PyObject *self, PyObject *args) {
3873 PyObject * _resultobj;
3874 wxTreeCtrl * _arg0;
3875 char * _argc0 = 0;
3876
3877 self = self;
3878 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_DeleteAllItems",&_argc0))
3879 return NULL;
3880 if (_argc0) {
3881 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_DeleteAllItems. Expected _wxTreeCtrl_p.");
3883 return NULL;
3884 }
3885 }
3886 wxTreeCtrl_DeleteAllItems(_arg0);
3887 Py_INCREF(Py_None);
3888 _resultobj = Py_None;
3889 return _resultobj;
3890 }
3891
3892 #define wxTreeCtrl_Expand(_swigobj,_swigarg0) (_swigobj->Expand(_swigarg0))
3893 static PyObject *_wrap_wxTreeCtrl_Expand(PyObject *self, PyObject *args) {
3894 PyObject * _resultobj;
3895 wxTreeCtrl * _arg0;
3896 wxTreeItemId * _arg1;
3897 char * _argc0 = 0;
3898 char * _argc1 = 0;
3899
3900 self = self;
3901 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Expand",&_argc0,&_argc1))
3902 return NULL;
3903 if (_argc0) {
3904 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Expand. Expected _wxTreeCtrl_p.");
3906 return NULL;
3907 }
3908 }
3909 if (_argc1) {
3910 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3911 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Expand. Expected _wxTreeItemId_p.");
3912 return NULL;
3913 }
3914 }
3915 wxTreeCtrl_Expand(_arg0,*_arg1);
3916 Py_INCREF(Py_None);
3917 _resultobj = Py_None;
3918 return _resultobj;
3919 }
3920
3921 #define wxTreeCtrl_Collapse(_swigobj,_swigarg0) (_swigobj->Collapse(_swigarg0))
3922 static PyObject *_wrap_wxTreeCtrl_Collapse(PyObject *self, PyObject *args) {
3923 PyObject * _resultobj;
3924 wxTreeCtrl * _arg0;
3925 wxTreeItemId * _arg1;
3926 char * _argc0 = 0;
3927 char * _argc1 = 0;
3928
3929 self = self;
3930 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Collapse",&_argc0,&_argc1))
3931 return NULL;
3932 if (_argc0) {
3933 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3934 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Collapse. Expected _wxTreeCtrl_p.");
3935 return NULL;
3936 }
3937 }
3938 if (_argc1) {
3939 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3940 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Collapse. Expected _wxTreeItemId_p.");
3941 return NULL;
3942 }
3943 }
3944 wxTreeCtrl_Collapse(_arg0,*_arg1);
3945 Py_INCREF(Py_None);
3946 _resultobj = Py_None;
3947 return _resultobj;
3948 }
3949
3950 #define wxTreeCtrl_CollapseAndReset(_swigobj,_swigarg0) (_swigobj->CollapseAndReset(_swigarg0))
3951 static PyObject *_wrap_wxTreeCtrl_CollapseAndReset(PyObject *self, PyObject *args) {
3952 PyObject * _resultobj;
3953 wxTreeCtrl * _arg0;
3954 wxTreeItemId * _arg1;
3955 char * _argc0 = 0;
3956 char * _argc1 = 0;
3957
3958 self = self;
3959 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_CollapseAndReset",&_argc0,&_argc1))
3960 return NULL;
3961 if (_argc0) {
3962 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeCtrl_p.");
3964 return NULL;
3965 }
3966 }
3967 if (_argc1) {
3968 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3969 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_CollapseAndReset. Expected _wxTreeItemId_p.");
3970 return NULL;
3971 }
3972 }
3973 wxTreeCtrl_CollapseAndReset(_arg0,*_arg1);
3974 Py_INCREF(Py_None);
3975 _resultobj = Py_None;
3976 return _resultobj;
3977 }
3978
3979 #define wxTreeCtrl_Toggle(_swigobj,_swigarg0) (_swigobj->Toggle(_swigarg0))
3980 static PyObject *_wrap_wxTreeCtrl_Toggle(PyObject *self, PyObject *args) {
3981 PyObject * _resultobj;
3982 wxTreeCtrl * _arg0;
3983 wxTreeItemId * _arg1;
3984 char * _argc0 = 0;
3985 char * _argc1 = 0;
3986
3987 self = self;
3988 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_Toggle",&_argc0,&_argc1))
3989 return NULL;
3990 if (_argc0) {
3991 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
3992 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Toggle. Expected _wxTreeCtrl_p.");
3993 return NULL;
3994 }
3995 }
3996 if (_argc1) {
3997 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
3998 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_Toggle. Expected _wxTreeItemId_p.");
3999 return NULL;
4000 }
4001 }
4002 wxTreeCtrl_Toggle(_arg0,*_arg1);
4003 Py_INCREF(Py_None);
4004 _resultobj = Py_None;
4005 return _resultobj;
4006 }
4007
4008 #define wxTreeCtrl_Unselect(_swigobj) (_swigobj->Unselect())
4009 static PyObject *_wrap_wxTreeCtrl_Unselect(PyObject *self, PyObject *args) {
4010 PyObject * _resultobj;
4011 wxTreeCtrl * _arg0;
4012 char * _argc0 = 0;
4013
4014 self = self;
4015 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_Unselect",&_argc0))
4016 return NULL;
4017 if (_argc0) {
4018 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4019 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_Unselect. Expected _wxTreeCtrl_p.");
4020 return NULL;
4021 }
4022 }
4023 wxTreeCtrl_Unselect(_arg0);
4024 Py_INCREF(Py_None);
4025 _resultobj = Py_None;
4026 return _resultobj;
4027 }
4028
4029 #define wxTreeCtrl_SelectItem(_swigobj,_swigarg0) (_swigobj->SelectItem(_swigarg0))
4030 static PyObject *_wrap_wxTreeCtrl_SelectItem(PyObject *self, PyObject *args) {
4031 PyObject * _resultobj;
4032 wxTreeCtrl * _arg0;
4033 wxTreeItemId * _arg1;
4034 char * _argc0 = 0;
4035 char * _argc1 = 0;
4036
4037 self = self;
4038 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_SelectItem",&_argc0,&_argc1))
4039 return NULL;
4040 if (_argc0) {
4041 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4042 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SelectItem. Expected _wxTreeCtrl_p.");
4043 return NULL;
4044 }
4045 }
4046 if (_argc1) {
4047 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4048 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SelectItem. Expected _wxTreeItemId_p.");
4049 return NULL;
4050 }
4051 }
4052 wxTreeCtrl_SelectItem(_arg0,*_arg1);
4053 Py_INCREF(Py_None);
4054 _resultobj = Py_None;
4055 return _resultobj;
4056 }
4057
4058 #define wxTreeCtrl_EnsureVisible(_swigobj,_swigarg0) (_swigobj->EnsureVisible(_swigarg0))
4059 static PyObject *_wrap_wxTreeCtrl_EnsureVisible(PyObject *self, PyObject *args) {
4060 PyObject * _resultobj;
4061 wxTreeCtrl * _arg0;
4062 wxTreeItemId * _arg1;
4063 char * _argc0 = 0;
4064 char * _argc1 = 0;
4065
4066 self = self;
4067 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_EnsureVisible",&_argc0,&_argc1))
4068 return NULL;
4069 if (_argc0) {
4070 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4071 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EnsureVisible. Expected _wxTreeCtrl_p.");
4072 return NULL;
4073 }
4074 }
4075 if (_argc1) {
4076 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4077 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EnsureVisible. Expected _wxTreeItemId_p.");
4078 return NULL;
4079 }
4080 }
4081 wxTreeCtrl_EnsureVisible(_arg0,*_arg1);
4082 Py_INCREF(Py_None);
4083 _resultobj = Py_None;
4084 return _resultobj;
4085 }
4086
4087 #define wxTreeCtrl_ScrollTo(_swigobj,_swigarg0) (_swigobj->ScrollTo(_swigarg0))
4088 static PyObject *_wrap_wxTreeCtrl_ScrollTo(PyObject *self, PyObject *args) {
4089 PyObject * _resultobj;
4090 wxTreeCtrl * _arg0;
4091 wxTreeItemId * _arg1;
4092 char * _argc0 = 0;
4093 char * _argc1 = 0;
4094
4095 self = self;
4096 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_ScrollTo",&_argc0,&_argc1))
4097 return NULL;
4098 if (_argc0) {
4099 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4100 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_ScrollTo. Expected _wxTreeCtrl_p.");
4101 return NULL;
4102 }
4103 }
4104 if (_argc1) {
4105 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4106 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_ScrollTo. Expected _wxTreeItemId_p.");
4107 return NULL;
4108 }
4109 }
4110 wxTreeCtrl_ScrollTo(_arg0,*_arg1);
4111 Py_INCREF(Py_None);
4112 _resultobj = Py_None;
4113 return _resultobj;
4114 }
4115
4116 #define wxTreeCtrl_EditLabel(_swigobj,_swigarg0) (_swigobj->EditLabel(_swigarg0))
4117 static PyObject *_wrap_wxTreeCtrl_EditLabel(PyObject *self, PyObject *args) {
4118 PyObject * _resultobj;
4119 wxTextCtrl * _result;
4120 wxTreeCtrl * _arg0;
4121 wxTreeItemId * _arg1;
4122 char * _argc0 = 0;
4123 char * _argc1 = 0;
4124 char _ptemp[128];
4125
4126 self = self;
4127 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_EditLabel",&_argc0,&_argc1))
4128 return NULL;
4129 if (_argc0) {
4130 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4131 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EditLabel. Expected _wxTreeCtrl_p.");
4132 return NULL;
4133 }
4134 }
4135 if (_argc1) {
4136 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4137 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EditLabel. Expected _wxTreeItemId_p.");
4138 return NULL;
4139 }
4140 }
4141 _result = (wxTextCtrl *)wxTreeCtrl_EditLabel(_arg0,*_arg1);
4142 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
4143 _resultobj = Py_BuildValue("s",_ptemp);
4144 return _resultobj;
4145 }
4146
4147 #define wxTreeCtrl_GetEditControl(_swigobj) (_swigobj->GetEditControl())
4148 static PyObject *_wrap_wxTreeCtrl_GetEditControl(PyObject *self, PyObject *args) {
4149 PyObject * _resultobj;
4150 wxTextCtrl * _result;
4151 wxTreeCtrl * _arg0;
4152 char * _argc0 = 0;
4153 char _ptemp[128];
4154
4155 self = self;
4156 if(!PyArg_ParseTuple(args,"s:wxTreeCtrl_GetEditControl",&_argc0))
4157 return NULL;
4158 if (_argc0) {
4159 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4160 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_GetEditControl. Expected _wxTreeCtrl_p.");
4161 return NULL;
4162 }
4163 }
4164 _result = (wxTextCtrl *)wxTreeCtrl_GetEditControl(_arg0);
4165 SWIG_MakePtr(_ptemp, (char *) _result,"_wxTextCtrl_p");
4166 _resultobj = Py_BuildValue("s",_ptemp);
4167 return _resultobj;
4168 }
4169
4170 #define wxTreeCtrl_EndEditLabel(_swigobj,_swigarg0,_swigarg1) (_swigobj->EndEditLabel(_swigarg0,_swigarg1))
4171 static PyObject *_wrap_wxTreeCtrl_EndEditLabel(PyObject *self, PyObject *args) {
4172 PyObject * _resultobj;
4173 wxTreeCtrl * _arg0;
4174 wxTreeItemId * _arg1;
4175 bool _arg2 = (0);
4176 char * _argc0 = 0;
4177 char * _argc1 = 0;
4178 int tempbool2;
4179
4180 self = self;
4181 if(!PyArg_ParseTuple(args,"ss|i:wxTreeCtrl_EndEditLabel",&_argc0,&_argc1,&tempbool2))
4182 return NULL;
4183 if (_argc0) {
4184 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_EndEditLabel. Expected _wxTreeCtrl_p.");
4186 return NULL;
4187 }
4188 }
4189 if (_argc1) {
4190 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4191 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_EndEditLabel. Expected _wxTreeItemId_p.");
4192 return NULL;
4193 }
4194 }
4195 _arg2 = (bool ) tempbool2;
4196 wxTreeCtrl_EndEditLabel(_arg0,*_arg1,_arg2);
4197 Py_INCREF(Py_None);
4198 _resultobj = Py_None;
4199 return _resultobj;
4200 }
4201
4202 #define wxTreeCtrl_SetItemBold(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetItemBold(_swigarg0,_swigarg1))
4203 static PyObject *_wrap_wxTreeCtrl_SetItemBold(PyObject *self, PyObject *args) {
4204 PyObject * _resultobj;
4205 wxTreeCtrl * _arg0;
4206 wxTreeItemId * _arg1;
4207 bool _arg2 = (1);
4208 char * _argc0 = 0;
4209 char * _argc1 = 0;
4210 int tempbool2;
4211
4212 self = self;
4213 if(!PyArg_ParseTuple(args,"ss|i:wxTreeCtrl_SetItemBold",&_argc0,&_argc1,&tempbool2))
4214 return NULL;
4215 if (_argc0) {
4216 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_SetItemBold. Expected _wxTreeCtrl_p.");
4218 return NULL;
4219 }
4220 }
4221 if (_argc1) {
4222 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4223 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_SetItemBold. Expected _wxTreeItemId_p.");
4224 return NULL;
4225 }
4226 }
4227 _arg2 = (bool ) tempbool2;
4228 wxTreeCtrl_SetItemBold(_arg0,*_arg1,_arg2);
4229 Py_INCREF(Py_None);
4230 _resultobj = Py_None;
4231 return _resultobj;
4232 }
4233
4234 #define wxTreeCtrl_IsBold(_swigobj,_swigarg0) (_swigobj->IsBold(_swigarg0))
4235 static PyObject *_wrap_wxTreeCtrl_IsBold(PyObject *self, PyObject *args) {
4236 PyObject * _resultobj;
4237 bool _result;
4238 wxTreeCtrl * _arg0;
4239 wxTreeItemId * _arg1;
4240 char * _argc0 = 0;
4241 char * _argc1 = 0;
4242
4243 self = self;
4244 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_IsBold",&_argc0,&_argc1))
4245 return NULL;
4246 if (_argc0) {
4247 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4248 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_IsBold. Expected _wxTreeCtrl_p.");
4249 return NULL;
4250 }
4251 }
4252 if (_argc1) {
4253 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxTreeItemId_p")) {
4254 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_IsBold. Expected _wxTreeItemId_p.");
4255 return NULL;
4256 }
4257 }
4258 _result = (bool )wxTreeCtrl_IsBold(_arg0,*_arg1);
4259 _resultobj = Py_BuildValue("i",_result);
4260 return _resultobj;
4261 }
4262
4263 #define wxTreeCtrl_HitTest(_swigobj,_swigarg0) (_swigobj->HitTest(_swigarg0))
4264 static PyObject *_wrap_wxTreeCtrl_HitTest(PyObject *self, PyObject *args) {
4265 PyObject * _resultobj;
4266 wxTreeItemId * _result;
4267 wxTreeCtrl * _arg0;
4268 wxPoint * _arg1;
4269 char * _argc0 = 0;
4270 char * _argc1 = 0;
4271 char _ptemp[128];
4272
4273 self = self;
4274 if(!PyArg_ParseTuple(args,"ss:wxTreeCtrl_HitTest",&_argc0,&_argc1))
4275 return NULL;
4276 if (_argc0) {
4277 if (SWIG_GetPtr(_argc0,(void **) &_arg0,"_wxTreeCtrl_p")) {
4278 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxTreeCtrl_HitTest. Expected _wxTreeCtrl_p.");
4279 return NULL;
4280 }
4281 }
4282 if (_argc1) {
4283 if (SWIG_GetPtr(_argc1,(void **) &_arg1,"_wxPoint_p")) {
4284 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxTreeCtrl_HitTest. Expected _wxPoint_p.");
4285 return NULL;
4286 }
4287 }
4288 _result = new wxTreeItemId (wxTreeCtrl_HitTest(_arg0,*_arg1));
4289 SWIG_MakePtr(_ptemp, (void *) _result,"_wxTreeItemId_p");
4290 _resultobj = Py_BuildValue("s",_ptemp);
4291 return _resultobj;
4292 }
4293
4294 static PyMethodDef controls2cMethods[] = {
4295 { "wxTreeCtrl_HitTest", _wrap_wxTreeCtrl_HitTest, 1 },
4296 { "wxTreeCtrl_IsBold", _wrap_wxTreeCtrl_IsBold, 1 },
4297 { "wxTreeCtrl_SetItemBold", _wrap_wxTreeCtrl_SetItemBold, 1 },
4298 { "wxTreeCtrl_EndEditLabel", _wrap_wxTreeCtrl_EndEditLabel, 1 },
4299 { "wxTreeCtrl_GetEditControl", _wrap_wxTreeCtrl_GetEditControl, 1 },
4300 { "wxTreeCtrl_EditLabel", _wrap_wxTreeCtrl_EditLabel, 1 },
4301 { "wxTreeCtrl_ScrollTo", _wrap_wxTreeCtrl_ScrollTo, 1 },
4302 { "wxTreeCtrl_EnsureVisible", _wrap_wxTreeCtrl_EnsureVisible, 1 },
4303 { "wxTreeCtrl_SelectItem", _wrap_wxTreeCtrl_SelectItem, 1 },
4304 { "wxTreeCtrl_Unselect", _wrap_wxTreeCtrl_Unselect, 1 },
4305 { "wxTreeCtrl_Toggle", _wrap_wxTreeCtrl_Toggle, 1 },
4306 { "wxTreeCtrl_CollapseAndReset", _wrap_wxTreeCtrl_CollapseAndReset, 1 },
4307 { "wxTreeCtrl_Collapse", _wrap_wxTreeCtrl_Collapse, 1 },
4308 { "wxTreeCtrl_Expand", _wrap_wxTreeCtrl_Expand, 1 },
4309 { "wxTreeCtrl_DeleteAllItems", _wrap_wxTreeCtrl_DeleteAllItems, 1 },
4310 { "wxTreeCtrl_DeleteChildren", _wrap_wxTreeCtrl_DeleteChildren, 1 },
4311 { "wxTreeCtrl_Delete", _wrap_wxTreeCtrl_Delete, 1 },
4312 { "wxTreeCtrl_AppendItem", _wrap_wxTreeCtrl_AppendItem, 1 },
4313 { "wxTreeCtrl_InsertItem", _wrap_wxTreeCtrl_InsertItem, 1 },
4314 { "wxTreeCtrl_PrependItem", _wrap_wxTreeCtrl_PrependItem, 1 },
4315 { "wxTreeCtrl_AddRoot", _wrap_wxTreeCtrl_AddRoot, 1 },
4316 { "wxTreeCtrl_GetPrevVisible", _wrap_wxTreeCtrl_GetPrevVisible, 1 },
4317 { "wxTreeCtrl_GetNextVisible", _wrap_wxTreeCtrl_GetNextVisible, 1 },
4318 { "wxTreeCtrl_GetFirstVisibleItem", _wrap_wxTreeCtrl_GetFirstVisibleItem, 1 },
4319 { "wxTreeCtrl_GetPrevSibling", _wrap_wxTreeCtrl_GetPrevSibling, 1 },
4320 { "wxTreeCtrl_GetNextSibling", _wrap_wxTreeCtrl_GetNextSibling, 1 },
4321 { "wxTreeCtrl_GetNextChild", _wrap_wxTreeCtrl_GetNextChild, 1 },
4322 { "wxTreeCtrl_GetFirstChild", _wrap_wxTreeCtrl_GetFirstChild, 1 },
4323 { "wxTreeCtrl_GetParent", _wrap_wxTreeCtrl_GetParent, 1 },
4324 { "wxTreeCtrl_GetSelection", _wrap_wxTreeCtrl_GetSelection, 1 },
4325 { "wxTreeCtrl_GetRootItem", _wrap_wxTreeCtrl_GetRootItem, 1 },
4326 { "wxTreeCtrl_IsSelected", _wrap_wxTreeCtrl_IsSelected, 1 },
4327 { "wxTreeCtrl_IsExpanded", _wrap_wxTreeCtrl_IsExpanded, 1 },
4328 { "wxTreeCtrl_ItemHasChildren", _wrap_wxTreeCtrl_ItemHasChildren, 1 },
4329 { "wxTreeCtrl_IsVisible", _wrap_wxTreeCtrl_IsVisible, 1 },
4330 { "wxTreeCtrl_SetItemHasChildren", _wrap_wxTreeCtrl_SetItemHasChildren, 1 },
4331 { "wxTreeCtrl_SetItemData", _wrap_wxTreeCtrl_SetItemData, 1 },
4332 { "wxTreeCtrl_SetItemSelectedImage", _wrap_wxTreeCtrl_SetItemSelectedImage, 1 },
4333 { "wxTreeCtrl_SetItemImage", _wrap_wxTreeCtrl_SetItemImage, 1 },
4334 { "wxTreeCtrl_SetItemText", _wrap_wxTreeCtrl_SetItemText, 1 },
4335 { "wxTreeCtrl_GetItemData", _wrap_wxTreeCtrl_GetItemData, 1 },
4336 { "wxTreeCtrl_GetItemSelectedImage", _wrap_wxTreeCtrl_GetItemSelectedImage, 1 },
4337 { "wxTreeCtrl_GetItemImage", _wrap_wxTreeCtrl_GetItemImage, 1 },
4338 { "wxTreeCtrl_GetItemText", _wrap_wxTreeCtrl_GetItemText, 1 },
4339 { "wxTreeCtrl_SetStateImageList", _wrap_wxTreeCtrl_SetStateImageList, 1 },
4340 { "wxTreeCtrl_SetImageList", _wrap_wxTreeCtrl_SetImageList, 1 },
4341 { "wxTreeCtrl_GetStateImageList", _wrap_wxTreeCtrl_GetStateImageList, 1 },
4342 { "wxTreeCtrl_GetImageList", _wrap_wxTreeCtrl_GetImageList, 1 },
4343 { "wxTreeCtrl_SetIndent", _wrap_wxTreeCtrl_SetIndent, 1 },
4344 { "wxTreeCtrl_GetIndent", _wrap_wxTreeCtrl_GetIndent, 1 },
4345 { "wxTreeCtrl_GetCount", _wrap_wxTreeCtrl_GetCount, 1 },
4346 { "new_wxTreeCtrl", _wrap_new_wxTreeCtrl, 1 },
4347 { "wxTreeEvent_Veto", _wrap_wxTreeEvent_Veto, 1 },
4348 { "wxTreeEvent_GetCode", _wrap_wxTreeEvent_GetCode, 1 },
4349 { "wxTreeEvent_GetPoint", _wrap_wxTreeEvent_GetPoint, 1 },
4350 { "wxTreeEvent_GetOldItem", _wrap_wxTreeEvent_GetOldItem, 1 },
4351 { "wxTreeEvent_GetItem", _wrap_wxTreeEvent_GetItem, 1 },
4352 { "wxTreeItemData_SetId", _wrap_wxTreeItemData_SetId, 1 },
4353 { "wxTreeItemData_GetId", _wrap_wxTreeItemData_GetId, 1 },
4354 { "delete_wxTreeItemData", _wrap_delete_wxTreeItemData, 1 },
4355 { "new_wxTreeItemData", _wrap_new_wxTreeItemData, 1 },
4356 { "wxTreeItemId_IsOk", _wrap_wxTreeItemId_IsOk, 1 },
4357 { "delete_wxTreeItemId", _wrap_delete_wxTreeItemId, 1 },
4358 { "new_wxTreeItemId", _wrap_new_wxTreeItemId, 1 },
4359 { "wxListCtrl_SetWindowStyleFlag", _wrap_wxListCtrl_SetWindowStyleFlag, 1 },
4360 { "wxListCtrl_SetSingleStyle", _wrap_wxListCtrl_SetSingleStyle, 1 },
4361 { "wxListCtrl_SetItemText", _wrap_wxListCtrl_SetItemText, 1 },
4362 { "wxListCtrl_SetItemState", _wrap_wxListCtrl_SetItemState, 1 },
4363 { "wxListCtrl_SetItemPosition", _wrap_wxListCtrl_SetItemPosition, 1 },
4364 { "wxListCtrl_SetItemImage", _wrap_wxListCtrl_SetItemImage, 1 },
4365 { "wxListCtrl_SetItemData", _wrap_wxListCtrl_SetItemData, 1 },
4366 { "wxListCtrl_SetStringItem", _wrap_wxListCtrl_SetStringItem, 1 },
4367 { "wxListCtrl_SetItem", _wrap_wxListCtrl_SetItem, 1 },
4368 { "wxListCtrl_SetImageList", _wrap_wxListCtrl_SetImageList, 1 },
4369 { "wxListCtrl_SetColumnWidth", _wrap_wxListCtrl_SetColumnWidth, 1 },
4370 { "wxListCtrl_SetColumn", _wrap_wxListCtrl_SetColumn, 1 },
4371 { "wxListCtrl_SetBackgroundColour", _wrap_wxListCtrl_SetBackgroundColour, 1 },
4372 { "wxListCtrl_ScrollList", _wrap_wxListCtrl_ScrollList, 1 },
4373 { "wxListCtrl_InsertImageStringItem", _wrap_wxListCtrl_InsertImageStringItem, 1 },
4374 { "wxListCtrl_InsertImageItem", _wrap_wxListCtrl_InsertImageItem, 1 },
4375 { "wxListCtrl_InsertStringItem", _wrap_wxListCtrl_InsertStringItem, 1 },
4376 { "wxListCtrl_InsertItem", _wrap_wxListCtrl_InsertItem, 1 },
4377 { "wxListCtrl_InsertColumn", _wrap_wxListCtrl_InsertColumn, 1 },
4378 { "wxListCtrl_InsertColumnWithInfo", _wrap_wxListCtrl_InsertColumnWithInfo, 1 },
4379 { "wxListCtrl_HitTest", _wrap_wxListCtrl_HitTest, 1 },
4380 { "wxListCtrl_GetTopItem", _wrap_wxListCtrl_GetTopItem, 1 },
4381 { "wxListCtrl_SetTextColour", _wrap_wxListCtrl_SetTextColour, 1 },
4382 { "wxListCtrl_GetTextColour", _wrap_wxListCtrl_GetTextColour, 1 },
4383 { "wxListCtrl_GetSelectedItemCount", _wrap_wxListCtrl_GetSelectedItemCount, 1 },
4384 { "wxListCtrl_GetNextItem", _wrap_wxListCtrl_GetNextItem, 1 },
4385 { "wxListCtrl_GetItemText", _wrap_wxListCtrl_GetItemText, 1 },
4386 { "wxListCtrl_GetItemSpacing", _wrap_wxListCtrl_GetItemSpacing, 1 },
4387 { "wxListCtrl_GetItemCount", _wrap_wxListCtrl_GetItemCount, 1 },
4388 { "wxListCtrl_GetItemState", _wrap_wxListCtrl_GetItemState, 1 },
4389 { "wxListCtrl_GetItemRect", _wrap_wxListCtrl_GetItemRect, 1 },
4390 { "wxListCtrl_GetItemPosition", _wrap_wxListCtrl_GetItemPosition, 1 },
4391 { "wxListCtrl_GetItem", _wrap_wxListCtrl_GetItem, 1 },
4392 { "wxListCtrl_GetItemData", _wrap_wxListCtrl_GetItemData, 1 },
4393 { "wxListCtrl_GetImageList", _wrap_wxListCtrl_GetImageList, 1 },
4394 { "wxListCtrl_GetCountPerPage", _wrap_wxListCtrl_GetCountPerPage, 1 },
4395 { "wxListCtrl_GetColumnWidth", _wrap_wxListCtrl_GetColumnWidth, 1 },
4396 { "wxListCtrl_GetColumn", _wrap_wxListCtrl_GetColumn, 1 },
4397 { "wxListCtrl_FindItemAtPos", _wrap_wxListCtrl_FindItemAtPos, 1 },
4398 { "wxListCtrl_FindItemData", _wrap_wxListCtrl_FindItemData, 1 },
4399 { "wxListCtrl_FindItem", _wrap_wxListCtrl_FindItem, 1 },
4400 { "wxListCtrl_EnsureVisible", _wrap_wxListCtrl_EnsureVisible, 1 },
4401 { "wxListCtrl_GetEditControl", _wrap_wxListCtrl_GetEditControl, 1 },
4402 { "wxListCtrl_EndEditLabel", _wrap_wxListCtrl_EndEditLabel, 1 },
4403 { "wxListCtrl_EditLabel", _wrap_wxListCtrl_EditLabel, 1 },
4404 { "wxListCtrl_ClearAll", _wrap_wxListCtrl_ClearAll, 1 },
4405 { "wxListCtrl_DeleteAllColumns", _wrap_wxListCtrl_DeleteAllColumns, 1 },
4406 { "wxListCtrl_DeleteColumn", _wrap_wxListCtrl_DeleteColumn, 1 },
4407 { "wxListCtrl_DeleteAllItems", _wrap_wxListCtrl_DeleteAllItems, 1 },
4408 { "wxListCtrl_DeleteItem", _wrap_wxListCtrl_DeleteItem, 1 },
4409 { "wxListCtrl_Arrange", _wrap_wxListCtrl_Arrange, 1 },
4410 { "new_wxListCtrl", _wrap_new_wxListCtrl, 1 },
4411 { "wxListEvent_m_item_get", _wrap_wxListEvent_m_item_get, 1 },
4412 { "wxListEvent_m_item_set", _wrap_wxListEvent_m_item_set, 1 },
4413 { "wxListEvent_m_pointDrag_get", _wrap_wxListEvent_m_pointDrag_get, 1 },
4414 { "wxListEvent_m_pointDrag_set", _wrap_wxListEvent_m_pointDrag_set, 1 },
4415 { "wxListEvent_m_cancelled_get", _wrap_wxListEvent_m_cancelled_get, 1 },
4416 { "wxListEvent_m_cancelled_set", _wrap_wxListEvent_m_cancelled_set, 1 },
4417 { "wxListEvent_m_col_get", _wrap_wxListEvent_m_col_get, 1 },
4418 { "wxListEvent_m_col_set", _wrap_wxListEvent_m_col_set, 1 },
4419 { "wxListEvent_m_oldItemIndex_get", _wrap_wxListEvent_m_oldItemIndex_get, 1 },
4420 { "wxListEvent_m_oldItemIndex_set", _wrap_wxListEvent_m_oldItemIndex_set, 1 },
4421 { "wxListEvent_m_itemIndex_get", _wrap_wxListEvent_m_itemIndex_get, 1 },
4422 { "wxListEvent_m_itemIndex_set", _wrap_wxListEvent_m_itemIndex_set, 1 },
4423 { "wxListEvent_m_code_get", _wrap_wxListEvent_m_code_get, 1 },
4424 { "wxListEvent_m_code_set", _wrap_wxListEvent_m_code_set, 1 },
4425 { "delete_wxListItem", _wrap_delete_wxListItem, 1 },
4426 { "new_wxListItem", _wrap_new_wxListItem, 1 },
4427 { "wxListItem_m_width_get", _wrap_wxListItem_m_width_get, 1 },
4428 { "wxListItem_m_width_set", _wrap_wxListItem_m_width_set, 1 },
4429 { "wxListItem_m_format_get", _wrap_wxListItem_m_format_get, 1 },
4430 { "wxListItem_m_format_set", _wrap_wxListItem_m_format_set, 1 },
4431 { "wxListItem_m_data_get", _wrap_wxListItem_m_data_get, 1 },
4432 { "wxListItem_m_data_set", _wrap_wxListItem_m_data_set, 1 },
4433 { "wxListItem_m_image_get", _wrap_wxListItem_m_image_get, 1 },
4434 { "wxListItem_m_image_set", _wrap_wxListItem_m_image_set, 1 },
4435 { "wxListItem_m_text_get", _wrap_wxListItem_m_text_get, 1 },
4436 { "wxListItem_m_text_set", _wrap_wxListItem_m_text_set, 1 },
4437 { "wxListItem_m_stateMask_get", _wrap_wxListItem_m_stateMask_get, 1 },
4438 { "wxListItem_m_stateMask_set", _wrap_wxListItem_m_stateMask_set, 1 },
4439 { "wxListItem_m_state_get", _wrap_wxListItem_m_state_get, 1 },
4440 { "wxListItem_m_state_set", _wrap_wxListItem_m_state_set, 1 },
4441 { "wxListItem_m_col_get", _wrap_wxListItem_m_col_get, 1 },
4442 { "wxListItem_m_col_set", _wrap_wxListItem_m_col_set, 1 },
4443 { "wxListItem_m_itemId_get", _wrap_wxListItem_m_itemId_get, 1 },
4444 { "wxListItem_m_itemId_set", _wrap_wxListItem_m_itemId_set, 1 },
4445 { "wxListItem_m_mask_get", _wrap_wxListItem_m_mask_get, 1 },
4446 { "wxListItem_m_mask_set", _wrap_wxListItem_m_mask_set, 1 },
4447 { NULL, NULL }
4448 };
4449 static PyObject *SWIG_globals;
4450 #ifdef __cplusplus
4451 extern "C"
4452 #endif
4453 SWIGEXPORT(void,initcontrols2c)() {
4454 PyObject *m, *d;
4455 SWIG_globals = SWIG_newvarlink();
4456 m = Py_InitModule("controls2c", controls2cMethods);
4457 d = PyModule_GetDict(m);
4458 PyDict_SetItemString(d,"wxLIST_MASK_TEXT", PyInt_FromLong((long) wxLIST_MASK_TEXT));
4459 PyDict_SetItemString(d,"wxLIST_MASK_IMAGE", PyInt_FromLong((long) wxLIST_MASK_IMAGE));
4460 PyDict_SetItemString(d,"wxLIST_MASK_DATA", PyInt_FromLong((long) wxLIST_MASK_DATA));
4461 PyDict_SetItemString(d,"wxLIST_MASK_WIDTH", PyInt_FromLong((long) wxLIST_MASK_WIDTH));
4462 PyDict_SetItemString(d,"wxLIST_MASK_FORMAT", PyInt_FromLong((long) wxLIST_MASK_FORMAT));
4463 PyDict_SetItemString(d,"wxLIST_STATE_DONTCARE", PyInt_FromLong((long) wxLIST_STATE_DONTCARE));
4464 PyDict_SetItemString(d,"wxLIST_STATE_DROPHILITED", PyInt_FromLong((long) wxLIST_STATE_DROPHILITED));
4465 PyDict_SetItemString(d,"wxLIST_STATE_FOCUSED", PyInt_FromLong((long) wxLIST_STATE_FOCUSED));
4466 PyDict_SetItemString(d,"wxLIST_STATE_SELECTED", PyInt_FromLong((long) wxLIST_STATE_SELECTED));
4467 PyDict_SetItemString(d,"wxLIST_STATE_CUT", PyInt_FromLong((long) wxLIST_STATE_CUT));
4468 PyDict_SetItemString(d,"wxLIST_HITTEST_ABOVE", PyInt_FromLong((long) wxLIST_HITTEST_ABOVE));
4469 PyDict_SetItemString(d,"wxLIST_HITTEST_BELOW", PyInt_FromLong((long) wxLIST_HITTEST_BELOW));
4470 PyDict_SetItemString(d,"wxLIST_HITTEST_NOWHERE", PyInt_FromLong((long) wxLIST_HITTEST_NOWHERE));
4471 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMICON));
4472 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMLABEL", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMLABEL));
4473 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMRIGHT", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMRIGHT));
4474 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEMSTATEICON", PyInt_FromLong((long) wxLIST_HITTEST_ONITEMSTATEICON));
4475 PyDict_SetItemString(d,"wxLIST_HITTEST_TOLEFT", PyInt_FromLong((long) wxLIST_HITTEST_TOLEFT));
4476 PyDict_SetItemString(d,"wxLIST_HITTEST_TORIGHT", PyInt_FromLong((long) wxLIST_HITTEST_TORIGHT));
4477 PyDict_SetItemString(d,"wxLIST_HITTEST_ONITEM", PyInt_FromLong((long) wxLIST_HITTEST_ONITEM));
4478 PyDict_SetItemString(d,"wxLIST_NEXT_ABOVE", PyInt_FromLong((long) wxLIST_NEXT_ABOVE));
4479 PyDict_SetItemString(d,"wxLIST_NEXT_ALL", PyInt_FromLong((long) wxLIST_NEXT_ALL));
4480 PyDict_SetItemString(d,"wxLIST_NEXT_BELOW", PyInt_FromLong((long) wxLIST_NEXT_BELOW));
4481 PyDict_SetItemString(d,"wxLIST_NEXT_LEFT", PyInt_FromLong((long) wxLIST_NEXT_LEFT));
4482 PyDict_SetItemString(d,"wxLIST_NEXT_RIGHT", PyInt_FromLong((long) wxLIST_NEXT_RIGHT));
4483 PyDict_SetItemString(d,"wxLIST_ALIGN_DEFAULT", PyInt_FromLong((long) wxLIST_ALIGN_DEFAULT));
4484 PyDict_SetItemString(d,"wxLIST_ALIGN_LEFT", PyInt_FromLong((long) wxLIST_ALIGN_LEFT));
4485 PyDict_SetItemString(d,"wxLIST_ALIGN_TOP", PyInt_FromLong((long) wxLIST_ALIGN_TOP));
4486 PyDict_SetItemString(d,"wxLIST_ALIGN_SNAP_TO_GRID", PyInt_FromLong((long) wxLIST_ALIGN_SNAP_TO_GRID));
4487 PyDict_SetItemString(d,"wxLIST_FORMAT_LEFT", PyInt_FromLong((long) wxLIST_FORMAT_LEFT));
4488 PyDict_SetItemString(d,"wxLIST_FORMAT_RIGHT", PyInt_FromLong((long) wxLIST_FORMAT_RIGHT));
4489 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTRE", PyInt_FromLong((long) wxLIST_FORMAT_CENTRE));
4490 PyDict_SetItemString(d,"wxLIST_FORMAT_CENTER", PyInt_FromLong((long) wxLIST_FORMAT_CENTER));
4491 PyDict_SetItemString(d,"wxLIST_AUTOSIZE", PyInt_FromLong((long) wxLIST_AUTOSIZE));
4492 PyDict_SetItemString(d,"wxLIST_AUTOSIZE_USEHEADER", PyInt_FromLong((long) wxLIST_AUTOSIZE_USEHEADER));
4493 PyDict_SetItemString(d,"wxLIST_RECT_BOUNDS", PyInt_FromLong((long) wxLIST_RECT_BOUNDS));
4494 PyDict_SetItemString(d,"wxLIST_RECT_ICON", PyInt_FromLong((long) wxLIST_RECT_ICON));
4495 PyDict_SetItemString(d,"wxLIST_RECT_LABEL", PyInt_FromLong((long) wxLIST_RECT_LABEL));
4496 PyDict_SetItemString(d,"wxLIST_FIND_UP", PyInt_FromLong((long) wxLIST_FIND_UP));
4497 PyDict_SetItemString(d,"wxLIST_FIND_DOWN", PyInt_FromLong((long) wxLIST_FIND_DOWN));
4498 PyDict_SetItemString(d,"wxLIST_FIND_LEFT", PyInt_FromLong((long) wxLIST_FIND_LEFT));
4499 PyDict_SetItemString(d,"wxLIST_FIND_RIGHT", PyInt_FromLong((long) wxLIST_FIND_RIGHT));
4500 /*
4501 * These are the pointer type-equivalency mappings.
4502 * (Used by the SWIG pointer type-checker).
4503 */
4504 SWIG_RegisterMapping("_wxAcceleratorTable","_class_wxAcceleratorTable",0);
4505 SWIG_RegisterMapping("_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent);
4506 SWIG_RegisterMapping("_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent);
4507 SWIG_RegisterMapping("_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent);
4508 SWIG_RegisterMapping("_wxEvent","_wxListEvent",SwigwxListEventTowxEvent);
4509 SWIG_RegisterMapping("_wxEvent","_class_wxEvent",0);
4510 SWIG_RegisterMapping("_class_wxActivateEvent","_wxActivateEvent",0);
4511 SWIG_RegisterMapping("_signed_long","_long",0);
4512 SWIG_RegisterMapping("_wxMenuEvent","_class_wxMenuEvent",0);
4513 SWIG_RegisterMapping("_class_wxRegionIterator","_wxRegionIterator",0);
4514 SWIG_RegisterMapping("_class_wxMenuBar","_wxMenuBar",0);
4515 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
4516 SWIG_RegisterMapping("_class_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
4517 SWIG_RegisterMapping("_class_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
4518 SWIG_RegisterMapping("_class_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
4519 SWIG_RegisterMapping("_class_wxEvtHandler","_wxEvtHandler",0);
4520 SWIG_RegisterMapping("_wxPaintEvent","_class_wxPaintEvent",0);
4521 SWIG_RegisterMapping("_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0);
4522 SWIG_RegisterMapping("_wxCursor","_class_wxCursor",0);
4523 SWIG_RegisterMapping("_class_wxTreeCtrl","_wxTreeCtrl",0);
4524 SWIG_RegisterMapping("_wxToolTip","_class_wxToolTip",0);
4525 SWIG_RegisterMapping("_wxMask","_class_wxMask",0);
4526 SWIG_RegisterMapping("_wxPyMenu","_class_wxPyMenu",0);
4527 SWIG_RegisterMapping("_wxPen","_class_wxPen",0);
4528 SWIG_RegisterMapping("_wxUpdateUIEvent","_class_wxUpdateUIEvent",0);
4529 SWIG_RegisterMapping("_byte","_unsigned_char",0);
4530 SWIG_RegisterMapping("_wxStaticBox","_class_wxStaticBox",0);
4531 SWIG_RegisterMapping("_wxChoice","_class_wxChoice",0);
4532 SWIG_RegisterMapping("_wxSlider","_class_wxSlider",0);
4533 SWIG_RegisterMapping("_long","_wxDash",0);
4534 SWIG_RegisterMapping("_long","_unsigned_long",0);
4535 SWIG_RegisterMapping("_long","_signed_long",0);
4536 SWIG_RegisterMapping("_wxImageList","_class_wxImageList",0);
4537 SWIG_RegisterMapping("_wxDropFilesEvent","_class_wxDropFilesEvent",0);
4538 SWIG_RegisterMapping("_wxBitmapButton","_class_wxBitmapButton",0);
4539 SWIG_RegisterMapping("_class_wxAcceleratorTable","_wxAcceleratorTable",0);
4540 SWIG_RegisterMapping("_class_wxGauge","_wxGauge",0);
4541 SWIG_RegisterMapping("_wxDC","_class_wxDC",0);
4542 SWIG_RegisterMapping("_wxListEvent","_class_wxListEvent",0);
4543 SWIG_RegisterMapping("_wxSpinEvent","_class_wxSpinEvent",0);
4544 SWIG_RegisterMapping("_class_wxRealPoint","_wxRealPoint",0);
4545 SWIG_RegisterMapping("_wxPrinterDC","_class_wxPrinterDC",0);
4546 SWIG_RegisterMapping("_class_wxMenuItem","_wxMenuItem",0);
4547 SWIG_RegisterMapping("_class_wxPaintEvent","_wxPaintEvent",0);
4548 SWIG_RegisterMapping("_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0);
4549 SWIG_RegisterMapping("_wxPanel","_class_wxPanel",0);
4550 SWIG_RegisterMapping("_wxInitDialogEvent","_class_wxInitDialogEvent",0);
4551 SWIG_RegisterMapping("_wxCheckBox","_class_wxCheckBox",0);
4552 SWIG_RegisterMapping("_wxTextCtrl","_class_wxTextCtrl",0);
4553 SWIG_RegisterMapping("_class_wxToolTip","_wxToolTip",0);
4554 SWIG_RegisterMapping("_class_wxMask","_wxMask",0);
4555 SWIG_RegisterMapping("_class_wxKeyEvent","_wxKeyEvent",0);
4556 SWIG_RegisterMapping("_wxColour","_class_wxColour",0);
4557 SWIG_RegisterMapping("_class_wxDialog","_wxDialog",0);
4558 SWIG_RegisterMapping("_wxIdleEvent","_class_wxIdleEvent",0);
4559 SWIG_RegisterMapping("_class_wxUpdateUIEvent","_wxUpdateUIEvent",0);
4560 SWIG_RegisterMapping("_wxBrush","_class_wxBrush",0);
4561 SWIG_RegisterMapping("_wxShowEvent","_class_wxShowEvent",0);
4562 SWIG_RegisterMapping("_uint","_unsigned_int",0);
4563 SWIG_RegisterMapping("_uint","_int",0);
4564 SWIG_RegisterMapping("_uint","_wxWindowID",0);
4565 SWIG_RegisterMapping("_class_wxEvent","_class_wxTreeEvent",SwigwxTreeEventTowxEvent);
4566 SWIG_RegisterMapping("_class_wxEvent","_wxTreeEvent",SwigwxTreeEventTowxEvent);
4567 SWIG_RegisterMapping("_class_wxEvent","_class_wxListEvent",SwigwxListEventTowxEvent);
4568 SWIG_RegisterMapping("_class_wxEvent","_wxListEvent",SwigwxListEventTowxEvent);
4569 SWIG_RegisterMapping("_class_wxEvent","_wxEvent",0);
4570 SWIG_RegisterMapping("_wxCheckListBox","_class_wxCheckListBox",0);
4571 SWIG_RegisterMapping("_wxRect","_class_wxRect",0);
4572 SWIG_RegisterMapping("_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
4573 SWIG_RegisterMapping("_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
4574 SWIG_RegisterMapping("_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent);
4575 SWIG_RegisterMapping("_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent);
4576 SWIG_RegisterMapping("_wxCommandEvent","_class_wxCommandEvent",0);
4577 SWIG_RegisterMapping("_wxSizeEvent","_class_wxSizeEvent",0);
4578 SWIG_RegisterMapping("_wxPoint","_class_wxPoint",0);
4579 SWIG_RegisterMapping("_class_wxButton","_wxButton",0);
4580 SWIG_RegisterMapping("_wxRadioBox","_class_wxRadioBox",0);
4581 SWIG_RegisterMapping("_wxTreeItemData","_class_wxTreeItemData",0);
4582 SWIG_RegisterMapping("_wxBitmap","_class_wxBitmap",0);
4583 SWIG_RegisterMapping("_wxPyTimer","_class_wxPyTimer",0);
4584 SWIG_RegisterMapping("_wxWindowDC","_class_wxWindowDC",0);
4585 SWIG_RegisterMapping("_wxScrollBar","_class_wxScrollBar",0);
4586 SWIG_RegisterMapping("_wxSpinButton","_class_wxSpinButton",0);
4587 SWIG_RegisterMapping("_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0);
4588 SWIG_RegisterMapping("_class_wxIconizeEvent","_wxIconizeEvent",0);
4589 SWIG_RegisterMapping("_class_wxStaticBitmap","_wxStaticBitmap",0);
4590 SWIG_RegisterMapping("_wxListItem","_class_wxListItem",0);
4591 SWIG_RegisterMapping("_wxScrollEvent","_class_wxScrollEvent",0);
4592 SWIG_RegisterMapping("_EBool","_signed_int",0);
4593 SWIG_RegisterMapping("_EBool","_int",0);
4594 SWIG_RegisterMapping("_EBool","_wxWindowID",0);
4595 SWIG_RegisterMapping("_class_wxRegion","_wxRegion",0);
4596 SWIG_RegisterMapping("_class_wxDropFilesEvent","_wxDropFilesEvent",0);
4597 SWIG_RegisterMapping("_wxStaticText","_class_wxStaticText",0);
4598 SWIG_RegisterMapping("_wxFont","_class_wxFont",0);
4599 SWIG_RegisterMapping("_wxCloseEvent","_class_wxCloseEvent",0);
4600 SWIG_RegisterMapping("_unsigned_long","_wxDash",0);
4601 SWIG_RegisterMapping("_unsigned_long","_long",0);
4602 SWIG_RegisterMapping("_class_wxRect","_wxRect",0);
4603 SWIG_RegisterMapping("_class_wxDC","_wxDC",0);
4604 SWIG_RegisterMapping("_class_wxTreeEvent","_wxTreeEvent",0);
4605 SWIG_RegisterMapping("_class_wxPyTimer","_wxPyTimer",0);
4606 SWIG_RegisterMapping("_wxFocusEvent","_class_wxFocusEvent",0);
4607 SWIG_RegisterMapping("_wxMaximizeEvent","_class_wxMaximizeEvent",0);
4608 SWIG_RegisterMapping("_class_wxSpinButton","_wxSpinButton",0);
4609 SWIG_RegisterMapping("_wxAcceleratorEntry","_class_wxAcceleratorEntry",0);
4610 SWIG_RegisterMapping("_class_wxPanel","_wxPanel",0);
4611 SWIG_RegisterMapping("_class_wxCheckBox","_wxCheckBox",0);
4612 SWIG_RegisterMapping("_wxComboBox","_class_wxComboBox",0);
4613 SWIG_RegisterMapping("_wxRadioButton","_class_wxRadioButton",0);
4614 SWIG_RegisterMapping("_signed_int","_EBool",0);
4615 SWIG_RegisterMapping("_signed_int","_wxWindowID",0);
4616 SWIG_RegisterMapping("_signed_int","_int",0);
4617 SWIG_RegisterMapping("_class_wxTextCtrl","_wxTextCtrl",0);
4618 SWIG_RegisterMapping("_wxLayoutConstraints","_class_wxLayoutConstraints",0);
4619 SWIG_RegisterMapping("_wxMetaFileDC","_class_wxMetaFileDC",0);
4620 SWIG_RegisterMapping("_wxMenu","_class_wxMenu",0);
4621 SWIG_RegisterMapping("_class_wxMoveEvent","_wxMoveEvent",0);
4622 SWIG_RegisterMapping("_wxListBox","_class_wxListBox",0);
4623 SWIG_RegisterMapping("_wxScreenDC","_class_wxScreenDC",0);
4624 SWIG_RegisterMapping("_WXTYPE","_short",0);
4625 SWIG_RegisterMapping("_WXTYPE","_signed_short",0);
4626 SWIG_RegisterMapping("_WXTYPE","_unsigned_short",0);
4627 SWIG_RegisterMapping("_class_wxBrush","_wxBrush",0);
4628 SWIG_RegisterMapping("_unsigned_short","_WXTYPE",0);
4629 SWIG_RegisterMapping("_unsigned_short","_short",0);
4630 SWIG_RegisterMapping("_class_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
4631 SWIG_RegisterMapping("_class_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
4632 SWIG_RegisterMapping("_class_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow);
4633 SWIG_RegisterMapping("_class_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow);
4634 SWIG_RegisterMapping("_class_wxWindow","_wxWindow",0);
4635 SWIG_RegisterMapping("_class_wxStaticText","_wxStaticText",0);
4636 SWIG_RegisterMapping("_class_wxFont","_wxFont",0);
4637 SWIG_RegisterMapping("_class_wxCloseEvent","_wxCloseEvent",0);
4638 SWIG_RegisterMapping("_class_wxMenuEvent","_wxMenuEvent",0);
4639 SWIG_RegisterMapping("_wxClientDC","_class_wxClientDC",0);
4640 SWIG_RegisterMapping("_wxMouseEvent","_class_wxMouseEvent",0);
4641 SWIG_RegisterMapping("_wxListCtrl","_class_wxListCtrl",0);
4642 SWIG_RegisterMapping("_class_wxPoint","_wxPoint",0);
4643 SWIG_RegisterMapping("_wxRealPoint","_class_wxRealPoint",0);
4644 SWIG_RegisterMapping("_class_wxRadioBox","_wxRadioBox",0);
4645 SWIG_RegisterMapping("_signed_short","_WXTYPE",0);
4646 SWIG_RegisterMapping("_signed_short","_short",0);
4647 SWIG_RegisterMapping("_wxMemoryDC","_class_wxMemoryDC",0);
4648 SWIG_RegisterMapping("_wxPaintDC","_class_wxPaintDC",0);
4649 SWIG_RegisterMapping("_class_wxWindowDC","_wxWindowDC",0);
4650 SWIG_RegisterMapping("_class_wxFocusEvent","_wxFocusEvent",0);
4651 SWIG_RegisterMapping("_class_wxMaximizeEvent","_wxMaximizeEvent",0);
4652 SWIG_RegisterMapping("_class_wxAcceleratorEntry","_wxAcceleratorEntry",0);
4653 SWIG_RegisterMapping("_class_wxCursor","_wxCursor",0);
4654 SWIG_RegisterMapping("_wxScrolledWindow","_class_wxScrolledWindow",0);
4655 SWIG_RegisterMapping("_wxTreeItemId","_class_wxTreeItemId",0);
4656 SWIG_RegisterMapping("_unsigned_char","_byte",0);
4657 SWIG_RegisterMapping("_class_wxMetaFileDC","_wxMetaFileDC",0);
4658 SWIG_RegisterMapping("_class_wxMenu","_wxMenu",0);
4659 SWIG_RegisterMapping("_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
4660 SWIG_RegisterMapping("_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
4661 SWIG_RegisterMapping("_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl);
4662 SWIG_RegisterMapping("_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl);
4663 SWIG_RegisterMapping("_wxControl","_class_wxControl",0);
4664 SWIG_RegisterMapping("_class_wxListBox","_wxListBox",0);
4665 SWIG_RegisterMapping("_unsigned_int","_uint",0);
4666 SWIG_RegisterMapping("_unsigned_int","_wxWindowID",0);
4667 SWIG_RegisterMapping("_unsigned_int","_int",0);
4668 SWIG_RegisterMapping("_wxIcon","_class_wxIcon",0);
4669 SWIG_RegisterMapping("_wxDialog","_class_wxDialog",0);
4670 SWIG_RegisterMapping("_class_wxPyMenu","_wxPyMenu",0);
4671 SWIG_RegisterMapping("_class_wxListItem","_wxListItem",0);
4672 SWIG_RegisterMapping("_class_wxPen","_wxPen",0);
4673 SWIG_RegisterMapping("_short","_WXTYPE",0);
4674 SWIG_RegisterMapping("_short","_unsigned_short",0);
4675 SWIG_RegisterMapping("_short","_signed_short",0);
4676 SWIG_RegisterMapping("_class_wxStaticBox","_wxStaticBox",0);
4677 SWIG_RegisterMapping("_class_wxScrollEvent","_wxScrollEvent",0);
4678 SWIG_RegisterMapping("_wxJoystickEvent","_class_wxJoystickEvent",0);
4679 SWIG_RegisterMapping("_class_wxChoice","_wxChoice",0);
4680 SWIG_RegisterMapping("_class_wxSlider","_wxSlider",0);
4681 SWIG_RegisterMapping("_class_wxImageList","_wxImageList",0);
4682 SWIG_RegisterMapping("_class_wxBitmapButton","_wxBitmapButton",0);
4683 SWIG_RegisterMapping("_wxWindowID","_EBool",0);
4684 SWIG_RegisterMapping("_wxWindowID","_uint",0);
4685 SWIG_RegisterMapping("_wxWindowID","_int",0);
4686 SWIG_RegisterMapping("_wxWindowID","_signed_int",0);
4687 SWIG_RegisterMapping("_wxWindowID","_unsigned_int",0);
4688 SWIG_RegisterMapping("_int","_EBool",0);
4689 SWIG_RegisterMapping("_int","_uint",0);
4690 SWIG_RegisterMapping("_int","_wxWindowID",0);
4691 SWIG_RegisterMapping("_int","_unsigned_int",0);
4692 SWIG_RegisterMapping("_int","_signed_int",0);
4693 SWIG_RegisterMapping("_class_wxMouseEvent","_wxMouseEvent",0);
4694 SWIG_RegisterMapping("_class_wxListEvent","_wxListEvent",0);
4695 SWIG_RegisterMapping("_class_wxSpinEvent","_wxSpinEvent",0);
4696 SWIG_RegisterMapping("_wxButton","_class_wxButton",0);
4697 SWIG_RegisterMapping("_wxSize","_class_wxSize",0);
4698 SWIG_RegisterMapping("_wxRegionIterator","_class_wxRegionIterator",0);
4699 SWIG_RegisterMapping("_class_wxPrinterDC","_wxPrinterDC",0);
4700 SWIG_RegisterMapping("_class_wxPaintDC","_wxPaintDC",0);
4701 SWIG_RegisterMapping("_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0);
4702 SWIG_RegisterMapping("_class_wxInitDialogEvent","_wxInitDialogEvent",0);
4703 SWIG_RegisterMapping("_class_wxComboBox","_wxComboBox",0);
4704 SWIG_RegisterMapping("_class_wxRadioButton","_wxRadioButton",0);
4705 SWIG_RegisterMapping("_class_wxTreeItemId","_wxTreeItemId",0);
4706 SWIG_RegisterMapping("_wxTreeCtrl","_class_wxTreeCtrl",0);
4707 SWIG_RegisterMapping("_class_wxLayoutConstraints","_wxLayoutConstraints",0);
4708 SWIG_RegisterMapping("_wxIconizeEvent","_class_wxIconizeEvent",0);
4709 SWIG_RegisterMapping("_class_wxControl","_class_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
4710 SWIG_RegisterMapping("_class_wxControl","_wxTreeCtrl",SwigwxTreeCtrlTowxControl);
4711 SWIG_RegisterMapping("_class_wxControl","_class_wxListCtrl",SwigwxListCtrlTowxControl);
4712 SWIG_RegisterMapping("_class_wxControl","_wxListCtrl",SwigwxListCtrlTowxControl);
4713 SWIG_RegisterMapping("_class_wxControl","_wxControl",0);
4714 SWIG_RegisterMapping("_wxStaticBitmap","_class_wxStaticBitmap",0);
4715 SWIG_RegisterMapping("_class_wxIcon","_wxIcon",0);
4716 SWIG_RegisterMapping("_class_wxColour","_wxColour",0);
4717 SWIG_RegisterMapping("_class_wxScreenDC","_wxScreenDC",0);
4718 SWIG_RegisterMapping("_wxPalette","_class_wxPalette",0);
4719 SWIG_RegisterMapping("_class_wxIdleEvent","_wxIdleEvent",0);
4720 SWIG_RegisterMapping("_wxEraseEvent","_class_wxEraseEvent",0);
4721 SWIG_RegisterMapping("_class_wxJoystickEvent","_wxJoystickEvent",0);
4722 SWIG_RegisterMapping("_wxRegion","_class_wxRegion",0);
4723 SWIG_RegisterMapping("_class_wxShowEvent","_wxShowEvent",0);
4724 SWIG_RegisterMapping("_wxActivateEvent","_class_wxActivateEvent",0);
4725 SWIG_RegisterMapping("_wxGauge","_class_wxGauge",0);
4726 SWIG_RegisterMapping("_class_wxCheckListBox","_wxCheckListBox",0);
4727 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
4728 SWIG_RegisterMapping("_class_wxCommandEvent","_wxTreeEvent",SwigwxTreeEventTowxCommandEvent);
4729 SWIG_RegisterMapping("_class_wxCommandEvent","_class_wxListEvent",SwigwxListEventTowxCommandEvent);
4730 SWIG_RegisterMapping("_class_wxCommandEvent","_wxListEvent",SwigwxListEventTowxCommandEvent);
4731 SWIG_RegisterMapping("_class_wxCommandEvent","_wxCommandEvent",0);
4732 SWIG_RegisterMapping("_class_wxClientDC","_wxClientDC",0);
4733 SWIG_RegisterMapping("_class_wxSizeEvent","_wxSizeEvent",0);
4734 SWIG_RegisterMapping("_class_wxListCtrl","_wxListCtrl",0);
4735 SWIG_RegisterMapping("_class_wxTreeItemData","_wxTreeItemData",0);
4736 SWIG_RegisterMapping("_class_wxSize","_wxSize",0);
4737 SWIG_RegisterMapping("_class_wxBitmap","_wxBitmap",0);
4738 SWIG_RegisterMapping("_class_wxMemoryDC","_wxMemoryDC",0);
4739 SWIG_RegisterMapping("_wxMenuBar","_class_wxMenuBar",0);
4740 SWIG_RegisterMapping("_wxTreeEvent","_class_wxTreeEvent",0);
4741 SWIG_RegisterMapping("_wxEvtHandler","_class_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
4742 SWIG_RegisterMapping("_wxEvtHandler","_wxTreeCtrl",SwigwxTreeCtrlTowxEvtHandler);
4743 SWIG_RegisterMapping("_wxEvtHandler","_class_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
4744 SWIG_RegisterMapping("_wxEvtHandler","_wxListCtrl",SwigwxListCtrlTowxEvtHandler);
4745 SWIG_RegisterMapping("_wxEvtHandler","_class_wxEvtHandler",0);
4746 SWIG_RegisterMapping("_wxMenuItem","_class_wxMenuItem",0);
4747 SWIG_RegisterMapping("_class_wxScrollBar","_wxScrollBar",0);
4748 SWIG_RegisterMapping("_wxDash","_unsigned_long",0);
4749 SWIG_RegisterMapping("_wxDash","_long",0);
4750 SWIG_RegisterMapping("_class_wxScrolledWindow","_wxScrolledWindow",0);
4751 SWIG_RegisterMapping("_wxKeyEvent","_class_wxKeyEvent",0);
4752 SWIG_RegisterMapping("_wxMoveEvent","_class_wxMoveEvent",0);
4753 SWIG_RegisterMapping("_class_wxPalette","_wxPalette",0);
4754 SWIG_RegisterMapping("_class_wxEraseEvent","_wxEraseEvent",0);
4755 SWIG_RegisterMapping("_wxWindow","_class_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
4756 SWIG_RegisterMapping("_wxWindow","_wxTreeCtrl",SwigwxTreeCtrlTowxWindow);
4757 SWIG_RegisterMapping("_wxWindow","_class_wxListCtrl",SwigwxListCtrlTowxWindow);
4758 SWIG_RegisterMapping("_wxWindow","_wxListCtrl",SwigwxListCtrlTowxWindow);
4759 SWIG_RegisterMapping("_wxWindow","_class_wxWindow",0);
4760 }