]>
Commit | Line | Data |
---|---|---|
1 | /* ---------------------------------------------------------------------------- | |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
3 | * Version 1.3.24 | |
4 | * | |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
12 | ||
13 | #ifdef __cplusplus | |
14 | template<class T> class SwigValueWrapper { | |
15 | T *tt; | |
16 | public: | |
17 | SwigValueWrapper() : tt(0) { } | |
18 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
19 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
20 | ~SwigValueWrapper() { delete tt; } | |
21 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
22 | operator T&() const { return *tt; } | |
23 | T *operator&() { return tt; } | |
24 | private: | |
25 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
26 | }; | |
27 | #endif | |
28 | ||
29 | ||
30 | #ifndef SWIG_TEMPLATE_DISAMBIGUATOR | |
31 | # if defined(__SUNPRO_CC) | |
32 | # define SWIG_TEMPLATE_DISAMBIGUATOR template | |
33 | # else | |
34 | # define SWIG_TEMPLATE_DISAMBIGUATOR | |
35 | # endif | |
36 | #endif | |
37 | ||
38 | ||
39 | #include <Python.h> | |
40 | ||
41 | /*********************************************************************** | |
42 | * swigrun.swg | |
43 | * | |
44 | * This file contains generic CAPI SWIG runtime support for pointer | |
45 | * type checking. | |
46 | * | |
47 | ************************************************************************/ | |
48 | ||
49 | /* This should only be incremented when either the layout of swig_type_info changes, | |
50 | or for whatever reason, the runtime changes incompatibly */ | |
51 | #define SWIG_RUNTIME_VERSION "1" | |
52 | ||
53 | /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ | |
54 | #ifdef SWIG_TYPE_TABLE | |
55 | #define SWIG_QUOTE_STRING(x) #x | |
56 | #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) | |
57 | #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) | |
58 | #else | |
59 | #define SWIG_TYPE_TABLE_NAME | |
60 | #endif | |
61 | ||
62 | #include <string.h> | |
63 | ||
64 | #ifndef SWIGINLINE | |
65 | #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) | |
66 | # define SWIGINLINE inline | |
67 | #else | |
68 | # define SWIGINLINE | |
69 | #endif | |
70 | #endif | |
71 | ||
72 | /* | |
73 | You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for | |
74 | creating a static or dynamic library from the swig runtime code. | |
75 | In 99.9% of the cases, swig just needs to declare them as 'static'. | |
76 | ||
77 | But only do this if is strictly necessary, ie, if you have problems | |
78 | with your compiler or so. | |
79 | */ | |
80 | #ifndef SWIGRUNTIME | |
81 | #define SWIGRUNTIME static | |
82 | #endif | |
83 | #ifndef SWIGRUNTIMEINLINE | |
84 | #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE | |
85 | #endif | |
86 | ||
87 | #ifdef __cplusplus | |
88 | extern "C" { | |
89 | #endif | |
90 | ||
91 | typedef void *(*swig_converter_func)(void *); | |
92 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
93 | ||
94 | typedef struct swig_type_info { | |
95 | const char *name; | |
96 | swig_converter_func converter; | |
97 | const char *str; | |
98 | void *clientdata; | |
99 | swig_dycast_func dcast; | |
100 | struct swig_type_info *next; | |
101 | struct swig_type_info *prev; | |
102 | } swig_type_info; | |
103 | ||
104 | /* | |
105 | Compare two type names skipping the space characters, therefore | |
106 | "char*" == "char *" and "Class<int>" == "Class<int >", etc. | |
107 | ||
108 | Return 0 when the two name types are equivalent, as in | |
109 | strncmp, but skipping ' '. | |
110 | */ | |
111 | SWIGRUNTIME int | |
112 | SWIG_TypeNameComp(const char *f1, const char *l1, | |
113 | const char *f2, const char *l2) { | |
114 | for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { | |
115 | while ((*f1 == ' ') && (f1 != l1)) ++f1; | |
116 | while ((*f2 == ' ') && (f2 != l2)) ++f2; | |
117 | if (*f1 != *f2) return *f1 - *f2; | |
118 | } | |
119 | return (l1 - f1) - (l2 - f2); | |
120 | } | |
121 | ||
122 | /* | |
123 | Check type equivalence in a name list like <name1>|<name2>|... | |
124 | */ | |
125 | SWIGRUNTIME int | |
126 | SWIG_TypeEquiv(const char *nb, const char *tb) { | |
127 | int equiv = 0; | |
128 | const char* te = tb + strlen(tb); | |
129 | const char* ne = nb; | |
130 | while (!equiv && *ne) { | |
131 | for (nb = ne; *ne; ++ne) { | |
132 | if (*ne == '|') break; | |
133 | } | |
134 | equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0; | |
135 | if (*ne) ++ne; | |
136 | } | |
137 | return equiv; | |
138 | } | |
139 | ||
140 | /* | |
141 | Register a type mapping with the type-checking | |
142 | */ | |
143 | SWIGRUNTIME swig_type_info * | |
144 | SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) { | |
145 | swig_type_info *tc, *head, *ret, *next; | |
146 | /* Check to see if this type has already been registered */ | |
147 | tc = *tl; | |
148 | while (tc) { | |
149 | /* check simple type equivalence */ | |
150 | int typeequiv = (strcmp(tc->name, ti->name) == 0); | |
151 | /* check full type equivalence, resolving typedefs */ | |
152 | if (!typeequiv) { | |
153 | /* only if tc is not a typedef (no '|' on it) */ | |
154 | if (tc->str && ti->str && !strstr(tc->str,"|")) { | |
155 | typeequiv = SWIG_TypeEquiv(ti->str,tc->str); | |
156 | } | |
157 | } | |
158 | if (typeequiv) { | |
159 | /* Already exists in the table. Just add additional types to the list */ | |
160 | if (ti->clientdata) tc->clientdata = ti->clientdata; | |
161 | head = tc; | |
162 | next = tc->next; | |
163 | goto l1; | |
164 | } | |
165 | tc = tc->prev; | |
166 | } | |
167 | head = ti; | |
168 | next = 0; | |
169 | ||
170 | /* Place in list */ | |
171 | ti->prev = *tl; | |
172 | *tl = ti; | |
173 | ||
174 | /* Build linked lists */ | |
175 | l1: | |
176 | ret = head; | |
177 | tc = ti + 1; | |
178 | /* Patch up the rest of the links */ | |
179 | while (tc->name) { | |
180 | head->next = tc; | |
181 | tc->prev = head; | |
182 | head = tc; | |
183 | tc++; | |
184 | } | |
185 | if (next) next->prev = head; | |
186 | head->next = next; | |
187 | ||
188 | return ret; | |
189 | } | |
190 | ||
191 | /* | |
192 | Check the typename | |
193 | */ | |
194 | SWIGRUNTIME swig_type_info * | |
195 | SWIG_TypeCheck(const char *c, swig_type_info *ty) { | |
196 | swig_type_info *s; | |
197 | if (!ty) return 0; /* Void pointer */ | |
198 | s = ty->next; /* First element always just a name */ | |
199 | do { | |
200 | if (strcmp(s->name,c) == 0) { | |
201 | if (s == ty->next) return s; | |
202 | /* Move s to the top of the linked list */ | |
203 | s->prev->next = s->next; | |
204 | if (s->next) { | |
205 | s->next->prev = s->prev; | |
206 | } | |
207 | /* Insert s as second element in the list */ | |
208 | s->next = ty->next; | |
209 | if (ty->next) ty->next->prev = s; | |
210 | ty->next = s; | |
211 | s->prev = ty; | |
212 | return s; | |
213 | } | |
214 | s = s->next; | |
215 | } while (s && (s != ty->next)); | |
216 | return 0; | |
217 | } | |
218 | ||
219 | /* | |
220 | Cast a pointer up an inheritance hierarchy | |
221 | */ | |
222 | SWIGRUNTIMEINLINE void * | |
223 | SWIG_TypeCast(swig_type_info *ty, void *ptr) { | |
224 | return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); | |
225 | } | |
226 | ||
227 | /* | |
228 | Dynamic pointer casting. Down an inheritance hierarchy | |
229 | */ | |
230 | SWIGRUNTIME swig_type_info * | |
231 | SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { | |
232 | swig_type_info *lastty = ty; | |
233 | if (!ty || !ty->dcast) return ty; | |
234 | while (ty && (ty->dcast)) { | |
235 | ty = (*ty->dcast)(ptr); | |
236 | if (ty) lastty = ty; | |
237 | } | |
238 | return lastty; | |
239 | } | |
240 | ||
241 | /* | |
242 | Return the name associated with this type | |
243 | */ | |
244 | SWIGRUNTIMEINLINE const char * | |
245 | SWIG_TypeName(const swig_type_info *ty) { | |
246 | return ty->name; | |
247 | } | |
248 | ||
249 | /* | |
250 | Return the pretty name associated with this type, | |
251 | that is an unmangled type name in a form presentable to the user. | |
252 | */ | |
253 | SWIGRUNTIME const char * | |
254 | SWIG_TypePrettyName(const swig_type_info *type) { | |
255 | /* The "str" field contains the equivalent pretty names of the | |
256 | type, separated by vertical-bar characters. We choose | |
257 | to print the last name, as it is often (?) the most | |
258 | specific. */ | |
259 | if (type->str != NULL) { | |
260 | const char *last_name = type->str; | |
261 | const char *s; | |
262 | for (s = type->str; *s; s++) | |
263 | if (*s == '|') last_name = s+1; | |
264 | return last_name; | |
265 | } | |
266 | else | |
267 | return type->name; | |
268 | } | |
269 | ||
270 | /* | |
271 | Search for a swig_type_info structure | |
272 | */ | |
273 | SWIGRUNTIME swig_type_info * | |
274 | SWIG_TypeQueryTL(swig_type_info *tl, const char *name) { | |
275 | swig_type_info *ty = tl; | |
276 | while (ty) { | |
277 | if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty; | |
278 | if (ty->name && (strcmp(name,ty->name) == 0)) return ty; | |
279 | ty = ty->prev; | |
280 | } | |
281 | return 0; | |
282 | } | |
283 | ||
284 | /* | |
285 | Set the clientdata field for a type | |
286 | */ | |
287 | SWIGRUNTIME void | |
288 | SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) { | |
289 | swig_type_info *tc, *equiv; | |
290 | if (ti->clientdata) return; | |
291 | /* if (ti->clientdata == clientdata) return; */ | |
292 | ti->clientdata = clientdata; | |
293 | equiv = ti->next; | |
294 | while (equiv) { | |
295 | if (!equiv->converter) { | |
296 | tc = tl; | |
297 | while (tc) { | |
298 | if ((strcmp(tc->name, equiv->name) == 0)) | |
299 | SWIG_TypeClientDataTL(tl,tc,clientdata); | |
300 | tc = tc->prev; | |
301 | } | |
302 | } | |
303 | equiv = equiv->next; | |
304 | } | |
305 | } | |
306 | ||
307 | /* | |
308 | Pack binary data into a string | |
309 | */ | |
310 | SWIGRUNTIME char * | |
311 | SWIG_PackData(char *c, void *ptr, size_t sz) { | |
312 | static char hex[17] = "0123456789abcdef"; | |
313 | unsigned char *u = (unsigned char *) ptr; | |
314 | const unsigned char *eu = u + sz; | |
315 | register unsigned char uu; | |
316 | for (; u != eu; ++u) { | |
317 | uu = *u; | |
318 | *(c++) = hex[(uu & 0xf0) >> 4]; | |
319 | *(c++) = hex[uu & 0xf]; | |
320 | } | |
321 | return c; | |
322 | } | |
323 | ||
324 | /* | |
325 | Unpack binary data from a string | |
326 | */ | |
327 | SWIGRUNTIME const char * | |
328 | SWIG_UnpackData(const char *c, void *ptr, size_t sz) { | |
329 | register unsigned char *u = (unsigned char *) ptr; | |
330 | register const unsigned char *eu = u + sz; | |
331 | for (; u != eu; ++u) { | |
332 | register int d = *(c++); | |
333 | register unsigned char uu = 0; | |
334 | if ((d >= '0') && (d <= '9')) | |
335 | uu = ((d - '0') << 4); | |
336 | else if ((d >= 'a') && (d <= 'f')) | |
337 | uu = ((d - ('a'-10)) << 4); | |
338 | else | |
339 | return (char *) 0; | |
340 | d = *(c++); | |
341 | if ((d >= '0') && (d <= '9')) | |
342 | uu |= (d - '0'); | |
343 | else if ((d >= 'a') && (d <= 'f')) | |
344 | uu |= (d - ('a'-10)); | |
345 | else | |
346 | return (char *) 0; | |
347 | *u = uu; | |
348 | } | |
349 | return c; | |
350 | } | |
351 | ||
352 | /* | |
353 | This function will propagate the clientdata field of type to any new | |
354 | swig_type_info structures that have been added into the list of | |
355 | equivalent types. It is like calling SWIG_TypeClientData(type, | |
356 | clientdata) a second time. | |
357 | */ | |
358 | SWIGRUNTIME void | |
359 | SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) { | |
360 | swig_type_info *equiv = type->next; | |
361 | swig_type_info *tc; | |
362 | if (!type->clientdata) return; | |
363 | while (equiv) { | |
364 | if (!equiv->converter) { | |
365 | tc = tl; | |
366 | while (tc) { | |
367 | if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata) | |
368 | SWIG_TypeClientDataTL(tl,tc, type->clientdata); | |
369 | tc = tc->prev; | |
370 | } | |
371 | } | |
372 | equiv = equiv->next; | |
373 | } | |
374 | } | |
375 | ||
376 | /* | |
377 | Pack 'void *' into a string buffer. | |
378 | */ | |
379 | SWIGRUNTIME char * | |
380 | SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { | |
381 | char *r = buff; | |
382 | if ((2*sizeof(void *) + 2) > bsz) return 0; | |
383 | *(r++) = '_'; | |
384 | r = SWIG_PackData(r,&ptr,sizeof(void *)); | |
385 | if (strlen(name) + 1 > (bsz - (r - buff))) return 0; | |
386 | strcpy(r,name); | |
387 | return buff; | |
388 | } | |
389 | ||
390 | SWIGRUNTIME const char * | |
391 | SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { | |
392 | if (*c != '_') { | |
393 | if (strcmp(c,"NULL") == 0) { | |
394 | *ptr = (void *) 0; | |
395 | return name; | |
396 | } else { | |
397 | return 0; | |
398 | } | |
399 | } | |
400 | return SWIG_UnpackData(++c,ptr,sizeof(void *)); | |
401 | } | |
402 | ||
403 | SWIGRUNTIME char * | |
404 | SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { | |
405 | char *r = buff; | |
406 | size_t lname = (name ? strlen(name) : 0); | |
407 | if ((2*sz + 2 + lname) > bsz) return 0; | |
408 | *(r++) = '_'; | |
409 | r = SWIG_PackData(r,ptr,sz); | |
410 | if (lname) { | |
411 | strncpy(r,name,lname+1); | |
412 | } else { | |
413 | *r = 0; | |
414 | } | |
415 | return buff; | |
416 | } | |
417 | ||
418 | SWIGRUNTIME const char * | |
419 | SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { | |
420 | if (*c != '_') { | |
421 | if (strcmp(c,"NULL") == 0) { | |
422 | memset(ptr,0,sz); | |
423 | return name; | |
424 | } else { | |
425 | return 0; | |
426 | } | |
427 | } | |
428 | return SWIG_UnpackData(++c,ptr,sz); | |
429 | } | |
430 | ||
431 | #ifdef __cplusplus | |
432 | } | |
433 | #endif | |
434 | ||
435 | /*********************************************************************** | |
436 | * common.swg | |
437 | * | |
438 | * This file contains generic SWIG runtime support for pointer | |
439 | * type checking as well as a few commonly used macros to control | |
440 | * external linkage. | |
441 | * | |
442 | * Author : David Beazley (beazley@cs.uchicago.edu) | |
443 | * | |
444 | * Copyright (c) 1999-2000, The University of Chicago | |
445 | * | |
446 | * This file may be freely redistributed without license or fee provided | |
447 | * this copyright message remains intact. | |
448 | ************************************************************************/ | |
449 | ||
450 | ||
451 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
452 | # if !defined(STATIC_LINKED) | |
453 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
454 | # else | |
455 | # define SWIGEXPORT(a) a | |
456 | # endif | |
457 | #else | |
458 | # define SWIGEXPORT(a) a | |
459 | #endif | |
460 | ||
461 | #ifdef __cplusplus | |
462 | extern "C" { | |
463 | #endif | |
464 | ||
465 | ||
466 | /*************************************************************************/ | |
467 | ||
468 | ||
469 | /* The static type info list */ | |
470 | ||
471 | static swig_type_info *swig_type_list = 0; | |
472 | static swig_type_info **swig_type_list_handle = &swig_type_list; | |
473 | ||
474 | ||
475 | /* Register a type mapping with the type-checking */ | |
476 | static swig_type_info * | |
477 | SWIG_TypeRegister(swig_type_info *ti) { | |
478 | return SWIG_TypeRegisterTL(swig_type_list_handle, ti); | |
479 | } | |
480 | ||
481 | /* Search for a swig_type_info structure */ | |
482 | static swig_type_info * | |
483 | SWIG_TypeQuery(const char *name) { | |
484 | return SWIG_TypeQueryTL(*swig_type_list_handle, name); | |
485 | } | |
486 | ||
487 | /* Set the clientdata field for a type */ | |
488 | static void | |
489 | SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { | |
490 | SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata); | |
491 | } | |
492 | ||
493 | /* This function will propagate the clientdata field of type to | |
494 | * any new swig_type_info structures that have been added into the list | |
495 | * of equivalent types. It is like calling | |
496 | * SWIG_TypeClientData(type, clientdata) a second time. | |
497 | */ | |
498 | static void | |
499 | SWIG_PropagateClientData(swig_type_info *type) { | |
500 | SWIG_PropagateClientDataTL(*swig_type_list_handle, type); | |
501 | } | |
502 | ||
503 | #ifdef __cplusplus | |
504 | } | |
505 | #endif | |
506 | ||
507 | /* ----------------------------------------------------------------------------- | |
508 | * SWIG API. Portion that goes into the runtime | |
509 | * ----------------------------------------------------------------------------- */ | |
510 | ||
511 | #ifdef __cplusplus | |
512 | extern "C" { | |
513 | #endif | |
514 | ||
515 | /* ----------------------------------------------------------------------------- | |
516 | * for internal method declarations | |
517 | * ----------------------------------------------------------------------------- */ | |
518 | ||
519 | #ifndef SWIGINTERN | |
520 | #define SWIGINTERN static | |
521 | #endif | |
522 | ||
523 | #ifndef SWIGINTERNSHORT | |
524 | #ifdef __cplusplus | |
525 | #define SWIGINTERNSHORT static inline | |
526 | #else /* C case */ | |
527 | #define SWIGINTERNSHORT static | |
528 | #endif /* __cplusplus */ | |
529 | #endif | |
530 | ||
531 | ||
532 | /* | |
533 | Exception handling in wrappers | |
534 | */ | |
535 | #define SWIG_fail goto fail | |
536 | #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) | |
537 | #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0) | |
538 | #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1) | |
539 | #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj) | |
540 | #define SWIG_null_ref(type) SWIG_Python_NullRef(type) | |
541 | ||
542 | /* | |
543 | Contract support | |
544 | */ | |
545 | #define SWIG_contract_assert(expr, msg) \ | |
546 | if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else | |
547 | ||
548 | /* ----------------------------------------------------------------------------- | |
549 | * Constant declarations | |
550 | * ----------------------------------------------------------------------------- */ | |
551 | ||
552 | /* Constant Types */ | |
553 | #define SWIG_PY_INT 1 | |
554 | #define SWIG_PY_FLOAT 2 | |
555 | #define SWIG_PY_STRING 3 | |
556 | #define SWIG_PY_POINTER 4 | |
557 | #define SWIG_PY_BINARY 5 | |
558 | ||
559 | /* Constant information structure */ | |
560 | typedef struct swig_const_info { | |
561 | int type; | |
562 | char *name; | |
563 | long lvalue; | |
564 | double dvalue; | |
565 | void *pvalue; | |
566 | swig_type_info **ptype; | |
567 | } swig_const_info; | |
568 | ||
569 | ||
570 | /* ----------------------------------------------------------------------------- | |
571 | * Alloc. memory flags | |
572 | * ----------------------------------------------------------------------------- */ | |
573 | #define SWIG_OLDOBJ 1 | |
574 | #define SWIG_NEWOBJ SWIG_OLDOBJ + 1 | |
575 | #define SWIG_PYSTR SWIG_NEWOBJ + 1 | |
576 | ||
577 | #ifdef __cplusplus | |
578 | } | |
579 | #endif | |
580 | ||
581 | ||
582 | /*********************************************************************** | |
583 | * pyrun.swg | |
584 | * | |
585 | * This file contains the runtime support for Python modules | |
586 | * and includes code for managing global variables and pointer | |
587 | * type checking. | |
588 | * | |
589 | * Author : David Beazley (beazley@cs.uchicago.edu) | |
590 | ************************************************************************/ | |
591 | ||
592 | /* Common SWIG API */ | |
593 | #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
594 | #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags) | |
595 | #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
596 | ||
597 | ||
598 | /* Python-specific SWIG API */ | |
599 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
600 | #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
601 | ||
602 | ||
603 | /* ----------------------------------------------------------------------------- | |
604 | * Pointer declarations | |
605 | * ----------------------------------------------------------------------------- */ | |
606 | /* | |
607 | Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent | |
608 | C/C++ pointers in the python side. Very useful for debugging, but | |
609 | not always safe. | |
610 | */ | |
611 | #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES) | |
612 | # define SWIG_COBJECT_TYPES | |
613 | #endif | |
614 | ||
615 | /* Flags for pointer conversion */ | |
616 | #define SWIG_POINTER_EXCEPTION 0x1 | |
617 | #define SWIG_POINTER_DISOWN 0x2 | |
618 | ||
619 | ||
620 | #ifdef __cplusplus | |
621 | extern "C" { | |
622 | #endif | |
623 | ||
624 | /* ----------------------------------------------------------------------------- | |
625 | * Create a new pointer string | |
626 | * ----------------------------------------------------------------------------- */ | |
627 | ||
628 | #ifndef SWIG_BUFFER_SIZE | |
629 | #define SWIG_BUFFER_SIZE 1024 | |
630 | #endif | |
631 | ||
632 | #if defined(SWIG_COBJECT_TYPES) | |
633 | #if !defined(SWIG_COBJECT_PYTHON) | |
634 | /* ----------------------------------------------------------------------------- | |
635 | * Implements a simple Swig Object type, and use it instead of PyCObject | |
636 | * ----------------------------------------------------------------------------- */ | |
637 | ||
638 | typedef struct { | |
639 | PyObject_HEAD | |
640 | void *ptr; | |
641 | const char *desc; | |
642 | } PySwigObject; | |
643 | ||
644 | /* Declarations for objects of type PySwigObject */ | |
645 | ||
646 | SWIGRUNTIME int | |
647 | PySwigObject_print(PySwigObject *v, FILE *fp, int flags) | |
648 | { | |
649 | char result[SWIG_BUFFER_SIZE]; | |
650 | if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) { | |
651 | fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp); | |
652 | return 0; | |
653 | } else { | |
654 | return 1; | |
655 | } | |
656 | } | |
657 | ||
658 | SWIGRUNTIME PyObject * | |
659 | PySwigObject_repr(PySwigObject *v) | |
660 | { | |
661 | char result[SWIG_BUFFER_SIZE]; | |
662 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
663 | PyString_FromFormat("<Swig Object at %s>", result) : 0; | |
664 | } | |
665 | ||
666 | SWIGRUNTIME PyObject * | |
667 | PySwigObject_str(PySwigObject *v) | |
668 | { | |
669 | char result[SWIG_BUFFER_SIZE]; | |
670 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
671 | PyString_FromString(result) : 0; | |
672 | } | |
673 | ||
674 | SWIGRUNTIME PyObject * | |
675 | PySwigObject_long(PySwigObject *v) | |
676 | { | |
677 | return PyLong_FromUnsignedLong((unsigned long) v->ptr); | |
678 | } | |
679 | ||
680 | SWIGRUNTIME PyObject * | |
681 | PySwigObject_oct(PySwigObject *v) | |
682 | { | |
683 | char buf[100]; | |
684 | unsigned long x = (unsigned long)v->ptr; | |
685 | if (x == 0) | |
686 | strcpy(buf, "0"); | |
687 | else | |
688 | PyOS_snprintf(buf, sizeof(buf), "0%lo", x); | |
689 | return PyString_FromString(buf); | |
690 | } | |
691 | ||
692 | SWIGRUNTIME PyObject * | |
693 | PySwigObject_hex(PySwigObject *v) | |
694 | { | |
695 | char buf[100]; | |
696 | PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr); | |
697 | return PyString_FromString(buf); | |
698 | } | |
699 | ||
700 | SWIGRUNTIME int | |
701 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
702 | { | |
703 | int c = strcmp(v->desc, w->desc); | |
704 | if (c) { | |
705 | return c; | |
706 | } else { | |
707 | void *i = v->ptr; | |
708 | void *j = w->ptr; | |
709 | return (i < j) ? -1 : (i > j) ? 1 : 0; | |
710 | } | |
711 | } | |
712 | ||
713 | SWIGRUNTIME void | |
714 | PySwigObject_dealloc(PySwigObject *self) | |
715 | { | |
716 | PyObject_DEL(self); | |
717 | } | |
718 | ||
719 | SWIGRUNTIME PyTypeObject* | |
720 | PySwigObject_GetType() { | |
721 | static char PySwigObject_Type__doc__[] = | |
722 | "Swig object carries a C/C++ instance pointer"; | |
723 | ||
724 | static PyNumberMethods PySwigObject_as_number = { | |
725 | (binaryfunc)0, /*nb_add*/ | |
726 | (binaryfunc)0, /*nb_subtract*/ | |
727 | (binaryfunc)0, /*nb_multiply*/ | |
728 | (binaryfunc)0, /*nb_divide*/ | |
729 | (binaryfunc)0, /*nb_remainder*/ | |
730 | (binaryfunc)0, /*nb_divmod*/ | |
731 | (ternaryfunc)0,/*nb_power*/ | |
732 | (unaryfunc)0, /*nb_negative*/ | |
733 | (unaryfunc)0, /*nb_positive*/ | |
734 | (unaryfunc)0, /*nb_absolute*/ | |
735 | (inquiry)0, /*nb_nonzero*/ | |
736 | 0, /*nb_invert*/ | |
737 | 0, /*nb_lshift*/ | |
738 | 0, /*nb_rshift*/ | |
739 | 0, /*nb_and*/ | |
740 | 0, /*nb_xor*/ | |
741 | 0, /*nb_or*/ | |
742 | (coercion)0, /*nb_coerce*/ | |
743 | (unaryfunc)PySwigObject_long, /*nb_int*/ | |
744 | (unaryfunc)PySwigObject_long, /*nb_long*/ | |
745 | (unaryfunc)0, /*nb_float*/ | |
746 | (unaryfunc)PySwigObject_oct, /*nb_oct*/ | |
747 | (unaryfunc)PySwigObject_hex, /*nb_hex*/ | |
748 | #if PY_VERSION_HEX >= 0x02000000 | |
749 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ | |
750 | #endif | |
751 | }; | |
752 | ||
753 | static int type_init = 0; | |
754 | static PyTypeObject PySwigObject_Type; | |
755 | ||
756 | if (!type_init) { | |
757 | PyTypeObject tmp = { | |
758 | PyObject_HEAD_INIT(&PyType_Type) | |
759 | 0, /*ob_size*/ | |
760 | "PySwigObject", /*tp_name*/ | |
761 | sizeof(PySwigObject), /*tp_basicsize*/ | |
762 | 0, /*tp_itemsize*/ | |
763 | /* methods */ | |
764 | (destructor)PySwigObject_dealloc, /*tp_dealloc*/ | |
765 | (printfunc)PySwigObject_print, /*tp_print*/ | |
766 | (getattrfunc)0, /*tp_getattr*/ | |
767 | (setattrfunc)0, /*tp_setattr*/ | |
768 | (cmpfunc)PySwigObject_compare, /*tp_compare*/ | |
769 | (reprfunc)PySwigObject_repr, /*tp_repr*/ | |
770 | &PySwigObject_as_number, /*tp_as_number*/ | |
771 | 0, /*tp_as_sequence*/ | |
772 | 0, /*tp_as_mapping*/ | |
773 | (hashfunc)0, /*tp_hash*/ | |
774 | (ternaryfunc)0, /*tp_call*/ | |
775 | (reprfunc)PySwigObject_str, /*tp_str*/ | |
776 | /* Space for future expansion */ | |
777 | 0L,0L,0L,0L, | |
778 | PySwigObject_Type__doc__, /* Documentation string */ | |
779 | #if PY_VERSION_HEX >= 0x02000000 | |
780 | 0, /* tp_traverse */ | |
781 | 0, /* tp_clear */ | |
782 | #endif | |
783 | #if PY_VERSION_HEX >= 0x02010000 | |
784 | 0, /* tp_richcompare */ | |
785 | 0, /* tp_weaklistoffset */ | |
786 | #endif | |
787 | #if PY_VERSION_HEX >= 0x02020000 | |
788 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
789 | #endif | |
790 | #if PY_VERSION_HEX >= 0x02030000 | |
791 | 0, /* tp_del */ | |
792 | #endif | |
793 | #ifdef COUNT_ALLOCS | |
794 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
795 | #endif | |
796 | }; | |
797 | ||
798 | PySwigObject_Type = tmp; | |
799 | type_init = 1; | |
800 | } | |
801 | ||
802 | return &PySwigObject_Type; | |
803 | } | |
804 | ||
805 | SWIGRUNTIME PyObject * | |
806 | PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) | |
807 | { | |
808 | PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType()); | |
809 | if (self == NULL) return NULL; | |
810 | self->ptr = ptr; | |
811 | self->desc = desc; | |
812 | return (PyObject *)self; | |
813 | } | |
814 | ||
815 | SWIGRUNTIMEINLINE void * | |
816 | PySwigObject_AsVoidPtr(PyObject *self) | |
817 | { | |
818 | return ((PySwigObject *)self)->ptr; | |
819 | } | |
820 | ||
821 | SWIGRUNTIMEINLINE const char * | |
822 | PySwigObject_GetDesc(PyObject *self) | |
823 | { | |
824 | return ((PySwigObject *)self)->desc; | |
825 | } | |
826 | ||
827 | SWIGRUNTIMEINLINE int | |
828 | PySwigObject_Check(PyObject *op) { | |
829 | return ((op)->ob_type == PySwigObject_GetType()) | |
830 | || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); | |
831 | } | |
832 | ||
833 | /* ----------------------------------------------------------------------------- | |
834 | * Implements a simple Swig Packed type, and use it instead of string | |
835 | * ----------------------------------------------------------------------------- */ | |
836 | ||
837 | typedef struct { | |
838 | PyObject_HEAD | |
839 | void *pack; | |
840 | const char *desc; | |
841 | size_t size; | |
842 | } PySwigPacked; | |
843 | ||
844 | SWIGRUNTIME int | |
845 | PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) | |
846 | { | |
847 | char result[SWIG_BUFFER_SIZE]; | |
848 | fputs("<Swig Packed ", fp); | |
849 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
850 | fputs("at ", fp); | |
851 | fputs(result, fp); | |
852 | } | |
853 | fputs(v->desc,fp); | |
854 | fputs(">", fp); | |
855 | return 0; | |
856 | } | |
857 | ||
858 | SWIGRUNTIME PyObject * | |
859 | PySwigPacked_repr(PySwigPacked *v) | |
860 | { | |
861 | char result[SWIG_BUFFER_SIZE]; | |
862 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
863 | return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc); | |
864 | } else { | |
865 | return PyString_FromFormat("<Swig Packed %s>", v->desc); | |
866 | } | |
867 | } | |
868 | ||
869 | SWIGRUNTIME PyObject * | |
870 | PySwigPacked_str(PySwigPacked *v) | |
871 | { | |
872 | char result[SWIG_BUFFER_SIZE]; | |
873 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ | |
874 | return PyString_FromFormat("%s%s", result, v->desc); | |
875 | } else { | |
876 | return PyString_FromFormat("%s", v->desc); | |
877 | } | |
878 | } | |
879 | ||
880 | SWIGRUNTIME int | |
881 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
882 | { | |
883 | int c = strcmp(v->desc, w->desc); | |
884 | if (c) { | |
885 | return c; | |
886 | } else { | |
887 | size_t i = v->size; | |
888 | size_t j = w->size; | |
889 | int s = (i < j) ? -1 : (i > j) ? 1 : 0; | |
890 | return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); | |
891 | } | |
892 | } | |
893 | ||
894 | SWIGRUNTIME void | |
895 | PySwigPacked_dealloc(PySwigPacked *self) | |
896 | { | |
897 | free(self->pack); | |
898 | PyObject_DEL(self); | |
899 | } | |
900 | ||
901 | SWIGRUNTIME PyTypeObject* | |
902 | PySwigPacked_GetType() { | |
903 | static char PySwigPacked_Type__doc__[] = | |
904 | "Swig object carries a C/C++ instance pointer"; | |
905 | static int type_init = 0; | |
906 | ||
907 | static PyTypeObject PySwigPacked_Type; | |
908 | if (!type_init) { | |
909 | PyTypeObject tmp = { | |
910 | PyObject_HEAD_INIT(&PyType_Type) | |
911 | 0, /*ob_size*/ | |
912 | "PySwigPacked", /*tp_name*/ | |
913 | sizeof(PySwigPacked), /*tp_basicsize*/ | |
914 | 0, /*tp_itemsize*/ | |
915 | /* methods */ | |
916 | (destructor)PySwigPacked_dealloc, /*tp_dealloc*/ | |
917 | (printfunc)PySwigPacked_print, /*tp_print*/ | |
918 | (getattrfunc)0, /*tp_getattr*/ | |
919 | (setattrfunc)0, /*tp_setattr*/ | |
920 | (cmpfunc)PySwigPacked_compare, /*tp_compare*/ | |
921 | (reprfunc)PySwigPacked_repr, /*tp_repr*/ | |
922 | 0, /*tp_as_number*/ | |
923 | 0, /*tp_as_sequence*/ | |
924 | 0, /*tp_as_mapping*/ | |
925 | (hashfunc)0, /*tp_hash*/ | |
926 | (ternaryfunc)0, /*tp_call*/ | |
927 | (reprfunc)PySwigPacked_str, /*tp_str*/ | |
928 | /* Space for future expansion */ | |
929 | 0L,0L,0L,0L, | |
930 | PySwigPacked_Type__doc__, /* Documentation string */ | |
931 | #if PY_VERSION_HEX >= 0x02000000 | |
932 | 0, /* tp_traverse */ | |
933 | 0, /* tp_clear */ | |
934 | #endif | |
935 | #if PY_VERSION_HEX >= 0x02010000 | |
936 | 0, /* tp_richcompare */ | |
937 | 0, /* tp_weaklistoffset */ | |
938 | #endif | |
939 | #if PY_VERSION_HEX >= 0x02020000 | |
940 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
941 | #endif | |
942 | #if PY_VERSION_HEX >= 0x02030000 | |
943 | 0, /* tp_del */ | |
944 | #endif | |
945 | #ifdef COUNT_ALLOCS | |
946 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
947 | #endif | |
948 | }; | |
949 | ||
950 | PySwigPacked_Type = tmp; | |
951 | type_init = 1; | |
952 | } | |
953 | ||
954 | ||
955 | ||
956 | return &PySwigPacked_Type; | |
957 | } | |
958 | ||
959 | SWIGRUNTIME PyObject * | |
960 | PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) | |
961 | { | |
962 | PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType()); | |
963 | if (self == NULL) { | |
964 | return NULL; | |
965 | } else { | |
966 | void *pack = malloc(size); | |
967 | memcpy(pack, ptr, size); | |
968 | self->pack = pack; | |
969 | self->desc = desc; | |
970 | self->size = size; | |
971 | return (PyObject *) self; | |
972 | } | |
973 | } | |
974 | ||
975 | SWIGRUNTIMEINLINE const char * | |
976 | PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) | |
977 | { | |
978 | PySwigPacked *self = (PySwigPacked *)obj; | |
979 | if (self->size != size) return 0; | |
980 | memcpy(ptr, self->pack, size); | |
981 | return self->desc; | |
982 | } | |
983 | ||
984 | SWIGRUNTIMEINLINE const char * | |
985 | PySwigPacked_GetDesc(PyObject *self) | |
986 | { | |
987 | return ((PySwigPacked *)self)->desc; | |
988 | } | |
989 | ||
990 | SWIGRUNTIMEINLINE int | |
991 | PySwigPacked_Check(PyObject *op) { | |
992 | return ((op)->ob_type == PySwigPacked_GetType()) | |
993 | || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); | |
994 | } | |
995 | ||
996 | #else | |
997 | /* ----------------------------------------------------------------------------- | |
998 | * Use the old Python PyCObject instead of PySwigObject | |
999 | * ----------------------------------------------------------------------------- */ | |
1000 | ||
1001 | #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj) | |
1002 | #define PySwigObject_Check(obj) PyCObject_Check(obj) | |
1003 | #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj) | |
1004 | #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL) | |
1005 | ||
1006 | #endif | |
1007 | ||
1008 | #endif | |
1009 | ||
1010 | /* ----------------------------------------------------------------------------- | |
1011 | * errors manipulation | |
1012 | * ----------------------------------------------------------------------------- */ | |
1013 | ||
1014 | SWIGRUNTIME void | |
1015 | SWIG_Python_TypeError(const char *type, PyObject *obj) | |
1016 | { | |
1017 | if (type) { | |
1018 | #if defined(SWIG_COBJECT_TYPES) | |
1019 | if (PySwigObject_Check(obj)) { | |
1020 | const char *otype = (const char *) PySwigObject_GetDesc(obj); | |
1021 | if (otype) { | |
1022 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", | |
1023 | type, otype); | |
1024 | return; | |
1025 | } | |
1026 | } else | |
1027 | #endif | |
1028 | { | |
1029 | const char *otype = (obj ? obj->ob_type->tp_name : 0); | |
1030 | if (otype) { | |
1031 | PyObject *str = PyObject_Str(obj); | |
1032 | const char *cstr = str ? PyString_AsString(str) : 0; | |
1033 | if (cstr) { | |
1034 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", | |
1035 | type, otype, cstr); | |
1036 | } else { | |
1037 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", | |
1038 | type, otype); | |
1039 | } | |
1040 | Py_DECREF(str); | |
1041 | return; | |
1042 | } | |
1043 | } | |
1044 | PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); | |
1045 | } else { | |
1046 | PyErr_Format(PyExc_TypeError, "unexpected type is received"); | |
1047 | } | |
1048 | } | |
1049 | ||
1050 | SWIGRUNTIMEINLINE void | |
1051 | SWIG_Python_NullRef(const char *type) | |
1052 | { | |
1053 | if (type) { | |
1054 | PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type); | |
1055 | } else { | |
1056 | PyErr_Format(PyExc_TypeError, "null reference was received"); | |
1057 | } | |
1058 | } | |
1059 | ||
1060 | SWIGRUNTIME int | |
1061 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
1062 | { | |
1063 | if (PyErr_Occurred()) { | |
1064 | PyObject *type = 0; | |
1065 | PyObject *value = 0; | |
1066 | PyObject *traceback = 0; | |
1067 | PyErr_Fetch(&type, &value, &traceback); | |
1068 | if (value) { | |
1069 | PyObject *old_str = PyObject_Str(value); | |
1070 | Py_XINCREF(type); | |
1071 | PyErr_Clear(); | |
1072 | if (infront) { | |
1073 | PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); | |
1074 | } else { | |
1075 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
1076 | } | |
1077 | Py_DECREF(old_str); | |
1078 | } | |
1079 | return 1; | |
1080 | } else { | |
1081 | return 0; | |
1082 | } | |
1083 | } | |
1084 | ||
1085 | SWIGRUNTIME int | |
1086 | SWIG_Python_ArgFail(int argnum) | |
1087 | { | |
1088 | if (PyErr_Occurred()) { | |
1089 | /* add information about failing argument */ | |
1090 | char mesg[256]; | |
1091 | sprintf(mesg, "argument number %d:", argnum); | |
1092 | return SWIG_Python_AddErrMesg(mesg, 1); | |
1093 | } else { | |
1094 | return 0; | |
1095 | } | |
1096 | } | |
1097 | ||
1098 | ||
1099 | /* ----------------------------------------------------------------------------- | |
1100 | * pointers/data manipulation | |
1101 | * ----------------------------------------------------------------------------- */ | |
1102 | ||
1103 | /* Convert a pointer value */ | |
1104 | SWIGRUNTIME int | |
1105 | SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) { | |
1106 | swig_type_info *tc; | |
1107 | const char *c = 0; | |
1108 | static PyObject *SWIG_this = 0; | |
1109 | int newref = 0; | |
1110 | PyObject *pyobj = 0; | |
1111 | void *vptr; | |
1112 | ||
1113 | if (!obj) return 0; | |
1114 | if (obj == Py_None) { | |
1115 | *ptr = 0; | |
1116 | return 0; | |
1117 | } | |
1118 | ||
1119 | #ifdef SWIG_COBJECT_TYPES | |
1120 | if (!(PySwigObject_Check(obj))) { | |
1121 | if (!SWIG_this) | |
1122 | SWIG_this = PyString_FromString("this"); | |
1123 | pyobj = obj; | |
1124 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1125 | newref = 1; | |
1126 | if (!obj) goto type_error; | |
1127 | if (!PySwigObject_Check(obj)) { | |
1128 | Py_DECREF(obj); | |
1129 | goto type_error; | |
1130 | } | |
1131 | } | |
1132 | vptr = PySwigObject_AsVoidPtr(obj); | |
1133 | c = (const char *) PySwigObject_GetDesc(obj); | |
1134 | if (newref) { Py_DECREF(obj); } | |
1135 | goto type_check; | |
1136 | #else | |
1137 | if (!(PyString_Check(obj))) { | |
1138 | if (!SWIG_this) | |
1139 | SWIG_this = PyString_FromString("this"); | |
1140 | pyobj = obj; | |
1141 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1142 | newref = 1; | |
1143 | if (!obj) goto type_error; | |
1144 | if (!PyString_Check(obj)) { | |
1145 | Py_DECREF(obj); | |
1146 | goto type_error; | |
1147 | } | |
1148 | } | |
1149 | c = PyString_AS_STRING(obj); | |
1150 | /* Pointer values must start with leading underscore */ | |
1151 | c = SWIG_UnpackVoidPtr(c, &vptr, ty->name); | |
1152 | if (newref) { Py_DECREF(obj); } | |
1153 | if (!c) goto type_error; | |
1154 | #endif | |
1155 | ||
1156 | type_check: | |
1157 | ||
1158 | if (ty) { | |
1159 | tc = SWIG_TypeCheck(c,ty); | |
1160 | if (!tc) goto type_error; | |
1161 | *ptr = SWIG_TypeCast(tc,vptr); | |
1162 | } else { | |
1163 | *ptr = vptr; | |
1164 | } | |
1165 | ||
1166 | if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { | |
1167 | PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); | |
1168 | } | |
1169 | return 0; | |
1170 | ||
1171 | type_error: | |
1172 | PyErr_Clear(); | |
1173 | if (pyobj && !obj) { | |
1174 | obj = pyobj; | |
1175 | if (PyCFunction_Check(obj)) { | |
1176 | /* here we get the method pointer for callbacks */ | |
1177 | char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); | |
1178 | c = doc ? strstr(doc, "swig_ptr: ") : 0; | |
1179 | if (c) { | |
1180 | c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name); | |
1181 | if (!c) goto type_error; | |
1182 | goto type_check; | |
1183 | } | |
1184 | } | |
1185 | } | |
1186 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1187 | if (ty) { | |
1188 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1189 | } else { | |
1190 | SWIG_Python_TypeError("C/C++ pointer", obj); | |
1191 | } | |
1192 | } | |
1193 | return -1; | |
1194 | } | |
1195 | ||
1196 | /* Convert a pointer value, signal an exception on a type mismatch */ | |
1197 | SWIGRUNTIME void * | |
1198 | SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { | |
1199 | void *result; | |
1200 | if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { | |
1201 | PyErr_Clear(); | |
1202 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1203 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1204 | SWIG_Python_ArgFail(argnum); | |
1205 | } | |
1206 | } | |
1207 | return result; | |
1208 | } | |
1209 | ||
1210 | /* Convert a packed value value */ | |
1211 | SWIGRUNTIME int | |
1212 | SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) { | |
1213 | swig_type_info *tc; | |
1214 | const char *c = 0; | |
1215 | ||
1216 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) | |
1217 | c = PySwigPacked_UnpackData(obj, ptr, sz); | |
1218 | #else | |
1219 | if ((!obj) || (!PyString_Check(obj))) goto type_error; | |
1220 | c = PyString_AS_STRING(obj); | |
1221 | /* Pointer values must start with leading underscore */ | |
1222 | c = SWIG_UnpackDataName(c, ptr, sz, ty->name); | |
1223 | #endif | |
1224 | if (!c) goto type_error; | |
1225 | if (ty) { | |
1226 | tc = SWIG_TypeCheck(c,ty); | |
1227 | if (!tc) goto type_error; | |
1228 | } | |
1229 | return 0; | |
1230 | ||
1231 | type_error: | |
1232 | PyErr_Clear(); | |
1233 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1234 | if (ty) { | |
1235 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1236 | } else { | |
1237 | SWIG_Python_TypeError("C/C++ packed data", obj); | |
1238 | } | |
1239 | } | |
1240 | return -1; | |
1241 | } | |
1242 | ||
1243 | /* Create a new array object */ | |
1244 | SWIGRUNTIME PyObject * | |
1245 | SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) { | |
1246 | PyObject *robj = 0; | |
1247 | if (!ptr) { | |
1248 | Py_INCREF(Py_None); | |
1249 | return Py_None; | |
1250 | } | |
1251 | #ifdef SWIG_COBJECT_TYPES | |
1252 | robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name); | |
1253 | #else | |
1254 | { | |
1255 | char result[SWIG_BUFFER_SIZE]; | |
1256 | robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ? | |
1257 | PyString_FromString(result) : 0; | |
1258 | } | |
1259 | #endif | |
1260 | if (!robj || (robj == Py_None)) return robj; | |
1261 | if (type->clientdata) { | |
1262 | PyObject *inst; | |
1263 | PyObject *args = Py_BuildValue((char*)"(O)", robj); | |
1264 | Py_DECREF(robj); | |
1265 | inst = PyObject_CallObject((PyObject *) type->clientdata, args); | |
1266 | Py_DECREF(args); | |
1267 | if (inst) { | |
1268 | if (own) { | |
1269 | PyObject_SetAttrString(inst,(char*)"thisown",Py_True); | |
1270 | } | |
1271 | robj = inst; | |
1272 | } | |
1273 | } | |
1274 | return robj; | |
1275 | } | |
1276 | ||
1277 | SWIGRUNTIME PyObject * | |
1278 | SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { | |
1279 | PyObject *robj = 0; | |
1280 | if (!ptr) { | |
1281 | Py_INCREF(Py_None); | |
1282 | return Py_None; | |
1283 | } | |
1284 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) | |
1285 | robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name); | |
1286 | #else | |
1287 | { | |
1288 | char result[SWIG_BUFFER_SIZE]; | |
1289 | robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ? | |
1290 | PyString_FromString(result) : 0; | |
1291 | } | |
1292 | #endif | |
1293 | return robj; | |
1294 | } | |
1295 | ||
1296 | /* -----------------------------------------------------------------------------* | |
1297 | * Get type list | |
1298 | * -----------------------------------------------------------------------------*/ | |
1299 | ||
1300 | #ifdef SWIG_LINK_RUNTIME | |
1301 | void *SWIG_ReturnGlobalTypeList(void *); | |
1302 | #endif | |
1303 | ||
1304 | SWIGRUNTIME swig_type_info ** | |
1305 | SWIG_Python_GetTypeListHandle() { | |
1306 | static void *type_pointer = (void *)0; | |
1307 | /* first check if module already created */ | |
1308 | if (!type_pointer) { | |
1309 | #ifdef SWIG_LINK_RUNTIME | |
1310 | type_pointer = SWIG_ReturnGlobalTypeList((void *)0); | |
1311 | #else | |
1312 | type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
1313 | (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); | |
1314 | if (PyErr_Occurred()) { | |
1315 | PyErr_Clear(); | |
1316 | type_pointer = (void *)0; | |
1317 | } | |
1318 | } | |
1319 | #endif | |
1320 | return (swig_type_info **) type_pointer; | |
1321 | } | |
1322 | ||
1323 | /* | |
1324 | Search for a swig_type_info structure | |
1325 | */ | |
1326 | SWIGRUNTIMEINLINE swig_type_info * | |
1327 | SWIG_Python_GetTypeList() { | |
1328 | swig_type_info **tlh = SWIG_Python_GetTypeListHandle(); | |
1329 | return tlh ? *tlh : (swig_type_info*)0; | |
1330 | } | |
1331 | ||
1332 | #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList | |
1333 | ||
1334 | #ifdef __cplusplus | |
1335 | } | |
1336 | #endif | |
1337 | ||
1338 | ||
1339 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
1340 | ||
1341 | #define SWIGTYPE_p_wxColour swig_types[0] | |
1342 | #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[1] | |
1343 | #define SWIGTYPE_p_form_ops_t swig_types[2] | |
1344 | #define SWIGTYPE_p_wxDuplexMode swig_types[3] | |
1345 | #define SWIGTYPE_p_wxValidator swig_types[4] | |
1346 | #define SWIGTYPE_p_char swig_types[5] | |
1347 | #define SWIGTYPE_p_wxPanel swig_types[6] | |
1348 | #define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[7] | |
1349 | #define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[8] | |
1350 | #define SWIGTYPE_p_wxLEDNumberCtrl swig_types[9] | |
1351 | #define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[10] | |
1352 | #define SWIGTYPE_p_wxThinSplitterWindow swig_types[11] | |
1353 | #define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[12] | |
1354 | #define SWIGTYPE_p_wxDynamicSashWindow swig_types[13] | |
1355 | #define SWIGTYPE_p_wxWindow swig_types[14] | |
1356 | #define SWIGTYPE_p_wxSplitterWindow swig_types[15] | |
1357 | #define SWIGTYPE_p_wxScrolledWindow swig_types[16] | |
1358 | #define SWIGTYPE_p_wxFont swig_types[17] | |
1359 | #define SWIGTYPE_p_wxControl swig_types[18] | |
1360 | #define SWIGTYPE_p_wxPyListCtrl swig_types[19] | |
1361 | #define SWIGTYPE_p_wxPyTreeListCtrl swig_types[20] | |
1362 | #define SWIGTYPE_p_wxEvent swig_types[21] | |
1363 | #define SWIGTYPE_p_wxObject swig_types[22] | |
1364 | #define SWIGTYPE_p_wxBitmap swig_types[23] | |
1365 | #define SWIGTYPE_p_wxScrollBar swig_types[24] | |
1366 | #define SWIGTYPE_p_wxPaperSize swig_types[25] | |
1367 | #define SWIGTYPE_p_unsigned_int swig_types[26] | |
1368 | #define SWIGTYPE_unsigned_int swig_types[27] | |
1369 | #define SWIGTYPE_p_wxEvtHandler swig_types[28] | |
1370 | #define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[29] | |
1371 | #define SWIGTYPE_p_wxPyTreeCtrl swig_types[30] | |
1372 | #define SWIGTYPE_p_wxImageList swig_types[31] | |
1373 | #define SWIGTYPE_p_unsigned_char swig_types[32] | |
1374 | #define SWIGTYPE_p_wxEditableListBox swig_types[33] | |
1375 | #define SWIGTYPE_p_wxIcon swig_types[34] | |
1376 | #define SWIGTYPE_ptrdiff_t swig_types[35] | |
1377 | #define SWIGTYPE_std__ptrdiff_t swig_types[36] | |
1378 | #define SWIGTYPE_p_wxArrayString swig_types[37] | |
1379 | #define SWIGTYPE_p_wxCommandEvent swig_types[38] | |
1380 | #define SWIGTYPE_p_wxTreeItemId swig_types[39] | |
1381 | #define SWIGTYPE_p_float swig_types[40] | |
1382 | #define SWIGTYPE_p_int swig_types[41] | |
1383 | #define SWIGTYPE_p_unsigned_long swig_types[42] | |
1384 | #define SWIGTYPE_p_wxStaticPicture swig_types[43] | |
1385 | #define SWIGTYPE_p_wxPyTreeItemData swig_types[44] | |
1386 | static swig_type_info *swig_types[46]; | |
1387 | ||
1388 | /* -------- TYPES TABLE (END) -------- */ | |
1389 | ||
1390 | ||
1391 | /*----------------------------------------------- | |
1392 | @(target):= _gizmos.so | |
1393 | ------------------------------------------------*/ | |
1394 | #define SWIG_init init_gizmos | |
1395 | ||
1396 | #define SWIG_name "_gizmos" | |
1397 | ||
1398 | #include "wx/wxPython/wxPython.h" | |
1399 | #include "wx/wxPython/pyclasses.h" | |
1400 | ||
1401 | #include <wx/gizmos/dynamicsash.h> | |
1402 | #include <wx/gizmos/editlbox.h> | |
1403 | #include <wx/gizmos/splittree.h> | |
1404 | #include <wx/gizmos/ledctrl.h> | |
1405 | #include <wx/gizmos/statpict.h> | |
1406 | ||
1407 | #include <wx/listctrl.h> | |
1408 | #include <wx/treectrl.h> | |
1409 | #include <wx/imaglist.h> | |
1410 | ||
1411 | #include "wx/treelistctrl.h" | |
1412 | #include "wx/wxPython/pytree.h" | |
1413 | ||
1414 | ||
1415 | static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow")); | |
1416 | static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox")); | |
1417 | static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl")); | |
1418 | static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr); | |
1419 | static const wxString wxPyEmptyString(wxEmptyString); | |
1420 | ||
1421 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ | |
1422 | #define SWIG_From_int PyInt_FromLong | |
1423 | /*@@*/ | |
1424 | ||
1425 | ||
1426 | #include <limits.h> | |
1427 | ||
1428 | ||
1429 | SWIGINTERN int | |
1430 | SWIG_CheckLongInRange(long value, long min_value, long max_value, | |
1431 | const char *errmsg) | |
1432 | { | |
1433 | if (value < min_value) { | |
1434 | if (errmsg) { | |
1435 | PyErr_Format(PyExc_OverflowError, | |
1436 | "value %ld is less than '%s' minimum %ld", | |
1437 | value, errmsg, min_value); | |
1438 | } | |
1439 | return 0; | |
1440 | } else if (value > max_value) { | |
1441 | if (errmsg) { | |
1442 | PyErr_Format(PyExc_OverflowError, | |
1443 | "value %ld is greater than '%s' maximum %ld", | |
1444 | value, errmsg, max_value); | |
1445 | } | |
1446 | return 0; | |
1447 | } | |
1448 | return 1; | |
1449 | } | |
1450 | ||
1451 | ||
1452 | SWIGINTERN int | |
1453 | SWIG_AsVal_long(PyObject* obj, long* val) | |
1454 | { | |
1455 | if (PyNumber_Check(obj)) { | |
1456 | if (val) *val = PyInt_AsLong(obj); | |
1457 | return 1; | |
1458 | } | |
1459 | else { | |
1460 | SWIG_type_error("number", obj); | |
1461 | } | |
1462 | return 0; | |
1463 | } | |
1464 | ||
1465 | ||
1466 | #if INT_MAX != LONG_MAX | |
1467 | SWIGINTERN int | |
1468 | SWIG_AsVal_int(PyObject *obj, int *val) | |
1469 | { | |
1470 | const char* errmsg = val ? "int" : (char*)0; | |
1471 | long v; | |
1472 | if (SWIG_AsVal_long(obj, &v)) { | |
1473 | if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { | |
1474 | if (val) *val = (int)(v); | |
1475 | return 1; | |
1476 | } else { | |
1477 | return 0; | |
1478 | } | |
1479 | } else { | |
1480 | PyErr_Clear(); | |
1481 | } | |
1482 | if (val) { | |
1483 | SWIG_type_error(errmsg, obj); | |
1484 | } | |
1485 | return 0; | |
1486 | } | |
1487 | #else | |
1488 | SWIGINTERNSHORT int | |
1489 | SWIG_AsVal_int(PyObject *obj, int *val) | |
1490 | { | |
1491 | return SWIG_AsVal_long(obj,(long*)val); | |
1492 | } | |
1493 | #endif | |
1494 | ||
1495 | ||
1496 | SWIGINTERNSHORT int | |
1497 | SWIG_As_int(PyObject* obj) | |
1498 | { | |
1499 | int v; | |
1500 | if (!SWIG_AsVal_int(obj, &v)) { | |
1501 | /* | |
1502 | this is needed to make valgrind/purify happier. | |
1503 | */ | |
1504 | memset((void*)&v, 0, sizeof(int)); | |
1505 | } | |
1506 | return v; | |
1507 | } | |
1508 | ||
1509 | ||
1510 | SWIGINTERNSHORT long | |
1511 | SWIG_As_long(PyObject* obj) | |
1512 | { | |
1513 | long v; | |
1514 | if (!SWIG_AsVal_long(obj, &v)) { | |
1515 | /* | |
1516 | this is needed to make valgrind/purify happier. | |
1517 | */ | |
1518 | memset((void*)&v, 0, sizeof(long)); | |
1519 | } | |
1520 | return v; | |
1521 | } | |
1522 | ||
1523 | ||
1524 | SWIGINTERNSHORT int | |
1525 | SWIG_Check_int(PyObject* obj) | |
1526 | { | |
1527 | return SWIG_AsVal_int(obj, (int*)0); | |
1528 | } | |
1529 | ||
1530 | ||
1531 | SWIGINTERNSHORT int | |
1532 | SWIG_Check_long(PyObject* obj) | |
1533 | { | |
1534 | return SWIG_AsVal_long(obj, (long*)0); | |
1535 | } | |
1536 | ||
1537 | static PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){ | |
1538 | wxArrayString strings; | |
1539 | self->GetStrings(strings); | |
1540 | return wxArrayString2PyList_helper(strings); | |
1541 | } | |
1542 | ||
1543 | typedef wxTreeCtrl wxPyTreeCtrl; | |
1544 | ||
1545 | ||
1546 | class wxPyTreeCompanionWindow: public wxTreeCompanionWindow | |
1547 | { | |
1548 | public: | |
1549 | wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1, | |
1550 | const wxPoint& pos = wxDefaultPosition, | |
1551 | const wxSize& size = wxDefaultSize, | |
1552 | long style = 0) | |
1553 | : wxTreeCompanionWindow(parent, id, pos, size, style) {} | |
1554 | ||
1555 | ||
1556 | virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) { | |
1557 | bool found; | |
1558 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
1559 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) { | |
1560 | PyObject* dcobj = wxPyMake_wxObject(&dc,false); | |
1561 | PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false); | |
1562 | PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false); | |
1563 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj)); | |
1564 | Py_DECREF(dcobj); | |
1565 | Py_DECREF(idobj); | |
1566 | Py_DECREF(recobj); | |
1567 | } | |
1568 | wxPyEndBlockThreads(blocked); | |
1569 | if (! found) | |
1570 | wxTreeCompanionWindow::DrawItem(dc, id, rect); | |
1571 | } | |
1572 | ||
1573 | PYPRIVATE; | |
1574 | }; | |
1575 | ||
1576 | ||
1577 | SWIGINTERN int | |
1578 | SWIG_AsVal_bool(PyObject *obj, bool *val) | |
1579 | { | |
1580 | if (obj == Py_True) { | |
1581 | if (val) *val = true; | |
1582 | return 1; | |
1583 | } | |
1584 | if (obj == Py_False) { | |
1585 | if (val) *val = false; | |
1586 | return 1; | |
1587 | } | |
1588 | int res = 0; | |
1589 | if (SWIG_AsVal_int(obj, &res)) { | |
1590 | if (val) *val = res ? true : false; | |
1591 | return 1; | |
1592 | } else { | |
1593 | PyErr_Clear(); | |
1594 | } | |
1595 | if (val) { | |
1596 | SWIG_type_error("bool", obj); | |
1597 | } | |
1598 | return 0; | |
1599 | } | |
1600 | ||
1601 | ||
1602 | SWIGINTERNSHORT bool | |
1603 | SWIG_As_bool(PyObject* obj) | |
1604 | { | |
1605 | bool v; | |
1606 | if (!SWIG_AsVal_bool(obj, &v)) { | |
1607 | /* | |
1608 | this is needed to make valgrind/purify happier. | |
1609 | */ | |
1610 | memset((void*)&v, 0, sizeof(bool)); | |
1611 | } | |
1612 | return v; | |
1613 | } | |
1614 | ||
1615 | ||
1616 | SWIGINTERNSHORT int | |
1617 | SWIG_Check_bool(PyObject* obj) | |
1618 | { | |
1619 | return SWIG_AsVal_bool(obj, (bool*)0); | |
1620 | } | |
1621 | ||
1622 | ||
1623 | SWIGINTERN int | |
1624 | SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) | |
1625 | { | |
1626 | long v = 0; | |
1627 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
1628 | SWIG_type_error("unsigned number", obj); | |
1629 | } | |
1630 | else if (val) | |
1631 | *val = (unsigned long)v; | |
1632 | return 1; | |
1633 | } | |
1634 | ||
1635 | ||
1636 | SWIGINTERNSHORT unsigned long | |
1637 | SWIG_As_unsigned_SS_long(PyObject* obj) | |
1638 | { | |
1639 | unsigned long v; | |
1640 | if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) { | |
1641 | /* | |
1642 | this is needed to make valgrind/purify happier. | |
1643 | */ | |
1644 | memset((void*)&v, 0, sizeof(unsigned long)); | |
1645 | } | |
1646 | return v; | |
1647 | } | |
1648 | ||
1649 | ||
1650 | SWIGINTERNSHORT int | |
1651 | SWIG_Check_unsigned_SS_long(PyObject* obj) | |
1652 | { | |
1653 | return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); | |
1654 | } | |
1655 | ||
1656 | ||
1657 | SWIGINTERNSHORT PyObject* | |
1658 | SWIG_From_unsigned_SS_long(unsigned long value) | |
1659 | { | |
1660 | return (value > LONG_MAX) ? | |
1661 | PyLong_FromUnsignedLong(value) | |
1662 | : PyInt_FromLong((long)(value)); | |
1663 | } | |
1664 | ||
1665 | // C++ version of Python aware control | |
1666 | class wxPyTreeListCtrl : public wxTreeListCtrl { | |
1667 | DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl); | |
1668 | public: | |
1669 | wxPyTreeListCtrl() : wxTreeListCtrl() {} | |
1670 | wxPyTreeListCtrl(wxWindow *parent, wxWindowID id, | |
1671 | const wxPoint& pos, | |
1672 | const wxSize& size, | |
1673 | long style, | |
1674 | const wxValidator &validator, | |
1675 | const wxString& name) : | |
1676 | wxTreeListCtrl(parent, id, pos, size, style, validator, name) {} | |
1677 | ||
1678 | int OnCompareItems(const wxTreeItemId& item1, | |
1679 | const wxTreeItemId& item2) { | |
1680 | int rval = 0; | |
1681 | bool found; | |
1682 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
1683 | if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) { | |
1684 | PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0); | |
1685 | PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0); | |
1686 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2)); | |
1687 | Py_DECREF(o1); | |
1688 | Py_DECREF(o2); | |
1689 | } | |
1690 | wxPyEndBlockThreads(blocked); | |
1691 | if (! found) | |
1692 | rval = wxTreeListCtrl::OnCompareItems(item1, item2); | |
1693 | return rval; | |
1694 | } | |
1695 | PYPRIVATE; | |
1696 | }; | |
1697 | ||
1698 | IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl) | |
1699 | ||
1700 | ||
1701 | ||
1702 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ | |
1703 | #define SWIG_From_long PyInt_FromLong | |
1704 | /*@@*/ | |
1705 | ||
1706 | ||
1707 | #if UINT_MAX < LONG_MAX | |
1708 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ | |
1709 | #define SWIG_From_unsigned_SS_int SWIG_From_long | |
1710 | /*@@*/ | |
1711 | #else | |
1712 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ | |
1713 | #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long | |
1714 | /*@@*/ | |
1715 | #endif | |
1716 | ||
1717 | ||
1718 | SWIGINTERNSHORT int | |
1719 | SWIG_CheckUnsignedLongInRange(unsigned long value, | |
1720 | unsigned long max_value, | |
1721 | const char *errmsg) | |
1722 | { | |
1723 | if (value > max_value) { | |
1724 | if (errmsg) { | |
1725 | PyErr_Format(PyExc_OverflowError, | |
1726 | "value %lu is greater than '%s' minimum %lu", | |
1727 | value, errmsg, max_value); | |
1728 | } | |
1729 | return 0; | |
1730 | } | |
1731 | return 1; | |
1732 | } | |
1733 | ||
1734 | ||
1735 | #if UINT_MAX != ULONG_MAX | |
1736 | SWIGINTERN int | |
1737 | SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) | |
1738 | { | |
1739 | const char* errmsg = val ? "unsigned int" : (char*)0; | |
1740 | unsigned long v; | |
1741 | if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { | |
1742 | if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) { | |
1743 | if (val) *val = (unsigned int)(v); | |
1744 | return 1; | |
1745 | } | |
1746 | } else { | |
1747 | PyErr_Clear(); | |
1748 | } | |
1749 | if (val) { | |
1750 | SWIG_type_error(errmsg, obj); | |
1751 | } | |
1752 | return 0; | |
1753 | } | |
1754 | #else | |
1755 | SWIGINTERNSHORT unsigned int | |
1756 | SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) | |
1757 | { | |
1758 | return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val); | |
1759 | } | |
1760 | #endif | |
1761 | ||
1762 | ||
1763 | SWIGINTERNSHORT unsigned int | |
1764 | SWIG_As_unsigned_SS_int(PyObject* obj) | |
1765 | { | |
1766 | unsigned int v; | |
1767 | if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) { | |
1768 | /* | |
1769 | this is needed to make valgrind/purify happier. | |
1770 | */ | |
1771 | memset((void*)&v, 0, sizeof(unsigned int)); | |
1772 | } | |
1773 | return v; | |
1774 | } | |
1775 | ||
1776 | ||
1777 | SWIGINTERNSHORT int | |
1778 | SWIG_Check_unsigned_SS_int(PyObject* obj) | |
1779 | { | |
1780 | return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0); | |
1781 | } | |
1782 | ||
1783 | static wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){ | |
1784 | if (column < 0) column = self->GetMainColumn(); | |
1785 | return self->GetItemText(item, column); | |
1786 | } | |
1787 | static int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){ | |
1788 | if (column < 0) column = self->GetMainColumn(); | |
1789 | return self->GetItemImage(item, column, which); | |
1790 | } | |
1791 | static void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){ | |
1792 | if (column < 0) column = self->GetMainColumn(); | |
1793 | self->SetItemText(item, column, text); | |
1794 | } | |
1795 | static void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){ | |
1796 | if (column < 0) column = self->GetMainColumn(); | |
1797 | self->SetItemImage(item, column, image, which); | |
1798 | } | |
1799 | static wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){ | |
1800 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); | |
1801 | if (data == NULL) { | |
1802 | data = new wxPyTreeItemData(); | |
1803 | data->SetId(item); // set the id | |
1804 | self->SetItemData(item, data); | |
1805 | } | |
1806 | return data; | |
1807 | } | |
1808 | static void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){ | |
1809 | data->SetId(item); // set the id | |
1810 | self->SetItemData(item, data); | |
1811 | } | |
1812 | static PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){ | |
1813 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); | |
1814 | if (data == NULL) { | |
1815 | data = new wxPyTreeItemData(); | |
1816 | data->SetId(item); // set the id | |
1817 | self->SetItemData(item, data); | |
1818 | } | |
1819 | return data->GetData(); | |
1820 | } | |
1821 | static void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){ | |
1822 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); | |
1823 | if (data == NULL) { | |
1824 | data = new wxPyTreeItemData(obj); | |
1825 | data->SetId(item); // set the id | |
1826 | self->SetItemData(item, data); | |
1827 | } else | |
1828 | data->SetData(obj); | |
1829 | } | |
1830 | static PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){ | |
1831 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
1832 | PyObject* rval = PyList_New(0); | |
1833 | wxArrayTreeItemIds array; | |
1834 | size_t num, x; | |
1835 | num = self->GetSelections(array); | |
1836 | for (x=0; x < num; x++) { | |
1837 | wxTreeItemId *tii = new wxTreeItemId(array.Item(x)); | |
1838 | PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true); | |
1839 | PyList_Append(rval, item); | |
1840 | } | |
1841 | wxPyEndBlockThreads(blocked); | |
1842 | return rval; | |
1843 | } | |
1844 | static PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){ | |
1845 | void* cookie = 0; | |
1846 | wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie)); | |
1847 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
1848 | PyObject* tup = PyTuple_New(2); | |
1849 | PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true)); | |
1850 | PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void"))); | |
1851 | wxPyEndBlockThreads(blocked); | |
1852 | return tup; | |
1853 | } | |
1854 | static PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){ | |
1855 | wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie)); | |
1856 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
1857 | PyObject* tup = PyTuple_New(2); | |
1858 | PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true)); | |
1859 | PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void"))); | |
1860 | wxPyEndBlockThreads(blocked); | |
1861 | return tup; | |
1862 | } | |
1863 | ||
1864 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
1865 | PyObject* o2; | |
1866 | PyObject* o3; | |
1867 | ||
1868 | if (!target) { | |
1869 | target = o; | |
1870 | } else if (target == Py_None) { | |
1871 | Py_DECREF(Py_None); | |
1872 | target = o; | |
1873 | } else { | |
1874 | if (!PyTuple_Check(target)) { | |
1875 | o2 = target; | |
1876 | target = PyTuple_New(1); | |
1877 | PyTuple_SetItem(target, 0, o2); | |
1878 | } | |
1879 | o3 = PyTuple_New(1); | |
1880 | PyTuple_SetItem(o3, 0, o); | |
1881 | ||
1882 | o2 = target; | |
1883 | target = PySequence_Concat(o2, o3); | |
1884 | Py_DECREF(o2); | |
1885 | Py_DECREF(o3); | |
1886 | } | |
1887 | return target; | |
1888 | } | |
1889 | ||
1890 | ||
1891 | static PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){ | |
1892 | wxRect rect; | |
1893 | if (self->GetBoundingRect(item, rect, textOnly)) { | |
1894 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
1895 | wxRect* r = new wxRect(rect); | |
1896 | PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1); | |
1897 | wxPyEndBlockThreads(blocked); | |
1898 | return val; | |
1899 | } | |
1900 | else { | |
1901 | RETURN_NONE(); | |
1902 | } | |
1903 | } | |
1904 | ||
1905 | #include <float.h> | |
1906 | SWIGINTERN int | |
1907 | SWIG_CheckDoubleInRange(double value, double min_value, | |
1908 | double max_value, const char* errmsg) | |
1909 | { | |
1910 | if (value < min_value) { | |
1911 | if (errmsg) { | |
1912 | PyErr_Format(PyExc_OverflowError, | |
1913 | "value %g is less than %s minimum %g", | |
1914 | value, errmsg, min_value); | |
1915 | } | |
1916 | return 0; | |
1917 | } else if (value > max_value) { | |
1918 | if (errmsg) { | |
1919 | PyErr_Format(PyExc_OverflowError, | |
1920 | "value %g is greater than %s maximum %g", | |
1921 | value, errmsg, max_value); | |
1922 | } | |
1923 | return 0; | |
1924 | } | |
1925 | return 1; | |
1926 | } | |
1927 | ||
1928 | ||
1929 | SWIGINTERN int | |
1930 | SWIG_AsVal_double(PyObject *obj, double* val) | |
1931 | { | |
1932 | if (PyNumber_Check(obj)) { | |
1933 | if (val) *val = PyFloat_AsDouble(obj); | |
1934 | return 1; | |
1935 | } | |
1936 | else { | |
1937 | SWIG_type_error("number", obj); | |
1938 | } | |
1939 | return 0; | |
1940 | } | |
1941 | ||
1942 | ||
1943 | SWIGINTERN int | |
1944 | SWIG_AsVal_float(PyObject *obj, float *val) | |
1945 | { | |
1946 | const char* errmsg = val ? "float" : (char*)0; | |
1947 | double v; | |
1948 | if (SWIG_AsVal_double(obj, &v)) { | |
1949 | if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) { | |
1950 | if (val) *val = (float)(v); | |
1951 | return 1; | |
1952 | } else { | |
1953 | return 0; | |
1954 | } | |
1955 | } else { | |
1956 | PyErr_Clear(); | |
1957 | } | |
1958 | if (val) { | |
1959 | SWIG_type_error(errmsg, obj); | |
1960 | } | |
1961 | return 0; | |
1962 | } | |
1963 | ||
1964 | ||
1965 | SWIGINTERNSHORT float | |
1966 | SWIG_As_float(PyObject* obj) | |
1967 | { | |
1968 | float v; | |
1969 | if (!SWIG_AsVal_float(obj, &v)) { | |
1970 | /* | |
1971 | this is needed to make valgrind/purify happier. | |
1972 | */ | |
1973 | memset((void*)&v, 0, sizeof(float)); | |
1974 | } | |
1975 | return v; | |
1976 | } | |
1977 | ||
1978 | ||
1979 | SWIGINTERNSHORT int | |
1980 | SWIG_Check_float(PyObject* obj) | |
1981 | { | |
1982 | return SWIG_AsVal_float(obj, (float*)0); | |
1983 | } | |
1984 | ||
1985 | ||
1986 | /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/ | |
1987 | #define SWIG_From_float PyFloat_FromDouble | |
1988 | /*@@*/ | |
1989 | ||
1990 | ||
1991 | #ifdef __cplusplus | |
1992 | extern "C" { | |
1993 | #endif | |
1994 | static int _wrap_DynamicSashNameStr_set(PyObject *) { | |
1995 | PyErr_SetString(PyExc_TypeError,"Variable DynamicSashNameStr is read-only."); | |
1996 | return 1; | |
1997 | } | |
1998 | ||
1999 | ||
2000 | static PyObject *_wrap_DynamicSashNameStr_get(void) { | |
2001 | PyObject *pyobj; | |
2002 | ||
2003 | { | |
2004 | #if wxUSE_UNICODE | |
2005 | pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len()); | |
2006 | #else | |
2007 | pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len()); | |
2008 | #endif | |
2009 | } | |
2010 | return pyobj; | |
2011 | } | |
2012 | ||
2013 | ||
2014 | static int _wrap_EditableListBoxNameStr_set(PyObject *) { | |
2015 | PyErr_SetString(PyExc_TypeError,"Variable EditableListBoxNameStr is read-only."); | |
2016 | return 1; | |
2017 | } | |
2018 | ||
2019 | ||
2020 | static PyObject *_wrap_EditableListBoxNameStr_get(void) { | |
2021 | PyObject *pyobj; | |
2022 | ||
2023 | { | |
2024 | #if wxUSE_UNICODE | |
2025 | pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len()); | |
2026 | #else | |
2027 | pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len()); | |
2028 | #endif | |
2029 | } | |
2030 | return pyobj; | |
2031 | } | |
2032 | ||
2033 | ||
2034 | static int _wrap_TreeListCtrlNameStr_set(PyObject *) { | |
2035 | PyErr_SetString(PyExc_TypeError,"Variable TreeListCtrlNameStr is read-only."); | |
2036 | return 1; | |
2037 | } | |
2038 | ||
2039 | ||
2040 | static PyObject *_wrap_TreeListCtrlNameStr_get(void) { | |
2041 | PyObject *pyobj; | |
2042 | ||
2043 | { | |
2044 | #if wxUSE_UNICODE | |
2045 | pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len()); | |
2046 | #else | |
2047 | pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len()); | |
2048 | #endif | |
2049 | } | |
2050 | return pyobj; | |
2051 | } | |
2052 | ||
2053 | ||
2054 | static int _wrap_StaticPictureNameStr_set(PyObject *) { | |
2055 | PyErr_SetString(PyExc_TypeError,"Variable StaticPictureNameStr is read-only."); | |
2056 | return 1; | |
2057 | } | |
2058 | ||
2059 | ||
2060 | static PyObject *_wrap_StaticPictureNameStr_get(void) { | |
2061 | PyObject *pyobj; | |
2062 | ||
2063 | { | |
2064 | #if wxUSE_UNICODE | |
2065 | pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len()); | |
2066 | #else | |
2067 | pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len()); | |
2068 | #endif | |
2069 | } | |
2070 | return pyobj; | |
2071 | } | |
2072 | ||
2073 | ||
2074 | static PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *, PyObject *args, PyObject *kwargs) { | |
2075 | PyObject *resultobj; | |
2076 | wxObject *arg1 = (wxObject *) 0 ; | |
2077 | wxDynamicSashSplitEvent *result; | |
2078 | PyObject * obj0 = 0 ; | |
2079 | char *kwnames[] = { | |
2080 | (char *) "target", NULL | |
2081 | }; | |
2082 | ||
2083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) goto fail; | |
2084 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0); | |
2085 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2086 | { | |
2087 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2088 | result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1); | |
2089 | ||
2090 | wxPyEndAllowThreads(__tstate); | |
2091 | if (PyErr_Occurred()) SWIG_fail; | |
2092 | } | |
2093 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashSplitEvent, 1); | |
2094 | return resultobj; | |
2095 | fail: | |
2096 | return NULL; | |
2097 | } | |
2098 | ||
2099 | ||
2100 | static PyObject * DynamicSashSplitEvent_swigregister(PyObject *, PyObject *args) { | |
2101 | PyObject *obj; | |
2102 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2103 | SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, obj); | |
2104 | Py_INCREF(obj); | |
2105 | return Py_BuildValue((char *)""); | |
2106 | } | |
2107 | static PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *, PyObject *args, PyObject *kwargs) { | |
2108 | PyObject *resultobj; | |
2109 | wxObject *arg1 = (wxObject *) 0 ; | |
2110 | wxDynamicSashUnifyEvent *result; | |
2111 | PyObject * obj0 = 0 ; | |
2112 | char *kwnames[] = { | |
2113 | (char *) "target", NULL | |
2114 | }; | |
2115 | ||
2116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) goto fail; | |
2117 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0); | |
2118 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2119 | { | |
2120 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2121 | result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1); | |
2122 | ||
2123 | wxPyEndAllowThreads(__tstate); | |
2124 | if (PyErr_Occurred()) SWIG_fail; | |
2125 | } | |
2126 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, 1); | |
2127 | return resultobj; | |
2128 | fail: | |
2129 | return NULL; | |
2130 | } | |
2131 | ||
2132 | ||
2133 | static PyObject * DynamicSashUnifyEvent_swigregister(PyObject *, PyObject *args) { | |
2134 | PyObject *obj; | |
2135 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2136 | SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, obj); | |
2137 | Py_INCREF(obj); | |
2138 | return Py_BuildValue((char *)""); | |
2139 | } | |
2140 | static PyObject *_wrap_new_DynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { | |
2141 | PyObject *resultobj; | |
2142 | wxWindow *arg1 = (wxWindow *) 0 ; | |
2143 | int arg2 = (int) -1 ; | |
2144 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
2145 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
2146 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
2147 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
2148 | long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ; | |
2149 | wxString const &arg6_defvalue = wxPyDynamicSashNameStr ; | |
2150 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
2151 | wxDynamicSashWindow *result; | |
2152 | wxPoint temp3 ; | |
2153 | wxSize temp4 ; | |
2154 | bool temp6 = false ; | |
2155 | PyObject * obj0 = 0 ; | |
2156 | PyObject * obj1 = 0 ; | |
2157 | PyObject * obj2 = 0 ; | |
2158 | PyObject * obj3 = 0 ; | |
2159 | PyObject * obj4 = 0 ; | |
2160 | PyObject * obj5 = 0 ; | |
2161 | char *kwnames[] = { | |
2162 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2163 | }; | |
2164 | ||
2165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
2166 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
2167 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2168 | if (obj1) { | |
2169 | { | |
2170 | arg2 = (int)(SWIG_As_int(obj1)); | |
2171 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2172 | } | |
2173 | } | |
2174 | if (obj2) { | |
2175 | { | |
2176 | arg3 = &temp3; | |
2177 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
2178 | } | |
2179 | } | |
2180 | if (obj3) { | |
2181 | { | |
2182 | arg4 = &temp4; | |
2183 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
2184 | } | |
2185 | } | |
2186 | if (obj4) { | |
2187 | { | |
2188 | arg5 = (long)(SWIG_As_long(obj4)); | |
2189 | if (SWIG_arg_fail(5)) SWIG_fail; | |
2190 | } | |
2191 | } | |
2192 | if (obj5) { | |
2193 | { | |
2194 | arg6 = wxString_in_helper(obj5); | |
2195 | if (arg6 == NULL) SWIG_fail; | |
2196 | temp6 = true; | |
2197 | } | |
2198 | } | |
2199 | { | |
2200 | if (!wxPyCheckForApp()) SWIG_fail; | |
2201 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2202 | result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
2203 | ||
2204 | wxPyEndAllowThreads(__tstate); | |
2205 | if (PyErr_Occurred()) SWIG_fail; | |
2206 | } | |
2207 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1); | |
2208 | { | |
2209 | if (temp6) | |
2210 | delete arg6; | |
2211 | } | |
2212 | return resultobj; | |
2213 | fail: | |
2214 | { | |
2215 | if (temp6) | |
2216 | delete arg6; | |
2217 | } | |
2218 | return NULL; | |
2219 | } | |
2220 | ||
2221 | ||
2222 | static PyObject *_wrap_new_PreDynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { | |
2223 | PyObject *resultobj; | |
2224 | wxDynamicSashWindow *result; | |
2225 | char *kwnames[] = { | |
2226 | NULL | |
2227 | }; | |
2228 | ||
2229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDynamicSashWindow",kwnames)) goto fail; | |
2230 | { | |
2231 | if (!wxPyCheckForApp()) SWIG_fail; | |
2232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2233 | result = (wxDynamicSashWindow *)new wxDynamicSashWindow(); | |
2234 | ||
2235 | wxPyEndAllowThreads(__tstate); | |
2236 | if (PyErr_Occurred()) SWIG_fail; | |
2237 | } | |
2238 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1); | |
2239 | return resultobj; | |
2240 | fail: | |
2241 | return NULL; | |
2242 | } | |
2243 | ||
2244 | ||
2245 | static PyObject *_wrap_DynamicSashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { | |
2246 | PyObject *resultobj; | |
2247 | wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; | |
2248 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2249 | int arg3 = (int) -1 ; | |
2250 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2251 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2252 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2253 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2254 | long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ; | |
2255 | wxString const &arg7_defvalue = wxPyDynamicSashNameStr ; | |
2256 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2257 | bool result; | |
2258 | wxPoint temp4 ; | |
2259 | wxSize temp5 ; | |
2260 | bool temp7 = false ; | |
2261 | PyObject * obj0 = 0 ; | |
2262 | PyObject * obj1 = 0 ; | |
2263 | PyObject * obj2 = 0 ; | |
2264 | PyObject * obj3 = 0 ; | |
2265 | PyObject * obj4 = 0 ; | |
2266 | PyObject * obj5 = 0 ; | |
2267 | PyObject * obj6 = 0 ; | |
2268 | char *kwnames[] = { | |
2269 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2270 | }; | |
2271 | ||
2272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
2273 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0); | |
2274 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2275 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
2276 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2277 | if (obj2) { | |
2278 | { | |
2279 | arg3 = (int)(SWIG_As_int(obj2)); | |
2280 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2281 | } | |
2282 | } | |
2283 | if (obj3) { | |
2284 | { | |
2285 | arg4 = &temp4; | |
2286 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2287 | } | |
2288 | } | |
2289 | if (obj4) { | |
2290 | { | |
2291 | arg5 = &temp5; | |
2292 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2293 | } | |
2294 | } | |
2295 | if (obj5) { | |
2296 | { | |
2297 | arg6 = (long)(SWIG_As_long(obj5)); | |
2298 | if (SWIG_arg_fail(6)) SWIG_fail; | |
2299 | } | |
2300 | } | |
2301 | if (obj6) { | |
2302 | { | |
2303 | arg7 = wxString_in_helper(obj6); | |
2304 | if (arg7 == NULL) SWIG_fail; | |
2305 | temp7 = true; | |
2306 | } | |
2307 | } | |
2308 | { | |
2309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2310 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
2311 | ||
2312 | wxPyEndAllowThreads(__tstate); | |
2313 | if (PyErr_Occurred()) SWIG_fail; | |
2314 | } | |
2315 | { | |
2316 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2317 | } | |
2318 | { | |
2319 | if (temp7) | |
2320 | delete arg7; | |
2321 | } | |
2322 | return resultobj; | |
2323 | fail: | |
2324 | { | |
2325 | if (temp7) | |
2326 | delete arg7; | |
2327 | } | |
2328 | return NULL; | |
2329 | } | |
2330 | ||
2331 | ||
2332 | static PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { | |
2333 | PyObject *resultobj; | |
2334 | wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; | |
2335 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2336 | wxScrollBar *result; | |
2337 | PyObject * obj0 = 0 ; | |
2338 | PyObject * obj1 = 0 ; | |
2339 | char *kwnames[] = { | |
2340 | (char *) "self",(char *) "child", NULL | |
2341 | }; | |
2342 | ||
2343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
2344 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0); | |
2345 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2346 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
2347 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2348 | { | |
2349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2350 | result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2); | |
2351 | ||
2352 | wxPyEndAllowThreads(__tstate); | |
2353 | if (PyErr_Occurred()) SWIG_fail; | |
2354 | } | |
2355 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0); | |
2356 | return resultobj; | |
2357 | fail: | |
2358 | return NULL; | |
2359 | } | |
2360 | ||
2361 | ||
2362 | static PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { | |
2363 | PyObject *resultobj; | |
2364 | wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; | |
2365 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2366 | wxScrollBar *result; | |
2367 | PyObject * obj0 = 0 ; | |
2368 | PyObject * obj1 = 0 ; | |
2369 | char *kwnames[] = { | |
2370 | (char *) "self",(char *) "child", NULL | |
2371 | }; | |
2372 | ||
2373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
2374 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0); | |
2375 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2376 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
2377 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2378 | { | |
2379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2380 | result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2); | |
2381 | ||
2382 | wxPyEndAllowThreads(__tstate); | |
2383 | if (PyErr_Occurred()) SWIG_fail; | |
2384 | } | |
2385 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0); | |
2386 | return resultobj; | |
2387 | fail: | |
2388 | return NULL; | |
2389 | } | |
2390 | ||
2391 | ||
2392 | static PyObject * DynamicSashWindow_swigregister(PyObject *, PyObject *args) { | |
2393 | PyObject *obj; | |
2394 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2395 | SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashWindow, obj); | |
2396 | Py_INCREF(obj); | |
2397 | return Py_BuildValue((char *)""); | |
2398 | } | |
2399 | static PyObject *_wrap_new_EditableListBox(PyObject *, PyObject *args, PyObject *kwargs) { | |
2400 | PyObject *resultobj; | |
2401 | wxWindow *arg1 = (wxWindow *) 0 ; | |
2402 | int arg2 = (int) -1 ; | |
2403 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
2404 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
2405 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
2406 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2407 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2408 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2409 | long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ; | |
2410 | wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ; | |
2411 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2412 | wxEditableListBox *result; | |
2413 | bool temp3 = false ; | |
2414 | wxPoint temp4 ; | |
2415 | wxSize temp5 ; | |
2416 | bool temp7 = false ; | |
2417 | PyObject * obj0 = 0 ; | |
2418 | PyObject * obj1 = 0 ; | |
2419 | PyObject * obj2 = 0 ; | |
2420 | PyObject * obj3 = 0 ; | |
2421 | PyObject * obj4 = 0 ; | |
2422 | PyObject * obj5 = 0 ; | |
2423 | PyObject * obj6 = 0 ; | |
2424 | char *kwnames[] = { | |
2425 | (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2426 | }; | |
2427 | ||
2428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
2429 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
2430 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2431 | if (obj1) { | |
2432 | { | |
2433 | arg2 = (int)(SWIG_As_int(obj1)); | |
2434 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2435 | } | |
2436 | } | |
2437 | if (obj2) { | |
2438 | { | |
2439 | arg3 = wxString_in_helper(obj2); | |
2440 | if (arg3 == NULL) SWIG_fail; | |
2441 | temp3 = true; | |
2442 | } | |
2443 | } | |
2444 | if (obj3) { | |
2445 | { | |
2446 | arg4 = &temp4; | |
2447 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2448 | } | |
2449 | } | |
2450 | if (obj4) { | |
2451 | { | |
2452 | arg5 = &temp5; | |
2453 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2454 | } | |
2455 | } | |
2456 | if (obj5) { | |
2457 | { | |
2458 | arg6 = (long)(SWIG_As_long(obj5)); | |
2459 | if (SWIG_arg_fail(6)) SWIG_fail; | |
2460 | } | |
2461 | } | |
2462 | if (obj6) { | |
2463 | { | |
2464 | arg7 = wxString_in_helper(obj6); | |
2465 | if (arg7 == NULL) SWIG_fail; | |
2466 | temp7 = true; | |
2467 | } | |
2468 | } | |
2469 | { | |
2470 | if (!wxPyCheckForApp()) SWIG_fail; | |
2471 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2472 | result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
2473 | ||
2474 | wxPyEndAllowThreads(__tstate); | |
2475 | if (PyErr_Occurred()) SWIG_fail; | |
2476 | } | |
2477 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEditableListBox, 1); | |
2478 | { | |
2479 | if (temp3) | |
2480 | delete arg3; | |
2481 | } | |
2482 | { | |
2483 | if (temp7) | |
2484 | delete arg7; | |
2485 | } | |
2486 | return resultobj; | |
2487 | fail: | |
2488 | { | |
2489 | if (temp3) | |
2490 | delete arg3; | |
2491 | } | |
2492 | { | |
2493 | if (temp7) | |
2494 | delete arg7; | |
2495 | } | |
2496 | return NULL; | |
2497 | } | |
2498 | ||
2499 | ||
2500 | static PyObject *_wrap_EditableListBox_SetStrings(PyObject *, PyObject *args, PyObject *kwargs) { | |
2501 | PyObject *resultobj; | |
2502 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
2503 | wxArrayString *arg2 = 0 ; | |
2504 | bool temp2 = false ; | |
2505 | PyObject * obj0 = 0 ; | |
2506 | PyObject * obj1 = 0 ; | |
2507 | char *kwnames[] = { | |
2508 | (char *) "self",(char *) "strings", NULL | |
2509 | }; | |
2510 | ||
2511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) goto fail; | |
2512 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0); | |
2513 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2514 | { | |
2515 | if (! PySequence_Check(obj1)) { | |
2516 | PyErr_SetString(PyExc_TypeError, "Sequence of strings expected."); | |
2517 | SWIG_fail; | |
2518 | } | |
2519 | arg2 = new wxArrayString; | |
2520 | temp2 = true; | |
2521 | int i, len=PySequence_Length(obj1); | |
2522 | for (i=0; i<len; i++) { | |
2523 | PyObject* item = PySequence_GetItem(obj1, i); | |
2524 | #if wxUSE_UNICODE | |
2525 | PyObject* str = PyObject_Unicode(item); | |
2526 | #else | |
2527 | PyObject* str = PyObject_Str(item); | |
2528 | #endif | |
2529 | if (PyErr_Occurred()) SWIG_fail; | |
2530 | arg2->Add(Py2wxString(str)); | |
2531 | Py_DECREF(item); | |
2532 | Py_DECREF(str); | |
2533 | } | |
2534 | } | |
2535 | { | |
2536 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2537 | (arg1)->SetStrings((wxArrayString const &)*arg2); | |
2538 | ||
2539 | wxPyEndAllowThreads(__tstate); | |
2540 | if (PyErr_Occurred()) SWIG_fail; | |
2541 | } | |
2542 | Py_INCREF(Py_None); resultobj = Py_None; | |
2543 | { | |
2544 | if (temp2) delete arg2; | |
2545 | } | |
2546 | return resultobj; | |
2547 | fail: | |
2548 | { | |
2549 | if (temp2) delete arg2; | |
2550 | } | |
2551 | return NULL; | |
2552 | } | |
2553 | ||
2554 | ||
2555 | static PyObject *_wrap_EditableListBox_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) { | |
2556 | PyObject *resultobj; | |
2557 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
2558 | PyObject *result; | |
2559 | PyObject * obj0 = 0 ; | |
2560 | char *kwnames[] = { | |
2561 | (char *) "self", NULL | |
2562 | }; | |
2563 | ||
2564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetStrings",kwnames,&obj0)) goto fail; | |
2565 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0); | |
2566 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2567 | { | |
2568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2569 | result = (PyObject *)wxEditableListBox_GetStrings(arg1); | |
2570 | ||
2571 | wxPyEndAllowThreads(__tstate); | |
2572 | if (PyErr_Occurred()) SWIG_fail; | |
2573 | } | |
2574 | resultobj = result; | |
2575 | return resultobj; | |
2576 | fail: | |
2577 | return NULL; | |
2578 | } | |
2579 | ||
2580 | ||
2581 | static PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { | |
2582 | PyObject *resultobj; | |
2583 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
2584 | wxPyListCtrl *result; | |
2585 | PyObject * obj0 = 0 ; | |
2586 | char *kwnames[] = { | |
2587 | (char *) "self", NULL | |
2588 | }; | |
2589 | ||
2590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetListCtrl",kwnames,&obj0)) goto fail; | |
2591 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0); | |
2592 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2593 | { | |
2594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2595 | result = (wxPyListCtrl *)(arg1)->GetListCtrl(); | |
2596 | ||
2597 | wxPyEndAllowThreads(__tstate); | |
2598 | if (PyErr_Occurred()) SWIG_fail; | |
2599 | } | |
2600 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 0); | |
2601 | return resultobj; | |
2602 | fail: | |
2603 | return NULL; | |
2604 | } | |
2605 | ||
2606 | ||
2607 | static PyObject *_wrap_EditableListBox_GetDelButton(PyObject *, PyObject *args, PyObject *kwargs) { | |
2608 | PyObject *resultobj; | |
2609 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
2610 | wxBitmapButton *result; | |
2611 | PyObject * obj0 = 0 ; | |
2612 | char *kwnames[] = { | |
2613 | (char *) "self", NULL | |
2614 | }; | |
2615 | ||
2616 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDelButton",kwnames,&obj0)) goto fail; | |
2617 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0); | |
2618 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2619 | { | |
2620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2621 | result = (wxBitmapButton *)(arg1)->GetDelButton(); | |
2622 | ||
2623 | wxPyEndAllowThreads(__tstate); | |
2624 | if (PyErr_Occurred()) SWIG_fail; | |
2625 | } | |
2626 | { | |
2627 | resultobj = wxPyMake_wxObject(result, 0); | |
2628 | } | |
2629 | return resultobj; | |
2630 | fail: | |
2631 | return NULL; | |
2632 | } | |
2633 | ||
2634 | ||
2635 | static PyObject *_wrap_EditableListBox_GetNewButton(PyObject *, PyObject *args, PyObject *kwargs) { | |
2636 | PyObject *resultobj; | |
2637 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
2638 | wxBitmapButton *result; | |
2639 | PyObject * obj0 = 0 ; | |
2640 | char *kwnames[] = { | |
2641 | (char *) "self", NULL | |
2642 | }; | |
2643 | ||
2644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetNewButton",kwnames,&obj0)) goto fail; | |
2645 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0); | |
2646 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2647 | { | |
2648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2649 | result = (wxBitmapButton *)(arg1)->GetNewButton(); | |
2650 | ||
2651 | wxPyEndAllowThreads(__tstate); | |
2652 | if (PyErr_Occurred()) SWIG_fail; | |
2653 | } | |
2654 | { | |
2655 | resultobj = wxPyMake_wxObject(result, 0); | |
2656 | } | |
2657 | return resultobj; | |
2658 | fail: | |
2659 | return NULL; | |
2660 | } | |
2661 | ||
2662 | ||
2663 | static PyObject *_wrap_EditableListBox_GetUpButton(PyObject *, PyObject *args, PyObject *kwargs) { | |
2664 | PyObject *resultobj; | |
2665 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
2666 | wxBitmapButton *result; | |
2667 | PyObject * obj0 = 0 ; | |
2668 | char *kwnames[] = { | |
2669 | (char *) "self", NULL | |
2670 | }; | |
2671 | ||
2672 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetUpButton",kwnames,&obj0)) goto fail; | |
2673 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0); | |
2674 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2675 | { | |
2676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2677 | result = (wxBitmapButton *)(arg1)->GetUpButton(); | |
2678 | ||
2679 | wxPyEndAllowThreads(__tstate); | |
2680 | if (PyErr_Occurred()) SWIG_fail; | |
2681 | } | |
2682 | { | |
2683 | resultobj = wxPyMake_wxObject(result, 0); | |
2684 | } | |
2685 | return resultobj; | |
2686 | fail: | |
2687 | return NULL; | |
2688 | } | |
2689 | ||
2690 | ||
2691 | static PyObject *_wrap_EditableListBox_GetDownButton(PyObject *, PyObject *args, PyObject *kwargs) { | |
2692 | PyObject *resultobj; | |
2693 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
2694 | wxBitmapButton *result; | |
2695 | PyObject * obj0 = 0 ; | |
2696 | char *kwnames[] = { | |
2697 | (char *) "self", NULL | |
2698 | }; | |
2699 | ||
2700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDownButton",kwnames,&obj0)) goto fail; | |
2701 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0); | |
2702 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2703 | { | |
2704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2705 | result = (wxBitmapButton *)(arg1)->GetDownButton(); | |
2706 | ||
2707 | wxPyEndAllowThreads(__tstate); | |
2708 | if (PyErr_Occurred()) SWIG_fail; | |
2709 | } | |
2710 | { | |
2711 | resultobj = wxPyMake_wxObject(result, 0); | |
2712 | } | |
2713 | return resultobj; | |
2714 | fail: | |
2715 | return NULL; | |
2716 | } | |
2717 | ||
2718 | ||
2719 | static PyObject *_wrap_EditableListBox_GetEditButton(PyObject *, PyObject *args, PyObject *kwargs) { | |
2720 | PyObject *resultobj; | |
2721 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
2722 | wxBitmapButton *result; | |
2723 | PyObject * obj0 = 0 ; | |
2724 | char *kwnames[] = { | |
2725 | (char *) "self", NULL | |
2726 | }; | |
2727 | ||
2728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetEditButton",kwnames,&obj0)) goto fail; | |
2729 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0); | |
2730 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2731 | { | |
2732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2733 | result = (wxBitmapButton *)(arg1)->GetEditButton(); | |
2734 | ||
2735 | wxPyEndAllowThreads(__tstate); | |
2736 | if (PyErr_Occurred()) SWIG_fail; | |
2737 | } | |
2738 | { | |
2739 | resultobj = wxPyMake_wxObject(result, 0); | |
2740 | } | |
2741 | return resultobj; | |
2742 | fail: | |
2743 | return NULL; | |
2744 | } | |
2745 | ||
2746 | ||
2747 | static PyObject * EditableListBox_swigregister(PyObject *, PyObject *args) { | |
2748 | PyObject *obj; | |
2749 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2750 | SWIG_TypeClientData(SWIGTYPE_p_wxEditableListBox, obj); | |
2751 | Py_INCREF(obj); | |
2752 | return Py_BuildValue((char *)""); | |
2753 | } | |
2754 | static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { | |
2755 | PyObject *resultobj; | |
2756 | wxWindow *arg1 = (wxWindow *) 0 ; | |
2757 | int arg2 ; | |
2758 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
2759 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
2760 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
2761 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
2762 | long arg5 = (long) wxTR_HAS_BUTTONS ; | |
2763 | wxRemotelyScrolledTreeCtrl *result; | |
2764 | wxPoint temp3 ; | |
2765 | wxSize temp4 ; | |
2766 | PyObject * obj0 = 0 ; | |
2767 | PyObject * obj1 = 0 ; | |
2768 | PyObject * obj2 = 0 ; | |
2769 | PyObject * obj3 = 0 ; | |
2770 | PyObject * obj4 = 0 ; | |
2771 | char *kwnames[] = { | |
2772 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
2773 | }; | |
2774 | ||
2775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
2776 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
2777 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2778 | { | |
2779 | arg2 = (int)(SWIG_As_int(obj1)); | |
2780 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2781 | } | |
2782 | if (obj2) { | |
2783 | { | |
2784 | arg3 = &temp3; | |
2785 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
2786 | } | |
2787 | } | |
2788 | if (obj3) { | |
2789 | { | |
2790 | arg4 = &temp4; | |
2791 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
2792 | } | |
2793 | } | |
2794 | if (obj4) { | |
2795 | { | |
2796 | arg5 = (long)(SWIG_As_long(obj4)); | |
2797 | if (SWIG_arg_fail(5)) SWIG_fail; | |
2798 | } | |
2799 | } | |
2800 | { | |
2801 | if (!wxPyCheckForApp()) SWIG_fail; | |
2802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2803 | result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
2804 | ||
2805 | wxPyEndAllowThreads(__tstate); | |
2806 | if (PyErr_Occurred()) SWIG_fail; | |
2807 | } | |
2808 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 1); | |
2809 | return resultobj; | |
2810 | fail: | |
2811 | return NULL; | |
2812 | } | |
2813 | ||
2814 | ||
2815 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *, PyObject *args, PyObject *kwargs) { | |
2816 | PyObject *resultobj; | |
2817 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
2818 | PyObject * obj0 = 0 ; | |
2819 | char *kwnames[] = { | |
2820 | (char *) "self", NULL | |
2821 | }; | |
2822 | ||
2823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_HideVScrollbar",kwnames,&obj0)) goto fail; | |
2824 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2825 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2826 | { | |
2827 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2828 | (arg1)->HideVScrollbar(); | |
2829 | ||
2830 | wxPyEndAllowThreads(__tstate); | |
2831 | if (PyErr_Occurred()) SWIG_fail; | |
2832 | } | |
2833 | Py_INCREF(Py_None); resultobj = Py_None; | |
2834 | return resultobj; | |
2835 | fail: | |
2836 | return NULL; | |
2837 | } | |
2838 | ||
2839 | ||
2840 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { | |
2841 | PyObject *resultobj; | |
2842 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
2843 | PyObject * obj0 = 0 ; | |
2844 | char *kwnames[] = { | |
2845 | (char *) "self", NULL | |
2846 | }; | |
2847 | ||
2848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",kwnames,&obj0)) goto fail; | |
2849 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2850 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2851 | { | |
2852 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2853 | (arg1)->AdjustRemoteScrollbars(); | |
2854 | ||
2855 | wxPyEndAllowThreads(__tstate); | |
2856 | if (PyErr_Occurred()) SWIG_fail; | |
2857 | } | |
2858 | Py_INCREF(Py_None); resultobj = Py_None; | |
2859 | return resultobj; | |
2860 | fail: | |
2861 | return NULL; | |
2862 | } | |
2863 | ||
2864 | ||
2865 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { | |
2866 | PyObject *resultobj; | |
2867 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
2868 | wxScrolledWindow *result; | |
2869 | PyObject * obj0 = 0 ; | |
2870 | char *kwnames[] = { | |
2871 | (char *) "self", NULL | |
2872 | }; | |
2873 | ||
2874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetScrolledWindow",kwnames,&obj0)) goto fail; | |
2875 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2876 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2877 | { | |
2878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2879 | result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow(); | |
2880 | ||
2881 | wxPyEndAllowThreads(__tstate); | |
2882 | if (PyErr_Occurred()) SWIG_fail; | |
2883 | } | |
2884 | { | |
2885 | resultobj = wxPyMake_wxObject(result, 0); | |
2886 | } | |
2887 | return resultobj; | |
2888 | fail: | |
2889 | return NULL; | |
2890 | } | |
2891 | ||
2892 | ||
2893 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { | |
2894 | PyObject *resultobj; | |
2895 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
2896 | int arg2 ; | |
2897 | int arg3 ; | |
2898 | PyObject * obj0 = 0 ; | |
2899 | PyObject * obj1 = 0 ; | |
2900 | PyObject * obj2 = 0 ; | |
2901 | char *kwnames[] = { | |
2902 | (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL | |
2903 | }; | |
2904 | ||
2905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
2906 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2907 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2908 | { | |
2909 | arg2 = (int)(SWIG_As_int(obj1)); | |
2910 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2911 | } | |
2912 | { | |
2913 | arg3 = (int)(SWIG_As_int(obj2)); | |
2914 | if (SWIG_arg_fail(3)) SWIG_fail; | |
2915 | } | |
2916 | { | |
2917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2918 | (arg1)->ScrollToLine(arg2,arg3); | |
2919 | ||
2920 | wxPyEndAllowThreads(__tstate); | |
2921 | if (PyErr_Occurred()) SWIG_fail; | |
2922 | } | |
2923 | Py_INCREF(Py_None); resultobj = Py_None; | |
2924 | return resultobj; | |
2925 | fail: | |
2926 | return NULL; | |
2927 | } | |
2928 | ||
2929 | ||
2930 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) { | |
2931 | PyObject *resultobj; | |
2932 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
2933 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2934 | PyObject * obj0 = 0 ; | |
2935 | PyObject * obj1 = 0 ; | |
2936 | char *kwnames[] = { | |
2937 | (char *) "self",(char *) "companion", NULL | |
2938 | }; | |
2939 | ||
2940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) goto fail; | |
2941 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2942 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2943 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
2944 | if (SWIG_arg_fail(2)) SWIG_fail; | |
2945 | { | |
2946 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2947 | (arg1)->SetCompanionWindow(arg2); | |
2948 | ||
2949 | wxPyEndAllowThreads(__tstate); | |
2950 | if (PyErr_Occurred()) SWIG_fail; | |
2951 | } | |
2952 | Py_INCREF(Py_None); resultobj = Py_None; | |
2953 | return resultobj; | |
2954 | fail: | |
2955 | return NULL; | |
2956 | } | |
2957 | ||
2958 | ||
2959 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) { | |
2960 | PyObject *resultobj; | |
2961 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
2962 | wxWindow *result; | |
2963 | PyObject * obj0 = 0 ; | |
2964 | char *kwnames[] = { | |
2965 | (char *) "self", NULL | |
2966 | }; | |
2967 | ||
2968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetCompanionWindow",kwnames,&obj0)) goto fail; | |
2969 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0); | |
2970 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2971 | { | |
2972 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2973 | result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow(); | |
2974 | ||
2975 | wxPyEndAllowThreads(__tstate); | |
2976 | if (PyErr_Occurred()) SWIG_fail; | |
2977 | } | |
2978 | { | |
2979 | resultobj = wxPyMake_wxObject(result, 0); | |
2980 | } | |
2981 | return resultobj; | |
2982 | fail: | |
2983 | return NULL; | |
2984 | } | |
2985 | ||
2986 | ||
2987 | static PyObject * RemotelyScrolledTreeCtrl_swigregister(PyObject *, PyObject *args) { | |
2988 | PyObject *obj; | |
2989 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2990 | SWIG_TypeClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, obj); | |
2991 | Py_INCREF(obj); | |
2992 | return Py_BuildValue((char *)""); | |
2993 | } | |
2994 | static PyObject *_wrap_new_TreeCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) { | |
2995 | PyObject *resultobj; | |
2996 | wxWindow *arg1 = (wxWindow *) 0 ; | |
2997 | int arg2 = (int) -1 ; | |
2998 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
2999 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
3000 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
3001 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
3002 | long arg5 = (long) 0 ; | |
3003 | wxPyTreeCompanionWindow *result; | |
3004 | wxPoint temp3 ; | |
3005 | wxSize temp4 ; | |
3006 | PyObject * obj0 = 0 ; | |
3007 | PyObject * obj1 = 0 ; | |
3008 | PyObject * obj2 = 0 ; | |
3009 | PyObject * obj3 = 0 ; | |
3010 | PyObject * obj4 = 0 ; | |
3011 | char *kwnames[] = { | |
3012 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
3013 | }; | |
3014 | ||
3015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
3016 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
3017 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3018 | if (obj1) { | |
3019 | { | |
3020 | arg2 = (int)(SWIG_As_int(obj1)); | |
3021 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3022 | } | |
3023 | } | |
3024 | if (obj2) { | |
3025 | { | |
3026 | arg3 = &temp3; | |
3027 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
3028 | } | |
3029 | } | |
3030 | if (obj3) { | |
3031 | { | |
3032 | arg4 = &temp4; | |
3033 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
3034 | } | |
3035 | } | |
3036 | if (obj4) { | |
3037 | { | |
3038 | arg5 = (long)(SWIG_As_long(obj4)); | |
3039 | if (SWIG_arg_fail(5)) SWIG_fail; | |
3040 | } | |
3041 | } | |
3042 | { | |
3043 | if (!wxPyCheckForApp()) SWIG_fail; | |
3044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3045 | result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
3046 | ||
3047 | wxPyEndAllowThreads(__tstate); | |
3048 | if (PyErr_Occurred()) SWIG_fail; | |
3049 | } | |
3050 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCompanionWindow, 1); | |
3051 | return resultobj; | |
3052 | fail: | |
3053 | return NULL; | |
3054 | } | |
3055 | ||
3056 | ||
3057 | static PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { | |
3058 | PyObject *resultobj; | |
3059 | wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; | |
3060 | PyObject *arg2 = (PyObject *) 0 ; | |
3061 | PyObject *arg3 = (PyObject *) 0 ; | |
3062 | PyObject * obj0 = 0 ; | |
3063 | PyObject * obj1 = 0 ; | |
3064 | PyObject * obj2 = 0 ; | |
3065 | char *kwnames[] = { | |
3066 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
3067 | }; | |
3068 | ||
3069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3070 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0); | |
3071 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3072 | arg2 = obj1; | |
3073 | arg3 = obj2; | |
3074 | { | |
3075 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3076 | (arg1)->_setCallbackInfo(arg2,arg3); | |
3077 | ||
3078 | wxPyEndAllowThreads(__tstate); | |
3079 | if (PyErr_Occurred()) SWIG_fail; | |
3080 | } | |
3081 | Py_INCREF(Py_None); resultobj = Py_None; | |
3082 | return resultobj; | |
3083 | fail: | |
3084 | return NULL; | |
3085 | } | |
3086 | ||
3087 | ||
3088 | static PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { | |
3089 | PyObject *resultobj; | |
3090 | wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; | |
3091 | wxRemotelyScrolledTreeCtrl *result; | |
3092 | PyObject * obj0 = 0 ; | |
3093 | char *kwnames[] = { | |
3094 | (char *) "self", NULL | |
3095 | }; | |
3096 | ||
3097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCompanionWindow_GetTreeCtrl",kwnames,&obj0)) goto fail; | |
3098 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0); | |
3099 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3100 | { | |
3101 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3102 | result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl(); | |
3103 | ||
3104 | wxPyEndAllowThreads(__tstate); | |
3105 | if (PyErr_Occurred()) SWIG_fail; | |
3106 | } | |
3107 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0); | |
3108 | return resultobj; | |
3109 | fail: | |
3110 | return NULL; | |
3111 | } | |
3112 | ||
3113 | ||
3114 | static PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { | |
3115 | PyObject *resultobj; | |
3116 | wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; | |
3117 | wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
3118 | PyObject * obj0 = 0 ; | |
3119 | PyObject * obj1 = 0 ; | |
3120 | char *kwnames[] = { | |
3121 | (char *) "self",(char *) "treeCtrl", NULL | |
3122 | }; | |
3123 | ||
3124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) goto fail; | |
3125 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0); | |
3126 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3127 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3128 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3129 | { | |
3130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3131 | (arg1)->SetTreeCtrl(arg2); | |
3132 | ||
3133 | wxPyEndAllowThreads(__tstate); | |
3134 | if (PyErr_Occurred()) SWIG_fail; | |
3135 | } | |
3136 | Py_INCREF(Py_None); resultobj = Py_None; | |
3137 | return resultobj; | |
3138 | fail: | |
3139 | return NULL; | |
3140 | } | |
3141 | ||
3142 | ||
3143 | static PyObject * TreeCompanionWindow_swigregister(PyObject *, PyObject *args) { | |
3144 | PyObject *obj; | |
3145 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3146 | SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, obj); | |
3147 | Py_INCREF(obj); | |
3148 | return Py_BuildValue((char *)""); | |
3149 | } | |
3150 | static PyObject *_wrap_new_ThinSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { | |
3151 | PyObject *resultobj; | |
3152 | wxWindow *arg1 = (wxWindow *) 0 ; | |
3153 | int arg2 = (int) -1 ; | |
3154 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
3155 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
3156 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
3157 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
3158 | long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ; | |
3159 | wxThinSplitterWindow *result; | |
3160 | wxPoint temp3 ; | |
3161 | wxSize temp4 ; | |
3162 | PyObject * obj0 = 0 ; | |
3163 | PyObject * obj1 = 0 ; | |
3164 | PyObject * obj2 = 0 ; | |
3165 | PyObject * obj3 = 0 ; | |
3166 | PyObject * obj4 = 0 ; | |
3167 | char *kwnames[] = { | |
3168 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
3169 | }; | |
3170 | ||
3171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
3172 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
3173 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3174 | if (obj1) { | |
3175 | { | |
3176 | arg2 = (int)(SWIG_As_int(obj1)); | |
3177 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3178 | } | |
3179 | } | |
3180 | if (obj2) { | |
3181 | { | |
3182 | arg3 = &temp3; | |
3183 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
3184 | } | |
3185 | } | |
3186 | if (obj3) { | |
3187 | { | |
3188 | arg4 = &temp4; | |
3189 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
3190 | } | |
3191 | } | |
3192 | if (obj4) { | |
3193 | { | |
3194 | arg5 = (long)(SWIG_As_long(obj4)); | |
3195 | if (SWIG_arg_fail(5)) SWIG_fail; | |
3196 | } | |
3197 | } | |
3198 | { | |
3199 | if (!wxPyCheckForApp()) SWIG_fail; | |
3200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3201 | result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
3202 | ||
3203 | wxPyEndAllowThreads(__tstate); | |
3204 | if (PyErr_Occurred()) SWIG_fail; | |
3205 | } | |
3206 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxThinSplitterWindow, 1); | |
3207 | return resultobj; | |
3208 | fail: | |
3209 | return NULL; | |
3210 | } | |
3211 | ||
3212 | ||
3213 | static PyObject * ThinSplitterWindow_swigregister(PyObject *, PyObject *args) { | |
3214 | PyObject *obj; | |
3215 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3216 | SWIG_TypeClientData(SWIGTYPE_p_wxThinSplitterWindow, obj); | |
3217 | Py_INCREF(obj); | |
3218 | return Py_BuildValue((char *)""); | |
3219 | } | |
3220 | static PyObject *_wrap_new_SplitterScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { | |
3221 | PyObject *resultobj; | |
3222 | wxWindow *arg1 = (wxWindow *) 0 ; | |
3223 | int arg2 = (int) -1 ; | |
3224 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
3225 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
3226 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
3227 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
3228 | long arg5 = (long) 0 ; | |
3229 | wxSplitterScrolledWindow *result; | |
3230 | wxPoint temp3 ; | |
3231 | wxSize temp4 ; | |
3232 | PyObject * obj0 = 0 ; | |
3233 | PyObject * obj1 = 0 ; | |
3234 | PyObject * obj2 = 0 ; | |
3235 | PyObject * obj3 = 0 ; | |
3236 | PyObject * obj4 = 0 ; | |
3237 | char *kwnames[] = { | |
3238 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
3239 | }; | |
3240 | ||
3241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
3242 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
3243 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3244 | if (obj1) { | |
3245 | { | |
3246 | arg2 = (int)(SWIG_As_int(obj1)); | |
3247 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3248 | } | |
3249 | } | |
3250 | if (obj2) { | |
3251 | { | |
3252 | arg3 = &temp3; | |
3253 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
3254 | } | |
3255 | } | |
3256 | if (obj3) { | |
3257 | { | |
3258 | arg4 = &temp4; | |
3259 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
3260 | } | |
3261 | } | |
3262 | if (obj4) { | |
3263 | { | |
3264 | arg5 = (long)(SWIG_As_long(obj4)); | |
3265 | if (SWIG_arg_fail(5)) SWIG_fail; | |
3266 | } | |
3267 | } | |
3268 | { | |
3269 | if (!wxPyCheckForApp()) SWIG_fail; | |
3270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3271 | result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
3272 | ||
3273 | wxPyEndAllowThreads(__tstate); | |
3274 | if (PyErr_Occurred()) SWIG_fail; | |
3275 | } | |
3276 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterScrolledWindow, 1); | |
3277 | return resultobj; | |
3278 | fail: | |
3279 | return NULL; | |
3280 | } | |
3281 | ||
3282 | ||
3283 | static PyObject * SplitterScrolledWindow_swigregister(PyObject *, PyObject *args) { | |
3284 | PyObject *obj; | |
3285 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3286 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterScrolledWindow, obj); | |
3287 | Py_INCREF(obj); | |
3288 | return Py_BuildValue((char *)""); | |
3289 | } | |
3290 | static PyObject *_wrap_new_LEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) { | |
3291 | PyObject *resultobj; | |
3292 | wxWindow *arg1 = (wxWindow *) 0 ; | |
3293 | int arg2 = (int) -1 ; | |
3294 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
3295 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
3296 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
3297 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
3298 | long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ; | |
3299 | wxLEDNumberCtrl *result; | |
3300 | wxPoint temp3 ; | |
3301 | wxSize temp4 ; | |
3302 | PyObject * obj0 = 0 ; | |
3303 | PyObject * obj1 = 0 ; | |
3304 | PyObject * obj2 = 0 ; | |
3305 | PyObject * obj3 = 0 ; | |
3306 | PyObject * obj4 = 0 ; | |
3307 | char *kwnames[] = { | |
3308 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
3309 | }; | |
3310 | ||
3311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
3312 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
3313 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3314 | if (obj1) { | |
3315 | { | |
3316 | arg2 = (int)(SWIG_As_int(obj1)); | |
3317 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3318 | } | |
3319 | } | |
3320 | if (obj2) { | |
3321 | { | |
3322 | arg3 = &temp3; | |
3323 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
3324 | } | |
3325 | } | |
3326 | if (obj3) { | |
3327 | { | |
3328 | arg4 = &temp4; | |
3329 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
3330 | } | |
3331 | } | |
3332 | if (obj4) { | |
3333 | { | |
3334 | arg5 = (long)(SWIG_As_long(obj4)); | |
3335 | if (SWIG_arg_fail(5)) SWIG_fail; | |
3336 | } | |
3337 | } | |
3338 | { | |
3339 | if (!wxPyCheckForApp()) SWIG_fail; | |
3340 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3341 | result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
3342 | ||
3343 | wxPyEndAllowThreads(__tstate); | |
3344 | if (PyErr_Occurred()) SWIG_fail; | |
3345 | } | |
3346 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1); | |
3347 | return resultobj; | |
3348 | fail: | |
3349 | return NULL; | |
3350 | } | |
3351 | ||
3352 | ||
3353 | static PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) { | |
3354 | PyObject *resultobj; | |
3355 | wxLEDNumberCtrl *result; | |
3356 | char *kwnames[] = { | |
3357 | NULL | |
3358 | }; | |
3359 | ||
3360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreLEDNumberCtrl",kwnames)) goto fail; | |
3361 | { | |
3362 | if (!wxPyCheckForApp()) SWIG_fail; | |
3363 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3364 | result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(); | |
3365 | ||
3366 | wxPyEndAllowThreads(__tstate); | |
3367 | if (PyErr_Occurred()) SWIG_fail; | |
3368 | } | |
3369 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1); | |
3370 | return resultobj; | |
3371 | fail: | |
3372 | return NULL; | |
3373 | } | |
3374 | ||
3375 | ||
3376 | static PyObject *_wrap_LEDNumberCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { | |
3377 | PyObject *resultobj; | |
3378 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
3379 | wxWindow *arg2 = (wxWindow *) 0 ; | |
3380 | int arg3 = (int) -1 ; | |
3381 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
3382 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3383 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3384 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3385 | long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ; | |
3386 | bool result; | |
3387 | wxPoint temp4 ; | |
3388 | wxSize temp5 ; | |
3389 | PyObject * obj0 = 0 ; | |
3390 | PyObject * obj1 = 0 ; | |
3391 | PyObject * obj2 = 0 ; | |
3392 | PyObject * obj3 = 0 ; | |
3393 | PyObject * obj4 = 0 ; | |
3394 | PyObject * obj5 = 0 ; | |
3395 | char *kwnames[] = { | |
3396 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
3397 | }; | |
3398 | ||
3399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
3400 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3401 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3402 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
3403 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3404 | if (obj2) { | |
3405 | { | |
3406 | arg3 = (int)(SWIG_As_int(obj2)); | |
3407 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3408 | } | |
3409 | } | |
3410 | if (obj3) { | |
3411 | { | |
3412 | arg4 = &temp4; | |
3413 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3414 | } | |
3415 | } | |
3416 | if (obj4) { | |
3417 | { | |
3418 | arg5 = &temp5; | |
3419 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3420 | } | |
3421 | } | |
3422 | if (obj5) { | |
3423 | { | |
3424 | arg6 = (long)(SWIG_As_long(obj5)); | |
3425 | if (SWIG_arg_fail(6)) SWIG_fail; | |
3426 | } | |
3427 | } | |
3428 | { | |
3429 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3430 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
3431 | ||
3432 | wxPyEndAllowThreads(__tstate); | |
3433 | if (PyErr_Occurred()) SWIG_fail; | |
3434 | } | |
3435 | { | |
3436 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3437 | } | |
3438 | return resultobj; | |
3439 | fail: | |
3440 | return NULL; | |
3441 | } | |
3442 | ||
3443 | ||
3444 | static PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { | |
3445 | PyObject *resultobj; | |
3446 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
3447 | wxLEDValueAlign result; | |
3448 | PyObject * obj0 = 0 ; | |
3449 | char *kwnames[] = { | |
3450 | (char *) "self", NULL | |
3451 | }; | |
3452 | ||
3453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetAlignment",kwnames,&obj0)) goto fail; | |
3454 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3455 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3456 | { | |
3457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3458 | result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment(); | |
3459 | ||
3460 | wxPyEndAllowThreads(__tstate); | |
3461 | if (PyErr_Occurred()) SWIG_fail; | |
3462 | } | |
3463 | resultobj = SWIG_From_int((result)); | |
3464 | return resultobj; | |
3465 | fail: | |
3466 | return NULL; | |
3467 | } | |
3468 | ||
3469 | ||
3470 | static PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) { | |
3471 | PyObject *resultobj; | |
3472 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
3473 | bool result; | |
3474 | PyObject * obj0 = 0 ; | |
3475 | char *kwnames[] = { | |
3476 | (char *) "self", NULL | |
3477 | }; | |
3478 | ||
3479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetDrawFaded",kwnames,&obj0)) goto fail; | |
3480 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3481 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3482 | { | |
3483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3484 | result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded(); | |
3485 | ||
3486 | wxPyEndAllowThreads(__tstate); | |
3487 | if (PyErr_Occurred()) SWIG_fail; | |
3488 | } | |
3489 | { | |
3490 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3491 | } | |
3492 | return resultobj; | |
3493 | fail: | |
3494 | return NULL; | |
3495 | } | |
3496 | ||
3497 | ||
3498 | static PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { | |
3499 | PyObject *resultobj; | |
3500 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
3501 | wxString *result; | |
3502 | PyObject * obj0 = 0 ; | |
3503 | char *kwnames[] = { | |
3504 | (char *) "self", NULL | |
3505 | }; | |
3506 | ||
3507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetValue",kwnames,&obj0)) goto fail; | |
3508 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3509 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3510 | { | |
3511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3512 | { | |
3513 | wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue(); | |
3514 | result = (wxString *) &_result_ref; | |
3515 | } | |
3516 | ||
3517 | wxPyEndAllowThreads(__tstate); | |
3518 | if (PyErr_Occurred()) SWIG_fail; | |
3519 | } | |
3520 | { | |
3521 | #if wxUSE_UNICODE | |
3522 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
3523 | #else | |
3524 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
3525 | #endif | |
3526 | } | |
3527 | return resultobj; | |
3528 | fail: | |
3529 | return NULL; | |
3530 | } | |
3531 | ||
3532 | ||
3533 | static PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { | |
3534 | PyObject *resultobj; | |
3535 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
3536 | wxLEDValueAlign arg2 ; | |
3537 | bool arg3 = (bool) true ; | |
3538 | PyObject * obj0 = 0 ; | |
3539 | PyObject * obj1 = 0 ; | |
3540 | PyObject * obj2 = 0 ; | |
3541 | char *kwnames[] = { | |
3542 | (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL | |
3543 | }; | |
3544 | ||
3545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3546 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3547 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3548 | { | |
3549 | arg2 = (wxLEDValueAlign)(SWIG_As_int(obj1)); | |
3550 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3551 | } | |
3552 | if (obj2) { | |
3553 | { | |
3554 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
3555 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3556 | } | |
3557 | } | |
3558 | { | |
3559 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3560 | (arg1)->SetAlignment((wxLEDValueAlign )arg2,arg3); | |
3561 | ||
3562 | wxPyEndAllowThreads(__tstate); | |
3563 | if (PyErr_Occurred()) SWIG_fail; | |
3564 | } | |
3565 | Py_INCREF(Py_None); resultobj = Py_None; | |
3566 | return resultobj; | |
3567 | fail: | |
3568 | return NULL; | |
3569 | } | |
3570 | ||
3571 | ||
3572 | static PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) { | |
3573 | PyObject *resultobj; | |
3574 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
3575 | bool arg2 ; | |
3576 | bool arg3 = (bool) true ; | |
3577 | PyObject * obj0 = 0 ; | |
3578 | PyObject * obj1 = 0 ; | |
3579 | PyObject * obj2 = 0 ; | |
3580 | char *kwnames[] = { | |
3581 | (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL | |
3582 | }; | |
3583 | ||
3584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3585 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3586 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3587 | { | |
3588 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
3589 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3590 | } | |
3591 | if (obj2) { | |
3592 | { | |
3593 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
3594 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3595 | } | |
3596 | } | |
3597 | { | |
3598 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3599 | (arg1)->SetDrawFaded(arg2,arg3); | |
3600 | ||
3601 | wxPyEndAllowThreads(__tstate); | |
3602 | if (PyErr_Occurred()) SWIG_fail; | |
3603 | } | |
3604 | Py_INCREF(Py_None); resultobj = Py_None; | |
3605 | return resultobj; | |
3606 | fail: | |
3607 | return NULL; | |
3608 | } | |
3609 | ||
3610 | ||
3611 | static PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { | |
3612 | PyObject *resultobj; | |
3613 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
3614 | wxString *arg2 = 0 ; | |
3615 | bool arg3 = (bool) true ; | |
3616 | bool temp2 = false ; | |
3617 | PyObject * obj0 = 0 ; | |
3618 | PyObject * obj1 = 0 ; | |
3619 | PyObject * obj2 = 0 ; | |
3620 | char *kwnames[] = { | |
3621 | (char *) "self",(char *) "Value",(char *) "Redraw", NULL | |
3622 | }; | |
3623 | ||
3624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
3625 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3626 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3627 | { | |
3628 | arg2 = wxString_in_helper(obj1); | |
3629 | if (arg2 == NULL) SWIG_fail; | |
3630 | temp2 = true; | |
3631 | } | |
3632 | if (obj2) { | |
3633 | { | |
3634 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
3635 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3636 | } | |
3637 | } | |
3638 | { | |
3639 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3640 | (arg1)->SetValue((wxString const &)*arg2,arg3); | |
3641 | ||
3642 | wxPyEndAllowThreads(__tstate); | |
3643 | if (PyErr_Occurred()) SWIG_fail; | |
3644 | } | |
3645 | Py_INCREF(Py_None); resultobj = Py_None; | |
3646 | { | |
3647 | if (temp2) | |
3648 | delete arg2; | |
3649 | } | |
3650 | return resultobj; | |
3651 | fail: | |
3652 | { | |
3653 | if (temp2) | |
3654 | delete arg2; | |
3655 | } | |
3656 | return NULL; | |
3657 | } | |
3658 | ||
3659 | ||
3660 | static PyObject * LEDNumberCtrl_swigregister(PyObject *, PyObject *args) { | |
3661 | PyObject *obj; | |
3662 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3663 | SWIG_TypeClientData(SWIGTYPE_p_wxLEDNumberCtrl, obj); | |
3664 | Py_INCREF(obj); | |
3665 | return Py_BuildValue((char *)""); | |
3666 | } | |
3667 | static PyObject *_wrap_new_TreeListColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) { | |
3668 | PyObject *resultobj; | |
3669 | wxString const &arg1_defvalue = wxPyEmptyString ; | |
3670 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
3671 | int arg2 = (int) -1 ; | |
3672 | size_t arg3 = (size_t) 100 ; | |
3673 | bool arg4 = (bool) true ; | |
3674 | wxTreeListColumnAlign arg5 = (wxTreeListColumnAlign) wxTL_ALIGN_LEFT ; | |
3675 | wxTreeListColumnInfo *result; | |
3676 | bool temp1 = false ; | |
3677 | PyObject * obj0 = 0 ; | |
3678 | PyObject * obj1 = 0 ; | |
3679 | PyObject * obj2 = 0 ; | |
3680 | PyObject * obj3 = 0 ; | |
3681 | PyObject * obj4 = 0 ; | |
3682 | char *kwnames[] = { | |
3683 | (char *) "text",(char *) "image",(char *) "width",(char *) "shown",(char *) "alignment", NULL | |
3684 | }; | |
3685 | ||
3686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
3687 | if (obj0) { | |
3688 | { | |
3689 | arg1 = wxString_in_helper(obj0); | |
3690 | if (arg1 == NULL) SWIG_fail; | |
3691 | temp1 = true; | |
3692 | } | |
3693 | } | |
3694 | if (obj1) { | |
3695 | { | |
3696 | arg2 = (int)(SWIG_As_int(obj1)); | |
3697 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3698 | } | |
3699 | } | |
3700 | if (obj2) { | |
3701 | { | |
3702 | arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); | |
3703 | if (SWIG_arg_fail(3)) SWIG_fail; | |
3704 | } | |
3705 | } | |
3706 | if (obj3) { | |
3707 | { | |
3708 | arg4 = (bool)(SWIG_As_bool(obj3)); | |
3709 | if (SWIG_arg_fail(4)) SWIG_fail; | |
3710 | } | |
3711 | } | |
3712 | if (obj4) { | |
3713 | { | |
3714 | arg5 = (wxTreeListColumnAlign)(SWIG_As_int(obj4)); | |
3715 | if (SWIG_arg_fail(5)) SWIG_fail; | |
3716 | } | |
3717 | } | |
3718 | { | |
3719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3720 | result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,(wxTreeListColumnAlign )arg5); | |
3721 | ||
3722 | wxPyEndAllowThreads(__tstate); | |
3723 | if (PyErr_Occurred()) SWIG_fail; | |
3724 | } | |
3725 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 1); | |
3726 | { | |
3727 | if (temp1) | |
3728 | delete arg1; | |
3729 | } | |
3730 | return resultobj; | |
3731 | fail: | |
3732 | { | |
3733 | if (temp1) | |
3734 | delete arg1; | |
3735 | } | |
3736 | return NULL; | |
3737 | } | |
3738 | ||
3739 | ||
3740 | static PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *, PyObject *args, PyObject *kwargs) { | |
3741 | PyObject *resultobj; | |
3742 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
3743 | bool result; | |
3744 | PyObject * obj0 = 0 ; | |
3745 | char *kwnames[] = { | |
3746 | (char *) "self", NULL | |
3747 | }; | |
3748 | ||
3749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetShown",kwnames,&obj0)) goto fail; | |
3750 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); | |
3751 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3752 | { | |
3753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3754 | result = (bool)((wxTreeListColumnInfo const *)arg1)->GetShown(); | |
3755 | ||
3756 | wxPyEndAllowThreads(__tstate); | |
3757 | if (PyErr_Occurred()) SWIG_fail; | |
3758 | } | |
3759 | { | |
3760 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3761 | } | |
3762 | return resultobj; | |
3763 | fail: | |
3764 | return NULL; | |
3765 | } | |
3766 | ||
3767 | ||
3768 | static PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { | |
3769 | PyObject *resultobj; | |
3770 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
3771 | wxTreeListColumnAlign result; | |
3772 | PyObject * obj0 = 0 ; | |
3773 | char *kwnames[] = { | |
3774 | (char *) "self", NULL | |
3775 | }; | |
3776 | ||
3777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetAlignment",kwnames,&obj0)) goto fail; | |
3778 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); | |
3779 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3780 | { | |
3781 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3782 | result = (wxTreeListColumnAlign)((wxTreeListColumnInfo const *)arg1)->GetAlignment(); | |
3783 | ||
3784 | wxPyEndAllowThreads(__tstate); | |
3785 | if (PyErr_Occurred()) SWIG_fail; | |
3786 | } | |
3787 | resultobj = SWIG_From_int((result)); | |
3788 | return resultobj; | |
3789 | fail: | |
3790 | return NULL; | |
3791 | } | |
3792 | ||
3793 | ||
3794 | static PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *, PyObject *args, PyObject *kwargs) { | |
3795 | PyObject *resultobj; | |
3796 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
3797 | wxString result; | |
3798 | PyObject * obj0 = 0 ; | |
3799 | char *kwnames[] = { | |
3800 | (char *) "self", NULL | |
3801 | }; | |
3802 | ||
3803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetText",kwnames,&obj0)) goto fail; | |
3804 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); | |
3805 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3806 | { | |
3807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3808 | result = ((wxTreeListColumnInfo const *)arg1)->GetText(); | |
3809 | ||
3810 | wxPyEndAllowThreads(__tstate); | |
3811 | if (PyErr_Occurred()) SWIG_fail; | |
3812 | } | |
3813 | { | |
3814 | #if wxUSE_UNICODE | |
3815 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
3816 | #else | |
3817 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
3818 | #endif | |
3819 | } | |
3820 | return resultobj; | |
3821 | fail: | |
3822 | return NULL; | |
3823 | } | |
3824 | ||
3825 | ||
3826 | static PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *, PyObject *args, PyObject *kwargs) { | |
3827 | PyObject *resultobj; | |
3828 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
3829 | int result; | |
3830 | PyObject * obj0 = 0 ; | |
3831 | char *kwnames[] = { | |
3832 | (char *) "self", NULL | |
3833 | }; | |
3834 | ||
3835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetImage",kwnames,&obj0)) goto fail; | |
3836 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); | |
3837 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3838 | { | |
3839 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3840 | result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage(); | |
3841 | ||
3842 | wxPyEndAllowThreads(__tstate); | |
3843 | if (PyErr_Occurred()) SWIG_fail; | |
3844 | } | |
3845 | { | |
3846 | resultobj = SWIG_From_int((int)(result)); | |
3847 | } | |
3848 | return resultobj; | |
3849 | fail: | |
3850 | return NULL; | |
3851 | } | |
3852 | ||
3853 | ||
3854 | static PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) { | |
3855 | PyObject *resultobj; | |
3856 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
3857 | int result; | |
3858 | PyObject * obj0 = 0 ; | |
3859 | char *kwnames[] = { | |
3860 | (char *) "self", NULL | |
3861 | }; | |
3862 | ||
3863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetSelectedImage",kwnames,&obj0)) goto fail; | |
3864 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); | |
3865 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3866 | { | |
3867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3868 | result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage(); | |
3869 | ||
3870 | wxPyEndAllowThreads(__tstate); | |
3871 | if (PyErr_Occurred()) SWIG_fail; | |
3872 | } | |
3873 | { | |
3874 | resultobj = SWIG_From_int((int)(result)); | |
3875 | } | |
3876 | return resultobj; | |
3877 | fail: | |
3878 | return NULL; | |
3879 | } | |
3880 | ||
3881 | ||
3882 | static PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
3883 | PyObject *resultobj; | |
3884 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
3885 | size_t result; | |
3886 | PyObject * obj0 = 0 ; | |
3887 | char *kwnames[] = { | |
3888 | (char *) "self", NULL | |
3889 | }; | |
3890 | ||
3891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetWidth",kwnames,&obj0)) goto fail; | |
3892 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); | |
3893 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3894 | { | |
3895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3896 | result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth(); | |
3897 | ||
3898 | wxPyEndAllowThreads(__tstate); | |
3899 | if (PyErr_Occurred()) SWIG_fail; | |
3900 | } | |
3901 | { | |
3902 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
3903 | } | |
3904 | return resultobj; | |
3905 | fail: | |
3906 | return NULL; | |
3907 | } | |
3908 | ||
3909 | ||
3910 | static PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *, PyObject *args, PyObject *kwargs) { | |
3911 | PyObject *resultobj; | |
3912 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
3913 | bool arg2 ; | |
3914 | PyObject * obj0 = 0 ; | |
3915 | PyObject * obj1 = 0 ; | |
3916 | char *kwnames[] = { | |
3917 | (char *) "self",(char *) "shown", NULL | |
3918 | }; | |
3919 | ||
3920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) goto fail; | |
3921 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); | |
3922 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3923 | { | |
3924 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
3925 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3926 | } | |
3927 | { | |
3928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3929 | (arg1)->SetShown(arg2); | |
3930 | ||
3931 | wxPyEndAllowThreads(__tstate); | |
3932 | if (PyErr_Occurred()) SWIG_fail; | |
3933 | } | |
3934 | Py_INCREF(Py_None); resultobj = Py_None; | |
3935 | return resultobj; | |
3936 | fail: | |
3937 | return NULL; | |
3938 | } | |
3939 | ||
3940 | ||
3941 | static PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { | |
3942 | PyObject *resultobj; | |
3943 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
3944 | wxTreeListColumnAlign arg2 ; | |
3945 | PyObject * obj0 = 0 ; | |
3946 | PyObject * obj1 = 0 ; | |
3947 | char *kwnames[] = { | |
3948 | (char *) "self",(char *) "alignment", NULL | |
3949 | }; | |
3950 | ||
3951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) goto fail; | |
3952 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); | |
3953 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3954 | { | |
3955 | arg2 = (wxTreeListColumnAlign)(SWIG_As_int(obj1)); | |
3956 | if (SWIG_arg_fail(2)) SWIG_fail; | |
3957 | } | |
3958 | { | |
3959 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3960 | (arg1)->SetAlignment((wxTreeListColumnAlign )arg2); | |
3961 | ||
3962 | wxPyEndAllowThreads(__tstate); | |
3963 | if (PyErr_Occurred()) SWIG_fail; | |
3964 | } | |
3965 | Py_INCREF(Py_None); resultobj = Py_None; | |
3966 | return resultobj; | |
3967 | fail: | |
3968 | return NULL; | |
3969 | } | |
3970 | ||
3971 | ||
3972 | static PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *, PyObject *args, PyObject *kwargs) { | |
3973 | PyObject *resultobj; | |
3974 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
3975 | wxString *arg2 = 0 ; | |
3976 | bool temp2 = false ; | |
3977 | PyObject * obj0 = 0 ; | |
3978 | PyObject * obj1 = 0 ; | |
3979 | char *kwnames[] = { | |
3980 | (char *) "self",(char *) "text", NULL | |
3981 | }; | |
3982 | ||
3983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) goto fail; | |
3984 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); | |
3985 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3986 | { | |
3987 | arg2 = wxString_in_helper(obj1); | |
3988 | if (arg2 == NULL) SWIG_fail; | |
3989 | temp2 = true; | |
3990 | } | |
3991 | { | |
3992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3993 | (arg1)->SetText((wxString const &)*arg2); | |
3994 | ||
3995 | wxPyEndAllowThreads(__tstate); | |
3996 | if (PyErr_Occurred()) SWIG_fail; | |
3997 | } | |
3998 | Py_INCREF(Py_None); resultobj = Py_None; | |
3999 | { | |
4000 | if (temp2) | |
4001 | delete arg2; | |
4002 | } | |
4003 | return resultobj; | |
4004 | fail: | |
4005 | { | |
4006 | if (temp2) | |
4007 | delete arg2; | |
4008 | } | |
4009 | return NULL; | |
4010 | } | |
4011 | ||
4012 | ||
4013 | static PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *, PyObject *args, PyObject *kwargs) { | |
4014 | PyObject *resultobj; | |
4015 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
4016 | int arg2 ; | |
4017 | PyObject * obj0 = 0 ; | |
4018 | PyObject * obj1 = 0 ; | |
4019 | char *kwnames[] = { | |
4020 | (char *) "self",(char *) "image", NULL | |
4021 | }; | |
4022 | ||
4023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) goto fail; | |
4024 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); | |
4025 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4026 | { | |
4027 | arg2 = (int)(SWIG_As_int(obj1)); | |
4028 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4029 | } | |
4030 | { | |
4031 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4032 | (arg1)->SetImage(arg2); | |
4033 | ||
4034 | wxPyEndAllowThreads(__tstate); | |
4035 | if (PyErr_Occurred()) SWIG_fail; | |
4036 | } | |
4037 | Py_INCREF(Py_None); resultobj = Py_None; | |
4038 | return resultobj; | |
4039 | fail: | |
4040 | return NULL; | |
4041 | } | |
4042 | ||
4043 | ||
4044 | static PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) { | |
4045 | PyObject *resultobj; | |
4046 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
4047 | int arg2 ; | |
4048 | PyObject * obj0 = 0 ; | |
4049 | PyObject * obj1 = 0 ; | |
4050 | char *kwnames[] = { | |
4051 | (char *) "self",(char *) "image", NULL | |
4052 | }; | |
4053 | ||
4054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) goto fail; | |
4055 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); | |
4056 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4057 | { | |
4058 | arg2 = (int)(SWIG_As_int(obj1)); | |
4059 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4060 | } | |
4061 | { | |
4062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4063 | (arg1)->SetSelectedImage(arg2); | |
4064 | ||
4065 | wxPyEndAllowThreads(__tstate); | |
4066 | if (PyErr_Occurred()) SWIG_fail; | |
4067 | } | |
4068 | Py_INCREF(Py_None); resultobj = Py_None; | |
4069 | return resultobj; | |
4070 | fail: | |
4071 | return NULL; | |
4072 | } | |
4073 | ||
4074 | ||
4075 | static PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
4076 | PyObject *resultobj; | |
4077 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
4078 | size_t arg2 ; | |
4079 | PyObject * obj0 = 0 ; | |
4080 | PyObject * obj1 = 0 ; | |
4081 | char *kwnames[] = { | |
4082 | (char *) "self",(char *) "with", NULL | |
4083 | }; | |
4084 | ||
4085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) goto fail; | |
4086 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); | |
4087 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4088 | { | |
4089 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
4090 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4091 | } | |
4092 | { | |
4093 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4094 | (arg1)->SetWidth(arg2); | |
4095 | ||
4096 | wxPyEndAllowThreads(__tstate); | |
4097 | if (PyErr_Occurred()) SWIG_fail; | |
4098 | } | |
4099 | Py_INCREF(Py_None); resultobj = Py_None; | |
4100 | return resultobj; | |
4101 | fail: | |
4102 | return NULL; | |
4103 | } | |
4104 | ||
4105 | ||
4106 | static PyObject * TreeListColumnInfo_swigregister(PyObject *, PyObject *args) { | |
4107 | PyObject *obj; | |
4108 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4109 | SWIG_TypeClientData(SWIGTYPE_p_wxTreeListColumnInfo, obj); | |
4110 | Py_INCREF(obj); | |
4111 | return Py_BuildValue((char *)""); | |
4112 | } | |
4113 | static PyObject *_wrap_new_TreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { | |
4114 | PyObject *resultobj; | |
4115 | wxWindow *arg1 = (wxWindow *) 0 ; | |
4116 | int arg2 = (int) -1 ; | |
4117 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
4118 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
4119 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
4120 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
4121 | long arg5 = (long) wxTR_DEFAULT_STYLE ; | |
4122 | wxValidator const &arg6_defvalue = wxDefaultValidator ; | |
4123 | wxValidator *arg6 = (wxValidator *) &arg6_defvalue ; | |
4124 | wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ; | |
4125 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4126 | wxPyTreeListCtrl *result; | |
4127 | wxPoint temp3 ; | |
4128 | wxSize temp4 ; | |
4129 | bool temp7 = false ; | |
4130 | PyObject * obj0 = 0 ; | |
4131 | PyObject * obj1 = 0 ; | |
4132 | PyObject * obj2 = 0 ; | |
4133 | PyObject * obj3 = 0 ; | |
4134 | PyObject * obj4 = 0 ; | |
4135 | PyObject * obj5 = 0 ; | |
4136 | PyObject * obj6 = 0 ; | |
4137 | char *kwnames[] = { | |
4138 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL | |
4139 | }; | |
4140 | ||
4141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
4142 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
4143 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4144 | if (obj1) { | |
4145 | { | |
4146 | arg2 = (int)(SWIG_As_int(obj1)); | |
4147 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4148 | } | |
4149 | } | |
4150 | if (obj2) { | |
4151 | { | |
4152 | arg3 = &temp3; | |
4153 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
4154 | } | |
4155 | } | |
4156 | if (obj3) { | |
4157 | { | |
4158 | arg4 = &temp4; | |
4159 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
4160 | } | |
4161 | } | |
4162 | if (obj4) { | |
4163 | { | |
4164 | arg5 = (long)(SWIG_As_long(obj4)); | |
4165 | if (SWIG_arg_fail(5)) SWIG_fail; | |
4166 | } | |
4167 | } | |
4168 | if (obj5) { | |
4169 | { | |
4170 | SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0); | |
4171 | if (SWIG_arg_fail(6)) SWIG_fail; | |
4172 | if (arg6 == NULL) { | |
4173 | SWIG_null_ref("wxValidator"); | |
4174 | } | |
4175 | if (SWIG_arg_fail(6)) SWIG_fail; | |
4176 | } | |
4177 | } | |
4178 | if (obj6) { | |
4179 | { | |
4180 | arg7 = wxString_in_helper(obj6); | |
4181 | if (arg7 == NULL) SWIG_fail; | |
4182 | temp7 = true; | |
4183 | } | |
4184 | } | |
4185 | { | |
4186 | if (!wxPyCheckForApp()) SWIG_fail; | |
4187 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4188 | result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7); | |
4189 | ||
4190 | wxPyEndAllowThreads(__tstate); | |
4191 | if (PyErr_Occurred()) SWIG_fail; | |
4192 | } | |
4193 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1); | |
4194 | { | |
4195 | if (temp7) | |
4196 | delete arg7; | |
4197 | } | |
4198 | return resultobj; | |
4199 | fail: | |
4200 | { | |
4201 | if (temp7) | |
4202 | delete arg7; | |
4203 | } | |
4204 | return NULL; | |
4205 | } | |
4206 | ||
4207 | ||
4208 | static PyObject *_wrap_new_PreTreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { | |
4209 | PyObject *resultobj; | |
4210 | wxPyTreeListCtrl *result; | |
4211 | char *kwnames[] = { | |
4212 | NULL | |
4213 | }; | |
4214 | ||
4215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeListCtrl",kwnames)) goto fail; | |
4216 | { | |
4217 | if (!wxPyCheckForApp()) SWIG_fail; | |
4218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4219 | result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(); | |
4220 | ||
4221 | wxPyEndAllowThreads(__tstate); | |
4222 | if (PyErr_Occurred()) SWIG_fail; | |
4223 | } | |
4224 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1); | |
4225 | return resultobj; | |
4226 | fail: | |
4227 | return NULL; | |
4228 | } | |
4229 | ||
4230 | ||
4231 | static PyObject *_wrap_TreeListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { | |
4232 | PyObject *resultobj; | |
4233 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4234 | wxWindow *arg2 = (wxWindow *) 0 ; | |
4235 | int arg3 = (int) -1 ; | |
4236 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
4237 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4238 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4239 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4240 | long arg6 = (long) wxTR_DEFAULT_STYLE ; | |
4241 | wxValidator const &arg7_defvalue = wxDefaultValidator ; | |
4242 | wxValidator *arg7 = (wxValidator *) &arg7_defvalue ; | |
4243 | wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ; | |
4244 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4245 | bool result; | |
4246 | wxPoint temp4 ; | |
4247 | wxSize temp5 ; | |
4248 | bool temp8 = false ; | |
4249 | PyObject * obj0 = 0 ; | |
4250 | PyObject * obj1 = 0 ; | |
4251 | PyObject * obj2 = 0 ; | |
4252 | PyObject * obj3 = 0 ; | |
4253 | PyObject * obj4 = 0 ; | |
4254 | PyObject * obj5 = 0 ; | |
4255 | PyObject * obj6 = 0 ; | |
4256 | PyObject * obj7 = 0 ; | |
4257 | char *kwnames[] = { | |
4258 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL | |
4259 | }; | |
4260 | ||
4261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; | |
4262 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4263 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4264 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
4265 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4266 | if (obj2) { | |
4267 | { | |
4268 | arg3 = (int)(SWIG_As_int(obj2)); | |
4269 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4270 | } | |
4271 | } | |
4272 | if (obj3) { | |
4273 | { | |
4274 | arg4 = &temp4; | |
4275 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4276 | } | |
4277 | } | |
4278 | if (obj4) { | |
4279 | { | |
4280 | arg5 = &temp5; | |
4281 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4282 | } | |
4283 | } | |
4284 | if (obj5) { | |
4285 | { | |
4286 | arg6 = (long)(SWIG_As_long(obj5)); | |
4287 | if (SWIG_arg_fail(6)) SWIG_fail; | |
4288 | } | |
4289 | } | |
4290 | if (obj6) { | |
4291 | { | |
4292 | SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0); | |
4293 | if (SWIG_arg_fail(7)) SWIG_fail; | |
4294 | if (arg7 == NULL) { | |
4295 | SWIG_null_ref("wxValidator"); | |
4296 | } | |
4297 | if (SWIG_arg_fail(7)) SWIG_fail; | |
4298 | } | |
4299 | } | |
4300 | if (obj7) { | |
4301 | { | |
4302 | arg8 = wxString_in_helper(obj7); | |
4303 | if (arg8 == NULL) SWIG_fail; | |
4304 | temp8 = true; | |
4305 | } | |
4306 | } | |
4307 | { | |
4308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4309 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8); | |
4310 | ||
4311 | wxPyEndAllowThreads(__tstate); | |
4312 | if (PyErr_Occurred()) SWIG_fail; | |
4313 | } | |
4314 | { | |
4315 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4316 | } | |
4317 | { | |
4318 | if (temp8) | |
4319 | delete arg8; | |
4320 | } | |
4321 | return resultobj; | |
4322 | fail: | |
4323 | { | |
4324 | if (temp8) | |
4325 | delete arg8; | |
4326 | } | |
4327 | return NULL; | |
4328 | } | |
4329 | ||
4330 | ||
4331 | static PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { | |
4332 | PyObject *resultobj; | |
4333 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4334 | PyObject *arg2 = (PyObject *) 0 ; | |
4335 | PyObject *arg3 = (PyObject *) 0 ; | |
4336 | PyObject * obj0 = 0 ; | |
4337 | PyObject * obj1 = 0 ; | |
4338 | PyObject * obj2 = 0 ; | |
4339 | char *kwnames[] = { | |
4340 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
4341 | }; | |
4342 | ||
4343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4344 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4345 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4346 | arg2 = obj1; | |
4347 | arg3 = obj2; | |
4348 | { | |
4349 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4350 | (arg1)->_setCallbackInfo(arg2,arg3); | |
4351 | ||
4352 | wxPyEndAllowThreads(__tstate); | |
4353 | if (PyErr_Occurred()) SWIG_fail; | |
4354 | } | |
4355 | Py_INCREF(Py_None); resultobj = Py_None; | |
4356 | return resultobj; | |
4357 | fail: | |
4358 | return NULL; | |
4359 | } | |
4360 | ||
4361 | ||
4362 | static PyObject *_wrap_TreeListCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { | |
4363 | PyObject *resultobj; | |
4364 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4365 | size_t result; | |
4366 | PyObject * obj0 = 0 ; | |
4367 | char *kwnames[] = { | |
4368 | (char *) "self", NULL | |
4369 | }; | |
4370 | ||
4371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetCount",kwnames,&obj0)) goto fail; | |
4372 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4373 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4374 | { | |
4375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4376 | result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount(); | |
4377 | ||
4378 | wxPyEndAllowThreads(__tstate); | |
4379 | if (PyErr_Occurred()) SWIG_fail; | |
4380 | } | |
4381 | { | |
4382 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
4383 | } | |
4384 | return resultobj; | |
4385 | fail: | |
4386 | return NULL; | |
4387 | } | |
4388 | ||
4389 | ||
4390 | static PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { | |
4391 | PyObject *resultobj; | |
4392 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4393 | unsigned int result; | |
4394 | PyObject * obj0 = 0 ; | |
4395 | char *kwnames[] = { | |
4396 | (char *) "self", NULL | |
4397 | }; | |
4398 | ||
4399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetIndent",kwnames,&obj0)) goto fail; | |
4400 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4401 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4402 | { | |
4403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4404 | result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent(); | |
4405 | ||
4406 | wxPyEndAllowThreads(__tstate); | |
4407 | if (PyErr_Occurred()) SWIG_fail; | |
4408 | } | |
4409 | { | |
4410 | resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); | |
4411 | } | |
4412 | return resultobj; | |
4413 | fail: | |
4414 | return NULL; | |
4415 | } | |
4416 | ||
4417 | ||
4418 | static PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { | |
4419 | PyObject *resultobj; | |
4420 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4421 | unsigned int arg2 ; | |
4422 | PyObject * obj0 = 0 ; | |
4423 | PyObject * obj1 = 0 ; | |
4424 | char *kwnames[] = { | |
4425 | (char *) "self",(char *) "indent", NULL | |
4426 | }; | |
4427 | ||
4428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail; | |
4429 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4430 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4431 | { | |
4432 | arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); | |
4433 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4434 | } | |
4435 | { | |
4436 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4437 | (arg1)->SetIndent(arg2); | |
4438 | ||
4439 | wxPyEndAllowThreads(__tstate); | |
4440 | if (PyErr_Occurred()) SWIG_fail; | |
4441 | } | |
4442 | Py_INCREF(Py_None); resultobj = Py_None; | |
4443 | return resultobj; | |
4444 | fail: | |
4445 | return NULL; | |
4446 | } | |
4447 | ||
4448 | ||
4449 | static PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) { | |
4450 | PyObject *resultobj; | |
4451 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4452 | unsigned int result; | |
4453 | PyObject * obj0 = 0 ; | |
4454 | char *kwnames[] = { | |
4455 | (char *) "self", NULL | |
4456 | }; | |
4457 | ||
4458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetLineSpacing",kwnames,&obj0)) goto fail; | |
4459 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4460 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4461 | { | |
4462 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4463 | result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing(); | |
4464 | ||
4465 | wxPyEndAllowThreads(__tstate); | |
4466 | if (PyErr_Occurred()) SWIG_fail; | |
4467 | } | |
4468 | { | |
4469 | resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result)); | |
4470 | } | |
4471 | return resultobj; | |
4472 | fail: | |
4473 | return NULL; | |
4474 | } | |
4475 | ||
4476 | ||
4477 | static PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) { | |
4478 | PyObject *resultobj; | |
4479 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4480 | unsigned int arg2 ; | |
4481 | PyObject * obj0 = 0 ; | |
4482 | PyObject * obj1 = 0 ; | |
4483 | char *kwnames[] = { | |
4484 | (char *) "self",(char *) "spacing", NULL | |
4485 | }; | |
4486 | ||
4487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) goto fail; | |
4488 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4489 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4490 | { | |
4491 | arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1)); | |
4492 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4493 | } | |
4494 | { | |
4495 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4496 | (arg1)->SetLineSpacing(arg2); | |
4497 | ||
4498 | wxPyEndAllowThreads(__tstate); | |
4499 | if (PyErr_Occurred()) SWIG_fail; | |
4500 | } | |
4501 | Py_INCREF(Py_None); resultobj = Py_None; | |
4502 | return resultobj; | |
4503 | fail: | |
4504 | return NULL; | |
4505 | } | |
4506 | ||
4507 | ||
4508 | static PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) { | |
4509 | PyObject *resultobj; | |
4510 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4511 | wxImageList *result; | |
4512 | PyObject * obj0 = 0 ; | |
4513 | char *kwnames[] = { | |
4514 | (char *) "self", NULL | |
4515 | }; | |
4516 | ||
4517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetImageList",kwnames,&obj0)) goto fail; | |
4518 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4519 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4520 | { | |
4521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4522 | result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList(); | |
4523 | ||
4524 | wxPyEndAllowThreads(__tstate); | |
4525 | if (PyErr_Occurred()) SWIG_fail; | |
4526 | } | |
4527 | { | |
4528 | resultobj = wxPyMake_wxObject(result, 0); | |
4529 | } | |
4530 | return resultobj; | |
4531 | fail: | |
4532 | return NULL; | |
4533 | } | |
4534 | ||
4535 | ||
4536 | static PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) { | |
4537 | PyObject *resultobj; | |
4538 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4539 | wxImageList *result; | |
4540 | PyObject * obj0 = 0 ; | |
4541 | char *kwnames[] = { | |
4542 | (char *) "self", NULL | |
4543 | }; | |
4544 | ||
4545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetStateImageList",kwnames,&obj0)) goto fail; | |
4546 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4547 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4548 | { | |
4549 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4550 | result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList(); | |
4551 | ||
4552 | wxPyEndAllowThreads(__tstate); | |
4553 | if (PyErr_Occurred()) SWIG_fail; | |
4554 | } | |
4555 | { | |
4556 | resultobj = wxPyMake_wxObject(result, 0); | |
4557 | } | |
4558 | return resultobj; | |
4559 | fail: | |
4560 | return NULL; | |
4561 | } | |
4562 | ||
4563 | ||
4564 | static PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) { | |
4565 | PyObject *resultobj; | |
4566 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4567 | wxImageList *result; | |
4568 | PyObject * obj0 = 0 ; | |
4569 | char *kwnames[] = { | |
4570 | (char *) "self", NULL | |
4571 | }; | |
4572 | ||
4573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetButtonsImageList",kwnames,&obj0)) goto fail; | |
4574 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4575 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4576 | { | |
4577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4578 | result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList(); | |
4579 | ||
4580 | wxPyEndAllowThreads(__tstate); | |
4581 | if (PyErr_Occurred()) SWIG_fail; | |
4582 | } | |
4583 | { | |
4584 | resultobj = wxPyMake_wxObject(result, 0); | |
4585 | } | |
4586 | return resultobj; | |
4587 | fail: | |
4588 | return NULL; | |
4589 | } | |
4590 | ||
4591 | ||
4592 | static PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) { | |
4593 | PyObject *resultobj; | |
4594 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4595 | wxImageList *arg2 = (wxImageList *) 0 ; | |
4596 | PyObject * obj0 = 0 ; | |
4597 | PyObject * obj1 = 0 ; | |
4598 | char *kwnames[] = { | |
4599 | (char *) "self",(char *) "imageList", NULL | |
4600 | }; | |
4601 | ||
4602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail; | |
4603 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4604 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4605 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0); | |
4606 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4607 | { | |
4608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4609 | (arg1)->SetImageList(arg2); | |
4610 | ||
4611 | wxPyEndAllowThreads(__tstate); | |
4612 | if (PyErr_Occurred()) SWIG_fail; | |
4613 | } | |
4614 | Py_INCREF(Py_None); resultobj = Py_None; | |
4615 | return resultobj; | |
4616 | fail: | |
4617 | return NULL; | |
4618 | } | |
4619 | ||
4620 | ||
4621 | static PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) { | |
4622 | PyObject *resultobj; | |
4623 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4624 | wxImageList *arg2 = (wxImageList *) 0 ; | |
4625 | PyObject * obj0 = 0 ; | |
4626 | PyObject * obj1 = 0 ; | |
4627 | char *kwnames[] = { | |
4628 | (char *) "self",(char *) "imageList", NULL | |
4629 | }; | |
4630 | ||
4631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail; | |
4632 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4633 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4634 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0); | |
4635 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4636 | { | |
4637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4638 | (arg1)->SetStateImageList(arg2); | |
4639 | ||
4640 | wxPyEndAllowThreads(__tstate); | |
4641 | if (PyErr_Occurred()) SWIG_fail; | |
4642 | } | |
4643 | Py_INCREF(Py_None); resultobj = Py_None; | |
4644 | return resultobj; | |
4645 | fail: | |
4646 | return NULL; | |
4647 | } | |
4648 | ||
4649 | ||
4650 | static PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) { | |
4651 | PyObject *resultobj; | |
4652 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4653 | wxImageList *arg2 = (wxImageList *) 0 ; | |
4654 | PyObject * obj0 = 0 ; | |
4655 | PyObject * obj1 = 0 ; | |
4656 | char *kwnames[] = { | |
4657 | (char *) "self",(char *) "imageList", NULL | |
4658 | }; | |
4659 | ||
4660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) goto fail; | |
4661 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4662 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4663 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0); | |
4664 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4665 | { | |
4666 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4667 | (arg1)->SetButtonsImageList(arg2); | |
4668 | ||
4669 | wxPyEndAllowThreads(__tstate); | |
4670 | if (PyErr_Occurred()) SWIG_fail; | |
4671 | } | |
4672 | Py_INCREF(Py_None); resultobj = Py_None; | |
4673 | return resultobj; | |
4674 | fail: | |
4675 | return NULL; | |
4676 | } | |
4677 | ||
4678 | ||
4679 | static PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) { | |
4680 | PyObject *resultobj; | |
4681 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4682 | wxImageList *arg2 = (wxImageList *) 0 ; | |
4683 | PyObject * obj0 = 0 ; | |
4684 | PyObject * obj1 = 0 ; | |
4685 | char *kwnames[] = { | |
4686 | (char *) "self",(char *) "imageList", NULL | |
4687 | }; | |
4688 | ||
4689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail; | |
4690 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4691 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4692 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); | |
4693 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4694 | { | |
4695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4696 | (arg1)->AssignImageList(arg2); | |
4697 | ||
4698 | wxPyEndAllowThreads(__tstate); | |
4699 | if (PyErr_Occurred()) SWIG_fail; | |
4700 | } | |
4701 | Py_INCREF(Py_None); resultobj = Py_None; | |
4702 | return resultobj; | |
4703 | fail: | |
4704 | return NULL; | |
4705 | } | |
4706 | ||
4707 | ||
4708 | static PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) { | |
4709 | PyObject *resultobj; | |
4710 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4711 | wxImageList *arg2 = (wxImageList *) 0 ; | |
4712 | PyObject * obj0 = 0 ; | |
4713 | PyObject * obj1 = 0 ; | |
4714 | char *kwnames[] = { | |
4715 | (char *) "self",(char *) "imageList", NULL | |
4716 | }; | |
4717 | ||
4718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail; | |
4719 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4720 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4721 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); | |
4722 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4723 | { | |
4724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4725 | (arg1)->AssignStateImageList(arg2); | |
4726 | ||
4727 | wxPyEndAllowThreads(__tstate); | |
4728 | if (PyErr_Occurred()) SWIG_fail; | |
4729 | } | |
4730 | Py_INCREF(Py_None); resultobj = Py_None; | |
4731 | return resultobj; | |
4732 | fail: | |
4733 | return NULL; | |
4734 | } | |
4735 | ||
4736 | ||
4737 | static PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) { | |
4738 | PyObject *resultobj; | |
4739 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4740 | wxImageList *arg2 = (wxImageList *) 0 ; | |
4741 | PyObject * obj0 = 0 ; | |
4742 | PyObject * obj1 = 0 ; | |
4743 | char *kwnames[] = { | |
4744 | (char *) "self",(char *) "imageList", NULL | |
4745 | }; | |
4746 | ||
4747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) goto fail; | |
4748 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4749 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4750 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); | |
4751 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4752 | { | |
4753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4754 | (arg1)->AssignButtonsImageList(arg2); | |
4755 | ||
4756 | wxPyEndAllowThreads(__tstate); | |
4757 | if (PyErr_Occurred()) SWIG_fail; | |
4758 | } | |
4759 | Py_INCREF(Py_None); resultobj = Py_None; | |
4760 | return resultobj; | |
4761 | fail: | |
4762 | return NULL; | |
4763 | } | |
4764 | ||
4765 | ||
4766 | static PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *, PyObject *args, PyObject *kwargs) { | |
4767 | PyObject *resultobj; | |
4768 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4769 | wxString *arg2 = 0 ; | |
4770 | bool temp2 = false ; | |
4771 | PyObject * obj0 = 0 ; | |
4772 | PyObject * obj1 = 0 ; | |
4773 | char *kwnames[] = { | |
4774 | (char *) "self",(char *) "text", NULL | |
4775 | }; | |
4776 | ||
4777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1)) goto fail; | |
4778 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4779 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4780 | { | |
4781 | arg2 = wxString_in_helper(obj1); | |
4782 | if (arg2 == NULL) SWIG_fail; | |
4783 | temp2 = true; | |
4784 | } | |
4785 | { | |
4786 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4787 | (arg1)->AddColumn((wxString const &)*arg2); | |
4788 | ||
4789 | wxPyEndAllowThreads(__tstate); | |
4790 | if (PyErr_Occurred()) SWIG_fail; | |
4791 | } | |
4792 | Py_INCREF(Py_None); resultobj = Py_None; | |
4793 | { | |
4794 | if (temp2) | |
4795 | delete arg2; | |
4796 | } | |
4797 | return resultobj; | |
4798 | fail: | |
4799 | { | |
4800 | if (temp2) | |
4801 | delete arg2; | |
4802 | } | |
4803 | return NULL; | |
4804 | } | |
4805 | ||
4806 | ||
4807 | static PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) { | |
4808 | PyObject *resultobj; | |
4809 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4810 | wxTreeListColumnInfo *arg2 = 0 ; | |
4811 | PyObject * obj0 = 0 ; | |
4812 | PyObject * obj1 = 0 ; | |
4813 | char *kwnames[] = { | |
4814 | (char *) "self",(char *) "col", NULL | |
4815 | }; | |
4816 | ||
4817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) goto fail; | |
4818 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4819 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4820 | { | |
4821 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); | |
4822 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4823 | if (arg2 == NULL) { | |
4824 | SWIG_null_ref("wxTreeListColumnInfo"); | |
4825 | } | |
4826 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4827 | } | |
4828 | { | |
4829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4830 | (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2); | |
4831 | ||
4832 | wxPyEndAllowThreads(__tstate); | |
4833 | if (PyErr_Occurred()) SWIG_fail; | |
4834 | } | |
4835 | Py_INCREF(Py_None); resultobj = Py_None; | |
4836 | return resultobj; | |
4837 | fail: | |
4838 | return NULL; | |
4839 | } | |
4840 | ||
4841 | ||
4842 | static PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) { | |
4843 | PyObject *resultobj; | |
4844 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4845 | size_t arg2 ; | |
4846 | wxString *arg3 = 0 ; | |
4847 | bool temp3 = false ; | |
4848 | PyObject * obj0 = 0 ; | |
4849 | PyObject * obj1 = 0 ; | |
4850 | PyObject * obj2 = 0 ; | |
4851 | char *kwnames[] = { | |
4852 | (char *) "self",(char *) "before",(char *) "text", NULL | |
4853 | }; | |
4854 | ||
4855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4856 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4857 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4858 | { | |
4859 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
4860 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4861 | } | |
4862 | { | |
4863 | arg3 = wxString_in_helper(obj2); | |
4864 | if (arg3 == NULL) SWIG_fail; | |
4865 | temp3 = true; | |
4866 | } | |
4867 | { | |
4868 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4869 | (arg1)->InsertColumn(arg2,(wxString const &)*arg3); | |
4870 | ||
4871 | wxPyEndAllowThreads(__tstate); | |
4872 | if (PyErr_Occurred()) SWIG_fail; | |
4873 | } | |
4874 | Py_INCREF(Py_None); resultobj = Py_None; | |
4875 | { | |
4876 | if (temp3) | |
4877 | delete arg3; | |
4878 | } | |
4879 | return resultobj; | |
4880 | fail: | |
4881 | { | |
4882 | if (temp3) | |
4883 | delete arg3; | |
4884 | } | |
4885 | return NULL; | |
4886 | } | |
4887 | ||
4888 | ||
4889 | static PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) { | |
4890 | PyObject *resultobj; | |
4891 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4892 | size_t arg2 ; | |
4893 | wxTreeListColumnInfo *arg3 = 0 ; | |
4894 | PyObject * obj0 = 0 ; | |
4895 | PyObject * obj1 = 0 ; | |
4896 | PyObject * obj2 = 0 ; | |
4897 | char *kwnames[] = { | |
4898 | (char *) "self",(char *) "before",(char *) "col", NULL | |
4899 | }; | |
4900 | ||
4901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
4902 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4903 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4904 | { | |
4905 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
4906 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4907 | } | |
4908 | { | |
4909 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); | |
4910 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4911 | if (arg3 == NULL) { | |
4912 | SWIG_null_ref("wxTreeListColumnInfo"); | |
4913 | } | |
4914 | if (SWIG_arg_fail(3)) SWIG_fail; | |
4915 | } | |
4916 | { | |
4917 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4918 | (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3); | |
4919 | ||
4920 | wxPyEndAllowThreads(__tstate); | |
4921 | if (PyErr_Occurred()) SWIG_fail; | |
4922 | } | |
4923 | Py_INCREF(Py_None); resultobj = Py_None; | |
4924 | return resultobj; | |
4925 | fail: | |
4926 | return NULL; | |
4927 | } | |
4928 | ||
4929 | ||
4930 | static PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *, PyObject *args, PyObject *kwargs) { | |
4931 | PyObject *resultobj; | |
4932 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4933 | size_t arg2 ; | |
4934 | PyObject * obj0 = 0 ; | |
4935 | PyObject * obj1 = 0 ; | |
4936 | char *kwnames[] = { | |
4937 | (char *) "self",(char *) "column", NULL | |
4938 | }; | |
4939 | ||
4940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) goto fail; | |
4941 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4942 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4943 | { | |
4944 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
4945 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4946 | } | |
4947 | { | |
4948 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4949 | (arg1)->RemoveColumn(arg2); | |
4950 | ||
4951 | wxPyEndAllowThreads(__tstate); | |
4952 | if (PyErr_Occurred()) SWIG_fail; | |
4953 | } | |
4954 | Py_INCREF(Py_None); resultobj = Py_None; | |
4955 | return resultobj; | |
4956 | fail: | |
4957 | return NULL; | |
4958 | } | |
4959 | ||
4960 | ||
4961 | static PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) { | |
4962 | PyObject *resultobj; | |
4963 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4964 | size_t result; | |
4965 | PyObject * obj0 = 0 ; | |
4966 | char *kwnames[] = { | |
4967 | (char *) "self", NULL | |
4968 | }; | |
4969 | ||
4970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetColumnCount",kwnames,&obj0)) goto fail; | |
4971 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
4972 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4973 | { | |
4974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4975 | result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount(); | |
4976 | ||
4977 | wxPyEndAllowThreads(__tstate); | |
4978 | if (PyErr_Occurred()) SWIG_fail; | |
4979 | } | |
4980 | { | |
4981 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
4982 | } | |
4983 | return resultobj; | |
4984 | fail: | |
4985 | return NULL; | |
4986 | } | |
4987 | ||
4988 | ||
4989 | static PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
4990 | PyObject *resultobj; | |
4991 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
4992 | size_t arg2 ; | |
4993 | size_t arg3 ; | |
4994 | PyObject * obj0 = 0 ; | |
4995 | PyObject * obj1 = 0 ; | |
4996 | PyObject * obj2 = 0 ; | |
4997 | char *kwnames[] = { | |
4998 | (char *) "self",(char *) "column",(char *) "width", NULL | |
4999 | }; | |
5000 | ||
5001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5002 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5003 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5004 | { | |
5005 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
5006 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5007 | } | |
5008 | { | |
5009 | arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); | |
5010 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5011 | } | |
5012 | { | |
5013 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5014 | (arg1)->SetColumnWidth(arg2,arg3); | |
5015 | ||
5016 | wxPyEndAllowThreads(__tstate); | |
5017 | if (PyErr_Occurred()) SWIG_fail; | |
5018 | } | |
5019 | Py_INCREF(Py_None); resultobj = Py_None; | |
5020 | return resultobj; | |
5021 | fail: | |
5022 | return NULL; | |
5023 | } | |
5024 | ||
5025 | ||
5026 | static PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) { | |
5027 | PyObject *resultobj; | |
5028 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5029 | size_t arg2 ; | |
5030 | int result; | |
5031 | PyObject * obj0 = 0 ; | |
5032 | PyObject * obj1 = 0 ; | |
5033 | char *kwnames[] = { | |
5034 | (char *) "self",(char *) "column", NULL | |
5035 | }; | |
5036 | ||
5037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail; | |
5038 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5039 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5040 | { | |
5041 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
5042 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5043 | } | |
5044 | { | |
5045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5046 | result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2); | |
5047 | ||
5048 | wxPyEndAllowThreads(__tstate); | |
5049 | if (PyErr_Occurred()) SWIG_fail; | |
5050 | } | |
5051 | { | |
5052 | resultobj = SWIG_From_int((int)(result)); | |
5053 | } | |
5054 | return resultobj; | |
5055 | fail: | |
5056 | return NULL; | |
5057 | } | |
5058 | ||
5059 | ||
5060 | static PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) { | |
5061 | PyObject *resultobj; | |
5062 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5063 | size_t arg2 ; | |
5064 | PyObject * obj0 = 0 ; | |
5065 | PyObject * obj1 = 0 ; | |
5066 | char *kwnames[] = { | |
5067 | (char *) "self",(char *) "column", NULL | |
5068 | }; | |
5069 | ||
5070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) goto fail; | |
5071 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5072 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5073 | { | |
5074 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
5075 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5076 | } | |
5077 | { | |
5078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5079 | (arg1)->SetMainColumn(arg2); | |
5080 | ||
5081 | wxPyEndAllowThreads(__tstate); | |
5082 | if (PyErr_Occurred()) SWIG_fail; | |
5083 | } | |
5084 | Py_INCREF(Py_None); resultobj = Py_None; | |
5085 | return resultobj; | |
5086 | fail: | |
5087 | return NULL; | |
5088 | } | |
5089 | ||
5090 | ||
5091 | static PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) { | |
5092 | PyObject *resultobj; | |
5093 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5094 | size_t result; | |
5095 | PyObject * obj0 = 0 ; | |
5096 | char *kwnames[] = { | |
5097 | (char *) "self", NULL | |
5098 | }; | |
5099 | ||
5100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainColumn",kwnames,&obj0)) goto fail; | |
5101 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5102 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5103 | { | |
5104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5105 | result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn(); | |
5106 | ||
5107 | wxPyEndAllowThreads(__tstate); | |
5108 | if (PyErr_Occurred()) SWIG_fail; | |
5109 | } | |
5110 | { | |
5111 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
5112 | } | |
5113 | return resultobj; | |
5114 | fail: | |
5115 | return NULL; | |
5116 | } | |
5117 | ||
5118 | ||
5119 | static PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *, PyObject *args, PyObject *kwargs) { | |
5120 | PyObject *resultobj; | |
5121 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5122 | size_t arg2 ; | |
5123 | wxString *arg3 = 0 ; | |
5124 | bool temp3 = false ; | |
5125 | PyObject * obj0 = 0 ; | |
5126 | PyObject * obj1 = 0 ; | |
5127 | PyObject * obj2 = 0 ; | |
5128 | char *kwnames[] = { | |
5129 | (char *) "self",(char *) "column",(char *) "text", NULL | |
5130 | }; | |
5131 | ||
5132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5133 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5134 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5135 | { | |
5136 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
5137 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5138 | } | |
5139 | { | |
5140 | arg3 = wxString_in_helper(obj2); | |
5141 | if (arg3 == NULL) SWIG_fail; | |
5142 | temp3 = true; | |
5143 | } | |
5144 | { | |
5145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5146 | (arg1)->SetColumnText(arg2,(wxString const &)*arg3); | |
5147 | ||
5148 | wxPyEndAllowThreads(__tstate); | |
5149 | if (PyErr_Occurred()) SWIG_fail; | |
5150 | } | |
5151 | Py_INCREF(Py_None); resultobj = Py_None; | |
5152 | { | |
5153 | if (temp3) | |
5154 | delete arg3; | |
5155 | } | |
5156 | return resultobj; | |
5157 | fail: | |
5158 | { | |
5159 | if (temp3) | |
5160 | delete arg3; | |
5161 | } | |
5162 | return NULL; | |
5163 | } | |
5164 | ||
5165 | ||
5166 | static PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *, PyObject *args, PyObject *kwargs) { | |
5167 | PyObject *resultobj; | |
5168 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5169 | size_t arg2 ; | |
5170 | wxString result; | |
5171 | PyObject * obj0 = 0 ; | |
5172 | PyObject * obj1 = 0 ; | |
5173 | char *kwnames[] = { | |
5174 | (char *) "self",(char *) "column", NULL | |
5175 | }; | |
5176 | ||
5177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) goto fail; | |
5178 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5179 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5180 | { | |
5181 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
5182 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5183 | } | |
5184 | { | |
5185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5186 | result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2); | |
5187 | ||
5188 | wxPyEndAllowThreads(__tstate); | |
5189 | if (PyErr_Occurred()) SWIG_fail; | |
5190 | } | |
5191 | { | |
5192 | #if wxUSE_UNICODE | |
5193 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5194 | #else | |
5195 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5196 | #endif | |
5197 | } | |
5198 | return resultobj; | |
5199 | fail: | |
5200 | return NULL; | |
5201 | } | |
5202 | ||
5203 | ||
5204 | static PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) { | |
5205 | PyObject *resultobj; | |
5206 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5207 | size_t arg2 ; | |
5208 | wxTreeListColumnInfo *arg3 = 0 ; | |
5209 | PyObject * obj0 = 0 ; | |
5210 | PyObject * obj1 = 0 ; | |
5211 | PyObject * obj2 = 0 ; | |
5212 | char *kwnames[] = { | |
5213 | (char *) "self",(char *) "column",(char *) "info", NULL | |
5214 | }; | |
5215 | ||
5216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5217 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5218 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5219 | { | |
5220 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
5221 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5222 | } | |
5223 | { | |
5224 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); | |
5225 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5226 | if (arg3 == NULL) { | |
5227 | SWIG_null_ref("wxTreeListColumnInfo"); | |
5228 | } | |
5229 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5230 | } | |
5231 | { | |
5232 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5233 | (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3); | |
5234 | ||
5235 | wxPyEndAllowThreads(__tstate); | |
5236 | if (PyErr_Occurred()) SWIG_fail; | |
5237 | } | |
5238 | Py_INCREF(Py_None); resultobj = Py_None; | |
5239 | return resultobj; | |
5240 | fail: | |
5241 | return NULL; | |
5242 | } | |
5243 | ||
5244 | ||
5245 | static PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { | |
5246 | PyObject *resultobj; | |
5247 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5248 | size_t arg2 ; | |
5249 | wxTreeListColumnInfo *result; | |
5250 | PyObject * obj0 = 0 ; | |
5251 | PyObject * obj1 = 0 ; | |
5252 | char *kwnames[] = { | |
5253 | (char *) "self",(char *) "column", NULL | |
5254 | }; | |
5255 | ||
5256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail; | |
5257 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5258 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5259 | { | |
5260 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
5261 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5262 | } | |
5263 | { | |
5264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5265 | { | |
5266 | wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2); | |
5267 | result = (wxTreeListColumnInfo *) &_result_ref; | |
5268 | } | |
5269 | ||
5270 | wxPyEndAllowThreads(__tstate); | |
5271 | if (PyErr_Occurred()) SWIG_fail; | |
5272 | } | |
5273 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 0); | |
5274 | return resultobj; | |
5275 | fail: | |
5276 | return NULL; | |
5277 | } | |
5278 | ||
5279 | ||
5280 | static PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) { | |
5281 | PyObject *resultobj; | |
5282 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5283 | size_t arg2 ; | |
5284 | wxTreeListColumnAlign arg3 ; | |
5285 | PyObject * obj0 = 0 ; | |
5286 | PyObject * obj1 = 0 ; | |
5287 | PyObject * obj2 = 0 ; | |
5288 | char *kwnames[] = { | |
5289 | (char *) "self",(char *) "column",(char *) "align", NULL | |
5290 | }; | |
5291 | ||
5292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5293 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5294 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5295 | { | |
5296 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
5297 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5298 | } | |
5299 | { | |
5300 | arg3 = (wxTreeListColumnAlign)(SWIG_As_int(obj2)); | |
5301 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5302 | } | |
5303 | { | |
5304 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5305 | (arg1)->SetColumnAlignment(arg2,(wxTreeListColumnAlign )arg3); | |
5306 | ||
5307 | wxPyEndAllowThreads(__tstate); | |
5308 | if (PyErr_Occurred()) SWIG_fail; | |
5309 | } | |
5310 | Py_INCREF(Py_None); resultobj = Py_None; | |
5311 | return resultobj; | |
5312 | fail: | |
5313 | return NULL; | |
5314 | } | |
5315 | ||
5316 | ||
5317 | static PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) { | |
5318 | PyObject *resultobj; | |
5319 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5320 | size_t arg2 ; | |
5321 | wxTreeListColumnAlign result; | |
5322 | PyObject * obj0 = 0 ; | |
5323 | PyObject * obj1 = 0 ; | |
5324 | char *kwnames[] = { | |
5325 | (char *) "self",(char *) "column", NULL | |
5326 | }; | |
5327 | ||
5328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) goto fail; | |
5329 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5330 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5331 | { | |
5332 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
5333 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5334 | } | |
5335 | { | |
5336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5337 | result = (wxTreeListColumnAlign)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2); | |
5338 | ||
5339 | wxPyEndAllowThreads(__tstate); | |
5340 | if (PyErr_Occurred()) SWIG_fail; | |
5341 | } | |
5342 | resultobj = SWIG_From_int((result)); | |
5343 | return resultobj; | |
5344 | fail: | |
5345 | return NULL; | |
5346 | } | |
5347 | ||
5348 | ||
5349 | static PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) { | |
5350 | PyObject *resultobj; | |
5351 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5352 | size_t arg2 ; | |
5353 | int arg3 ; | |
5354 | PyObject * obj0 = 0 ; | |
5355 | PyObject * obj1 = 0 ; | |
5356 | PyObject * obj2 = 0 ; | |
5357 | char *kwnames[] = { | |
5358 | (char *) "self",(char *) "column",(char *) "image", NULL | |
5359 | }; | |
5360 | ||
5361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5362 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5363 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5364 | { | |
5365 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
5366 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5367 | } | |
5368 | { | |
5369 | arg3 = (int)(SWIG_As_int(obj2)); | |
5370 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5371 | } | |
5372 | { | |
5373 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5374 | (arg1)->SetColumnImage(arg2,arg3); | |
5375 | ||
5376 | wxPyEndAllowThreads(__tstate); | |
5377 | if (PyErr_Occurred()) SWIG_fail; | |
5378 | } | |
5379 | Py_INCREF(Py_None); resultobj = Py_None; | |
5380 | return resultobj; | |
5381 | fail: | |
5382 | return NULL; | |
5383 | } | |
5384 | ||
5385 | ||
5386 | static PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) { | |
5387 | PyObject *resultobj; | |
5388 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5389 | size_t arg2 ; | |
5390 | int result; | |
5391 | PyObject * obj0 = 0 ; | |
5392 | PyObject * obj1 = 0 ; | |
5393 | char *kwnames[] = { | |
5394 | (char *) "self",(char *) "column", NULL | |
5395 | }; | |
5396 | ||
5397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) goto fail; | |
5398 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5399 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5400 | { | |
5401 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
5402 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5403 | } | |
5404 | { | |
5405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5406 | result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2); | |
5407 | ||
5408 | wxPyEndAllowThreads(__tstate); | |
5409 | if (PyErr_Occurred()) SWIG_fail; | |
5410 | } | |
5411 | { | |
5412 | resultobj = SWIG_From_int((int)(result)); | |
5413 | } | |
5414 | return resultobj; | |
5415 | fail: | |
5416 | return NULL; | |
5417 | } | |
5418 | ||
5419 | ||
5420 | static PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *, PyObject *args, PyObject *kwargs) { | |
5421 | PyObject *resultobj; | |
5422 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5423 | size_t arg2 ; | |
5424 | bool arg3 ; | |
5425 | PyObject * obj0 = 0 ; | |
5426 | PyObject * obj1 = 0 ; | |
5427 | PyObject * obj2 = 0 ; | |
5428 | char *kwnames[] = { | |
5429 | (char *) "self",(char *) "column",(char *) "shown", NULL | |
5430 | }; | |
5431 | ||
5432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_ShowColumn",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5433 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5434 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5435 | { | |
5436 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
5437 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5438 | } | |
5439 | { | |
5440 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
5441 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5442 | } | |
5443 | { | |
5444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5445 | (arg1)->ShowColumn(arg2,arg3); | |
5446 | ||
5447 | wxPyEndAllowThreads(__tstate); | |
5448 | if (PyErr_Occurred()) SWIG_fail; | |
5449 | } | |
5450 | Py_INCREF(Py_None); resultobj = Py_None; | |
5451 | return resultobj; | |
5452 | fail: | |
5453 | return NULL; | |
5454 | } | |
5455 | ||
5456 | ||
5457 | static PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *, PyObject *args, PyObject *kwargs) { | |
5458 | PyObject *resultobj; | |
5459 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5460 | size_t arg2 ; | |
5461 | bool result; | |
5462 | PyObject * obj0 = 0 ; | |
5463 | PyObject * obj1 = 0 ; | |
5464 | char *kwnames[] = { | |
5465 | (char *) "self",(char *) "column", NULL | |
5466 | }; | |
5467 | ||
5468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) goto fail; | |
5469 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5470 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5471 | { | |
5472 | arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1)); | |
5473 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5474 | } | |
5475 | { | |
5476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5477 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2); | |
5478 | ||
5479 | wxPyEndAllowThreads(__tstate); | |
5480 | if (PyErr_Occurred()) SWIG_fail; | |
5481 | } | |
5482 | { | |
5483 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5484 | } | |
5485 | return resultobj; | |
5486 | fail: | |
5487 | return NULL; | |
5488 | } | |
5489 | ||
5490 | ||
5491 | static PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) { | |
5492 | PyObject *resultobj; | |
5493 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5494 | wxTreeItemId *arg2 = 0 ; | |
5495 | int arg3 = (int) -1 ; | |
5496 | wxString result; | |
5497 | PyObject * obj0 = 0 ; | |
5498 | PyObject * obj1 = 0 ; | |
5499 | PyObject * obj2 = 0 ; | |
5500 | char *kwnames[] = { | |
5501 | (char *) "self",(char *) "item",(char *) "column", NULL | |
5502 | }; | |
5503 | ||
5504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5505 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5506 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5507 | { | |
5508 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
5509 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5510 | if (arg2 == NULL) { | |
5511 | SWIG_null_ref("wxTreeItemId"); | |
5512 | } | |
5513 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5514 | } | |
5515 | if (obj2) { | |
5516 | { | |
5517 | arg3 = (int)(SWIG_As_int(obj2)); | |
5518 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5519 | } | |
5520 | } | |
5521 | { | |
5522 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5523 | result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3); | |
5524 | ||
5525 | wxPyEndAllowThreads(__tstate); | |
5526 | if (PyErr_Occurred()) SWIG_fail; | |
5527 | } | |
5528 | { | |
5529 | #if wxUSE_UNICODE | |
5530 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5531 | #else | |
5532 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5533 | #endif | |
5534 | } | |
5535 | return resultobj; | |
5536 | fail: | |
5537 | return NULL; | |
5538 | } | |
5539 | ||
5540 | ||
5541 | static PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) { | |
5542 | PyObject *resultobj; | |
5543 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5544 | wxTreeItemId *arg2 = 0 ; | |
5545 | int arg3 = (int) -1 ; | |
5546 | wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ; | |
5547 | int result; | |
5548 | PyObject * obj0 = 0 ; | |
5549 | PyObject * obj1 = 0 ; | |
5550 | PyObject * obj2 = 0 ; | |
5551 | PyObject * obj3 = 0 ; | |
5552 | char *kwnames[] = { | |
5553 | (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL | |
5554 | }; | |
5555 | ||
5556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
5557 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5558 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5559 | { | |
5560 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
5561 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5562 | if (arg2 == NULL) { | |
5563 | SWIG_null_ref("wxTreeItemId"); | |
5564 | } | |
5565 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5566 | } | |
5567 | if (obj2) { | |
5568 | { | |
5569 | arg3 = (int)(SWIG_As_int(obj2)); | |
5570 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5571 | } | |
5572 | } | |
5573 | if (obj3) { | |
5574 | { | |
5575 | arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3)); | |
5576 | if (SWIG_arg_fail(4)) SWIG_fail; | |
5577 | } | |
5578 | } | |
5579 | { | |
5580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5581 | result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4); | |
5582 | ||
5583 | wxPyEndAllowThreads(__tstate); | |
5584 | if (PyErr_Occurred()) SWIG_fail; | |
5585 | } | |
5586 | { | |
5587 | resultobj = SWIG_From_int((int)(result)); | |
5588 | } | |
5589 | return resultobj; | |
5590 | fail: | |
5591 | return NULL; | |
5592 | } | |
5593 | ||
5594 | ||
5595 | static PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) { | |
5596 | PyObject *resultobj; | |
5597 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5598 | wxTreeItemId *arg2 = 0 ; | |
5599 | wxString *arg3 = 0 ; | |
5600 | int arg4 = (int) -1 ; | |
5601 | bool temp3 = false ; | |
5602 | PyObject * obj0 = 0 ; | |
5603 | PyObject * obj1 = 0 ; | |
5604 | PyObject * obj2 = 0 ; | |
5605 | PyObject * obj3 = 0 ; | |
5606 | char *kwnames[] = { | |
5607 | (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL | |
5608 | }; | |
5609 | ||
5610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
5611 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5612 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5613 | { | |
5614 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
5615 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5616 | if (arg2 == NULL) { | |
5617 | SWIG_null_ref("wxTreeItemId"); | |
5618 | } | |
5619 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5620 | } | |
5621 | { | |
5622 | arg3 = wxString_in_helper(obj2); | |
5623 | if (arg3 == NULL) SWIG_fail; | |
5624 | temp3 = true; | |
5625 | } | |
5626 | if (obj3) { | |
5627 | { | |
5628 | arg4 = (int)(SWIG_As_int(obj3)); | |
5629 | if (SWIG_arg_fail(4)) SWIG_fail; | |
5630 | } | |
5631 | } | |
5632 | { | |
5633 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5634 | wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4); | |
5635 | ||
5636 | wxPyEndAllowThreads(__tstate); | |
5637 | if (PyErr_Occurred()) SWIG_fail; | |
5638 | } | |
5639 | Py_INCREF(Py_None); resultobj = Py_None; | |
5640 | { | |
5641 | if (temp3) | |
5642 | delete arg3; | |
5643 | } | |
5644 | return resultobj; | |
5645 | fail: | |
5646 | { | |
5647 | if (temp3) | |
5648 | delete arg3; | |
5649 | } | |
5650 | return NULL; | |
5651 | } | |
5652 | ||
5653 | ||
5654 | static PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) { | |
5655 | PyObject *resultobj; | |
5656 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5657 | wxTreeItemId *arg2 = 0 ; | |
5658 | int arg3 ; | |
5659 | int arg4 = (int) -1 ; | |
5660 | wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ; | |
5661 | PyObject * obj0 = 0 ; | |
5662 | PyObject * obj1 = 0 ; | |
5663 | PyObject * obj2 = 0 ; | |
5664 | PyObject * obj3 = 0 ; | |
5665 | PyObject * obj4 = 0 ; | |
5666 | char *kwnames[] = { | |
5667 | (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL | |
5668 | }; | |
5669 | ||
5670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
5671 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5672 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5673 | { | |
5674 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
5675 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5676 | if (arg2 == NULL) { | |
5677 | SWIG_null_ref("wxTreeItemId"); | |
5678 | } | |
5679 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5680 | } | |
5681 | { | |
5682 | arg3 = (int)(SWIG_As_int(obj2)); | |
5683 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5684 | } | |
5685 | if (obj3) { | |
5686 | { | |
5687 | arg4 = (int)(SWIG_As_int(obj3)); | |
5688 | if (SWIG_arg_fail(4)) SWIG_fail; | |
5689 | } | |
5690 | } | |
5691 | if (obj4) { | |
5692 | { | |
5693 | arg5 = (wxTreeItemIcon)(SWIG_As_int(obj4)); | |
5694 | if (SWIG_arg_fail(5)) SWIG_fail; | |
5695 | } | |
5696 | } | |
5697 | { | |
5698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5699 | wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,(wxTreeItemIcon )arg5); | |
5700 | ||
5701 | wxPyEndAllowThreads(__tstate); | |
5702 | if (PyErr_Occurred()) SWIG_fail; | |
5703 | } | |
5704 | Py_INCREF(Py_None); resultobj = Py_None; | |
5705 | return resultobj; | |
5706 | fail: | |
5707 | return NULL; | |
5708 | } | |
5709 | ||
5710 | ||
5711 | static PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) { | |
5712 | PyObject *resultobj; | |
5713 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5714 | wxTreeItemId *arg2 = 0 ; | |
5715 | wxPyTreeItemData *result; | |
5716 | PyObject * obj0 = 0 ; | |
5717 | PyObject * obj1 = 0 ; | |
5718 | char *kwnames[] = { | |
5719 | (char *) "self",(char *) "item", NULL | |
5720 | }; | |
5721 | ||
5722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail; | |
5723 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5724 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5725 | { | |
5726 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
5727 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5728 | if (arg2 == NULL) { | |
5729 | SWIG_null_ref("wxTreeItemId"); | |
5730 | } | |
5731 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5732 | } | |
5733 | { | |
5734 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5735 | result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2); | |
5736 | ||
5737 | wxPyEndAllowThreads(__tstate); | |
5738 | if (PyErr_Occurred()) SWIG_fail; | |
5739 | } | |
5740 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0); | |
5741 | return resultobj; | |
5742 | fail: | |
5743 | return NULL; | |
5744 | } | |
5745 | ||
5746 | ||
5747 | static PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) { | |
5748 | PyObject *resultobj; | |
5749 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5750 | wxTreeItemId *arg2 = 0 ; | |
5751 | wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ; | |
5752 | PyObject * obj0 = 0 ; | |
5753 | PyObject * obj1 = 0 ; | |
5754 | PyObject * obj2 = 0 ; | |
5755 | char *kwnames[] = { | |
5756 | (char *) "self",(char *) "item",(char *) "data", NULL | |
5757 | }; | |
5758 | ||
5759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5760 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5761 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5762 | { | |
5763 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
5764 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5765 | if (arg2 == NULL) { | |
5766 | SWIG_null_ref("wxTreeItemId"); | |
5767 | } | |
5768 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5769 | } | |
5770 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0); | |
5771 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5772 | { | |
5773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5774 | wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3); | |
5775 | ||
5776 | wxPyEndAllowThreads(__tstate); | |
5777 | if (PyErr_Occurred()) SWIG_fail; | |
5778 | } | |
5779 | Py_INCREF(Py_None); resultobj = Py_None; | |
5780 | return resultobj; | |
5781 | fail: | |
5782 | return NULL; | |
5783 | } | |
5784 | ||
5785 | ||
5786 | static PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) { | |
5787 | PyObject *resultobj; | |
5788 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5789 | wxTreeItemId *arg2 = 0 ; | |
5790 | PyObject *result; | |
5791 | PyObject * obj0 = 0 ; | |
5792 | PyObject * obj1 = 0 ; | |
5793 | char *kwnames[] = { | |
5794 | (char *) "self",(char *) "item", NULL | |
5795 | }; | |
5796 | ||
5797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail; | |
5798 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5799 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5800 | { | |
5801 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
5802 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5803 | if (arg2 == NULL) { | |
5804 | SWIG_null_ref("wxTreeItemId"); | |
5805 | } | |
5806 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5807 | } | |
5808 | { | |
5809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5810 | result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2); | |
5811 | ||
5812 | wxPyEndAllowThreads(__tstate); | |
5813 | if (PyErr_Occurred()) SWIG_fail; | |
5814 | } | |
5815 | resultobj = result; | |
5816 | return resultobj; | |
5817 | fail: | |
5818 | return NULL; | |
5819 | } | |
5820 | ||
5821 | ||
5822 | static PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) { | |
5823 | PyObject *resultobj; | |
5824 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5825 | wxTreeItemId *arg2 = 0 ; | |
5826 | PyObject *arg3 = (PyObject *) 0 ; | |
5827 | PyObject * obj0 = 0 ; | |
5828 | PyObject * obj1 = 0 ; | |
5829 | PyObject * obj2 = 0 ; | |
5830 | char *kwnames[] = { | |
5831 | (char *) "self",(char *) "item",(char *) "obj", NULL | |
5832 | }; | |
5833 | ||
5834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5835 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5836 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5837 | { | |
5838 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
5839 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5840 | if (arg2 == NULL) { | |
5841 | SWIG_null_ref("wxTreeItemId"); | |
5842 | } | |
5843 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5844 | } | |
5845 | arg3 = obj2; | |
5846 | { | |
5847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5848 | wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3); | |
5849 | ||
5850 | wxPyEndAllowThreads(__tstate); | |
5851 | if (PyErr_Occurred()) SWIG_fail; | |
5852 | } | |
5853 | Py_INCREF(Py_None); resultobj = Py_None; | |
5854 | return resultobj; | |
5855 | fail: | |
5856 | return NULL; | |
5857 | } | |
5858 | ||
5859 | ||
5860 | static PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) { | |
5861 | PyObject *resultobj; | |
5862 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5863 | wxTreeItemId *arg2 = 0 ; | |
5864 | bool arg3 = (bool) true ; | |
5865 | PyObject * obj0 = 0 ; | |
5866 | PyObject * obj1 = 0 ; | |
5867 | PyObject * obj2 = 0 ; | |
5868 | char *kwnames[] = { | |
5869 | (char *) "self",(char *) "item",(char *) "has", NULL | |
5870 | }; | |
5871 | ||
5872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5873 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5874 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5875 | { | |
5876 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
5877 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5878 | if (arg2 == NULL) { | |
5879 | SWIG_null_ref("wxTreeItemId"); | |
5880 | } | |
5881 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5882 | } | |
5883 | if (obj2) { | |
5884 | { | |
5885 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
5886 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5887 | } | |
5888 | } | |
5889 | { | |
5890 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5891 | (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3); | |
5892 | ||
5893 | wxPyEndAllowThreads(__tstate); | |
5894 | if (PyErr_Occurred()) SWIG_fail; | |
5895 | } | |
5896 | Py_INCREF(Py_None); resultobj = Py_None; | |
5897 | return resultobj; | |
5898 | fail: | |
5899 | return NULL; | |
5900 | } | |
5901 | ||
5902 | ||
5903 | static PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) { | |
5904 | PyObject *resultobj; | |
5905 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5906 | wxTreeItemId *arg2 = 0 ; | |
5907 | bool arg3 = (bool) true ; | |
5908 | PyObject * obj0 = 0 ; | |
5909 | PyObject * obj1 = 0 ; | |
5910 | PyObject * obj2 = 0 ; | |
5911 | char *kwnames[] = { | |
5912 | (char *) "self",(char *) "item",(char *) "bold", NULL | |
5913 | }; | |
5914 | ||
5915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5916 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5917 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5918 | { | |
5919 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
5920 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5921 | if (arg2 == NULL) { | |
5922 | SWIG_null_ref("wxTreeItemId"); | |
5923 | } | |
5924 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5925 | } | |
5926 | if (obj2) { | |
5927 | { | |
5928 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
5929 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5930 | } | |
5931 | } | |
5932 | { | |
5933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5934 | (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3); | |
5935 | ||
5936 | wxPyEndAllowThreads(__tstate); | |
5937 | if (PyErr_Occurred()) SWIG_fail; | |
5938 | } | |
5939 | Py_INCREF(Py_None); resultobj = Py_None; | |
5940 | return resultobj; | |
5941 | fail: | |
5942 | return NULL; | |
5943 | } | |
5944 | ||
5945 | ||
5946 | static PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) { | |
5947 | PyObject *resultobj; | |
5948 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5949 | wxTreeItemId *arg2 = 0 ; | |
5950 | wxColour *arg3 = 0 ; | |
5951 | wxColour temp3 ; | |
5952 | PyObject * obj0 = 0 ; | |
5953 | PyObject * obj1 = 0 ; | |
5954 | PyObject * obj2 = 0 ; | |
5955 | char *kwnames[] = { | |
5956 | (char *) "self",(char *) "item",(char *) "colour", NULL | |
5957 | }; | |
5958 | ||
5959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
5960 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
5961 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5962 | { | |
5963 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
5964 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5965 | if (arg2 == NULL) { | |
5966 | SWIG_null_ref("wxTreeItemId"); | |
5967 | } | |
5968 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5969 | } | |
5970 | { | |
5971 | arg3 = &temp3; | |
5972 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
5973 | } | |
5974 | { | |
5975 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5976 | (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3); | |
5977 | ||
5978 | wxPyEndAllowThreads(__tstate); | |
5979 | if (PyErr_Occurred()) SWIG_fail; | |
5980 | } | |
5981 | Py_INCREF(Py_None); resultobj = Py_None; | |
5982 | return resultobj; | |
5983 | fail: | |
5984 | return NULL; | |
5985 | } | |
5986 | ||
5987 | ||
5988 | static PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { | |
5989 | PyObject *resultobj; | |
5990 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5991 | wxTreeItemId *arg2 = 0 ; | |
5992 | wxColour *arg3 = 0 ; | |
5993 | wxColour temp3 ; | |
5994 | PyObject * obj0 = 0 ; | |
5995 | PyObject * obj1 = 0 ; | |
5996 | PyObject * obj2 = 0 ; | |
5997 | char *kwnames[] = { | |
5998 | (char *) "self",(char *) "item",(char *) "colour", NULL | |
5999 | }; | |
6000 | ||
6001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6002 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6003 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6004 | { | |
6005 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6006 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6007 | if (arg2 == NULL) { | |
6008 | SWIG_null_ref("wxTreeItemId"); | |
6009 | } | |
6010 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6011 | } | |
6012 | { | |
6013 | arg3 = &temp3; | |
6014 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
6015 | } | |
6016 | { | |
6017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6018 | (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3); | |
6019 | ||
6020 | wxPyEndAllowThreads(__tstate); | |
6021 | if (PyErr_Occurred()) SWIG_fail; | |
6022 | } | |
6023 | Py_INCREF(Py_None); resultobj = Py_None; | |
6024 | return resultobj; | |
6025 | fail: | |
6026 | return NULL; | |
6027 | } | |
6028 | ||
6029 | ||
6030 | static PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { | |
6031 | PyObject *resultobj; | |
6032 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6033 | wxTreeItemId *arg2 = 0 ; | |
6034 | wxFont *arg3 = 0 ; | |
6035 | PyObject * obj0 = 0 ; | |
6036 | PyObject * obj1 = 0 ; | |
6037 | PyObject * obj2 = 0 ; | |
6038 | char *kwnames[] = { | |
6039 | (char *) "self",(char *) "item",(char *) "font", NULL | |
6040 | }; | |
6041 | ||
6042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6043 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6044 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6045 | { | |
6046 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6047 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6048 | if (arg2 == NULL) { | |
6049 | SWIG_null_ref("wxTreeItemId"); | |
6050 | } | |
6051 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6052 | } | |
6053 | { | |
6054 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
6055 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6056 | if (arg3 == NULL) { | |
6057 | SWIG_null_ref("wxFont"); | |
6058 | } | |
6059 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6060 | } | |
6061 | { | |
6062 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6063 | (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3); | |
6064 | ||
6065 | wxPyEndAllowThreads(__tstate); | |
6066 | if (PyErr_Occurred()) SWIG_fail; | |
6067 | } | |
6068 | Py_INCREF(Py_None); resultobj = Py_None; | |
6069 | return resultobj; | |
6070 | fail: | |
6071 | return NULL; | |
6072 | } | |
6073 | ||
6074 | ||
6075 | static PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *, PyObject *args, PyObject *kwargs) { | |
6076 | PyObject *resultobj; | |
6077 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6078 | wxTreeItemId *arg2 = 0 ; | |
6079 | bool result; | |
6080 | PyObject * obj0 = 0 ; | |
6081 | PyObject * obj1 = 0 ; | |
6082 | char *kwnames[] = { | |
6083 | (char *) "self",(char *) "item", NULL | |
6084 | }; | |
6085 | ||
6086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) goto fail; | |
6087 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6088 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6089 | { | |
6090 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6091 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6092 | if (arg2 == NULL) { | |
6093 | SWIG_null_ref("wxTreeItemId"); | |
6094 | } | |
6095 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6096 | } | |
6097 | { | |
6098 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6099 | result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2); | |
6100 | ||
6101 | wxPyEndAllowThreads(__tstate); | |
6102 | if (PyErr_Occurred()) SWIG_fail; | |
6103 | } | |
6104 | { | |
6105 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6106 | } | |
6107 | return resultobj; | |
6108 | fail: | |
6109 | return NULL; | |
6110 | } | |
6111 | ||
6112 | ||
6113 | static PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) { | |
6114 | PyObject *resultobj; | |
6115 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6116 | wxTreeItemId *arg2 = 0 ; | |
6117 | wxColour result; | |
6118 | PyObject * obj0 = 0 ; | |
6119 | PyObject * obj1 = 0 ; | |
6120 | char *kwnames[] = { | |
6121 | (char *) "self",(char *) "item", NULL | |
6122 | }; | |
6123 | ||
6124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail; | |
6125 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6126 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6127 | { | |
6128 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6129 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6130 | if (arg2 == NULL) { | |
6131 | SWIG_null_ref("wxTreeItemId"); | |
6132 | } | |
6133 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6134 | } | |
6135 | { | |
6136 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6137 | result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2); | |
6138 | ||
6139 | wxPyEndAllowThreads(__tstate); | |
6140 | if (PyErr_Occurred()) SWIG_fail; | |
6141 | } | |
6142 | { | |
6143 | wxColour * resultptr; | |
6144 | resultptr = new wxColour((wxColour &)(result)); | |
6145 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
6146 | } | |
6147 | return resultobj; | |
6148 | fail: | |
6149 | return NULL; | |
6150 | } | |
6151 | ||
6152 | ||
6153 | static PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { | |
6154 | PyObject *resultobj; | |
6155 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6156 | wxTreeItemId *arg2 = 0 ; | |
6157 | wxColour result; | |
6158 | PyObject * obj0 = 0 ; | |
6159 | PyObject * obj1 = 0 ; | |
6160 | char *kwnames[] = { | |
6161 | (char *) "self",(char *) "item", NULL | |
6162 | }; | |
6163 | ||
6164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail; | |
6165 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6166 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6167 | { | |
6168 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6169 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6170 | if (arg2 == NULL) { | |
6171 | SWIG_null_ref("wxTreeItemId"); | |
6172 | } | |
6173 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6174 | } | |
6175 | { | |
6176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6177 | result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2); | |
6178 | ||
6179 | wxPyEndAllowThreads(__tstate); | |
6180 | if (PyErr_Occurred()) SWIG_fail; | |
6181 | } | |
6182 | { | |
6183 | wxColour * resultptr; | |
6184 | resultptr = new wxColour((wxColour &)(result)); | |
6185 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); | |
6186 | } | |
6187 | return resultobj; | |
6188 | fail: | |
6189 | return NULL; | |
6190 | } | |
6191 | ||
6192 | ||
6193 | static PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { | |
6194 | PyObject *resultobj; | |
6195 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6196 | wxTreeItemId *arg2 = 0 ; | |
6197 | wxFont result; | |
6198 | PyObject * obj0 = 0 ; | |
6199 | PyObject * obj1 = 0 ; | |
6200 | char *kwnames[] = { | |
6201 | (char *) "self",(char *) "item", NULL | |
6202 | }; | |
6203 | ||
6204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail; | |
6205 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6206 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6207 | { | |
6208 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6209 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6210 | if (arg2 == NULL) { | |
6211 | SWIG_null_ref("wxTreeItemId"); | |
6212 | } | |
6213 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6214 | } | |
6215 | { | |
6216 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6217 | result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2); | |
6218 | ||
6219 | wxPyEndAllowThreads(__tstate); | |
6220 | if (PyErr_Occurred()) SWIG_fail; | |
6221 | } | |
6222 | { | |
6223 | wxFont * resultptr; | |
6224 | resultptr = new wxFont((wxFont &)(result)); | |
6225 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); | |
6226 | } | |
6227 | return resultobj; | |
6228 | fail: | |
6229 | return NULL; | |
6230 | } | |
6231 | ||
6232 | ||
6233 | static PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { | |
6234 | PyObject *resultobj; | |
6235 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6236 | wxTreeItemId *arg2 = 0 ; | |
6237 | bool result; | |
6238 | PyObject * obj0 = 0 ; | |
6239 | PyObject * obj1 = 0 ; | |
6240 | char *kwnames[] = { | |
6241 | (char *) "self",(char *) "item", NULL | |
6242 | }; | |
6243 | ||
6244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
6245 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6246 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6247 | { | |
6248 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6249 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6250 | if (arg2 == NULL) { | |
6251 | SWIG_null_ref("wxTreeItemId"); | |
6252 | } | |
6253 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6254 | } | |
6255 | { | |
6256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6257 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2); | |
6258 | ||
6259 | wxPyEndAllowThreads(__tstate); | |
6260 | if (PyErr_Occurred()) SWIG_fail; | |
6261 | } | |
6262 | { | |
6263 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6264 | } | |
6265 | return resultobj; | |
6266 | fail: | |
6267 | return NULL; | |
6268 | } | |
6269 | ||
6270 | ||
6271 | static PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) { | |
6272 | PyObject *resultobj; | |
6273 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6274 | wxTreeItemId *arg2 = 0 ; | |
6275 | bool result; | |
6276 | PyObject * obj0 = 0 ; | |
6277 | PyObject * obj1 = 0 ; | |
6278 | char *kwnames[] = { | |
6279 | (char *) "self",(char *) "item", NULL | |
6280 | }; | |
6281 | ||
6282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail; | |
6283 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6284 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6285 | { | |
6286 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6287 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6288 | if (arg2 == NULL) { | |
6289 | SWIG_null_ref("wxTreeItemId"); | |
6290 | } | |
6291 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6292 | } | |
6293 | { | |
6294 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6295 | result = (bool)((wxPyTreeListCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2); | |
6296 | ||
6297 | wxPyEndAllowThreads(__tstate); | |
6298 | if (PyErr_Occurred()) SWIG_fail; | |
6299 | } | |
6300 | { | |
6301 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6302 | } | |
6303 | return resultobj; | |
6304 | fail: | |
6305 | return NULL; | |
6306 | } | |
6307 | ||
6308 | ||
6309 | static PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) { | |
6310 | PyObject *resultobj; | |
6311 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6312 | wxTreeItemId *arg2 = 0 ; | |
6313 | bool result; | |
6314 | PyObject * obj0 = 0 ; | |
6315 | PyObject * obj1 = 0 ; | |
6316 | char *kwnames[] = { | |
6317 | (char *) "self",(char *) "item", NULL | |
6318 | }; | |
6319 | ||
6320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail; | |
6321 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6322 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6323 | { | |
6324 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6325 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6326 | if (arg2 == NULL) { | |
6327 | SWIG_null_ref("wxTreeItemId"); | |
6328 | } | |
6329 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6330 | } | |
6331 | { | |
6332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6333 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2); | |
6334 | ||
6335 | wxPyEndAllowThreads(__tstate); | |
6336 | if (PyErr_Occurred()) SWIG_fail; | |
6337 | } | |
6338 | { | |
6339 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6340 | } | |
6341 | return resultobj; | |
6342 | fail: | |
6343 | return NULL; | |
6344 | } | |
6345 | ||
6346 | ||
6347 | static PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { | |
6348 | PyObject *resultobj; | |
6349 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6350 | wxTreeItemId *arg2 = 0 ; | |
6351 | bool result; | |
6352 | PyObject * obj0 = 0 ; | |
6353 | PyObject * obj1 = 0 ; | |
6354 | char *kwnames[] = { | |
6355 | (char *) "self",(char *) "item", NULL | |
6356 | }; | |
6357 | ||
6358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
6359 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6360 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6361 | { | |
6362 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6363 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6364 | if (arg2 == NULL) { | |
6365 | SWIG_null_ref("wxTreeItemId"); | |
6366 | } | |
6367 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6368 | } | |
6369 | { | |
6370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6371 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2); | |
6372 | ||
6373 | wxPyEndAllowThreads(__tstate); | |
6374 | if (PyErr_Occurred()) SWIG_fail; | |
6375 | } | |
6376 | { | |
6377 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6378 | } | |
6379 | return resultobj; | |
6380 | fail: | |
6381 | return NULL; | |
6382 | } | |
6383 | ||
6384 | ||
6385 | static PyObject *_wrap_TreeListCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) { | |
6386 | PyObject *resultobj; | |
6387 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6388 | wxTreeItemId *arg2 = 0 ; | |
6389 | bool result; | |
6390 | PyObject * obj0 = 0 ; | |
6391 | PyObject * obj1 = 0 ; | |
6392 | char *kwnames[] = { | |
6393 | (char *) "self",(char *) "item", NULL | |
6394 | }; | |
6395 | ||
6396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail; | |
6397 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6398 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6399 | { | |
6400 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6401 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6402 | if (arg2 == NULL) { | |
6403 | SWIG_null_ref("wxTreeItemId"); | |
6404 | } | |
6405 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6406 | } | |
6407 | { | |
6408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6409 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2); | |
6410 | ||
6411 | wxPyEndAllowThreads(__tstate); | |
6412 | if (PyErr_Occurred()) SWIG_fail; | |
6413 | } | |
6414 | { | |
6415 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6416 | } | |
6417 | return resultobj; | |
6418 | fail: | |
6419 | return NULL; | |
6420 | } | |
6421 | ||
6422 | ||
6423 | static PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) { | |
6424 | PyObject *resultobj; | |
6425 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6426 | wxTreeItemId *arg2 = 0 ; | |
6427 | bool arg3 = (bool) true ; | |
6428 | size_t result; | |
6429 | PyObject * obj0 = 0 ; | |
6430 | PyObject * obj1 = 0 ; | |
6431 | PyObject * obj2 = 0 ; | |
6432 | char *kwnames[] = { | |
6433 | (char *) "self",(char *) "item",(char *) "recursively", NULL | |
6434 | }; | |
6435 | ||
6436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6437 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6438 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6439 | { | |
6440 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6441 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6442 | if (arg2 == NULL) { | |
6443 | SWIG_null_ref("wxTreeItemId"); | |
6444 | } | |
6445 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6446 | } | |
6447 | if (obj2) { | |
6448 | { | |
6449 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
6450 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6451 | } | |
6452 | } | |
6453 | { | |
6454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6455 | result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3); | |
6456 | ||
6457 | wxPyEndAllowThreads(__tstate); | |
6458 | if (PyErr_Occurred()) SWIG_fail; | |
6459 | } | |
6460 | { | |
6461 | resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result)); | |
6462 | } | |
6463 | return resultobj; | |
6464 | fail: | |
6465 | return NULL; | |
6466 | } | |
6467 | ||
6468 | ||
6469 | static PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) { | |
6470 | PyObject *resultobj; | |
6471 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6472 | wxTreeItemId result; | |
6473 | PyObject * obj0 = 0 ; | |
6474 | char *kwnames[] = { | |
6475 | (char *) "self", NULL | |
6476 | }; | |
6477 | ||
6478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetRootItem",kwnames,&obj0)) goto fail; | |
6479 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6480 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6481 | { | |
6482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6483 | result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem(); | |
6484 | ||
6485 | wxPyEndAllowThreads(__tstate); | |
6486 | if (PyErr_Occurred()) SWIG_fail; | |
6487 | } | |
6488 | { | |
6489 | wxTreeItemId * resultptr; | |
6490 | resultptr = new wxTreeItemId((wxTreeItemId &)(result)); | |
6491 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); | |
6492 | } | |
6493 | return resultobj; | |
6494 | fail: | |
6495 | return NULL; | |
6496 | } | |
6497 | ||
6498 | ||
6499 | static PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { | |
6500 | PyObject *resultobj; | |
6501 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6502 | wxTreeItemId result; | |
6503 | PyObject * obj0 = 0 ; | |
6504 | char *kwnames[] = { | |
6505 | (char *) "self", NULL | |
6506 | }; | |
6507 | ||
6508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelection",kwnames,&obj0)) goto fail; | |
6509 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6510 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6511 | { | |
6512 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6513 | result = ((wxPyTreeListCtrl const *)arg1)->GetSelection(); | |
6514 | ||
6515 | wxPyEndAllowThreads(__tstate); | |
6516 | if (PyErr_Occurred()) SWIG_fail; | |
6517 | } | |
6518 | { | |
6519 | wxTreeItemId * resultptr; | |
6520 | resultptr = new wxTreeItemId((wxTreeItemId &)(result)); | |
6521 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); | |
6522 | } | |
6523 | return resultobj; | |
6524 | fail: | |
6525 | return NULL; | |
6526 | } | |
6527 | ||
6528 | ||
6529 | static PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { | |
6530 | PyObject *resultobj; | |
6531 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6532 | PyObject *result; | |
6533 | PyObject * obj0 = 0 ; | |
6534 | char *kwnames[] = { | |
6535 | (char *) "self", NULL | |
6536 | }; | |
6537 | ||
6538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelections",kwnames,&obj0)) goto fail; | |
6539 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6540 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6541 | { | |
6542 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6543 | result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1); | |
6544 | ||
6545 | wxPyEndAllowThreads(__tstate); | |
6546 | if (PyErr_Occurred()) SWIG_fail; | |
6547 | } | |
6548 | resultobj = result; | |
6549 | return resultobj; | |
6550 | fail: | |
6551 | return NULL; | |
6552 | } | |
6553 | ||
6554 | ||
6555 | static PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) { | |
6556 | PyObject *resultobj; | |
6557 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6558 | wxTreeItemId *arg2 = 0 ; | |
6559 | wxTreeItemId result; | |
6560 | PyObject * obj0 = 0 ; | |
6561 | PyObject * obj1 = 0 ; | |
6562 | char *kwnames[] = { | |
6563 | (char *) "self",(char *) "item", NULL | |
6564 | }; | |
6565 | ||
6566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail; | |
6567 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6568 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6569 | { | |
6570 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6571 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6572 | if (arg2 == NULL) { | |
6573 | SWIG_null_ref("wxTreeItemId"); | |
6574 | } | |
6575 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6576 | } | |
6577 | { | |
6578 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6579 | result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2); | |
6580 | ||
6581 | wxPyEndAllowThreads(__tstate); | |
6582 | if (PyErr_Occurred()) SWIG_fail; | |
6583 | } | |
6584 | { | |
6585 | wxTreeItemId * resultptr; | |
6586 | resultptr = new wxTreeItemId((wxTreeItemId &)(result)); | |
6587 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); | |
6588 | } | |
6589 | return resultobj; | |
6590 | fail: | |
6591 | return NULL; | |
6592 | } | |
6593 | ||
6594 | ||
6595 | static PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) { | |
6596 | PyObject *resultobj; | |
6597 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6598 | wxTreeItemId *arg2 = 0 ; | |
6599 | PyObject *result; | |
6600 | PyObject * obj0 = 0 ; | |
6601 | PyObject * obj1 = 0 ; | |
6602 | char *kwnames[] = { | |
6603 | (char *) "self",(char *) "item", NULL | |
6604 | }; | |
6605 | ||
6606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail; | |
6607 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6608 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6609 | { | |
6610 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6611 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6612 | if (arg2 == NULL) { | |
6613 | SWIG_null_ref("wxTreeItemId"); | |
6614 | } | |
6615 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6616 | } | |
6617 | { | |
6618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6619 | result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2); | |
6620 | ||
6621 | wxPyEndAllowThreads(__tstate); | |
6622 | if (PyErr_Occurred()) SWIG_fail; | |
6623 | } | |
6624 | resultobj = result; | |
6625 | return resultobj; | |
6626 | fail: | |
6627 | return NULL; | |
6628 | } | |
6629 | ||
6630 | ||
6631 | static PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) { | |
6632 | PyObject *resultobj; | |
6633 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6634 | wxTreeItemId *arg2 = 0 ; | |
6635 | void *arg3 = (void *) 0 ; | |
6636 | PyObject *result; | |
6637 | PyObject * obj0 = 0 ; | |
6638 | PyObject * obj1 = 0 ; | |
6639 | PyObject * obj2 = 0 ; | |
6640 | char *kwnames[] = { | |
6641 | (char *) "self",(char *) "item",(char *) "cookie", NULL | |
6642 | }; | |
6643 | ||
6644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
6645 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6646 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6647 | { | |
6648 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6649 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6650 | if (arg2 == NULL) { | |
6651 | SWIG_null_ref("wxTreeItemId"); | |
6652 | } | |
6653 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6654 | } | |
6655 | { | |
6656 | if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) { | |
6657 | SWIG_arg_fail(3);SWIG_fail; | |
6658 | } | |
6659 | } | |
6660 | { | |
6661 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6662 | result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3); | |
6663 | ||
6664 | wxPyEndAllowThreads(__tstate); | |
6665 | if (PyErr_Occurred()) SWIG_fail; | |
6666 | } | |
6667 | resultobj = result; | |
6668 | return resultobj; | |
6669 | fail: | |
6670 | return NULL; | |
6671 | } | |
6672 | ||
6673 | ||
6674 | static PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) { | |
6675 | PyObject *resultobj; | |
6676 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6677 | wxTreeItemId *arg2 = 0 ; | |
6678 | wxTreeItemId result; | |
6679 | PyObject * obj0 = 0 ; | |
6680 | PyObject * obj1 = 0 ; | |
6681 | char *kwnames[] = { | |
6682 | (char *) "self",(char *) "item", NULL | |
6683 | }; | |
6684 | ||
6685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail; | |
6686 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6687 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6688 | { | |
6689 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6690 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6691 | if (arg2 == NULL) { | |
6692 | SWIG_null_ref("wxTreeItemId"); | |
6693 | } | |
6694 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6695 | } | |
6696 | { | |
6697 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6698 | result = ((wxPyTreeListCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2); | |
6699 | ||
6700 | wxPyEndAllowThreads(__tstate); | |
6701 | if (PyErr_Occurred()) SWIG_fail; | |
6702 | } | |
6703 | { | |
6704 | wxTreeItemId * resultptr; | |
6705 | resultptr = new wxTreeItemId((wxTreeItemId &)(result)); | |
6706 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); | |
6707 | } | |
6708 | return resultobj; | |
6709 | fail: | |
6710 | return NULL; | |
6711 | } | |
6712 | ||
6713 | ||
6714 | static PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) { | |
6715 | PyObject *resultobj; | |
6716 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6717 | wxTreeItemId *arg2 = 0 ; | |
6718 | wxTreeItemId result; | |
6719 | PyObject * obj0 = 0 ; | |
6720 | PyObject * obj1 = 0 ; | |
6721 | char *kwnames[] = { | |
6722 | (char *) "self",(char *) "item", NULL | |
6723 | }; | |
6724 | ||
6725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail; | |
6726 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6727 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6728 | { | |
6729 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6730 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6731 | if (arg2 == NULL) { | |
6732 | SWIG_null_ref("wxTreeItemId"); | |
6733 | } | |
6734 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6735 | } | |
6736 | { | |
6737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6738 | result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2); | |
6739 | ||
6740 | wxPyEndAllowThreads(__tstate); | |
6741 | if (PyErr_Occurred()) SWIG_fail; | |
6742 | } | |
6743 | { | |
6744 | wxTreeItemId * resultptr; | |
6745 | resultptr = new wxTreeItemId((wxTreeItemId &)(result)); | |
6746 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); | |
6747 | } | |
6748 | return resultobj; | |
6749 | fail: | |
6750 | return NULL; | |
6751 | } | |
6752 | ||
6753 | ||
6754 | static PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) { | |
6755 | PyObject *resultobj; | |
6756 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6757 | wxTreeItemId *arg2 = 0 ; | |
6758 | wxTreeItemId result; | |
6759 | PyObject * obj0 = 0 ; | |
6760 | PyObject * obj1 = 0 ; | |
6761 | char *kwnames[] = { | |
6762 | (char *) "self",(char *) "item", NULL | |
6763 | }; | |
6764 | ||
6765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail; | |
6766 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6767 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6768 | { | |
6769 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6770 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6771 | if (arg2 == NULL) { | |
6772 | SWIG_null_ref("wxTreeItemId"); | |
6773 | } | |
6774 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6775 | } | |
6776 | { | |
6777 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6778 | result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2); | |
6779 | ||
6780 | wxPyEndAllowThreads(__tstate); | |
6781 | if (PyErr_Occurred()) SWIG_fail; | |
6782 | } | |
6783 | { | |
6784 | wxTreeItemId * resultptr; | |
6785 | resultptr = new wxTreeItemId((wxTreeItemId &)(result)); | |
6786 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); | |
6787 | } | |
6788 | return resultobj; | |
6789 | fail: | |
6790 | return NULL; | |
6791 | } | |
6792 | ||
6793 | ||
6794 | static PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) { | |
6795 | PyObject *resultobj; | |
6796 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6797 | wxTreeItemId result; | |
6798 | PyObject * obj0 = 0 ; | |
6799 | char *kwnames[] = { | |
6800 | (char *) "self", NULL | |
6801 | }; | |
6802 | ||
6803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail; | |
6804 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6805 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6806 | { | |
6807 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6808 | result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem(); | |
6809 | ||
6810 | wxPyEndAllowThreads(__tstate); | |
6811 | if (PyErr_Occurred()) SWIG_fail; | |
6812 | } | |
6813 | { | |
6814 | wxTreeItemId * resultptr; | |
6815 | resultptr = new wxTreeItemId((wxTreeItemId &)(result)); | |
6816 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); | |
6817 | } | |
6818 | return resultobj; | |
6819 | fail: | |
6820 | return NULL; | |
6821 | } | |
6822 | ||
6823 | ||
6824 | static PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) { | |
6825 | PyObject *resultobj; | |
6826 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6827 | wxTreeItemId *arg2 = 0 ; | |
6828 | wxTreeItemId result; | |
6829 | PyObject * obj0 = 0 ; | |
6830 | PyObject * obj1 = 0 ; | |
6831 | char *kwnames[] = { | |
6832 | (char *) "self",(char *) "item", NULL | |
6833 | }; | |
6834 | ||
6835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail; | |
6836 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6837 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6838 | { | |
6839 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6840 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6841 | if (arg2 == NULL) { | |
6842 | SWIG_null_ref("wxTreeItemId"); | |
6843 | } | |
6844 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6845 | } | |
6846 | { | |
6847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6848 | result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2); | |
6849 | ||
6850 | wxPyEndAllowThreads(__tstate); | |
6851 | if (PyErr_Occurred()) SWIG_fail; | |
6852 | } | |
6853 | { | |
6854 | wxTreeItemId * resultptr; | |
6855 | resultptr = new wxTreeItemId((wxTreeItemId &)(result)); | |
6856 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); | |
6857 | } | |
6858 | return resultobj; | |
6859 | fail: | |
6860 | return NULL; | |
6861 | } | |
6862 | ||
6863 | ||
6864 | static PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) { | |
6865 | PyObject *resultobj; | |
6866 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6867 | wxTreeItemId *arg2 = 0 ; | |
6868 | wxTreeItemId result; | |
6869 | PyObject * obj0 = 0 ; | |
6870 | PyObject * obj1 = 0 ; | |
6871 | char *kwnames[] = { | |
6872 | (char *) "self",(char *) "item", NULL | |
6873 | }; | |
6874 | ||
6875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail; | |
6876 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6877 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6878 | { | |
6879 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6880 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6881 | if (arg2 == NULL) { | |
6882 | SWIG_null_ref("wxTreeItemId"); | |
6883 | } | |
6884 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6885 | } | |
6886 | { | |
6887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6888 | result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2); | |
6889 | ||
6890 | wxPyEndAllowThreads(__tstate); | |
6891 | if (PyErr_Occurred()) SWIG_fail; | |
6892 | } | |
6893 | { | |
6894 | wxTreeItemId * resultptr; | |
6895 | resultptr = new wxTreeItemId((wxTreeItemId &)(result)); | |
6896 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); | |
6897 | } | |
6898 | return resultobj; | |
6899 | fail: | |
6900 | return NULL; | |
6901 | } | |
6902 | ||
6903 | ||
6904 | static PyObject *_wrap_TreeListCtrl_GetNext(PyObject *, PyObject *args, PyObject *kwargs) { | |
6905 | PyObject *resultobj; | |
6906 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6907 | wxTreeItemId *arg2 = 0 ; | |
6908 | wxTreeItemId result; | |
6909 | PyObject * obj0 = 0 ; | |
6910 | PyObject * obj1 = 0 ; | |
6911 | char *kwnames[] = { | |
6912 | (char *) "self",(char *) "item", NULL | |
6913 | }; | |
6914 | ||
6915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) goto fail; | |
6916 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6917 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6918 | { | |
6919 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6920 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6921 | if (arg2 == NULL) { | |
6922 | SWIG_null_ref("wxTreeItemId"); | |
6923 | } | |
6924 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6925 | } | |
6926 | { | |
6927 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6928 | result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2); | |
6929 | ||
6930 | wxPyEndAllowThreads(__tstate); | |
6931 | if (PyErr_Occurred()) SWIG_fail; | |
6932 | } | |
6933 | { | |
6934 | wxTreeItemId * resultptr; | |
6935 | resultptr = new wxTreeItemId((wxTreeItemId &)(result)); | |
6936 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); | |
6937 | } | |
6938 | return resultobj; | |
6939 | fail: | |
6940 | return NULL; | |
6941 | } | |
6942 | ||
6943 | ||
6944 | static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) { | |
6945 | PyObject *resultobj; | |
6946 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6947 | wxString *arg2 = 0 ; | |
6948 | int arg3 = (int) -1 ; | |
6949 | int arg4 = (int) -1 ; | |
6950 | wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ; | |
6951 | wxTreeItemId result; | |
6952 | bool temp2 = false ; | |
6953 | PyObject * obj0 = 0 ; | |
6954 | PyObject * obj1 = 0 ; | |
6955 | PyObject * obj2 = 0 ; | |
6956 | PyObject * obj3 = 0 ; | |
6957 | PyObject * obj4 = 0 ; | |
6958 | char *kwnames[] = { | |
6959 | (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
6960 | }; | |
6961 | ||
6962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; | |
6963 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
6964 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6965 | { | |
6966 | arg2 = wxString_in_helper(obj1); | |
6967 | if (arg2 == NULL) SWIG_fail; | |
6968 | temp2 = true; | |
6969 | } | |
6970 | if (obj2) { | |
6971 | { | |
6972 | arg3 = (int)(SWIG_As_int(obj2)); | |
6973 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6974 | } | |
6975 | } | |
6976 | if (obj3) { | |
6977 | { | |
6978 | arg4 = (int)(SWIG_As_int(obj3)); | |
6979 | if (SWIG_arg_fail(4)) SWIG_fail; | |
6980 | } | |
6981 | } | |
6982 | if (obj4) { | |
6983 | SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0); | |
6984 | if (SWIG_arg_fail(5)) SWIG_fail; | |
6985 | } | |
6986 | { | |
6987 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6988 | result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5); | |
6989 | ||
6990 | wxPyEndAllowThreads(__tstate); | |
6991 | if (PyErr_Occurred()) SWIG_fail; | |
6992 | } | |
6993 | { | |
6994 | wxTreeItemId * resultptr; | |
6995 | resultptr = new wxTreeItemId((wxTreeItemId &)(result)); | |
6996 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); | |
6997 | } | |
6998 | { | |
6999 | if (temp2) | |
7000 | delete arg2; | |
7001 | } | |
7002 | return resultobj; | |
7003 | fail: | |
7004 | { | |
7005 | if (temp2) | |
7006 | delete arg2; | |
7007 | } | |
7008 | return NULL; | |
7009 | } | |
7010 | ||
7011 | ||
7012 | static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) { | |
7013 | PyObject *resultobj; | |
7014 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7015 | wxTreeItemId *arg2 = 0 ; | |
7016 | wxString *arg3 = 0 ; | |
7017 | int arg4 = (int) -1 ; | |
7018 | int arg5 = (int) -1 ; | |
7019 | wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ; | |
7020 | wxTreeItemId result; | |
7021 | bool temp3 = false ; | |
7022 | PyObject * obj0 = 0 ; | |
7023 | PyObject * obj1 = 0 ; | |
7024 | PyObject * obj2 = 0 ; | |
7025 | PyObject * obj3 = 0 ; | |
7026 | PyObject * obj4 = 0 ; | |
7027 | PyObject * obj5 = 0 ; | |
7028 | char *kwnames[] = { | |
7029 | (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
7030 | }; | |
7031 | ||
7032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
7033 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7034 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7035 | { | |
7036 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7037 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7038 | if (arg2 == NULL) { | |
7039 | SWIG_null_ref("wxTreeItemId"); | |
7040 | } | |
7041 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7042 | } | |
7043 | { | |
7044 | arg3 = wxString_in_helper(obj2); | |
7045 | if (arg3 == NULL) SWIG_fail; | |
7046 | temp3 = true; | |
7047 | } | |
7048 | if (obj3) { | |
7049 | { | |
7050 | arg4 = (int)(SWIG_As_int(obj3)); | |
7051 | if (SWIG_arg_fail(4)) SWIG_fail; | |
7052 | } | |
7053 | } | |
7054 | if (obj4) { | |
7055 | { | |
7056 | arg5 = (int)(SWIG_As_int(obj4)); | |
7057 | if (SWIG_arg_fail(5)) SWIG_fail; | |
7058 | } | |
7059 | } | |
7060 | if (obj5) { | |
7061 | SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0); | |
7062 | if (SWIG_arg_fail(6)) SWIG_fail; | |
7063 | } | |
7064 | { | |
7065 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7066 | result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6); | |
7067 | ||
7068 | wxPyEndAllowThreads(__tstate); | |
7069 | if (PyErr_Occurred()) SWIG_fail; | |
7070 | } | |
7071 | { | |
7072 | wxTreeItemId * resultptr; | |
7073 | resultptr = new wxTreeItemId((wxTreeItemId &)(result)); | |
7074 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); | |
7075 | } | |
7076 | { | |
7077 | if (temp3) | |
7078 | delete arg3; | |
7079 | } | |
7080 | return resultobj; | |
7081 | fail: | |
7082 | { | |
7083 | if (temp3) | |
7084 | delete arg3; | |
7085 | } | |
7086 | return NULL; | |
7087 | } | |
7088 | ||
7089 | ||
7090 | static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) { | |
7091 | PyObject *resultobj; | |
7092 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7093 | wxTreeItemId *arg2 = 0 ; | |
7094 | wxTreeItemId *arg3 = 0 ; | |
7095 | wxString *arg4 = 0 ; | |
7096 | int arg5 = (int) -1 ; | |
7097 | int arg6 = (int) -1 ; | |
7098 | wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ; | |
7099 | wxTreeItemId result; | |
7100 | bool temp4 = false ; | |
7101 | PyObject * obj0 = 0 ; | |
7102 | PyObject * obj1 = 0 ; | |
7103 | PyObject * obj2 = 0 ; | |
7104 | PyObject * obj3 = 0 ; | |
7105 | PyObject * obj4 = 0 ; | |
7106 | PyObject * obj5 = 0 ; | |
7107 | PyObject * obj6 = 0 ; | |
7108 | char *kwnames[] = { | |
7109 | (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
7110 | }; | |
7111 | ||
7112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
7113 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7114 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7115 | { | |
7116 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7117 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7118 | if (arg2 == NULL) { | |
7119 | SWIG_null_ref("wxTreeItemId"); | |
7120 | } | |
7121 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7122 | } | |
7123 | { | |
7124 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7125 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7126 | if (arg3 == NULL) { | |
7127 | SWIG_null_ref("wxTreeItemId"); | |
7128 | } | |
7129 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7130 | } | |
7131 | { | |
7132 | arg4 = wxString_in_helper(obj3); | |
7133 | if (arg4 == NULL) SWIG_fail; | |
7134 | temp4 = true; | |
7135 | } | |
7136 | if (obj4) { | |
7137 | { | |
7138 | arg5 = (int)(SWIG_As_int(obj4)); | |
7139 | if (SWIG_arg_fail(5)) SWIG_fail; | |
7140 | } | |
7141 | } | |
7142 | if (obj5) { | |
7143 | { | |
7144 | arg6 = (int)(SWIG_As_int(obj5)); | |
7145 | if (SWIG_arg_fail(6)) SWIG_fail; | |
7146 | } | |
7147 | } | |
7148 | if (obj6) { | |
7149 | SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0); | |
7150 | if (SWIG_arg_fail(7)) SWIG_fail; | |
7151 | } | |
7152 | { | |
7153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7154 | result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7); | |
7155 | ||
7156 | wxPyEndAllowThreads(__tstate); | |
7157 | if (PyErr_Occurred()) SWIG_fail; | |
7158 | } | |
7159 | { | |
7160 | wxTreeItemId * resultptr; | |
7161 | resultptr = new wxTreeItemId((wxTreeItemId &)(result)); | |
7162 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); | |
7163 | } | |
7164 | { | |
7165 | if (temp4) | |
7166 | delete arg4; | |
7167 | } | |
7168 | return resultobj; | |
7169 | fail: | |
7170 | { | |
7171 | if (temp4) | |
7172 | delete arg4; | |
7173 | } | |
7174 | return NULL; | |
7175 | } | |
7176 | ||
7177 | ||
7178 | static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) { | |
7179 | PyObject *resultobj; | |
7180 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7181 | wxTreeItemId *arg2 = 0 ; | |
7182 | size_t arg3 ; | |
7183 | wxString *arg4 = 0 ; | |
7184 | int arg5 = (int) -1 ; | |
7185 | int arg6 = (int) -1 ; | |
7186 | wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ; | |
7187 | wxTreeItemId result; | |
7188 | bool temp4 = false ; | |
7189 | PyObject * obj0 = 0 ; | |
7190 | PyObject * obj1 = 0 ; | |
7191 | PyObject * obj2 = 0 ; | |
7192 | PyObject * obj3 = 0 ; | |
7193 | PyObject * obj4 = 0 ; | |
7194 | PyObject * obj5 = 0 ; | |
7195 | PyObject * obj6 = 0 ; | |
7196 | char *kwnames[] = { | |
7197 | (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
7198 | }; | |
7199 | ||
7200 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
7201 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7202 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7203 | { | |
7204 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7205 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7206 | if (arg2 == NULL) { | |
7207 | SWIG_null_ref("wxTreeItemId"); | |
7208 | } | |
7209 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7210 | } | |
7211 | { | |
7212 | arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2)); | |
7213 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7214 | } | |
7215 | { | |
7216 | arg4 = wxString_in_helper(obj3); | |
7217 | if (arg4 == NULL) SWIG_fail; | |
7218 | temp4 = true; | |
7219 | } | |
7220 | if (obj4) { | |
7221 | { | |
7222 | arg5 = (int)(SWIG_As_int(obj4)); | |
7223 | if (SWIG_arg_fail(5)) SWIG_fail; | |
7224 | } | |
7225 | } | |
7226 | if (obj5) { | |
7227 | { | |
7228 | arg6 = (int)(SWIG_As_int(obj5)); | |
7229 | if (SWIG_arg_fail(6)) SWIG_fail; | |
7230 | } | |
7231 | } | |
7232 | if (obj6) { | |
7233 | SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0); | |
7234 | if (SWIG_arg_fail(7)) SWIG_fail; | |
7235 | } | |
7236 | { | |
7237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7238 | result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7); | |
7239 | ||
7240 | wxPyEndAllowThreads(__tstate); | |
7241 | if (PyErr_Occurred()) SWIG_fail; | |
7242 | } | |
7243 | { | |
7244 | wxTreeItemId * resultptr; | |
7245 | resultptr = new wxTreeItemId((wxTreeItemId &)(result)); | |
7246 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); | |
7247 | } | |
7248 | { | |
7249 | if (temp4) | |
7250 | delete arg4; | |
7251 | } | |
7252 | return resultobj; | |
7253 | fail: | |
7254 | { | |
7255 | if (temp4) | |
7256 | delete arg4; | |
7257 | } | |
7258 | return NULL; | |
7259 | } | |
7260 | ||
7261 | ||
7262 | static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) { | |
7263 | PyObject *resultobj; | |
7264 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7265 | wxTreeItemId *arg2 = 0 ; | |
7266 | wxString *arg3 = 0 ; | |
7267 | int arg4 = (int) -1 ; | |
7268 | int arg5 = (int) -1 ; | |
7269 | wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ; | |
7270 | wxTreeItemId result; | |
7271 | bool temp3 = false ; | |
7272 | PyObject * obj0 = 0 ; | |
7273 | PyObject * obj1 = 0 ; | |
7274 | PyObject * obj2 = 0 ; | |
7275 | PyObject * obj3 = 0 ; | |
7276 | PyObject * obj4 = 0 ; | |
7277 | PyObject * obj5 = 0 ; | |
7278 | char *kwnames[] = { | |
7279 | (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
7280 | }; | |
7281 | ||
7282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; | |
7283 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7284 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7285 | { | |
7286 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7287 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7288 | if (arg2 == NULL) { | |
7289 | SWIG_null_ref("wxTreeItemId"); | |
7290 | } | |
7291 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7292 | } | |
7293 | { | |
7294 | arg3 = wxString_in_helper(obj2); | |
7295 | if (arg3 == NULL) SWIG_fail; | |
7296 | temp3 = true; | |
7297 | } | |
7298 | if (obj3) { | |
7299 | { | |
7300 | arg4 = (int)(SWIG_As_int(obj3)); | |
7301 | if (SWIG_arg_fail(4)) SWIG_fail; | |
7302 | } | |
7303 | } | |
7304 | if (obj4) { | |
7305 | { | |
7306 | arg5 = (int)(SWIG_As_int(obj4)); | |
7307 | if (SWIG_arg_fail(5)) SWIG_fail; | |
7308 | } | |
7309 | } | |
7310 | if (obj5) { | |
7311 | SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0); | |
7312 | if (SWIG_arg_fail(6)) SWIG_fail; | |
7313 | } | |
7314 | { | |
7315 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7316 | result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6); | |
7317 | ||
7318 | wxPyEndAllowThreads(__tstate); | |
7319 | if (PyErr_Occurred()) SWIG_fail; | |
7320 | } | |
7321 | { | |
7322 | wxTreeItemId * resultptr; | |
7323 | resultptr = new wxTreeItemId((wxTreeItemId &)(result)); | |
7324 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); | |
7325 | } | |
7326 | { | |
7327 | if (temp3) | |
7328 | delete arg3; | |
7329 | } | |
7330 | return resultobj; | |
7331 | fail: | |
7332 | { | |
7333 | if (temp3) | |
7334 | delete arg3; | |
7335 | } | |
7336 | return NULL; | |
7337 | } | |
7338 | ||
7339 | ||
7340 | static PyObject *_wrap_TreeListCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) { | |
7341 | PyObject *resultobj; | |
7342 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7343 | wxTreeItemId *arg2 = 0 ; | |
7344 | PyObject * obj0 = 0 ; | |
7345 | PyObject * obj1 = 0 ; | |
7346 | char *kwnames[] = { | |
7347 | (char *) "self",(char *) "item", NULL | |
7348 | }; | |
7349 | ||
7350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) goto fail; | |
7351 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7352 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7353 | { | |
7354 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7355 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7356 | if (arg2 == NULL) { | |
7357 | SWIG_null_ref("wxTreeItemId"); | |
7358 | } | |
7359 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7360 | } | |
7361 | { | |
7362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7363 | (arg1)->Delete((wxTreeItemId const &)*arg2); | |
7364 | ||
7365 | wxPyEndAllowThreads(__tstate); | |
7366 | if (PyErr_Occurred()) SWIG_fail; | |
7367 | } | |
7368 | Py_INCREF(Py_None); resultobj = Py_None; | |
7369 | return resultobj; | |
7370 | fail: | |
7371 | return NULL; | |
7372 | } | |
7373 | ||
7374 | ||
7375 | static PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) { | |
7376 | PyObject *resultobj; | |
7377 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7378 | wxTreeItemId *arg2 = 0 ; | |
7379 | PyObject * obj0 = 0 ; | |
7380 | PyObject * obj1 = 0 ; | |
7381 | char *kwnames[] = { | |
7382 | (char *) "self",(char *) "item", NULL | |
7383 | }; | |
7384 | ||
7385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail; | |
7386 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7387 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7388 | { | |
7389 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7390 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7391 | if (arg2 == NULL) { | |
7392 | SWIG_null_ref("wxTreeItemId"); | |
7393 | } | |
7394 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7395 | } | |
7396 | { | |
7397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7398 | (arg1)->DeleteChildren((wxTreeItemId const &)*arg2); | |
7399 | ||
7400 | wxPyEndAllowThreads(__tstate); | |
7401 | if (PyErr_Occurred()) SWIG_fail; | |
7402 | } | |
7403 | Py_INCREF(Py_None); resultobj = Py_None; | |
7404 | return resultobj; | |
7405 | fail: | |
7406 | return NULL; | |
7407 | } | |
7408 | ||
7409 | ||
7410 | static PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) { | |
7411 | PyObject *resultobj; | |
7412 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7413 | PyObject * obj0 = 0 ; | |
7414 | char *kwnames[] = { | |
7415 | (char *) "self", NULL | |
7416 | }; | |
7417 | ||
7418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail; | |
7419 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7420 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7421 | { | |
7422 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7423 | (arg1)->DeleteAllItems(); | |
7424 | ||
7425 | wxPyEndAllowThreads(__tstate); | |
7426 | if (PyErr_Occurred()) SWIG_fail; | |
7427 | } | |
7428 | Py_INCREF(Py_None); resultobj = Py_None; | |
7429 | return resultobj; | |
7430 | fail: | |
7431 | return NULL; | |
7432 | } | |
7433 | ||
7434 | ||
7435 | static PyObject *_wrap_TreeListCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) { | |
7436 | PyObject *resultobj; | |
7437 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7438 | wxTreeItemId *arg2 = 0 ; | |
7439 | PyObject * obj0 = 0 ; | |
7440 | PyObject * obj1 = 0 ; | |
7441 | char *kwnames[] = { | |
7442 | (char *) "self",(char *) "item", NULL | |
7443 | }; | |
7444 | ||
7445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) goto fail; | |
7446 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7447 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7448 | { | |
7449 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7450 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7451 | if (arg2 == NULL) { | |
7452 | SWIG_null_ref("wxTreeItemId"); | |
7453 | } | |
7454 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7455 | } | |
7456 | { | |
7457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7458 | (arg1)->Expand((wxTreeItemId const &)*arg2); | |
7459 | ||
7460 | wxPyEndAllowThreads(__tstate); | |
7461 | if (PyErr_Occurred()) SWIG_fail; | |
7462 | } | |
7463 | Py_INCREF(Py_None); resultobj = Py_None; | |
7464 | return resultobj; | |
7465 | fail: | |
7466 | return NULL; | |
7467 | } | |
7468 | ||
7469 | ||
7470 | static PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *, PyObject *args, PyObject *kwargs) { | |
7471 | PyObject *resultobj; | |
7472 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7473 | wxTreeItemId *arg2 = 0 ; | |
7474 | PyObject * obj0 = 0 ; | |
7475 | PyObject * obj1 = 0 ; | |
7476 | char *kwnames[] = { | |
7477 | (char *) "self",(char *) "item", NULL | |
7478 | }; | |
7479 | ||
7480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) goto fail; | |
7481 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7482 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7483 | { | |
7484 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7485 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7486 | if (arg2 == NULL) { | |
7487 | SWIG_null_ref("wxTreeItemId"); | |
7488 | } | |
7489 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7490 | } | |
7491 | { | |
7492 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7493 | (arg1)->ExpandAll((wxTreeItemId const &)*arg2); | |
7494 | ||
7495 | wxPyEndAllowThreads(__tstate); | |
7496 | if (PyErr_Occurred()) SWIG_fail; | |
7497 | } | |
7498 | Py_INCREF(Py_None); resultobj = Py_None; | |
7499 | return resultobj; | |
7500 | fail: | |
7501 | return NULL; | |
7502 | } | |
7503 | ||
7504 | ||
7505 | static PyObject *_wrap_TreeListCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) { | |
7506 | PyObject *resultobj; | |
7507 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7508 | wxTreeItemId *arg2 = 0 ; | |
7509 | PyObject * obj0 = 0 ; | |
7510 | PyObject * obj1 = 0 ; | |
7511 | char *kwnames[] = { | |
7512 | (char *) "self",(char *) "item", NULL | |
7513 | }; | |
7514 | ||
7515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail; | |
7516 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7517 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7518 | { | |
7519 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7520 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7521 | if (arg2 == NULL) { | |
7522 | SWIG_null_ref("wxTreeItemId"); | |
7523 | } | |
7524 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7525 | } | |
7526 | { | |
7527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7528 | (arg1)->Collapse((wxTreeItemId const &)*arg2); | |
7529 | ||
7530 | wxPyEndAllowThreads(__tstate); | |
7531 | if (PyErr_Occurred()) SWIG_fail; | |
7532 | } | |
7533 | Py_INCREF(Py_None); resultobj = Py_None; | |
7534 | return resultobj; | |
7535 | fail: | |
7536 | return NULL; | |
7537 | } | |
7538 | ||
7539 | ||
7540 | static PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) { | |
7541 | PyObject *resultobj; | |
7542 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7543 | wxTreeItemId *arg2 = 0 ; | |
7544 | PyObject * obj0 = 0 ; | |
7545 | PyObject * obj1 = 0 ; | |
7546 | char *kwnames[] = { | |
7547 | (char *) "self",(char *) "item", NULL | |
7548 | }; | |
7549 | ||
7550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail; | |
7551 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7552 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7553 | { | |
7554 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7555 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7556 | if (arg2 == NULL) { | |
7557 | SWIG_null_ref("wxTreeItemId"); | |
7558 | } | |
7559 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7560 | } | |
7561 | { | |
7562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7563 | (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2); | |
7564 | ||
7565 | wxPyEndAllowThreads(__tstate); | |
7566 | if (PyErr_Occurred()) SWIG_fail; | |
7567 | } | |
7568 | Py_INCREF(Py_None); resultobj = Py_None; | |
7569 | return resultobj; | |
7570 | fail: | |
7571 | return NULL; | |
7572 | } | |
7573 | ||
7574 | ||
7575 | static PyObject *_wrap_TreeListCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { | |
7576 | PyObject *resultobj; | |
7577 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7578 | wxTreeItemId *arg2 = 0 ; | |
7579 | PyObject * obj0 = 0 ; | |
7580 | PyObject * obj1 = 0 ; | |
7581 | char *kwnames[] = { | |
7582 | (char *) "self",(char *) "item", NULL | |
7583 | }; | |
7584 | ||
7585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
7586 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7587 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7588 | { | |
7589 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7590 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7591 | if (arg2 == NULL) { | |
7592 | SWIG_null_ref("wxTreeItemId"); | |
7593 | } | |
7594 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7595 | } | |
7596 | { | |
7597 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7598 | (arg1)->Toggle((wxTreeItemId const &)*arg2); | |
7599 | ||
7600 | wxPyEndAllowThreads(__tstate); | |
7601 | if (PyErr_Occurred()) SWIG_fail; | |
7602 | } | |
7603 | Py_INCREF(Py_None); resultobj = Py_None; | |
7604 | return resultobj; | |
7605 | fail: | |
7606 | return NULL; | |
7607 | } | |
7608 | ||
7609 | ||
7610 | static PyObject *_wrap_TreeListCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) { | |
7611 | PyObject *resultobj; | |
7612 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7613 | PyObject * obj0 = 0 ; | |
7614 | char *kwnames[] = { | |
7615 | (char *) "self", NULL | |
7616 | }; | |
7617 | ||
7618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_Unselect",kwnames,&obj0)) goto fail; | |
7619 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7620 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7621 | { | |
7622 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7623 | (arg1)->Unselect(); | |
7624 | ||
7625 | wxPyEndAllowThreads(__tstate); | |
7626 | if (PyErr_Occurred()) SWIG_fail; | |
7627 | } | |
7628 | Py_INCREF(Py_None); resultobj = Py_None; | |
7629 | return resultobj; | |
7630 | fail: | |
7631 | return NULL; | |
7632 | } | |
7633 | ||
7634 | ||
7635 | static PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) { | |
7636 | PyObject *resultobj; | |
7637 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7638 | PyObject * obj0 = 0 ; | |
7639 | char *kwnames[] = { | |
7640 | (char *) "self", NULL | |
7641 | }; | |
7642 | ||
7643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_UnselectAll",kwnames,&obj0)) goto fail; | |
7644 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7645 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7646 | { | |
7647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7648 | (arg1)->UnselectAll(); | |
7649 | ||
7650 | wxPyEndAllowThreads(__tstate); | |
7651 | if (PyErr_Occurred()) SWIG_fail; | |
7652 | } | |
7653 | Py_INCREF(Py_None); resultobj = Py_None; | |
7654 | return resultobj; | |
7655 | fail: | |
7656 | return NULL; | |
7657 | } | |
7658 | ||
7659 | ||
7660 | static PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) { | |
7661 | PyObject *resultobj; | |
7662 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7663 | wxTreeItemId *arg2 = 0 ; | |
7664 | bool arg3 = (bool) true ; | |
7665 | bool arg4 = (bool) false ; | |
7666 | PyObject * obj0 = 0 ; | |
7667 | PyObject * obj1 = 0 ; | |
7668 | PyObject * obj2 = 0 ; | |
7669 | PyObject * obj3 = 0 ; | |
7670 | char *kwnames[] = { | |
7671 | (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL | |
7672 | }; | |
7673 | ||
7674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
7675 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7676 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7677 | { | |
7678 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7679 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7680 | if (arg2 == NULL) { | |
7681 | SWIG_null_ref("wxTreeItemId"); | |
7682 | } | |
7683 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7684 | } | |
7685 | if (obj2) { | |
7686 | { | |
7687 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
7688 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7689 | } | |
7690 | } | |
7691 | if (obj3) { | |
7692 | { | |
7693 | arg4 = (bool)(SWIG_As_bool(obj3)); | |
7694 | if (SWIG_arg_fail(4)) SWIG_fail; | |
7695 | } | |
7696 | } | |
7697 | { | |
7698 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7699 | (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3,arg4); | |
7700 | ||
7701 | wxPyEndAllowThreads(__tstate); | |
7702 | if (PyErr_Occurred()) SWIG_fail; | |
7703 | } | |
7704 | Py_INCREF(Py_None); resultobj = Py_None; | |
7705 | return resultobj; | |
7706 | fail: | |
7707 | return NULL; | |
7708 | } | |
7709 | ||
7710 | ||
7711 | static PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { | |
7712 | PyObject *resultobj; | |
7713 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7714 | bool arg2 = (bool) false ; | |
7715 | PyObject * obj0 = 0 ; | |
7716 | PyObject * obj1 = 0 ; | |
7717 | char *kwnames[] = { | |
7718 | (char *) "self",(char *) "extended_select", NULL | |
7719 | }; | |
7720 | ||
7721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SelectAll",kwnames,&obj0,&obj1)) goto fail; | |
7722 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7723 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7724 | if (obj1) { | |
7725 | { | |
7726 | arg2 = (bool)(SWIG_As_bool(obj1)); | |
7727 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7728 | } | |
7729 | } | |
7730 | { | |
7731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7732 | (arg1)->SelectAll(arg2); | |
7733 | ||
7734 | wxPyEndAllowThreads(__tstate); | |
7735 | if (PyErr_Occurred()) SWIG_fail; | |
7736 | } | |
7737 | Py_INCREF(Py_None); resultobj = Py_None; | |
7738 | return resultobj; | |
7739 | fail: | |
7740 | return NULL; | |
7741 | } | |
7742 | ||
7743 | ||
7744 | static PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { | |
7745 | PyObject *resultobj; | |
7746 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7747 | wxTreeItemId *arg2 = 0 ; | |
7748 | PyObject * obj0 = 0 ; | |
7749 | PyObject * obj1 = 0 ; | |
7750 | char *kwnames[] = { | |
7751 | (char *) "self",(char *) "item", NULL | |
7752 | }; | |
7753 | ||
7754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail; | |
7755 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7756 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7757 | { | |
7758 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7759 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7760 | if (arg2 == NULL) { | |
7761 | SWIG_null_ref("wxTreeItemId"); | |
7762 | } | |
7763 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7764 | } | |
7765 | { | |
7766 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7767 | (arg1)->EnsureVisible((wxTreeItemId const &)*arg2); | |
7768 | ||
7769 | wxPyEndAllowThreads(__tstate); | |
7770 | if (PyErr_Occurred()) SWIG_fail; | |
7771 | } | |
7772 | Py_INCREF(Py_None); resultobj = Py_None; | |
7773 | return resultobj; | |
7774 | fail: | |
7775 | return NULL; | |
7776 | } | |
7777 | ||
7778 | ||
7779 | static PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) { | |
7780 | PyObject *resultobj; | |
7781 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7782 | wxTreeItemId *arg2 = 0 ; | |
7783 | PyObject * obj0 = 0 ; | |
7784 | PyObject * obj1 = 0 ; | |
7785 | char *kwnames[] = { | |
7786 | (char *) "self",(char *) "item", NULL | |
7787 | }; | |
7788 | ||
7789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail; | |
7790 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7791 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7792 | { | |
7793 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7794 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7795 | if (arg2 == NULL) { | |
7796 | SWIG_null_ref("wxTreeItemId"); | |
7797 | } | |
7798 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7799 | } | |
7800 | { | |
7801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7802 | (arg1)->ScrollTo((wxTreeItemId const &)*arg2); | |
7803 | ||
7804 | wxPyEndAllowThreads(__tstate); | |
7805 | if (PyErr_Occurred()) SWIG_fail; | |
7806 | } | |
7807 | Py_INCREF(Py_None); resultobj = Py_None; | |
7808 | return resultobj; | |
7809 | fail: | |
7810 | return NULL; | |
7811 | } | |
7812 | ||
7813 | ||
7814 | static PyObject *_wrap_TreeListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { | |
7815 | PyObject *resultobj; | |
7816 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7817 | wxPoint *arg2 = 0 ; | |
7818 | int *arg3 = 0 ; | |
7819 | int *arg4 = 0 ; | |
7820 | wxTreeItemId result; | |
7821 | wxPoint temp2 ; | |
7822 | int temp3 ; | |
7823 | int res3 = 0 ; | |
7824 | int temp4 ; | |
7825 | int res4 = 0 ; | |
7826 | PyObject * obj0 = 0 ; | |
7827 | PyObject * obj1 = 0 ; | |
7828 | char *kwnames[] = { | |
7829 | (char *) "self",(char *) "point", NULL | |
7830 | }; | |
7831 | ||
7832 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
7833 | arg4 = &temp4; res4 = SWIG_NEWOBJ; | |
7834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail; | |
7835 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7836 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7837 | { | |
7838 | arg2 = &temp2; | |
7839 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
7840 | } | |
7841 | { | |
7842 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7843 | result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4); | |
7844 | ||
7845 | wxPyEndAllowThreads(__tstate); | |
7846 | if (PyErr_Occurred()) SWIG_fail; | |
7847 | } | |
7848 | { | |
7849 | wxTreeItemId * resultptr; | |
7850 | resultptr = new wxTreeItemId((wxTreeItemId &)(result)); | |
7851 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); | |
7852 | } | |
7853 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
7854 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
7855 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? | |
7856 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
7857 | return resultobj; | |
7858 | fail: | |
7859 | return NULL; | |
7860 | } | |
7861 | ||
7862 | ||
7863 | static PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) { | |
7864 | PyObject *resultobj; | |
7865 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7866 | wxTreeItemId *arg2 = 0 ; | |
7867 | bool arg3 = (bool) false ; | |
7868 | PyObject *result; | |
7869 | PyObject * obj0 = 0 ; | |
7870 | PyObject * obj1 = 0 ; | |
7871 | PyObject * obj2 = 0 ; | |
7872 | char *kwnames[] = { | |
7873 | (char *) "self",(char *) "item",(char *) "textOnly", NULL | |
7874 | }; | |
7875 | ||
7876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
7877 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7878 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7879 | { | |
7880 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7881 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7882 | if (arg2 == NULL) { | |
7883 | SWIG_null_ref("wxTreeItemId"); | |
7884 | } | |
7885 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7886 | } | |
7887 | if (obj2) { | |
7888 | { | |
7889 | arg3 = (bool)(SWIG_As_bool(obj2)); | |
7890 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7891 | } | |
7892 | } | |
7893 | { | |
7894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7895 | result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3); | |
7896 | ||
7897 | wxPyEndAllowThreads(__tstate); | |
7898 | if (PyErr_Occurred()) SWIG_fail; | |
7899 | } | |
7900 | resultobj = result; | |
7901 | return resultobj; | |
7902 | fail: | |
7903 | return NULL; | |
7904 | } | |
7905 | ||
7906 | ||
7907 | static PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) { | |
7908 | PyObject *resultobj; | |
7909 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7910 | wxTreeItemId *arg2 = 0 ; | |
7911 | PyObject * obj0 = 0 ; | |
7912 | PyObject * obj1 = 0 ; | |
7913 | char *kwnames[] = { | |
7914 | (char *) "self",(char *) "item", NULL | |
7915 | }; | |
7916 | ||
7917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail; | |
7918 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7919 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7920 | { | |
7921 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7922 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7923 | if (arg2 == NULL) { | |
7924 | SWIG_null_ref("wxTreeItemId"); | |
7925 | } | |
7926 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7927 | } | |
7928 | { | |
7929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7930 | (arg1)->EditLabel((wxTreeItemId const &)*arg2); | |
7931 | ||
7932 | wxPyEndAllowThreads(__tstate); | |
7933 | if (PyErr_Occurred()) SWIG_fail; | |
7934 | } | |
7935 | Py_INCREF(Py_None); resultobj = Py_None; | |
7936 | return resultobj; | |
7937 | fail: | |
7938 | return NULL; | |
7939 | } | |
7940 | ||
7941 | ||
7942 | static PyObject *_wrap_TreeListCtrl_Edit(PyObject *, PyObject *args, PyObject *kwargs) { | |
7943 | PyObject *resultobj; | |
7944 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7945 | wxTreeItemId *arg2 = 0 ; | |
7946 | PyObject * obj0 = 0 ; | |
7947 | PyObject * obj1 = 0 ; | |
7948 | char *kwnames[] = { | |
7949 | (char *) "self",(char *) "item", NULL | |
7950 | }; | |
7951 | ||
7952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Edit",kwnames,&obj0,&obj1)) goto fail; | |
7953 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7954 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7955 | { | |
7956 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7957 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7958 | if (arg2 == NULL) { | |
7959 | SWIG_null_ref("wxTreeItemId"); | |
7960 | } | |
7961 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7962 | } | |
7963 | { | |
7964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7965 | (arg1)->Edit((wxTreeItemId const &)*arg2); | |
7966 | ||
7967 | wxPyEndAllowThreads(__tstate); | |
7968 | if (PyErr_Occurred()) SWIG_fail; | |
7969 | } | |
7970 | Py_INCREF(Py_None); resultobj = Py_None; | |
7971 | return resultobj; | |
7972 | fail: | |
7973 | return NULL; | |
7974 | } | |
7975 | ||
7976 | ||
7977 | static PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) { | |
7978 | PyObject *resultobj; | |
7979 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7980 | wxTreeItemId *arg2 = 0 ; | |
7981 | PyObject * obj0 = 0 ; | |
7982 | PyObject * obj1 = 0 ; | |
7983 | char *kwnames[] = { | |
7984 | (char *) "self",(char *) "item", NULL | |
7985 | }; | |
7986 | ||
7987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail; | |
7988 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
7989 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7990 | { | |
7991 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7992 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7993 | if (arg2 == NULL) { | |
7994 | SWIG_null_ref("wxTreeItemId"); | |
7995 | } | |
7996 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7997 | } | |
7998 | { | |
7999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8000 | (arg1)->SortChildren((wxTreeItemId const &)*arg2); | |
8001 | ||
8002 | wxPyEndAllowThreads(__tstate); | |
8003 | if (PyErr_Occurred()) SWIG_fail; | |
8004 | } | |
8005 | Py_INCREF(Py_None); resultobj = Py_None; | |
8006 | return resultobj; | |
8007 | fail: | |
8008 | return NULL; | |
8009 | } | |
8010 | ||
8011 | ||
8012 | static PyObject *_wrap_TreeListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) { | |
8013 | PyObject *resultobj; | |
8014 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8015 | wxTreeItemId *arg2 = 0 ; | |
8016 | wxString *arg3 = 0 ; | |
8017 | int arg4 = (int) 0 ; | |
8018 | wxTreeItemId result; | |
8019 | bool temp3 = false ; | |
8020 | PyObject * obj0 = 0 ; | |
8021 | PyObject * obj1 = 0 ; | |
8022 | PyObject * obj2 = 0 ; | |
8023 | PyObject * obj3 = 0 ; | |
8024 | char *kwnames[] = { | |
8025 | (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL | |
8026 | }; | |
8027 | ||
8028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
8029 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8030 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8031 | { | |
8032 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
8033 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8034 | if (arg2 == NULL) { | |
8035 | SWIG_null_ref("wxTreeItemId"); | |
8036 | } | |
8037 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8038 | } | |
8039 | { | |
8040 | arg3 = wxString_in_helper(obj2); | |
8041 | if (arg3 == NULL) SWIG_fail; | |
8042 | temp3 = true; | |
8043 | } | |
8044 | if (obj3) { | |
8045 | { | |
8046 | arg4 = (int)(SWIG_As_int(obj3)); | |
8047 | if (SWIG_arg_fail(4)) SWIG_fail; | |
8048 | } | |
8049 | } | |
8050 | { | |
8051 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8052 | result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4); | |
8053 | ||
8054 | wxPyEndAllowThreads(__tstate); | |
8055 | if (PyErr_Occurred()) SWIG_fail; | |
8056 | } | |
8057 | { | |
8058 | wxTreeItemId * resultptr; | |
8059 | resultptr = new wxTreeItemId((wxTreeItemId &)(result)); | |
8060 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); | |
8061 | } | |
8062 | { | |
8063 | if (temp3) | |
8064 | delete arg3; | |
8065 | } | |
8066 | return resultobj; | |
8067 | fail: | |
8068 | { | |
8069 | if (temp3) | |
8070 | delete arg3; | |
8071 | } | |
8072 | return NULL; | |
8073 | } | |
8074 | ||
8075 | ||
8076 | static PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *, PyObject *args, PyObject *kwargs) { | |
8077 | PyObject *resultobj; | |
8078 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8079 | wxWindow *result; | |
8080 | PyObject * obj0 = 0 ; | |
8081 | char *kwnames[] = { | |
8082 | (char *) "self", NULL | |
8083 | }; | |
8084 | ||
8085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetHeaderWindow",kwnames,&obj0)) goto fail; | |
8086 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8087 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8088 | { | |
8089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8090 | result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow(); | |
8091 | ||
8092 | wxPyEndAllowThreads(__tstate); | |
8093 | if (PyErr_Occurred()) SWIG_fail; | |
8094 | } | |
8095 | { | |
8096 | resultobj = wxPyMake_wxObject(result, 0); | |
8097 | } | |
8098 | return resultobj; | |
8099 | fail: | |
8100 | return NULL; | |
8101 | } | |
8102 | ||
8103 | ||
8104 | static PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) { | |
8105 | PyObject *resultobj; | |
8106 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8107 | wxScrolledWindow *result; | |
8108 | PyObject * obj0 = 0 ; | |
8109 | char *kwnames[] = { | |
8110 | (char *) "self", NULL | |
8111 | }; | |
8112 | ||
8113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainWindow",kwnames,&obj0)) goto fail; | |
8114 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); | |
8115 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8116 | { | |
8117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8118 | result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow(); | |
8119 | ||
8120 | wxPyEndAllowThreads(__tstate); | |
8121 | if (PyErr_Occurred()) SWIG_fail; | |
8122 | } | |
8123 | { | |
8124 | resultobj = wxPyMake_wxObject(result, 0); | |
8125 | } | |
8126 | return resultobj; | |
8127 | fail: | |
8128 | return NULL; | |
8129 | } | |
8130 | ||
8131 | ||
8132 | static PyObject * TreeListCtrl_swigregister(PyObject *, PyObject *args) { | |
8133 | PyObject *obj; | |
8134 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8135 | SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeListCtrl, obj); | |
8136 | Py_INCREF(obj); | |
8137 | return Py_BuildValue((char *)""); | |
8138 | } | |
8139 | static PyObject *_wrap_new_StaticPicture(PyObject *, PyObject *args, PyObject *kwargs) { | |
8140 | PyObject *resultobj; | |
8141 | wxWindow *arg1 = (wxWindow *) 0 ; | |
8142 | int arg2 = (int) -1 ; | |
8143 | wxBitmap const &arg3_defvalue = wxNullBitmap ; | |
8144 | wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ; | |
8145 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
8146 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8147 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8148 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8149 | long arg6 = (long) 0 ; | |
8150 | wxString const &arg7_defvalue = wxPyStaticPictureNameStr ; | |
8151 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8152 | wxStaticPicture *result; | |
8153 | wxPoint temp4 ; | |
8154 | wxSize temp5 ; | |
8155 | bool temp7 = false ; | |
8156 | PyObject * obj0 = 0 ; | |
8157 | PyObject * obj1 = 0 ; | |
8158 | PyObject * obj2 = 0 ; | |
8159 | PyObject * obj3 = 0 ; | |
8160 | PyObject * obj4 = 0 ; | |
8161 | PyObject * obj5 = 0 ; | |
8162 | PyObject * obj6 = 0 ; | |
8163 | char *kwnames[] = { | |
8164 | (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8165 | }; | |
8166 | ||
8167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; | |
8168 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
8169 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8170 | if (obj1) { | |
8171 | { | |
8172 | arg2 = (int)(SWIG_As_int(obj1)); | |
8173 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8174 | } | |
8175 | } | |
8176 | if (obj2) { | |
8177 | { | |
8178 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
8179 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8180 | if (arg3 == NULL) { | |
8181 | SWIG_null_ref("wxBitmap"); | |
8182 | } | |
8183 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8184 | } | |
8185 | } | |
8186 | if (obj3) { | |
8187 | { | |
8188 | arg4 = &temp4; | |
8189 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8190 | } | |
8191 | } | |
8192 | if (obj4) { | |
8193 | { | |
8194 | arg5 = &temp5; | |
8195 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8196 | } | |
8197 | } | |
8198 | if (obj5) { | |
8199 | { | |
8200 | arg6 = (long)(SWIG_As_long(obj5)); | |
8201 | if (SWIG_arg_fail(6)) SWIG_fail; | |
8202 | } | |
8203 | } | |
8204 | if (obj6) { | |
8205 | { | |
8206 | arg7 = wxString_in_helper(obj6); | |
8207 | if (arg7 == NULL) SWIG_fail; | |
8208 | temp7 = true; | |
8209 | } | |
8210 | } | |
8211 | { | |
8212 | if (!wxPyCheckForApp()) SWIG_fail; | |
8213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8214 | result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8215 | ||
8216 | wxPyEndAllowThreads(__tstate); | |
8217 | if (PyErr_Occurred()) SWIG_fail; | |
8218 | } | |
8219 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticPicture, 1); | |
8220 | { | |
8221 | if (temp7) | |
8222 | delete arg7; | |
8223 | } | |
8224 | return resultobj; | |
8225 | fail: | |
8226 | { | |
8227 | if (temp7) | |
8228 | delete arg7; | |
8229 | } | |
8230 | return NULL; | |
8231 | } | |
8232 | ||
8233 | ||
8234 | static PyObject *_wrap_new_PreStaticPicture(PyObject *, PyObject *args, PyObject *kwargs) { | |
8235 | PyObject *resultobj; | |
8236 | wxStaticPicture *result; | |
8237 | char *kwnames[] = { | |
8238 | NULL | |
8239 | }; | |
8240 | ||
8241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticPicture",kwnames)) goto fail; | |
8242 | { | |
8243 | if (!wxPyCheckForApp()) SWIG_fail; | |
8244 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8245 | result = (wxStaticPicture *)new wxStaticPicture(); | |
8246 | ||
8247 | wxPyEndAllowThreads(__tstate); | |
8248 | if (PyErr_Occurred()) SWIG_fail; | |
8249 | } | |
8250 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticPicture, 1); | |
8251 | return resultobj; | |
8252 | fail: | |
8253 | return NULL; | |
8254 | } | |
8255 | ||
8256 | ||
8257 | static PyObject *_wrap_StaticPicture_Create(PyObject *, PyObject *args, PyObject *kwargs) { | |
8258 | PyObject *resultobj; | |
8259 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
8260 | wxWindow *arg2 = (wxWindow *) 0 ; | |
8261 | int arg3 = (int) -1 ; | |
8262 | wxBitmap const &arg4_defvalue = wxNullBitmap ; | |
8263 | wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ; | |
8264 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
8265 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
8266 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
8267 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
8268 | long arg7 = (long) 0 ; | |
8269 | wxString const &arg8_defvalue = wxPyStaticPictureNameStr ; | |
8270 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
8271 | bool result; | |
8272 | wxPoint temp5 ; | |
8273 | wxSize temp6 ; | |
8274 | bool temp8 = false ; | |
8275 | PyObject * obj0 = 0 ; | |
8276 | PyObject * obj1 = 0 ; | |
8277 | PyObject * obj2 = 0 ; | |
8278 | PyObject * obj3 = 0 ; | |
8279 | PyObject * obj4 = 0 ; | |
8280 | PyObject * obj5 = 0 ; | |
8281 | PyObject * obj6 = 0 ; | |
8282 | PyObject * obj7 = 0 ; | |
8283 | char *kwnames[] = { | |
8284 | (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8285 | }; | |
8286 | ||
8287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; | |
8288 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8289 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8290 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
8291 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8292 | if (obj2) { | |
8293 | { | |
8294 | arg3 = (int)(SWIG_As_int(obj2)); | |
8295 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8296 | } | |
8297 | } | |
8298 | if (obj3) { | |
8299 | { | |
8300 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
8301 | if (SWIG_arg_fail(4)) SWIG_fail; | |
8302 | if (arg4 == NULL) { | |
8303 | SWIG_null_ref("wxBitmap"); | |
8304 | } | |
8305 | if (SWIG_arg_fail(4)) SWIG_fail; | |
8306 | } | |
8307 | } | |
8308 | if (obj4) { | |
8309 | { | |
8310 | arg5 = &temp5; | |
8311 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
8312 | } | |
8313 | } | |
8314 | if (obj5) { | |
8315 | { | |
8316 | arg6 = &temp6; | |
8317 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
8318 | } | |
8319 | } | |
8320 | if (obj6) { | |
8321 | { | |
8322 | arg7 = (long)(SWIG_As_long(obj6)); | |
8323 | if (SWIG_arg_fail(7)) SWIG_fail; | |
8324 | } | |
8325 | } | |
8326 | if (obj7) { | |
8327 | { | |
8328 | arg8 = wxString_in_helper(obj7); | |
8329 | if (arg8 == NULL) SWIG_fail; | |
8330 | temp8 = true; | |
8331 | } | |
8332 | } | |
8333 | { | |
8334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8335 | result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
8336 | ||
8337 | wxPyEndAllowThreads(__tstate); | |
8338 | if (PyErr_Occurred()) SWIG_fail; | |
8339 | } | |
8340 | { | |
8341 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8342 | } | |
8343 | { | |
8344 | if (temp8) | |
8345 | delete arg8; | |
8346 | } | |
8347 | return resultobj; | |
8348 | fail: | |
8349 | { | |
8350 | if (temp8) | |
8351 | delete arg8; | |
8352 | } | |
8353 | return NULL; | |
8354 | } | |
8355 | ||
8356 | ||
8357 | static PyObject *_wrap_StaticPicture_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { | |
8358 | PyObject *resultobj; | |
8359 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
8360 | wxBitmap *arg2 = 0 ; | |
8361 | PyObject * obj0 = 0 ; | |
8362 | PyObject * obj1 = 0 ; | |
8363 | char *kwnames[] = { | |
8364 | (char *) "self",(char *) "bmp", NULL | |
8365 | }; | |
8366 | ||
8367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
8368 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8369 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8370 | { | |
8371 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
8372 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8373 | if (arg2 == NULL) { | |
8374 | SWIG_null_ref("wxBitmap"); | |
8375 | } | |
8376 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8377 | } | |
8378 | { | |
8379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8380 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
8381 | ||
8382 | wxPyEndAllowThreads(__tstate); | |
8383 | if (PyErr_Occurred()) SWIG_fail; | |
8384 | } | |
8385 | Py_INCREF(Py_None); resultobj = Py_None; | |
8386 | return resultobj; | |
8387 | fail: | |
8388 | return NULL; | |
8389 | } | |
8390 | ||
8391 | ||
8392 | static PyObject *_wrap_StaticPicture_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { | |
8393 | PyObject *resultobj; | |
8394 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
8395 | wxBitmap result; | |
8396 | PyObject * obj0 = 0 ; | |
8397 | char *kwnames[] = { | |
8398 | (char *) "self", NULL | |
8399 | }; | |
8400 | ||
8401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetBitmap",kwnames,&obj0)) goto fail; | |
8402 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8403 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8404 | { | |
8405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8406 | result = ((wxStaticPicture const *)arg1)->GetBitmap(); | |
8407 | ||
8408 | wxPyEndAllowThreads(__tstate); | |
8409 | if (PyErr_Occurred()) SWIG_fail; | |
8410 | } | |
8411 | { | |
8412 | wxBitmap * resultptr; | |
8413 | resultptr = new wxBitmap((wxBitmap &)(result)); | |
8414 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); | |
8415 | } | |
8416 | return resultobj; | |
8417 | fail: | |
8418 | return NULL; | |
8419 | } | |
8420 | ||
8421 | ||
8422 | static PyObject *_wrap_StaticPicture_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { | |
8423 | PyObject *resultobj; | |
8424 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
8425 | wxIcon *arg2 = 0 ; | |
8426 | PyObject * obj0 = 0 ; | |
8427 | PyObject * obj1 = 0 ; | |
8428 | char *kwnames[] = { | |
8429 | (char *) "self",(char *) "icon", NULL | |
8430 | }; | |
8431 | ||
8432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
8433 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8434 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8435 | { | |
8436 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); | |
8437 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8438 | if (arg2 == NULL) { | |
8439 | SWIG_null_ref("wxIcon"); | |
8440 | } | |
8441 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8442 | } | |
8443 | { | |
8444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8445 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
8446 | ||
8447 | wxPyEndAllowThreads(__tstate); | |
8448 | if (PyErr_Occurred()) SWIG_fail; | |
8449 | } | |
8450 | Py_INCREF(Py_None); resultobj = Py_None; | |
8451 | return resultobj; | |
8452 | fail: | |
8453 | return NULL; | |
8454 | } | |
8455 | ||
8456 | ||
8457 | static PyObject *_wrap_StaticPicture_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { | |
8458 | PyObject *resultobj; | |
8459 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
8460 | wxIcon result; | |
8461 | PyObject * obj0 = 0 ; | |
8462 | char *kwnames[] = { | |
8463 | (char *) "self", NULL | |
8464 | }; | |
8465 | ||
8466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetIcon",kwnames,&obj0)) goto fail; | |
8467 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8468 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8469 | { | |
8470 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8471 | result = ((wxStaticPicture const *)arg1)->GetIcon(); | |
8472 | ||
8473 | wxPyEndAllowThreads(__tstate); | |
8474 | if (PyErr_Occurred()) SWIG_fail; | |
8475 | } | |
8476 | { | |
8477 | wxIcon * resultptr; | |
8478 | resultptr = new wxIcon((wxIcon &)(result)); | |
8479 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); | |
8480 | } | |
8481 | return resultobj; | |
8482 | fail: | |
8483 | return NULL; | |
8484 | } | |
8485 | ||
8486 | ||
8487 | static PyObject *_wrap_StaticPicture_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { | |
8488 | PyObject *resultobj; | |
8489 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
8490 | int arg2 ; | |
8491 | PyObject * obj0 = 0 ; | |
8492 | PyObject * obj1 = 0 ; | |
8493 | char *kwnames[] = { | |
8494 | (char *) "self",(char *) "align", NULL | |
8495 | }; | |
8496 | ||
8497 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) goto fail; | |
8498 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8499 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8500 | { | |
8501 | arg2 = (int)(SWIG_As_int(obj1)); | |
8502 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8503 | } | |
8504 | { | |
8505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8506 | (arg1)->SetAlignment(arg2); | |
8507 | ||
8508 | wxPyEndAllowThreads(__tstate); | |
8509 | if (PyErr_Occurred()) SWIG_fail; | |
8510 | } | |
8511 | Py_INCREF(Py_None); resultobj = Py_None; | |
8512 | return resultobj; | |
8513 | fail: | |
8514 | return NULL; | |
8515 | } | |
8516 | ||
8517 | ||
8518 | static PyObject *_wrap_StaticPicture_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { | |
8519 | PyObject *resultobj; | |
8520 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
8521 | int result; | |
8522 | PyObject * obj0 = 0 ; | |
8523 | char *kwnames[] = { | |
8524 | (char *) "self", NULL | |
8525 | }; | |
8526 | ||
8527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetAlignment",kwnames,&obj0)) goto fail; | |
8528 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8529 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8530 | { | |
8531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8532 | result = (int)((wxStaticPicture const *)arg1)->GetAlignment(); | |
8533 | ||
8534 | wxPyEndAllowThreads(__tstate); | |
8535 | if (PyErr_Occurred()) SWIG_fail; | |
8536 | } | |
8537 | { | |
8538 | resultobj = SWIG_From_int((int)(result)); | |
8539 | } | |
8540 | return resultobj; | |
8541 | fail: | |
8542 | return NULL; | |
8543 | } | |
8544 | ||
8545 | ||
8546 | static PyObject *_wrap_StaticPicture_SetScale(PyObject *, PyObject *args, PyObject *kwargs) { | |
8547 | PyObject *resultobj; | |
8548 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
8549 | int arg2 ; | |
8550 | PyObject * obj0 = 0 ; | |
8551 | PyObject * obj1 = 0 ; | |
8552 | char *kwnames[] = { | |
8553 | (char *) "self",(char *) "scale", NULL | |
8554 | }; | |
8555 | ||
8556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) goto fail; | |
8557 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8558 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8559 | { | |
8560 | arg2 = (int)(SWIG_As_int(obj1)); | |
8561 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8562 | } | |
8563 | { | |
8564 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8565 | (arg1)->SetScale(arg2); | |
8566 | ||
8567 | wxPyEndAllowThreads(__tstate); | |
8568 | if (PyErr_Occurred()) SWIG_fail; | |
8569 | } | |
8570 | Py_INCREF(Py_None); resultobj = Py_None; | |
8571 | return resultobj; | |
8572 | fail: | |
8573 | return NULL; | |
8574 | } | |
8575 | ||
8576 | ||
8577 | static PyObject *_wrap_StaticPicture_GetScale(PyObject *, PyObject *args, PyObject *kwargs) { | |
8578 | PyObject *resultobj; | |
8579 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
8580 | int result; | |
8581 | PyObject * obj0 = 0 ; | |
8582 | char *kwnames[] = { | |
8583 | (char *) "self", NULL | |
8584 | }; | |
8585 | ||
8586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetScale",kwnames,&obj0)) goto fail; | |
8587 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8588 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8589 | { | |
8590 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8591 | result = (int)((wxStaticPicture const *)arg1)->GetScale(); | |
8592 | ||
8593 | wxPyEndAllowThreads(__tstate); | |
8594 | if (PyErr_Occurred()) SWIG_fail; | |
8595 | } | |
8596 | { | |
8597 | resultobj = SWIG_From_int((int)(result)); | |
8598 | } | |
8599 | return resultobj; | |
8600 | fail: | |
8601 | return NULL; | |
8602 | } | |
8603 | ||
8604 | ||
8605 | static PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *, PyObject *args, PyObject *kwargs) { | |
8606 | PyObject *resultobj; | |
8607 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
8608 | float arg2 ; | |
8609 | float arg3 ; | |
8610 | PyObject * obj0 = 0 ; | |
8611 | PyObject * obj1 = 0 ; | |
8612 | PyObject * obj2 = 0 ; | |
8613 | char *kwnames[] = { | |
8614 | (char *) "self",(char *) "sx",(char *) "sy", NULL | |
8615 | }; | |
8616 | ||
8617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8618 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8619 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8620 | { | |
8621 | arg2 = (float)(SWIG_As_float(obj1)); | |
8622 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8623 | } | |
8624 | { | |
8625 | arg3 = (float)(SWIG_As_float(obj2)); | |
8626 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8627 | } | |
8628 | { | |
8629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8630 | (arg1)->SetCustomScale(arg2,arg3); | |
8631 | ||
8632 | wxPyEndAllowThreads(__tstate); | |
8633 | if (PyErr_Occurred()) SWIG_fail; | |
8634 | } | |
8635 | Py_INCREF(Py_None); resultobj = Py_None; | |
8636 | return resultobj; | |
8637 | fail: | |
8638 | return NULL; | |
8639 | } | |
8640 | ||
8641 | ||
8642 | static PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *, PyObject *args, PyObject *kwargs) { | |
8643 | PyObject *resultobj; | |
8644 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
8645 | float *arg2 = (float *) 0 ; | |
8646 | float *arg3 = (float *) 0 ; | |
8647 | float temp2 ; | |
8648 | int res2 = 0 ; | |
8649 | float temp3 ; | |
8650 | int res3 = 0 ; | |
8651 | PyObject * obj0 = 0 ; | |
8652 | char *kwnames[] = { | |
8653 | (char *) "self", NULL | |
8654 | }; | |
8655 | ||
8656 | arg2 = &temp2; res2 = SWIG_NEWOBJ; | |
8657 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
8658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetCustomScale",kwnames,&obj0)) goto fail; | |
8659 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8660 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8661 | { | |
8662 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8663 | ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3); | |
8664 | ||
8665 | wxPyEndAllowThreads(__tstate); | |
8666 | if (PyErr_Occurred()) SWIG_fail; | |
8667 | } | |
8668 | Py_INCREF(Py_None); resultobj = Py_None; | |
8669 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? | |
8670 | SWIG_From_float((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, 0))); | |
8671 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
8672 | SWIG_From_float((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, 0))); | |
8673 | return resultobj; | |
8674 | fail: | |
8675 | return NULL; | |
8676 | } | |
8677 | ||
8678 | ||
8679 | static PyObject * StaticPicture_swigregister(PyObject *, PyObject *args) { | |
8680 | PyObject *obj; | |
8681 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8682 | SWIG_TypeClientData(SWIGTYPE_p_wxStaticPicture, obj); | |
8683 | Py_INCREF(obj); | |
8684 | return Py_BuildValue((char *)""); | |
8685 | } | |
8686 | static PyMethodDef SwigMethods[] = { | |
8687 | { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8688 | { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL}, | |
8689 | { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8690 | { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL}, | |
8691 | { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8692 | { (char *)"new_PreDynamicSashWindow", (PyCFunction) _wrap_new_PreDynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8693 | { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8694 | { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8695 | { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8696 | { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL}, | |
8697 | { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8698 | { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8699 | { (char *)"EditableListBox_GetStrings", (PyCFunction) _wrap_EditableListBox_GetStrings, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8700 | { (char *)"EditableListBox_GetListCtrl", (PyCFunction) _wrap_EditableListBox_GetListCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8701 | { (char *)"EditableListBox_GetDelButton", (PyCFunction) _wrap_EditableListBox_GetDelButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8702 | { (char *)"EditableListBox_GetNewButton", (PyCFunction) _wrap_EditableListBox_GetNewButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8703 | { (char *)"EditableListBox_GetUpButton", (PyCFunction) _wrap_EditableListBox_GetUpButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8704 | { (char *)"EditableListBox_GetDownButton", (PyCFunction) _wrap_EditableListBox_GetDownButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8705 | { (char *)"EditableListBox_GetEditButton", (PyCFunction) _wrap_EditableListBox_GetEditButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8706 | { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL}, | |
8707 | { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8708 | { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8709 | { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8710 | { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8711 | { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8712 | { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8713 | { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8714 | { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL}, | |
8715 | { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8716 | { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8717 | { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8718 | { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8719 | { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL}, | |
8720 | { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8721 | { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL}, | |
8722 | { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8723 | { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL}, | |
8724 | { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8725 | { (char *)"new_PreLEDNumberCtrl", (PyCFunction) _wrap_new_PreLEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8726 | { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8727 | { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8728 | { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_GetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8729 | { (char *)"LEDNumberCtrl_GetValue", (PyCFunction) _wrap_LEDNumberCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8730 | { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8731 | { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8732 | { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8733 | { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL}, | |
8734 | { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8735 | { (char *)"TreeListColumnInfo_GetShown", (PyCFunction) _wrap_TreeListColumnInfo_GetShown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8736 | { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8737 | { (char *)"TreeListColumnInfo_GetText", (PyCFunction) _wrap_TreeListColumnInfo_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8738 | { (char *)"TreeListColumnInfo_GetImage", (PyCFunction) _wrap_TreeListColumnInfo_GetImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8739 | { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_GetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8740 | { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction) _wrap_TreeListColumnInfo_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8741 | { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8742 | { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8743 | { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8744 | { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8745 | { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8746 | { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8747 | { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL}, | |
8748 | { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8749 | { (char *)"new_PreTreeListCtrl", (PyCFunction) _wrap_new_PreTreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8750 | { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8751 | { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8752 | { (char *)"TreeListCtrl_GetCount", (PyCFunction) _wrap_TreeListCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8753 | { (char *)"TreeListCtrl_GetIndent", (PyCFunction) _wrap_TreeListCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8754 | { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8755 | { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_GetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8756 | { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8757 | { (char *)"TreeListCtrl_GetImageList", (PyCFunction) _wrap_TreeListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8758 | { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction) _wrap_TreeListCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8759 | { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_GetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8760 | { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8761 | { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8762 | { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8763 | { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8764 | { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8765 | { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8766 | { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8767 | { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8768 | { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8769 | { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8770 | { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8771 | { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction) _wrap_TreeListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8772 | { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8773 | { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8774 | { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8775 | { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction) _wrap_TreeListCtrl_GetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8776 | { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8777 | { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8778 | { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8779 | { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8780 | { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8781 | { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8782 | { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8783 | { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8784 | { (char *)"TreeListCtrl_ShowColumn", (PyCFunction) _wrap_TreeListCtrl_ShowColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8785 | { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8786 | { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8787 | { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8788 | { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8789 | { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8790 | { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8791 | { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8792 | { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8793 | { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8794 | { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8795 | { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8796 | { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8797 | { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8798 | { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8799 | { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8800 | { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8801 | { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8802 | { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8803 | { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8804 | { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8805 | { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8806 | { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8807 | { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8808 | { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8809 | { (char *)"TreeListCtrl_GetRootItem", (PyCFunction) _wrap_TreeListCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8810 | { (char *)"TreeListCtrl_GetSelection", (PyCFunction) _wrap_TreeListCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8811 | { (char *)"TreeListCtrl_GetSelections", (PyCFunction) _wrap_TreeListCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8812 | { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8813 | { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8814 | { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8815 | { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8816 | { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8817 | { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8818 | { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8819 | { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8820 | { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8821 | { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8822 | { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8823 | { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8824 | { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8825 | { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8826 | { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8827 | { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8828 | { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8829 | { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8830 | { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8831 | { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8832 | { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8833 | { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8834 | { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8835 | { (char *)"TreeListCtrl_Unselect", (PyCFunction) _wrap_TreeListCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8836 | { (char *)"TreeListCtrl_UnselectAll", (PyCFunction) _wrap_TreeListCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8837 | { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8838 | { (char *)"TreeListCtrl_SelectAll", (PyCFunction) _wrap_TreeListCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8839 | { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8840 | { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8841 | { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8842 | { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8843 | { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8844 | { (char *)"TreeListCtrl_Edit", (PyCFunction) _wrap_TreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8845 | { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8846 | { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8847 | { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction) _wrap_TreeListCtrl_GetHeaderWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8848 | { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction) _wrap_TreeListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8849 | { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL}, | |
8850 | { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8851 | { (char *)"new_PreStaticPicture", (PyCFunction) _wrap_new_PreStaticPicture, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8852 | { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8853 | { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8854 | { (char *)"StaticPicture_GetBitmap", (PyCFunction) _wrap_StaticPicture_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8855 | { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8856 | { (char *)"StaticPicture_GetIcon", (PyCFunction) _wrap_StaticPicture_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8857 | { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8858 | { (char *)"StaticPicture_GetAlignment", (PyCFunction) _wrap_StaticPicture_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8859 | { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8860 | { (char *)"StaticPicture_GetScale", (PyCFunction) _wrap_StaticPicture_GetScale, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8861 | { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8862 | { (char *)"StaticPicture_GetCustomScale", (PyCFunction) _wrap_StaticPicture_GetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8863 | { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL}, | |
8864 | { NULL, NULL, 0, NULL } | |
8865 | }; | |
8866 | ||
8867 | ||
8868 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
8869 | ||
8870 | static void *_p_wxPyValidatorTo_p_wxValidator(void *x) { | |
8871 | return (void *)((wxValidator *) ((wxPyValidator *) x)); | |
8872 | } | |
8873 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
8874 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
8875 | } | |
8876 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
8877 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
8878 | } | |
8879 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { | |
8880 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
8881 | } | |
8882 | static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) { | |
8883 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
8884 | } | |
8885 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
8886 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
8887 | } | |
8888 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
8889 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
8890 | } | |
8891 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
8892 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
8893 | } | |
8894 | static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) { | |
8895 | return (void *)((wxPanel *) ((wxEditableListBox *) x)); | |
8896 | } | |
8897 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
8898 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
8899 | } | |
8900 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
8901 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
8902 | } | |
8903 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
8904 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
8905 | } | |
8906 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { | |
8907 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
8908 | } | |
8909 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
8910 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
8911 | } | |
8912 | static void *_p_wxCheckBoxTo_p_wxWindow(void *x) { | |
8913 | return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x)); | |
8914 | } | |
8915 | static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) { | |
8916 | return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x)); | |
8917 | } | |
8918 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) { | |
8919 | return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
8920 | } | |
8921 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
8922 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
8923 | } | |
8924 | static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) { | |
8925 | return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x)); | |
8926 | } | |
8927 | static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) { | |
8928 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
8929 | } | |
8930 | static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) { | |
8931 | return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x)); | |
8932 | } | |
8933 | static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) { | |
8934 | return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x)); | |
8935 | } | |
8936 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
8937 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
8938 | } | |
8939 | static void *_p_wxStaticLineTo_p_wxWindow(void *x) { | |
8940 | return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x)); | |
8941 | } | |
8942 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
8943 | return (void *)((wxWindow *) ((wxControl *) x)); | |
8944 | } | |
8945 | static void *_p_wxPyControlTo_p_wxWindow(void *x) { | |
8946 | return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x)); | |
8947 | } | |
8948 | static void *_p_wxGaugeTo_p_wxWindow(void *x) { | |
8949 | return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x)); | |
8950 | } | |
8951 | static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) { | |
8952 | return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x)); | |
8953 | } | |
8954 | static void *_p_wxToggleButtonTo_p_wxWindow(void *x) { | |
8955 | return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x)); | |
8956 | } | |
8957 | static void *_p_wxRadioButtonTo_p_wxWindow(void *x) { | |
8958 | return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x)); | |
8959 | } | |
8960 | static void *_p_wxChoiceTo_p_wxWindow(void *x) { | |
8961 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x)); | |
8962 | } | |
8963 | static void *_p_wxListViewTo_p_wxWindow(void *x) { | |
8964 | return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x)); | |
8965 | } | |
8966 | static void *_p_wxTextCtrlTo_p_wxWindow(void *x) { | |
8967 | return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x)); | |
8968 | } | |
8969 | static void *_p_wxNotebookTo_p_wxWindow(void *x) { | |
8970 | return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x)); | |
8971 | } | |
8972 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
8973 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
8974 | } | |
8975 | static void *_p_wxChoicebookTo_p_wxWindow(void *x) { | |
8976 | return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x)); | |
8977 | } | |
8978 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { | |
8979 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
8980 | } | |
8981 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
8982 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
8983 | } | |
8984 | static void *_p_wxListbookTo_p_wxWindow(void *x) { | |
8985 | return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x)); | |
8986 | } | |
8987 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
8988 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
8989 | } | |
8990 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
8991 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
8992 | } | |
8993 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
8994 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
8995 | } | |
8996 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
8997 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
8998 | } | |
8999 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { | |
9000 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
9001 | } | |
9002 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { | |
9003 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
9004 | } | |
9005 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
9006 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
9007 | } | |
9008 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
9009 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
9010 | } | |
9011 | static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) { | |
9012 | return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x)); | |
9013 | } | |
9014 | static void *_p_wxSliderTo_p_wxWindow(void *x) { | |
9015 | return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x)); | |
9016 | } | |
9017 | static void *_p_wxStaticBoxTo_p_wxWindow(void *x) { | |
9018 | return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x)); | |
9019 | } | |
9020 | static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) { | |
9021 | return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x)); | |
9022 | } | |
9023 | static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) { | |
9024 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
9025 | } | |
9026 | static void *_p_wxListBoxTo_p_wxWindow(void *x) { | |
9027 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x)); | |
9028 | } | |
9029 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
9030 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
9031 | } | |
9032 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
9033 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
9034 | } | |
9035 | static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) { | |
9036 | return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x)); | |
9037 | } | |
9038 | static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) { | |
9039 | return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x)); | |
9040 | } | |
9041 | static void *_p_wxSpinButtonTo_p_wxWindow(void *x) { | |
9042 | return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x)); | |
9043 | } | |
9044 | static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) { | |
9045 | return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x)); | |
9046 | } | |
9047 | static void *_p_wxButtonTo_p_wxWindow(void *x) { | |
9048 | return (void *)((wxWindow *) (wxControl *) ((wxButton *) x)); | |
9049 | } | |
9050 | static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) { | |
9051 | return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
9052 | } | |
9053 | static void *_p_wxRadioBoxTo_p_wxWindow(void *x) { | |
9054 | return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x)); | |
9055 | } | |
9056 | static void *_p_wxScrollBarTo_p_wxWindow(void *x) { | |
9057 | return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x)); | |
9058 | } | |
9059 | static void *_p_wxComboBoxTo_p_wxWindow(void *x) { | |
9060 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x)); | |
9061 | } | |
9062 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
9063 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
9064 | } | |
9065 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
9066 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
9067 | } | |
9068 | static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) { | |
9069 | return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x)); | |
9070 | } | |
9071 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
9072 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
9073 | } | |
9074 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
9075 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
9076 | } | |
9077 | static void *_p_wxStaticPictureTo_p_wxWindow(void *x) { | |
9078 | return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x)); | |
9079 | } | |
9080 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { | |
9081 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
9082 | } | |
9083 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { | |
9084 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
9085 | } | |
9086 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { | |
9087 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
9088 | } | |
9089 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
9090 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
9091 | } | |
9092 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
9093 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
9094 | } | |
9095 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
9096 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
9097 | } | |
9098 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
9099 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
9100 | } | |
9101 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
9102 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
9103 | } | |
9104 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
9105 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
9106 | } | |
9107 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
9108 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
9109 | } | |
9110 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
9111 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
9112 | } | |
9113 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
9114 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
9115 | } | |
9116 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
9117 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
9118 | } | |
9119 | static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) { | |
9120 | return (void *)((wxWindow *) ((wxDynamicSashWindow *) x)); | |
9121 | } | |
9122 | static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) { | |
9123 | return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x)); | |
9124 | } | |
9125 | static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) { | |
9126 | return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
9127 | } | |
9128 | static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) { | |
9129 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
9130 | } | |
9131 | static void *_p_wxDialogTo_p_wxWindow(void *x) { | |
9132 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
9133 | } | |
9134 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
9135 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
9136 | } | |
9137 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
9138 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
9139 | } | |
9140 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
9141 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
9142 | } | |
9143 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
9144 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
9145 | } | |
9146 | static void *_p_wxStaticTextTo_p_wxWindow(void *x) { | |
9147 | return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x)); | |
9148 | } | |
9149 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
9150 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
9151 | } | |
9152 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
9153 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
9154 | } | |
9155 | static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) { | |
9156 | return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x)); | |
9157 | } | |
9158 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
9159 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
9160 | } | |
9161 | static void *_p_wxToolBarTo_p_wxWindow(void *x) { | |
9162 | return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x)); | |
9163 | } | |
9164 | static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) { | |
9165 | return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
9166 | } | |
9167 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { | |
9168 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
9169 | } | |
9170 | static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) { | |
9171 | return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
9172 | } | |
9173 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
9174 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9175 | } | |
9176 | static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) { | |
9177 | return (void *)((wxControl *) ((wxBookCtrlBase *) x)); | |
9178 | } | |
9179 | static void *_p_wxToolBarTo_p_wxControl(void *x) { | |
9180 | return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x)); | |
9181 | } | |
9182 | static void *_p_wxToggleButtonTo_p_wxControl(void *x) { | |
9183 | return (void *)((wxControl *) ((wxToggleButton *) x)); | |
9184 | } | |
9185 | static void *_p_wxRadioButtonTo_p_wxControl(void *x) { | |
9186 | return (void *)((wxControl *) ((wxRadioButton *) x)); | |
9187 | } | |
9188 | static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) { | |
9189 | return (void *)((wxControl *) ((wxLEDNumberCtrl *) x)); | |
9190 | } | |
9191 | static void *_p_wxPyControlTo_p_wxControl(void *x) { | |
9192 | return (void *)((wxControl *) ((wxPyControl *) x)); | |
9193 | } | |
9194 | static void *_p_wxToolBarBaseTo_p_wxControl(void *x) { | |
9195 | return (void *)((wxControl *) ((wxToolBarBase *) x)); | |
9196 | } | |
9197 | static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) { | |
9198 | return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
9199 | } | |
9200 | static void *_p_wxPyListCtrlTo_p_wxControl(void *x) { | |
9201 | return (void *)((wxControl *) ((wxPyListCtrl *) x)); | |
9202 | } | |
9203 | static void *_p_wxComboBoxTo_p_wxControl(void *x) { | |
9204 | return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x)); | |
9205 | } | |
9206 | static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) { | |
9207 | return (void *)((wxControl *) ((wxPyTreeListCtrl *) x)); | |
9208 | } | |
9209 | static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) { | |
9210 | return (void *)((wxControl *) ((wxGenericDirCtrl *) x)); | |
9211 | } | |
9212 | static void *_p_wxScrollBarTo_p_wxControl(void *x) { | |
9213 | return (void *)((wxControl *) ((wxScrollBar *) x)); | |
9214 | } | |
9215 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
9216 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
9217 | } | |
9218 | static void *_p_wxGaugeTo_p_wxControl(void *x) { | |
9219 | return (void *)((wxControl *) ((wxGauge *) x)); | |
9220 | } | |
9221 | static void *_p_wxStaticLineTo_p_wxControl(void *x) { | |
9222 | return (void *)((wxControl *) ((wxStaticLine *) x)); | |
9223 | } | |
9224 | static void *_p_wxChoicebookTo_p_wxControl(void *x) { | |
9225 | return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x)); | |
9226 | } | |
9227 | static void *_p_wxListbookTo_p_wxControl(void *x) { | |
9228 | return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x)); | |
9229 | } | |
9230 | static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) { | |
9231 | return (void *)((wxControl *) ((wxPyTreeCtrl *) x)); | |
9232 | } | |
9233 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) { | |
9234 | return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
9235 | } | |
9236 | static void *_p_wxCheckBoxTo_p_wxControl(void *x) { | |
9237 | return (void *)((wxControl *) ((wxCheckBox *) x)); | |
9238 | } | |
9239 | static void *_p_wxRadioBoxTo_p_wxControl(void *x) { | |
9240 | return (void *)((wxControl *) ((wxRadioBox *) x)); | |
9241 | } | |
9242 | static void *_p_wxChoiceTo_p_wxControl(void *x) { | |
9243 | return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x)); | |
9244 | } | |
9245 | static void *_p_wxListBoxTo_p_wxControl(void *x) { | |
9246 | return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x)); | |
9247 | } | |
9248 | static void *_p_wxCheckListBoxTo_p_wxControl(void *x) { | |
9249 | return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
9250 | } | |
9251 | static void *_p_wxListViewTo_p_wxControl(void *x) { | |
9252 | return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x)); | |
9253 | } | |
9254 | static void *_p_wxNotebookTo_p_wxControl(void *x) { | |
9255 | return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x)); | |
9256 | } | |
9257 | static void *_p_wxStaticBitmapTo_p_wxControl(void *x) { | |
9258 | return (void *)((wxControl *) ((wxStaticBitmap *) x)); | |
9259 | } | |
9260 | static void *_p_wxSpinCtrlTo_p_wxControl(void *x) { | |
9261 | return (void *)((wxControl *) ((wxSpinCtrl *) x)); | |
9262 | } | |
9263 | static void *_p_wxStaticTextTo_p_wxControl(void *x) { | |
9264 | return (void *)((wxControl *) ((wxStaticText *) x)); | |
9265 | } | |
9266 | static void *_p_wxStaticBoxTo_p_wxControl(void *x) { | |
9267 | return (void *)((wxControl *) ((wxStaticBox *) x)); | |
9268 | } | |
9269 | static void *_p_wxSliderTo_p_wxControl(void *x) { | |
9270 | return (void *)((wxControl *) ((wxSlider *) x)); | |
9271 | } | |
9272 | static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) { | |
9273 | return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
9274 | } | |
9275 | static void *_p_wxSpinButtonTo_p_wxControl(void *x) { | |
9276 | return (void *)((wxControl *) ((wxSpinButton *) x)); | |
9277 | } | |
9278 | static void *_p_wxButtonTo_p_wxControl(void *x) { | |
9279 | return (void *)((wxControl *) ((wxButton *) x)); | |
9280 | } | |
9281 | static void *_p_wxBitmapButtonTo_p_wxControl(void *x) { | |
9282 | return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x)); | |
9283 | } | |
9284 | static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) { | |
9285 | return (void *)((wxControl *) ((wxDatePickerCtrl *) x)); | |
9286 | } | |
9287 | static void *_p_wxStaticPictureTo_p_wxControl(void *x) { | |
9288 | return (void *)((wxControl *) ((wxStaticPicture *) x)); | |
9289 | } | |
9290 | static void *_p_wxTextCtrlTo_p_wxControl(void *x) { | |
9291 | return (void *)((wxControl *) ((wxTextCtrl *) x)); | |
9292 | } | |
9293 | static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) { | |
9294 | return (void *)((wxPyListCtrl *) ((wxListView *) x)); | |
9295 | } | |
9296 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
9297 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
9298 | } | |
9299 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
9300 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
9301 | } | |
9302 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
9303 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
9304 | } | |
9305 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
9306 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
9307 | } | |
9308 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
9309 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
9310 | } | |
9311 | static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) { | |
9312 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x)); | |
9313 | } | |
9314 | static void *_p_wxTreeEventTo_p_wxEvent(void *x) { | |
9315 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x)); | |
9316 | } | |
9317 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
9318 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
9319 | } | |
9320 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
9321 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
9322 | } | |
9323 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
9324 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
9325 | } | |
9326 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
9327 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
9328 | } | |
9329 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
9330 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
9331 | } | |
9332 | static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) { | |
9333 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x)); | |
9334 | } | |
9335 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { | |
9336 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
9337 | } | |
9338 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
9339 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
9340 | } | |
9341 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
9342 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
9343 | } | |
9344 | static void *_p_wxListEventTo_p_wxEvent(void *x) { | |
9345 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x)); | |
9346 | } | |
9347 | static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) { | |
9348 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x)); | |
9349 | } | |
9350 | static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) { | |
9351 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x)); | |
9352 | } | |
9353 | static void *_p_wxNotebookEventTo_p_wxEvent(void *x) { | |
9354 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x)); | |
9355 | } | |
9356 | static void *_p_wxListbookEventTo_p_wxEvent(void *x) { | |
9357 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x)); | |
9358 | } | |
9359 | static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) { | |
9360 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x)); | |
9361 | } | |
9362 | static void *_p_wxHelpEventTo_p_wxEvent(void *x) { | |
9363 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x)); | |
9364 | } | |
9365 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
9366 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
9367 | } | |
9368 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
9369 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
9370 | } | |
9371 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
9372 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
9373 | } | |
9374 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
9375 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
9376 | } | |
9377 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
9378 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
9379 | } | |
9380 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
9381 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
9382 | } | |
9383 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
9384 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
9385 | } | |
9386 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
9387 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
9388 | } | |
9389 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { | |
9390 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
9391 | } | |
9392 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { | |
9393 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
9394 | } | |
9395 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
9396 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
9397 | } | |
9398 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
9399 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
9400 | } | |
9401 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
9402 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
9403 | } | |
9404 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
9405 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
9406 | } | |
9407 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
9408 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
9409 | } | |
9410 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
9411 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
9412 | } | |
9413 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
9414 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
9415 | } | |
9416 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
9417 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
9418 | } | |
9419 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
9420 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
9421 | } | |
9422 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
9423 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
9424 | } | |
9425 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
9426 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
9427 | } | |
9428 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
9429 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
9430 | } | |
9431 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
9432 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
9433 | } | |
9434 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
9435 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
9436 | } | |
9437 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
9438 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
9439 | } | |
9440 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
9441 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
9442 | } | |
9443 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
9444 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
9445 | } | |
9446 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
9447 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
9448 | } | |
9449 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
9450 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
9451 | } | |
9452 | static void *_p_wxSpinEventTo_p_wxEvent(void *x) { | |
9453 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x)); | |
9454 | } | |
9455 | static void *_p_wxScrollBarTo_p_wxObject(void *x) { | |
9456 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x)); | |
9457 | } | |
9458 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
9459 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
9460 | } | |
9461 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
9462 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9463 | } | |
9464 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
9465 | return (void *)((wxObject *) ((wxEvent *) x)); | |
9466 | } | |
9467 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { | |
9468 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
9469 | } | |
9470 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
9471 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
9472 | } | |
9473 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
9474 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
9475 | } | |
9476 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
9477 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
9478 | } | |
9479 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
9480 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
9481 | } | |
9482 | static void *_p_wxToolBarBaseTo_p_wxObject(void *x) { | |
9483 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x)); | |
9484 | } | |
9485 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
9486 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
9487 | } | |
9488 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
9489 | return (void *)((wxObject *) ((wxImage *) x)); | |
9490 | } | |
9491 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
9492 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
9493 | } | |
9494 | static void *_p_wxStaticBitmapTo_p_wxObject(void *x) { | |
9495 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x)); | |
9496 | } | |
9497 | static void *_p_wxGenericDragImageTo_p_wxObject(void *x) { | |
9498 | return (void *)((wxObject *) ((wxGenericDragImage *) x)); | |
9499 | } | |
9500 | static void *_p_wxComboBoxTo_p_wxObject(void *x) { | |
9501 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x)); | |
9502 | } | |
9503 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { | |
9504 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
9505 | } | |
9506 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
9507 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
9508 | } | |
9509 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
9510 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
9511 | } | |
9512 | static void *_p_wxNotebookTo_p_wxObject(void *x) { | |
9513 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x)); | |
9514 | } | |
9515 | static void *_p_wxListItemTo_p_wxObject(void *x) { | |
9516 | return (void *)((wxObject *) ((wxListItem *) x)); | |
9517 | } | |
9518 | static void *_p_wxChoicebookTo_p_wxObject(void *x) { | |
9519 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x)); | |
9520 | } | |
9521 | static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) { | |
9522 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x)); | |
9523 | } | |
9524 | static void *_p_wxNotebookSizerTo_p_wxObject(void *x) { | |
9525 | return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x)); | |
9526 | } | |
9527 | static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) { | |
9528 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x)); | |
9529 | } | |
9530 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) { | |
9531 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
9532 | } | |
9533 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
9534 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
9535 | } | |
9536 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
9537 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
9538 | } | |
9539 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
9540 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
9541 | } | |
9542 | static void *_p_wxStaticLineTo_p_wxObject(void *x) { | |
9543 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x)); | |
9544 | } | |
9545 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
9546 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
9547 | } | |
9548 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
9549 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
9550 | } | |
9551 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
9552 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
9553 | } | |
9554 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
9555 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
9556 | } | |
9557 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
9558 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
9559 | } | |
9560 | static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) { | |
9561 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x)); | |
9562 | } | |
9563 | static void *_p_wxTreeEventTo_p_wxObject(void *x) { | |
9564 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x)); | |
9565 | } | |
9566 | static void *_p_wxTextUrlEventTo_p_wxObject(void *x) { | |
9567 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x)); | |
9568 | } | |
9569 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
9570 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
9571 | } | |
9572 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
9573 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
9574 | } | |
9575 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
9576 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
9577 | } | |
9578 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
9579 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
9580 | } | |
9581 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
9582 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
9583 | } | |
9584 | static void *_p_wxRadioBoxTo_p_wxObject(void *x) { | |
9585 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x)); | |
9586 | } | |
9587 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
9588 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
9589 | } | |
9590 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
9591 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
9592 | } | |
9593 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
9594 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
9595 | } | |
9596 | static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) { | |
9597 | return (void *)((wxObject *) ((wxTreeListColumnInfo *) x)); | |
9598 | } | |
9599 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
9600 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
9601 | } | |
9602 | static void *_p_wxPyControlTo_p_wxObject(void *x) { | |
9603 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x)); | |
9604 | } | |
9605 | static void *_p_wxContextHelpTo_p_wxObject(void *x) { | |
9606 | return (void *)((wxObject *) ((wxContextHelp *) x)); | |
9607 | } | |
9608 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
9609 | return (void *)((wxObject *) ((wxColourData *) x)); | |
9610 | } | |
9611 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
9612 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
9613 | } | |
9614 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
9615 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
9616 | } | |
9617 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
9618 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
9619 | } | |
9620 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
9621 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
9622 | } | |
9623 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
9624 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
9625 | } | |
9626 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
9627 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
9628 | } | |
9629 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
9630 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
9631 | } | |
9632 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
9633 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
9634 | } | |
9635 | static void *_p_wxDateEventTo_p_wxObject(void *x) { | |
9636 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
9637 | } | |
9638 | static void *_p_wxStaticTextTo_p_wxObject(void *x) { | |
9639 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x)); | |
9640 | } | |
9641 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
9642 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
9643 | } | |
9644 | static void *_p_wxListEventTo_p_wxObject(void *x) { | |
9645 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x)); | |
9646 | } | |
9647 | static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) { | |
9648 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x)); | |
9649 | } | |
9650 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
9651 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
9652 | } | |
9653 | static void *_p_wxGaugeTo_p_wxObject(void *x) { | |
9654 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x)); | |
9655 | } | |
9656 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
9657 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
9658 | } | |
9659 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { | |
9660 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
9661 | } | |
9662 | static void *_p_wxChoiceTo_p_wxObject(void *x) { | |
9663 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x)); | |
9664 | } | |
9665 | static void *_p_wxSpinButtonTo_p_wxObject(void *x) { | |
9666 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x)); | |
9667 | } | |
9668 | static void *_p_wxBitmapButtonTo_p_wxObject(void *x) { | |
9669 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x)); | |
9670 | } | |
9671 | static void *_p_wxButtonTo_p_wxObject(void *x) { | |
9672 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x)); | |
9673 | } | |
9674 | static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) { | |
9675 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
9676 | } | |
9677 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
9678 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
9679 | } | |
9680 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
9681 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
9682 | } | |
9683 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
9684 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
9685 | } | |
9686 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
9687 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
9688 | } | |
9689 | static void *_p_wxCheckListBoxTo_p_wxObject(void *x) { | |
9690 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
9691 | } | |
9692 | static void *_p_wxListBoxTo_p_wxObject(void *x) { | |
9693 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x)); | |
9694 | } | |
9695 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
9696 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
9697 | } | |
9698 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
9699 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
9700 | } | |
9701 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
9702 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
9703 | } | |
9704 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
9705 | return (void *)((wxObject *) ((wxFontData *) x)); | |
9706 | } | |
9707 | static void *_p_wxEditableListBoxTo_p_wxObject(void *x) { | |
9708 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x)); | |
9709 | } | |
9710 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
9711 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
9712 | } | |
9713 | static void *_p_wxListbookTo_p_wxObject(void *x) { | |
9714 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x)); | |
9715 | } | |
9716 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
9717 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
9718 | } | |
9719 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
9720 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
9721 | } | |
9722 | static void *_p_wxStaticBoxTo_p_wxObject(void *x) { | |
9723 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x)); | |
9724 | } | |
9725 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
9726 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
9727 | } | |
9728 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
9729 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
9730 | } | |
9731 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
9732 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
9733 | } | |
9734 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
9735 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
9736 | } | |
9737 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
9738 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
9739 | } | |
9740 | static void *_p_wxListViewTo_p_wxObject(void *x) { | |
9741 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x)); | |
9742 | } | |
9743 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
9744 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
9745 | } | |
9746 | static void *_p_wxPyListCtrlTo_p_wxObject(void *x) { | |
9747 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x)); | |
9748 | } | |
9749 | static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) { | |
9750 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
9751 | } | |
9752 | static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) { | |
9753 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x)); | |
9754 | } | |
9755 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
9756 | return (void *)((wxObject *) ((wxSizer *) x)); | |
9757 | } | |
9758 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
9759 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
9760 | } | |
9761 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
9762 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
9763 | } | |
9764 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
9765 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
9766 | } | |
9767 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
9768 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
9769 | } | |
9770 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
9771 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
9772 | } | |
9773 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
9774 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
9775 | } | |
9776 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
9777 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
9778 | } | |
9779 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
9780 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
9781 | } | |
9782 | static void *_p_wxTextCtrlTo_p_wxObject(void *x) { | |
9783 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x)); | |
9784 | } | |
9785 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
9786 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
9787 | } | |
9788 | static void *_p_wxToggleButtonTo_p_wxObject(void *x) { | |
9789 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x)); | |
9790 | } | |
9791 | static void *_p_wxRadioButtonTo_p_wxObject(void *x) { | |
9792 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x)); | |
9793 | } | |
9794 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
9795 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
9796 | } | |
9797 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
9798 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
9799 | } | |
9800 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
9801 | return (void *)((wxObject *) ((wxPrintDialog *) x)); | |
9802 | } | |
9803 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
9804 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); | |
9805 | } | |
9806 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
9807 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
9808 | } | |
9809 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
9810 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
9811 | } | |
9812 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
9813 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
9814 | } | |
9815 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
9816 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
9817 | } | |
9818 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
9819 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
9820 | } | |
9821 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
9822 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
9823 | } | |
9824 | static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) { | |
9825 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x)); | |
9826 | } | |
9827 | static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) { | |
9828 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x)); | |
9829 | } | |
9830 | static void *_p_wxStaticPictureTo_p_wxObject(void *x) { | |
9831 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x)); | |
9832 | } | |
9833 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
9834 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
9835 | } | |
9836 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
9837 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
9838 | } | |
9839 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
9840 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
9841 | } | |
9842 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
9843 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
9844 | } | |
9845 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
9846 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
9847 | } | |
9848 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
9849 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
9850 | } | |
9851 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
9852 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
9853 | } | |
9854 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
9855 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
9856 | } | |
9857 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
9858 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
9859 | } | |
9860 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
9861 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
9862 | } | |
9863 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
9864 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
9865 | } | |
9866 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
9867 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
9868 | } | |
9869 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
9870 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
9871 | } | |
9872 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
9873 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
9874 | } | |
9875 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { | |
9876 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
9877 | } | |
9878 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { | |
9879 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
9880 | } | |
9881 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
9882 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
9883 | } | |
9884 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
9885 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
9886 | } | |
9887 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
9888 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
9889 | } | |
9890 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
9891 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
9892 | } | |
9893 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
9894 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
9895 | } | |
9896 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
9897 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
9898 | } | |
9899 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
9900 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
9901 | } | |
9902 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
9903 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
9904 | } | |
9905 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
9906 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
9907 | } | |
9908 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { | |
9909 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
9910 | } | |
9911 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
9912 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
9913 | } | |
9914 | static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) { | |
9915 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x)); | |
9916 | } | |
9917 | static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) { | |
9918 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x)); | |
9919 | } | |
9920 | static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) { | |
9921 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
9922 | } | |
9923 | static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) { | |
9924 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
9925 | } | |
9926 | static void *_p_wxSpinCtrlTo_p_wxObject(void *x) { | |
9927 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x)); | |
9928 | } | |
9929 | static void *_p_wxNotebookEventTo_p_wxObject(void *x) { | |
9930 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x)); | |
9931 | } | |
9932 | static void *_p_wxListbookEventTo_p_wxObject(void *x) { | |
9933 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x)); | |
9934 | } | |
9935 | static void *_p_wxChoicebookEventTo_p_wxObject(void *x) { | |
9936 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x)); | |
9937 | } | |
9938 | static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) { | |
9939 | return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x)); | |
9940 | } | |
9941 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { | |
9942 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
9943 | } | |
9944 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
9945 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
9946 | } | |
9947 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
9948 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
9949 | } | |
9950 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { | |
9951 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
9952 | } | |
9953 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { | |
9954 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
9955 | } | |
9956 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
9957 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
9958 | } | |
9959 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
9960 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
9961 | } | |
9962 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
9963 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
9964 | } | |
9965 | static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) { | |
9966 | return (void *)((wxObject *) ((wxToolBarToolBase *) x)); | |
9967 | } | |
9968 | static void *_p_wxSliderTo_p_wxObject(void *x) { | |
9969 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x)); | |
9970 | } | |
9971 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
9972 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
9973 | } | |
9974 | static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) { | |
9975 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x)); | |
9976 | } | |
9977 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
9978 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
9979 | } | |
9980 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
9981 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
9982 | } | |
9983 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
9984 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
9985 | } | |
9986 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
9987 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
9988 | } | |
9989 | static void *_p_wxCheckBoxTo_p_wxObject(void *x) { | |
9990 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x)); | |
9991 | } | |
9992 | static void *_p_wxHelpEventTo_p_wxObject(void *x) { | |
9993 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x)); | |
9994 | } | |
9995 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
9996 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
9997 | } | |
9998 | static void *_p_wxSpinEventTo_p_wxObject(void *x) { | |
9999 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x)); | |
10000 | } | |
10001 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
10002 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
10003 | } | |
10004 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
10005 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
10006 | } | |
10007 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
10008 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
10009 | } | |
10010 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
10011 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
10012 | } | |
10013 | static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) { | |
10014 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x)); | |
10015 | } | |
10016 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
10017 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
10018 | } | |
10019 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
10020 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
10021 | } | |
10022 | static void *_p_wxToolBarTo_p_wxObject(void *x) { | |
10023 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x)); | |
10024 | } | |
10025 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
10026 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
10027 | } | |
10028 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
10029 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
10030 | } | |
10031 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
10032 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
10033 | } | |
10034 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
10035 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
10036 | } | |
10037 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
10038 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
10039 | } | |
10040 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
10041 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
10042 | } | |
10043 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { | |
10044 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
10045 | } | |
10046 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
10047 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
10048 | } | |
10049 | static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) { | |
10050 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x)); | |
10051 | } | |
10052 | static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) { | |
10053 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x)); | |
10054 | } | |
10055 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) { | |
10056 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
10057 | } | |
10058 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
10059 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
10060 | } | |
10061 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { | |
10062 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
10063 | } | |
10064 | static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) { | |
10065 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x)); | |
10066 | } | |
10067 | static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) { | |
10068 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x)); | |
10069 | } | |
10070 | static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) { | |
10071 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
10072 | } | |
10073 | static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) { | |
10074 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x)); | |
10075 | } | |
10076 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
10077 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
10078 | } | |
10079 | static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) { | |
10080 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x)); | |
10081 | } | |
10082 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
10083 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
10084 | } | |
10085 | static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) { | |
10086 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x)); | |
10087 | } | |
10088 | static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) { | |
10089 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x)); | |
10090 | } | |
10091 | static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) { | |
10092 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x)); | |
10093 | } | |
10094 | static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) { | |
10095 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x)); | |
10096 | } | |
10097 | static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) { | |
10098 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x)); | |
10099 | } | |
10100 | static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) { | |
10101 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x)); | |
10102 | } | |
10103 | static void *_p_wxListViewTo_p_wxEvtHandler(void *x) { | |
10104 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x)); | |
10105 | } | |
10106 | static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) { | |
10107 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x)); | |
10108 | } | |
10109 | static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) { | |
10110 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x)); | |
10111 | } | |
10112 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
10113 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
10114 | } | |
10115 | static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) { | |
10116 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x)); | |
10117 | } | |
10118 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { | |
10119 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
10120 | } | |
10121 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
10122 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
10123 | } | |
10124 | static void *_p_wxListbookTo_p_wxEvtHandler(void *x) { | |
10125 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x)); | |
10126 | } | |
10127 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
10128 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
10129 | } | |
10130 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
10131 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
10132 | } | |
10133 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
10134 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
10135 | } | |
10136 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
10137 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
10138 | } | |
10139 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
10140 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
10141 | } | |
10142 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
10143 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
10144 | } | |
10145 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
10146 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
10147 | } | |
10148 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { | |
10149 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
10150 | } | |
10151 | static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) { | |
10152 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x)); | |
10153 | } | |
10154 | static void *_p_wxSliderTo_p_wxEvtHandler(void *x) { | |
10155 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x)); | |
10156 | } | |
10157 | static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) { | |
10158 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x)); | |
10159 | } | |
10160 | static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) { | |
10161 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x)); | |
10162 | } | |
10163 | static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) { | |
10164 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
10165 | } | |
10166 | static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) { | |
10167 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x)); | |
10168 | } | |
10169 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
10170 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
10171 | } | |
10172 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
10173 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
10174 | } | |
10175 | static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) { | |
10176 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x)); | |
10177 | } | |
10178 | static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) { | |
10179 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x)); | |
10180 | } | |
10181 | static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) { | |
10182 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x)); | |
10183 | } | |
10184 | static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) { | |
10185 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x)); | |
10186 | } | |
10187 | static void *_p_wxButtonTo_p_wxEvtHandler(void *x) { | |
10188 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x)); | |
10189 | } | |
10190 | static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) { | |
10191 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
10192 | } | |
10193 | static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) { | |
10194 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x)); | |
10195 | } | |
10196 | static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) { | |
10197 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x)); | |
10198 | } | |
10199 | static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) { | |
10200 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x)); | |
10201 | } | |
10202 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
10203 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
10204 | } | |
10205 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
10206 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
10207 | } | |
10208 | static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) { | |
10209 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x)); | |
10210 | } | |
10211 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
10212 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
10213 | } | |
10214 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
10215 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
10216 | } | |
10217 | static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) { | |
10218 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x)); | |
10219 | } | |
10220 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { | |
10221 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
10222 | } | |
10223 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { | |
10224 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
10225 | } | |
10226 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
10227 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
10228 | } | |
10229 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
10230 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
10231 | } | |
10232 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
10233 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
10234 | } | |
10235 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
10236 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
10237 | } | |
10238 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
10239 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
10240 | } | |
10241 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
10242 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
10243 | } | |
10244 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
10245 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
10246 | } | |
10247 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
10248 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
10249 | } | |
10250 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
10251 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
10252 | } | |
10253 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
10254 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
10255 | } | |
10256 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
10257 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
10258 | } | |
10259 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
10260 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
10261 | } | |
10262 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
10263 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
10264 | } | |
10265 | static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) { | |
10266 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x)); | |
10267 | } | |
10268 | static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) { | |
10269 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x)); | |
10270 | } | |
10271 | static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) { | |
10272 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
10273 | } | |
10274 | static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) { | |
10275 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
10276 | } | |
10277 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { | |
10278 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
10279 | } | |
10280 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { | |
10281 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
10282 | } | |
10283 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
10284 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
10285 | } | |
10286 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
10287 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
10288 | } | |
10289 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { | |
10290 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
10291 | } | |
10292 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
10293 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
10294 | } | |
10295 | static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) { | |
10296 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x)); | |
10297 | } | |
10298 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
10299 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
10300 | } | |
10301 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
10302 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
10303 | } | |
10304 | static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) { | |
10305 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x)); | |
10306 | } | |
10307 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
10308 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
10309 | } | |
10310 | static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) { | |
10311 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x)); | |
10312 | } | |
10313 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
10314 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
10315 | } | |
10316 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
10317 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
10318 | } | |
10319 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) { | |
10320 | return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
10321 | } | |
10322 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
10323 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
10324 | } | |
10325 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
10326 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
10327 | } | |
10328 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
10329 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
10330 | } | |
10331 | static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) { | |
10332 | return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x)); | |
10333 | } | |
10334 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
10335 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
10336 | } | |
10337 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
10338 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
10339 | } | |
10340 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
10341 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
10342 | } | |
10343 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
10344 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
10345 | } | |
10346 | static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) { | |
10347 | return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x)); | |
10348 | } | |
10349 | static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) { | |
10350 | return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x)); | |
10351 | } | |
10352 | static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) { | |
10353 | return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x)); | |
10354 | } | |
10355 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { | |
10356 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
10357 | } | |
10358 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { | |
10359 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
10360 | } | |
10361 | static void *_p_wxListEventTo_p_wxCommandEvent(void *x) { | |
10362 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x)); | |
10363 | } | |
10364 | static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) { | |
10365 | return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x)); | |
10366 | } | |
10367 | static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) { | |
10368 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x)); | |
10369 | } | |
10370 | static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) { | |
10371 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x)); | |
10372 | } | |
10373 | static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) { | |
10374 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x)); | |
10375 | } | |
10376 | static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) { | |
10377 | return (void *)((wxCommandEvent *) ((wxHelpEvent *) x)); | |
10378 | } | |
10379 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
10380 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
10381 | } | |
10382 | static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) { | |
10383 | return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x)); | |
10384 | } | |
10385 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
10386 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
10387 | } | |
10388 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
10389 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
10390 | } | |
10391 | static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10392 | static swig_type_info _swigt__p_wxTreeListColumnInfo[] = {{"_p_wxTreeListColumnInfo", 0, "wxTreeListColumnInfo *", 0, 0, 0, 0},{"_p_wxTreeListColumnInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10393 | static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10394 | static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10395 | static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10396 | static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10397 | static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10398 | static swig_type_info _swigt__p_wxDynamicSashUnifyEvent[] = {{"_p_wxDynamicSashUnifyEvent", 0, "wxDynamicSashUnifyEvent *", 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10399 | static swig_type_info _swigt__p_wxDynamicSashSplitEvent[] = {{"_p_wxDynamicSashSplitEvent", 0, "wxDynamicSashSplitEvent *", 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10400 | static swig_type_info _swigt__p_wxLEDNumberCtrl[] = {{"_p_wxLEDNumberCtrl", 0, "wxLEDNumberCtrl *", 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10401 | static swig_type_info _swigt__p_wxSplitterScrolledWindow[] = {{"_p_wxSplitterScrolledWindow", 0, "wxSplitterScrolledWindow *", 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10402 | static swig_type_info _swigt__p_wxThinSplitterWindow[] = {{"_p_wxThinSplitterWindow", 0, "wxThinSplitterWindow *", 0, 0, 0, 0},{"_p_wxThinSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10403 | static swig_type_info _swigt__p_wxPyTreeCompanionWindow[] = {{"_p_wxPyTreeCompanionWindow", 0, "wxPyTreeCompanionWindow *", 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10404 | static swig_type_info _swigt__p_wxDynamicSashWindow[] = {{"_p_wxDynamicSashWindow", 0, "wxDynamicSashWindow *", 0, 0, 0, 0},{"_p_wxDynamicSashWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10405 | static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticPicture", _p_wxStaticPictureTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10406 | static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxSplitterWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10407 | static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10408 | static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10409 | static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticPicture", _p_wxStaticPictureTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10410 | static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10411 | static swig_type_info _swigt__p_wxPyTreeListCtrl[] = {{"_p_wxPyTreeListCtrl", 0, "wxPyTreeListCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10412 | static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10413 | static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeListColumnInfo", _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticPicture", _p_wxStaticPictureTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10414 | static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10415 | static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10416 | static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10417 | static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10418 | static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10419 | static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticPicture", _p_wxStaticPictureTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10420 | static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl[] = {{"_p_wxRemotelyScrolledTreeCtrl", 0, "wxRemotelyScrolledTreeCtrl *", 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10421 | static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10422 | static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10423 | static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10424 | static swig_type_info _swigt__p_wxEditableListBox[] = {{"_p_wxEditableListBox", 0, "wxEditableListBox *", 0, 0, 0, 0},{"_p_wxEditableListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10425 | static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10426 | static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10427 | static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10428 | static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10429 | static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10430 | static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10431 | static swig_type_info _swigt__p_float[] = {{"_p_float", 0, "float *", 0, 0, 0, 0},{"_p_float", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10432 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10433 | static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10434 | static swig_type_info _swigt__p_wxStaticPicture[] = {{"_p_wxStaticPicture", 0, "wxStaticPicture *", 0, 0, 0, 0},{"_p_wxStaticPicture", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10435 | static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}}; | |
10436 | ||
10437 | static swig_type_info *swig_types_initial[] = { | |
10438 | _swigt__p_wxColour, | |
10439 | _swigt__p_wxTreeListColumnInfo, | |
10440 | _swigt__p_form_ops_t, | |
10441 | _swigt__p_wxDuplexMode, | |
10442 | _swigt__p_wxValidator, | |
10443 | _swigt__p_char, | |
10444 | _swigt__p_wxPanel, | |
10445 | _swigt__p_wxDynamicSashUnifyEvent, | |
10446 | _swigt__p_wxDynamicSashSplitEvent, | |
10447 | _swigt__p_wxLEDNumberCtrl, | |
10448 | _swigt__p_wxSplitterScrolledWindow, | |
10449 | _swigt__p_wxThinSplitterWindow, | |
10450 | _swigt__p_wxPyTreeCompanionWindow, | |
10451 | _swigt__p_wxDynamicSashWindow, | |
10452 | _swigt__p_wxWindow, | |
10453 | _swigt__p_wxSplitterWindow, | |
10454 | _swigt__p_wxScrolledWindow, | |
10455 | _swigt__p_wxFont, | |
10456 | _swigt__p_wxControl, | |
10457 | _swigt__p_wxPyListCtrl, | |
10458 | _swigt__p_wxPyTreeListCtrl, | |
10459 | _swigt__p_wxEvent, | |
10460 | _swigt__p_wxObject, | |
10461 | _swigt__p_wxBitmap, | |
10462 | _swigt__p_wxScrollBar, | |
10463 | _swigt__p_wxPaperSize, | |
10464 | _swigt__p_unsigned_int, | |
10465 | _swigt__unsigned_int, | |
10466 | _swigt__p_wxEvtHandler, | |
10467 | _swigt__p_wxRemotelyScrolledTreeCtrl, | |
10468 | _swigt__p_wxPyTreeCtrl, | |
10469 | _swigt__p_wxImageList, | |
10470 | _swigt__p_unsigned_char, | |
10471 | _swigt__p_wxEditableListBox, | |
10472 | _swigt__p_wxIcon, | |
10473 | _swigt__ptrdiff_t, | |
10474 | _swigt__std__ptrdiff_t, | |
10475 | _swigt__p_wxArrayString, | |
10476 | _swigt__p_wxCommandEvent, | |
10477 | _swigt__p_wxTreeItemId, | |
10478 | _swigt__p_float, | |
10479 | _swigt__p_int, | |
10480 | _swigt__p_unsigned_long, | |
10481 | _swigt__p_wxStaticPicture, | |
10482 | _swigt__p_wxPyTreeItemData, | |
10483 | 0 | |
10484 | }; | |
10485 | ||
10486 | ||
10487 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
10488 | ||
10489 | static swig_const_info swig_const_table[] = { | |
10490 | {0, 0, 0, 0.0, 0, 0}}; | |
10491 | ||
10492 | #ifdef __cplusplus | |
10493 | } | |
10494 | #endif | |
10495 | ||
10496 | ||
10497 | #ifdef __cplusplus | |
10498 | extern "C" { | |
10499 | #endif | |
10500 | ||
10501 | /* Python-specific SWIG API */ | |
10502 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
10503 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
10504 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
10505 | ||
10506 | /* ----------------------------------------------------------------------------- | |
10507 | * global variable support code. | |
10508 | * ----------------------------------------------------------------------------- */ | |
10509 | ||
10510 | typedef struct swig_globalvar { | |
10511 | char *name; /* Name of global variable */ | |
10512 | PyObject *(*get_attr)(); /* Return the current value */ | |
10513 | int (*set_attr)(PyObject *); /* Set the value */ | |
10514 | struct swig_globalvar *next; | |
10515 | } swig_globalvar; | |
10516 | ||
10517 | typedef struct swig_varlinkobject { | |
10518 | PyObject_HEAD | |
10519 | swig_globalvar *vars; | |
10520 | } swig_varlinkobject; | |
10521 | ||
10522 | static PyObject * | |
10523 | swig_varlink_repr(swig_varlinkobject *v) { | |
10524 | v = v; | |
10525 | return PyString_FromString("<Swig global variables>"); | |
10526 | } | |
10527 | ||
10528 | static int | |
10529 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) { | |
10530 | swig_globalvar *var; | |
10531 | flags = flags; | |
10532 | fprintf(fp,"Swig global variables { "); | |
10533 | for (var = v->vars; var; var=var->next) { | |
10534 | fprintf(fp,"%s", var->name); | |
10535 | if (var->next) fprintf(fp,", "); | |
10536 | } | |
10537 | fprintf(fp," }\n"); | |
10538 | return 0; | |
10539 | } | |
10540 | ||
10541 | static PyObject * | |
10542 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
10543 | swig_globalvar *var = v->vars; | |
10544 | while (var) { | |
10545 | if (strcmp(var->name,n) == 0) { | |
10546 | return (*var->get_attr)(); | |
10547 | } | |
10548 | var = var->next; | |
10549 | } | |
10550 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
10551 | return NULL; | |
10552 | } | |
10553 | ||
10554 | static int | |
10555 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
10556 | swig_globalvar *var = v->vars; | |
10557 | while (var) { | |
10558 | if (strcmp(var->name,n) == 0) { | |
10559 | return (*var->set_attr)(p); | |
10560 | } | |
10561 | var = var->next; | |
10562 | } | |
10563 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
10564 | return 1; | |
10565 | } | |
10566 | ||
10567 | static PyTypeObject varlinktype = { | |
10568 | PyObject_HEAD_INIT(0) | |
10569 | 0, /* Number of items in variable part (ob_size) */ | |
10570 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
10571 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
10572 | 0, /* Itemsize (tp_itemsize) */ | |
10573 | 0, /* Deallocator (tp_dealloc) */ | |
10574 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
10575 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
10576 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
10577 | 0, /* tp_compare */ | |
10578 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
10579 | 0, /* tp_as_number */ | |
10580 | 0, /* tp_as_sequence */ | |
10581 | 0, /* tp_as_mapping */ | |
10582 | 0, /* tp_hash */ | |
10583 | 0, /* tp_call */ | |
10584 | 0, /* tp_str */ | |
10585 | 0, /* tp_getattro */ | |
10586 | 0, /* tp_setattro */ | |
10587 | 0, /* tp_as_buffer */ | |
10588 | 0, /* tp_flags */ | |
10589 | 0, /* tp_doc */ | |
10590 | #if PY_VERSION_HEX >= 0x02000000 | |
10591 | 0, /* tp_traverse */ | |
10592 | 0, /* tp_clear */ | |
10593 | #endif | |
10594 | #if PY_VERSION_HEX >= 0x02010000 | |
10595 | 0, /* tp_richcompare */ | |
10596 | 0, /* tp_weaklistoffset */ | |
10597 | #endif | |
10598 | #if PY_VERSION_HEX >= 0x02020000 | |
10599 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
10600 | #endif | |
10601 | #if PY_VERSION_HEX >= 0x02030000 | |
10602 | 0, /* tp_del */ | |
10603 | #endif | |
10604 | #ifdef COUNT_ALLOCS | |
10605 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
10606 | #endif | |
10607 | }; | |
10608 | ||
10609 | /* Create a variable linking object for use later */ | |
10610 | static PyObject * | |
10611 | SWIG_Python_newvarlink(void) { | |
10612 | swig_varlinkobject *result = 0; | |
10613 | result = PyMem_NEW(swig_varlinkobject,1); | |
10614 | varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */ | |
10615 | result->ob_type = &varlinktype; | |
10616 | result->vars = 0; | |
10617 | result->ob_refcnt = 0; | |
10618 | Py_XINCREF((PyObject *) result); | |
10619 | return ((PyObject*) result); | |
10620 | } | |
10621 | ||
10622 | static void | |
10623 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
10624 | swig_varlinkobject *v; | |
10625 | swig_globalvar *gv; | |
10626 | v= (swig_varlinkobject *) p; | |
10627 | gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
10628 | gv->name = (char *) malloc(strlen(name)+1); | |
10629 | strcpy(gv->name,name); | |
10630 | gv->get_attr = get_attr; | |
10631 | gv->set_attr = set_attr; | |
10632 | gv->next = v->vars; | |
10633 | v->vars = gv; | |
10634 | } | |
10635 | ||
10636 | /* ----------------------------------------------------------------------------- | |
10637 | * constants/methods manipulation | |
10638 | * ----------------------------------------------------------------------------- */ | |
10639 | ||
10640 | /* Install Constants */ | |
10641 | static void | |
10642 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
10643 | PyObject *obj = 0; | |
10644 | size_t i; | |
10645 | for (i = 0; constants[i].type; i++) { | |
10646 | switch(constants[i].type) { | |
10647 | case SWIG_PY_INT: | |
10648 | obj = PyInt_FromLong(constants[i].lvalue); | |
10649 | break; | |
10650 | case SWIG_PY_FLOAT: | |
10651 | obj = PyFloat_FromDouble(constants[i].dvalue); | |
10652 | break; | |
10653 | case SWIG_PY_STRING: | |
10654 | if (constants[i].pvalue) { | |
10655 | obj = PyString_FromString((char *) constants[i].pvalue); | |
10656 | } else { | |
10657 | Py_INCREF(Py_None); | |
10658 | obj = Py_None; | |
10659 | } | |
10660 | break; | |
10661 | case SWIG_PY_POINTER: | |
10662 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
10663 | break; | |
10664 | case SWIG_PY_BINARY: | |
10665 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
10666 | break; | |
10667 | default: | |
10668 | obj = 0; | |
10669 | break; | |
10670 | } | |
10671 | if (obj) { | |
10672 | PyDict_SetItemString(d,constants[i].name,obj); | |
10673 | Py_DECREF(obj); | |
10674 | } | |
10675 | } | |
10676 | } | |
10677 | ||
10678 | /* -----------------------------------------------------------------------------*/ | |
10679 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
10680 | /* -----------------------------------------------------------------------------*/ | |
10681 | ||
10682 | static void | |
10683 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
10684 | swig_const_info *const_table, | |
10685 | swig_type_info **types, | |
10686 | swig_type_info **types_initial) { | |
10687 | size_t i; | |
10688 | for (i = 0; methods[i].ml_name; ++i) { | |
10689 | char *c = methods[i].ml_doc; | |
10690 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
10691 | int j; | |
10692 | swig_const_info *ci = 0; | |
10693 | char *name = c + 10; | |
10694 | for (j = 0; const_table[j].type; j++) { | |
10695 | if (strncmp(const_table[j].name, name, | |
10696 | strlen(const_table[j].name)) == 0) { | |
10697 | ci = &(const_table[j]); | |
10698 | break; | |
10699 | } | |
10700 | } | |
10701 | if (ci) { | |
10702 | size_t shift = (ci->ptype) - types; | |
10703 | swig_type_info *ty = types_initial[shift]; | |
10704 | size_t ldoc = (c - methods[i].ml_doc); | |
10705 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
10706 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
10707 | char *buff = ndoc; | |
10708 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue); | |
10709 | strncpy(buff, methods[i].ml_doc, ldoc); | |
10710 | buff += ldoc; | |
10711 | strncpy(buff, "swig_ptr: ", 10); | |
10712 | buff += 10; | |
10713 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
10714 | methods[i].ml_doc = ndoc; | |
10715 | } | |
10716 | } | |
10717 | } | |
10718 | } | |
10719 | ||
10720 | /* -----------------------------------------------------------------------------* | |
10721 | * Initialize type list | |
10722 | * -----------------------------------------------------------------------------*/ | |
10723 | ||
10724 | #if PY_MAJOR_VERSION < 2 | |
10725 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
10726 | is copied out of Python/modsupport.c in python version 2.3.4 */ | |
10727 | static int | |
10728 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
10729 | { | |
10730 | PyObject *dict; | |
10731 | if (!PyModule_Check(m)) { | |
10732 | PyErr_SetString(PyExc_TypeError, | |
10733 | "PyModule_AddObject() needs module as first arg"); | |
10734 | return -1; | |
10735 | } | |
10736 | if (!o) { | |
10737 | PyErr_SetString(PyExc_TypeError, | |
10738 | "PyModule_AddObject() needs non-NULL value"); | |
10739 | return -1; | |
10740 | } | |
10741 | ||
10742 | dict = PyModule_GetDict(m); | |
10743 | if (dict == NULL) { | |
10744 | /* Internal error -- modules must have a dict! */ | |
10745 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
10746 | PyModule_GetName(m)); | |
10747 | return -1; | |
10748 | } | |
10749 | if (PyDict_SetItemString(dict, name, o)) | |
10750 | return -1; | |
10751 | Py_DECREF(o); | |
10752 | return 0; | |
10753 | } | |
10754 | #endif | |
10755 | ||
10756 | static swig_type_info ** | |
10757 | SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) { | |
10758 | static PyMethodDef swig_empty_runtime_method_table[] = { | |
10759 | { | |
10760 | NULL, NULL, 0, NULL | |
10761 | } | |
10762 | };/* Sentinel */ | |
10763 | ||
10764 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
10765 | swig_empty_runtime_method_table); | |
10766 | PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL); | |
10767 | if (pointer && module) { | |
10768 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
10769 | } | |
10770 | return type_list_handle; | |
10771 | } | |
10772 | ||
10773 | static swig_type_info ** | |
10774 | SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) { | |
10775 | swig_type_info **type_pointer; | |
10776 | ||
10777 | /* first check if module already created */ | |
10778 | type_pointer = SWIG_Python_GetTypeListHandle(); | |
10779 | if (type_pointer) { | |
10780 | return type_pointer; | |
10781 | } else { | |
10782 | /* create a new module and variable */ | |
10783 | return SWIG_Python_SetTypeListHandle(type_list_handle); | |
10784 | } | |
10785 | } | |
10786 | ||
10787 | #ifdef __cplusplus | |
10788 | } | |
10789 | #endif | |
10790 | ||
10791 | /* -----------------------------------------------------------------------------* | |
10792 | * Partial Init method | |
10793 | * -----------------------------------------------------------------------------*/ | |
10794 | ||
10795 | #ifdef SWIG_LINK_RUNTIME | |
10796 | #ifdef __cplusplus | |
10797 | extern "C" | |
10798 | #endif | |
10799 | SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *); | |
10800 | #endif | |
10801 | ||
10802 | #ifdef __cplusplus | |
10803 | extern "C" | |
10804 | #endif | |
10805 | SWIGEXPORT(void) SWIG_init(void) { | |
10806 | static PyObject *SWIG_globals = 0; | |
10807 | static int typeinit = 0; | |
10808 | PyObject *m, *d; | |
10809 | int i; | |
10810 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
10811 | ||
10812 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
10813 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial); | |
10814 | ||
10815 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
10816 | d = PyModule_GetDict(m); | |
10817 | ||
10818 | if (!typeinit) { | |
10819 | #ifdef SWIG_LINK_RUNTIME | |
10820 | swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle); | |
10821 | #else | |
10822 | # ifndef SWIG_STATIC_RUNTIME | |
10823 | swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle); | |
10824 | # endif | |
10825 | #endif | |
10826 | for (i = 0; swig_types_initial[i]; i++) { | |
10827 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
10828 | } | |
10829 | typeinit = 1; | |
10830 | } | |
10831 | SWIG_InstallConstants(d,swig_const_table); | |
10832 | ||
10833 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
10834 | SWIG_addvarlink(SWIG_globals,(char*)"DynamicSashNameStr",_wrap_DynamicSashNameStr_get, _wrap_DynamicSashNameStr_set); | |
10835 | SWIG_addvarlink(SWIG_globals,(char*)"EditableListBoxNameStr",_wrap_EditableListBoxNameStr_get, _wrap_EditableListBoxNameStr_set); | |
10836 | SWIG_addvarlink(SWIG_globals,(char*)"TreeListCtrlNameStr",_wrap_TreeListCtrlNameStr_get, _wrap_TreeListCtrlNameStr_set); | |
10837 | SWIG_addvarlink(SWIG_globals,(char*)"StaticPictureNameStr",_wrap_StaticPictureNameStr_get, _wrap_StaticPictureNameStr_set); | |
10838 | { | |
10839 | PyDict_SetItemString(d,"DS_MANAGE_SCROLLBARS", SWIG_From_int((int)(wxDS_MANAGE_SCROLLBARS))); | |
10840 | } | |
10841 | { | |
10842 | PyDict_SetItemString(d,"DS_DRAG_CORNER", SWIG_From_int((int)(wxDS_DRAG_CORNER))); | |
10843 | } | |
10844 | PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT)); | |
10845 | PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY)); | |
10846 | { | |
10847 | PyDict_SetItemString(d,"EL_ALLOW_NEW", SWIG_From_int((int)(wxEL_ALLOW_NEW))); | |
10848 | } | |
10849 | { | |
10850 | PyDict_SetItemString(d,"EL_ALLOW_EDIT", SWIG_From_int((int)(wxEL_ALLOW_EDIT))); | |
10851 | } | |
10852 | { | |
10853 | PyDict_SetItemString(d,"EL_ALLOW_DELETE", SWIG_From_int((int)(wxEL_ALLOW_DELETE))); | |
10854 | } | |
10855 | { | |
10856 | PyDict_SetItemString(d,"LED_ALIGN_LEFT", SWIG_From_int((int)(wxLED_ALIGN_LEFT))); | |
10857 | } | |
10858 | { | |
10859 | PyDict_SetItemString(d,"LED_ALIGN_RIGHT", SWIG_From_int((int)(wxLED_ALIGN_RIGHT))); | |
10860 | } | |
10861 | { | |
10862 | PyDict_SetItemString(d,"LED_ALIGN_CENTER", SWIG_From_int((int)(wxLED_ALIGN_CENTER))); | |
10863 | } | |
10864 | { | |
10865 | PyDict_SetItemString(d,"LED_ALIGN_MASK", SWIG_From_int((int)(wxLED_ALIGN_MASK))); | |
10866 | } | |
10867 | { | |
10868 | PyDict_SetItemString(d,"LED_DRAW_FADED", SWIG_From_int((int)(wxLED_DRAW_FADED))); | |
10869 | } | |
10870 | { | |
10871 | PyDict_SetItemString(d,"TL_ALIGN_LEFT", SWIG_From_int((int)(wxTL_ALIGN_LEFT))); | |
10872 | } | |
10873 | { | |
10874 | PyDict_SetItemString(d,"TL_ALIGN_RIGHT", SWIG_From_int((int)(wxTL_ALIGN_RIGHT))); | |
10875 | } | |
10876 | { | |
10877 | PyDict_SetItemString(d,"TL_ALIGN_CENTER", SWIG_From_int((int)(wxTL_ALIGN_CENTER))); | |
10878 | } | |
10879 | { | |
10880 | PyDict_SetItemString(d,"TREE_HITTEST_ONITEMCOLUMN", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMCOLUMN))); | |
10881 | } | |
10882 | { | |
10883 | PyDict_SetItemString(d,"TL_SEARCH_VISIBLE", SWIG_From_int((int)(wxTL_SEARCH_VISIBLE))); | |
10884 | } | |
10885 | { | |
10886 | PyDict_SetItemString(d,"TL_SEARCH_LEVEL", SWIG_From_int((int)(wxTL_SEARCH_LEVEL))); | |
10887 | } | |
10888 | { | |
10889 | PyDict_SetItemString(d,"TL_SEARCH_FULL", SWIG_From_int((int)(wxTL_SEARCH_FULL))); | |
10890 | } | |
10891 | { | |
10892 | PyDict_SetItemString(d,"TL_SEARCH_PARTIAL", SWIG_From_int((int)(wxTL_SEARCH_PARTIAL))); | |
10893 | } | |
10894 | { | |
10895 | PyDict_SetItemString(d,"TL_SEARCH_NOCASE", SWIG_From_int((int)(wxTL_SEARCH_NOCASE))); | |
10896 | } | |
10897 | { | |
10898 | PyDict_SetItemString(d,"TR_DONT_ADJUST_MAC", SWIG_From_int((int)(wxTR_DONT_ADJUST_MAC))); | |
10899 | } | |
10900 | { | |
10901 | PyDict_SetItemString(d,"SCALE_HORIZONTAL", SWIG_From_int((int)(wxSCALE_HORIZONTAL))); | |
10902 | } | |
10903 | { | |
10904 | PyDict_SetItemString(d,"SCALE_VERTICAL", SWIG_From_int((int)(wxSCALE_VERTICAL))); | |
10905 | } | |
10906 | { | |
10907 | PyDict_SetItemString(d,"SCALE_UNIFORM", SWIG_From_int((int)(wxSCALE_UNIFORM))); | |
10908 | } | |
10909 | { | |
10910 | PyDict_SetItemString(d,"SCALE_CUSTOM", SWIG_From_int((int)(wxSCALE_CUSTOM))); | |
10911 | } | |
10912 | ||
10913 | ||
10914 | wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow"); | |
10915 | wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl"); | |
10916 | ||
10917 | } | |
10918 |