]>
Commit | Line | Data |
---|---|---|
44127b65 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
7449af73 | 3 | * Version 1.3.27 |
44127b65 RD |
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 | |
7e08d4ef | 12 | #define SWIG_VERSION 0x010327 |
44127b65 RD |
13 | |
14 | #ifdef __cplusplus | |
15 | template<class T> class SwigValueWrapper { | |
16 | T *tt; | |
17 | public: | |
18 | SwigValueWrapper() : tt(0) { } | |
19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
21 | ~SwigValueWrapper() { delete tt; } | |
22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
23 | operator T&() const { return *tt; } | |
24 | T *operator&() { return tt; } | |
25 | private: | |
26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
093d3ff1 | 27 | }; |
44127b65 RD |
28 | #endif |
29 | ||
7449af73 RD |
30 | /*********************************************************************** |
31 | * | |
32 | * This section contains generic SWIG labels for method/variable | |
33 | * declarations/attributes, and other compiler dependent labels. | |
34 | * | |
35 | ************************************************************************/ | |
44127b65 | 36 | |
7449af73 RD |
37 | /* template workaround for compilers that cannot correctly implement the C++ standard */ |
38 | #ifndef SWIGTEMPLATEDISAMBIGUATOR | |
39 | # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) | |
40 | # define SWIGTEMPLATEDISAMBIGUATOR template | |
093d3ff1 | 41 | # else |
7449af73 | 42 | # define SWIGTEMPLATEDISAMBIGUATOR |
093d3ff1 RD |
43 | # endif |
44 | #endif | |
44127b65 | 45 | |
7449af73 RD |
46 | /* inline attribute */ |
47 | #ifndef SWIGINLINE | |
48 | # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) | |
49 | # define SWIGINLINE inline | |
50 | # else | |
51 | # define SWIGINLINE | |
52 | # endif | |
53 | #endif | |
54 | ||
55 | /* attribute recognised by some compilers to avoid 'unused' warnings */ | |
56 | #ifndef SWIGUNUSED | |
57 | # if defined(__GNUC__) || defined(__ICC) | |
58 | # define SWIGUNUSED __attribute__ ((unused)) | |
59 | # else | |
60 | # define SWIGUNUSED | |
61 | # endif | |
62 | #endif | |
63 | ||
64 | /* internal SWIG method */ | |
65 | #ifndef SWIGINTERN | |
66 | # define SWIGINTERN static SWIGUNUSED | |
67 | #endif | |
68 | ||
69 | /* internal inline SWIG method */ | |
70 | #ifndef SWIGINTERNINLINE | |
71 | # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE | |
72 | #endif | |
73 | ||
74 | /* exporting methods for Windows DLLs */ | |
75 | #ifndef SWIGEXPORT | |
76 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
77 | # if defined(STATIC_LINKED) | |
78 | # define SWIGEXPORT | |
79 | # else | |
80 | # define SWIGEXPORT __declspec(dllexport) | |
81 | # endif | |
82 | # else | |
83 | # define SWIGEXPORT | |
84 | # endif | |
85 | #endif | |
86 | ||
87 | /* calling conventions for Windows */ | |
88 | #ifndef SWIGSTDCALL | |
89 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
90 | # define SWIGSTDCALL __stdcall | |
91 | # else | |
92 | # define SWIGSTDCALL | |
93 | # endif | |
94 | #endif | |
95 | ||
96 | ||
9fd4be55 | 97 | |
093d3ff1 | 98 | #include <Python.h> |
44127b65 RD |
99 | |
100 | /*********************************************************************** | |
093d3ff1 | 101 | * swigrun.swg |
44127b65 | 102 | * |
093d3ff1 RD |
103 | * This file contains generic CAPI SWIG runtime support for pointer |
104 | * type checking. | |
44127b65 RD |
105 | * |
106 | ************************************************************************/ | |
107 | ||
093d3ff1 RD |
108 | /* This should only be incremented when either the layout of swig_type_info changes, |
109 | or for whatever reason, the runtime changes incompatibly */ | |
7449af73 | 110 | #define SWIG_RUNTIME_VERSION "2" |
44127b65 | 111 | |
093d3ff1 RD |
112 | /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ |
113 | #ifdef SWIG_TYPE_TABLE | |
7449af73 RD |
114 | # define SWIG_QUOTE_STRING(x) #x |
115 | # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) | |
116 | # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) | |
44127b65 | 117 | #else |
7449af73 | 118 | # define SWIG_TYPE_TABLE_NAME |
093d3ff1 RD |
119 | #endif |
120 | ||
121 | /* | |
122 | You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for | |
123 | creating a static or dynamic library from the swig runtime code. | |
124 | In 99.9% of the cases, swig just needs to declare them as 'static'. | |
125 | ||
126 | But only do this if is strictly necessary, ie, if you have problems | |
127 | with your compiler or so. | |
128 | */ | |
7449af73 | 129 | |
093d3ff1 | 130 | #ifndef SWIGRUNTIME |
7449af73 | 131 | # define SWIGRUNTIME SWIGINTERN |
093d3ff1 | 132 | #endif |
7449af73 | 133 | |
093d3ff1 | 134 | #ifndef SWIGRUNTIMEINLINE |
7449af73 | 135 | # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE |
44127b65 RD |
136 | #endif |
137 | ||
7449af73 RD |
138 | #include <string.h> |
139 | ||
44127b65 RD |
140 | #ifdef __cplusplus |
141 | extern "C" { | |
142 | #endif | |
143 | ||
144 | typedef void *(*swig_converter_func)(void *); | |
145 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
146 | ||
7449af73 | 147 | /* Structure to store inforomation on one type */ |
44127b65 | 148 | typedef struct swig_type_info { |
7449af73 RD |
149 | const char *name; /* mangled name of this type */ |
150 | const char *str; /* human readable name of this type */ | |
151 | swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ | |
152 | struct swig_cast_info *cast; /* linked list of types that can cast into this type */ | |
153 | void *clientdata; /* language specific type data */ | |
44127b65 RD |
154 | } swig_type_info; |
155 | ||
7449af73 RD |
156 | /* Structure to store a type and conversion function used for casting */ |
157 | typedef struct swig_cast_info { | |
158 | swig_type_info *type; /* pointer to type that is equivalent to this type */ | |
159 | swig_converter_func converter; /* function to cast the void pointers */ | |
160 | struct swig_cast_info *next; /* pointer to next cast in linked list */ | |
161 | struct swig_cast_info *prev; /* pointer to the previous cast */ | |
162 | } swig_cast_info; | |
163 | ||
164 | /* Structure used to store module information | |
165 | * Each module generates one structure like this, and the runtime collects | |
166 | * all of these structures and stores them in a circularly linked list.*/ | |
167 | typedef struct swig_module_info { | |
168 | swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ | |
169 | size_t size; /* Number of types in this module */ | |
170 | struct swig_module_info *next; /* Pointer to next element in circularly linked list */ | |
171 | swig_type_info **type_initial; /* Array of initially generated type structures */ | |
172 | swig_cast_info **cast_initial; /* Array of initially generated casting structures */ | |
173 | void *clientdata; /* Language specific module data */ | |
174 | } swig_module_info; | |
175 | ||
176 | ||
093d3ff1 RD |
177 | /* |
178 | Compare two type names skipping the space characters, therefore | |
179 | "char*" == "char *" and "Class<int>" == "Class<int >", etc. | |
180 | ||
181 | Return 0 when the two name types are equivalent, as in | |
182 | strncmp, but skipping ' '. | |
183 | */ | |
184 | SWIGRUNTIME int | |
185 | SWIG_TypeNameComp(const char *f1, const char *l1, | |
186 | const char *f2, const char *l2) { | |
187 | for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { | |
188 | while ((*f1 == ' ') && (f1 != l1)) ++f1; | |
189 | while ((*f2 == ' ') && (f2 != l2)) ++f2; | |
7449af73 | 190 | if (*f1 != *f2) return (int)(*f1 - *f2); |
093d3ff1 RD |
191 | } |
192 | return (l1 - f1) - (l2 - f2); | |
193 | } | |
194 | ||
195 | /* | |
196 | Check type equivalence in a name list like <name1>|<name2>|... | |
7449af73 | 197 | Return 0 if not equal, 1 if equal |
093d3ff1 RD |
198 | */ |
199 | SWIGRUNTIME int | |
200 | SWIG_TypeEquiv(const char *nb, const char *tb) { | |
201 | int equiv = 0; | |
202 | const char* te = tb + strlen(tb); | |
203 | const char* ne = nb; | |
204 | while (!equiv && *ne) { | |
205 | for (nb = ne; *ne; ++ne) { | |
206 | if (*ne == '|') break; | |
207 | } | |
7449af73 | 208 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; |
093d3ff1 RD |
209 | if (*ne) ++ne; |
210 | } | |
211 | return equiv; | |
212 | } | |
213 | ||
214 | /* | |
7449af73 RD |
215 | Check type equivalence in a name list like <name1>|<name2>|... |
216 | Return 0 if equal, -1 if nb < tb, 1 if nb > tb | |
093d3ff1 | 217 | */ |
7449af73 RD |
218 | SWIGRUNTIME int |
219 | SWIG_TypeCompare(const char *nb, const char *tb) { | |
220 | int equiv = 0; | |
221 | const char* te = tb + strlen(tb); | |
222 | const char* ne = nb; | |
223 | while (!equiv && *ne) { | |
224 | for (nb = ne; *ne; ++ne) { | |
225 | if (*ne == '|') break; | |
093d3ff1 | 226 | } |
7449af73 RD |
227 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; |
228 | if (*ne) ++ne; | |
093d3ff1 | 229 | } |
7449af73 | 230 | return equiv; |
093d3ff1 RD |
231 | } |
232 | ||
7449af73 RD |
233 | |
234 | /* think of this as a c++ template<> or a scheme macro */ | |
235 | #define SWIG_TypeCheck_Template(comparison, ty) \ | |
236 | if (ty) { \ | |
237 | swig_cast_info *iter = ty->cast; \ | |
238 | while (iter) { \ | |
239 | if (comparison) { \ | |
240 | if (iter == ty->cast) return iter; \ | |
241 | /* Move iter to the top of the linked list */ \ | |
242 | iter->prev->next = iter->next; \ | |
243 | if (iter->next) \ | |
244 | iter->next->prev = iter->prev; \ | |
245 | iter->next = ty->cast; \ | |
246 | iter->prev = 0; \ | |
247 | if (ty->cast) ty->cast->prev = iter; \ | |
248 | ty->cast = iter; \ | |
249 | return iter; \ | |
250 | } \ | |
251 | iter = iter->next; \ | |
252 | } \ | |
253 | } \ | |
254 | return 0 | |
255 | ||
093d3ff1 RD |
256 | /* |
257 | Check the typename | |
258 | */ | |
7449af73 | 259 | SWIGRUNTIME swig_cast_info * |
093d3ff1 | 260 | SWIG_TypeCheck(const char *c, swig_type_info *ty) { |
7449af73 RD |
261 | SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); |
262 | } | |
263 | ||
264 | /* Same as previous function, except strcmp is replaced with a pointer comparison */ | |
265 | SWIGRUNTIME swig_cast_info * | |
266 | SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { | |
267 | SWIG_TypeCheck_Template(iter->type == from, into); | |
093d3ff1 | 268 | } |
44127b65 | 269 | |
093d3ff1 RD |
270 | /* |
271 | Cast a pointer up an inheritance hierarchy | |
272 | */ | |
273 | SWIGRUNTIMEINLINE void * | |
7449af73 | 274 | SWIG_TypeCast(swig_cast_info *ty, void *ptr) { |
093d3ff1 RD |
275 | return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); |
276 | } | |
277 | ||
278 | /* | |
279 | Dynamic pointer casting. Down an inheritance hierarchy | |
280 | */ | |
281 | SWIGRUNTIME swig_type_info * | |
282 | SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { | |
283 | swig_type_info *lastty = ty; | |
284 | if (!ty || !ty->dcast) return ty; | |
285 | while (ty && (ty->dcast)) { | |
286 | ty = (*ty->dcast)(ptr); | |
287 | if (ty) lastty = ty; | |
288 | } | |
289 | return lastty; | |
290 | } | |
291 | ||
292 | /* | |
293 | Return the name associated with this type | |
294 | */ | |
295 | SWIGRUNTIMEINLINE const char * | |
296 | SWIG_TypeName(const swig_type_info *ty) { | |
297 | return ty->name; | |
298 | } | |
299 | ||
300 | /* | |
301 | Return the pretty name associated with this type, | |
302 | that is an unmangled type name in a form presentable to the user. | |
303 | */ | |
304 | SWIGRUNTIME const char * | |
305 | SWIG_TypePrettyName(const swig_type_info *type) { | |
306 | /* The "str" field contains the equivalent pretty names of the | |
307 | type, separated by vertical-bar characters. We choose | |
308 | to print the last name, as it is often (?) the most | |
309 | specific. */ | |
310 | if (type->str != NULL) { | |
311 | const char *last_name = type->str; | |
312 | const char *s; | |
313 | for (s = type->str; *s; s++) | |
314 | if (*s == '|') last_name = s+1; | |
315 | return last_name; | |
316 | } | |
317 | else | |
318 | return type->name; | |
319 | } | |
320 | ||
093d3ff1 RD |
321 | /* |
322 | Set the clientdata field for a type | |
323 | */ | |
324 | SWIGRUNTIME void | |
7449af73 RD |
325 | SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { |
326 | swig_cast_info *cast = ti->cast; | |
093d3ff1 RD |
327 | /* if (ti->clientdata == clientdata) return; */ |
328 | ti->clientdata = clientdata; | |
7449af73 RD |
329 | |
330 | while (cast) { | |
331 | if (!cast->converter) { | |
332 | swig_type_info *tc = cast->type; | |
333 | if (!tc->clientdata) { | |
334 | SWIG_TypeClientData(tc, clientdata); | |
093d3ff1 | 335 | } |
7449af73 RD |
336 | } |
337 | cast = cast->next; | |
338 | } | |
339 | } | |
340 | ||
341 | /* | |
342 | Search for a swig_type_info structure only by mangled name | |
343 | Search is a O(log #types) | |
344 | ||
345 | We start searching at module start, and finish searching when start == end. | |
346 | Note: if start == end at the beginning of the function, we go all the way around | |
347 | the circular list. | |
348 | */ | |
349 | SWIGRUNTIME swig_type_info * | |
350 | SWIG_MangledTypeQueryModule(swig_module_info *start, | |
351 | swig_module_info *end, | |
352 | const char *name) { | |
353 | swig_module_info *iter = start; | |
354 | do { | |
355 | if (iter->size) { | |
356 | register size_t l = 0; | |
357 | register size_t r = iter->size - 1; | |
358 | do { | |
359 | /* since l+r >= 0, we can (>> 1) instead (/ 2) */ | |
360 | register size_t i = (l + r) >> 1; | |
361 | const char *iname = iter->types[i]->name; | |
362 | if (iname) { | |
363 | register int compare = strcmp(name, iname); | |
364 | if (compare == 0) { | |
365 | return iter->types[i]; | |
366 | } else if (compare < 0) { | |
367 | if (i) { | |
368 | r = i - 1; | |
369 | } else { | |
370 | break; | |
371 | } | |
372 | } else if (compare > 0) { | |
373 | l = i + 1; | |
374 | } | |
375 | } else { | |
376 | break; /* should never happen */ | |
377 | } | |
378 | } while (l <= r); | |
093d3ff1 | 379 | } |
7449af73 RD |
380 | iter = iter->next; |
381 | } while (iter != end); | |
382 | return 0; | |
383 | } | |
384 | ||
385 | /* | |
386 | Search for a swig_type_info structure for either a mangled name or a human readable name. | |
387 | It first searches the mangled names of the types, which is a O(log #types) | |
388 | If a type is not found it then searches the human readable names, which is O(#types). | |
389 | ||
390 | We start searching at module start, and finish searching when start == end. | |
391 | Note: if start == end at the beginning of the function, we go all the way around | |
392 | the circular list. | |
393 | */ | |
394 | SWIGRUNTIME swig_type_info * | |
395 | SWIG_TypeQueryModule(swig_module_info *start, | |
396 | swig_module_info *end, | |
397 | const char *name) { | |
398 | /* STEP 1: Search the name field using binary search */ | |
399 | swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); | |
400 | if (ret) { | |
401 | return ret; | |
402 | } else { | |
403 | /* STEP 2: If the type hasn't been found, do a complete search | |
404 | of the str field (the human readable name) */ | |
405 | swig_module_info *iter = start; | |
406 | do { | |
407 | register size_t i = 0; | |
408 | for (; i < iter->size; ++i) { | |
409 | if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) | |
410 | return iter->types[i]; | |
411 | } | |
412 | iter = iter->next; | |
413 | } while (iter != end); | |
093d3ff1 | 414 | } |
7449af73 RD |
415 | |
416 | /* neither found a match */ | |
417 | return 0; | |
093d3ff1 RD |
418 | } |
419 | ||
7449af73 | 420 | |
093d3ff1 RD |
421 | /* |
422 | Pack binary data into a string | |
423 | */ | |
424 | SWIGRUNTIME char * | |
425 | SWIG_PackData(char *c, void *ptr, size_t sz) { | |
7449af73 RD |
426 | static const char hex[17] = "0123456789abcdef"; |
427 | register const unsigned char *u = (unsigned char *) ptr; | |
428 | register const unsigned char *eu = u + sz; | |
093d3ff1 | 429 | for (; u != eu; ++u) { |
7449af73 | 430 | register unsigned char uu = *u; |
093d3ff1 RD |
431 | *(c++) = hex[(uu & 0xf0) >> 4]; |
432 | *(c++) = hex[uu & 0xf]; | |
433 | } | |
434 | return c; | |
435 | } | |
436 | ||
437 | /* | |
438 | Unpack binary data from a string | |
439 | */ | |
440 | SWIGRUNTIME const char * | |
441 | SWIG_UnpackData(const char *c, void *ptr, size_t sz) { | |
442 | register unsigned char *u = (unsigned char *) ptr; | |
7449af73 | 443 | register const unsigned char *eu = u + sz; |
093d3ff1 | 444 | for (; u != eu; ++u) { |
7449af73 | 445 | register char d = *(c++); |
093d3ff1 RD |
446 | register unsigned char uu = 0; |
447 | if ((d >= '0') && (d <= '9')) | |
448 | uu = ((d - '0') << 4); | |
449 | else if ((d >= 'a') && (d <= 'f')) | |
450 | uu = ((d - ('a'-10)) << 4); | |
451 | else | |
452 | return (char *) 0; | |
453 | d = *(c++); | |
454 | if ((d >= '0') && (d <= '9')) | |
455 | uu |= (d - '0'); | |
456 | else if ((d >= 'a') && (d <= 'f')) | |
457 | uu |= (d - ('a'-10)); | |
458 | else | |
459 | return (char *) 0; | |
460 | *u = uu; | |
461 | } | |
462 | return c; | |
463 | } | |
464 | ||
093d3ff1 RD |
465 | /* |
466 | Pack 'void *' into a string buffer. | |
467 | */ | |
468 | SWIGRUNTIME char * | |
469 | SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { | |
470 | char *r = buff; | |
471 | if ((2*sizeof(void *) + 2) > bsz) return 0; | |
472 | *(r++) = '_'; | |
473 | r = SWIG_PackData(r,&ptr,sizeof(void *)); | |
474 | if (strlen(name) + 1 > (bsz - (r - buff))) return 0; | |
475 | strcpy(r,name); | |
476 | return buff; | |
477 | } | |
478 | ||
479 | SWIGRUNTIME const char * | |
480 | SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { | |
481 | if (*c != '_') { | |
482 | if (strcmp(c,"NULL") == 0) { | |
483 | *ptr = (void *) 0; | |
484 | return name; | |
485 | } else { | |
486 | return 0; | |
487 | } | |
488 | } | |
489 | return SWIG_UnpackData(++c,ptr,sizeof(void *)); | |
490 | } | |
491 | ||
492 | SWIGRUNTIME char * | |
493 | SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { | |
494 | char *r = buff; | |
495 | size_t lname = (name ? strlen(name) : 0); | |
496 | if ((2*sz + 2 + lname) > bsz) return 0; | |
497 | *(r++) = '_'; | |
498 | r = SWIG_PackData(r,ptr,sz); | |
499 | if (lname) { | |
500 | strncpy(r,name,lname+1); | |
501 | } else { | |
502 | *r = 0; | |
503 | } | |
504 | return buff; | |
505 | } | |
506 | ||
507 | SWIGRUNTIME const char * | |
508 | SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { | |
509 | if (*c != '_') { | |
510 | if (strcmp(c,"NULL") == 0) { | |
511 | memset(ptr,0,sz); | |
512 | return name; | |
513 | } else { | |
514 | return 0; | |
515 | } | |
516 | } | |
517 | return SWIG_UnpackData(++c,ptr,sz); | |
518 | } | |
44127b65 RD |
519 | |
520 | #ifdef __cplusplus | |
521 | } | |
44127b65 RD |
522 | #endif |
523 | ||
093d3ff1 RD |
524 | /* ----------------------------------------------------------------------------- |
525 | * SWIG API. Portion that goes into the runtime | |
526 | * ----------------------------------------------------------------------------- */ | |
527 | ||
528 | #ifdef __cplusplus | |
529 | extern "C" { | |
530 | #endif | |
531 | ||
532 | /* ----------------------------------------------------------------------------- | |
533 | * for internal method declarations | |
534 | * ----------------------------------------------------------------------------- */ | |
535 | ||
536 | #ifndef SWIGINTERN | |
7449af73 | 537 | # define SWIGINTERN static SWIGUNUSED |
093d3ff1 RD |
538 | #endif |
539 | ||
7449af73 RD |
540 | #ifndef SWIGINTERNINLINE |
541 | # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE | |
093d3ff1 RD |
542 | #endif |
543 | ||
093d3ff1 RD |
544 | /* |
545 | Exception handling in wrappers | |
546 | */ | |
547 | #define SWIG_fail goto fail | |
548 | #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) | |
549 | #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0) | |
550 | #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1) | |
551 | #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj) | |
552 | #define SWIG_null_ref(type) SWIG_Python_NullRef(type) | |
553 | ||
554 | /* | |
555 | Contract support | |
556 | */ | |
557 | #define SWIG_contract_assert(expr, msg) \ | |
558 | if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else | |
559 | ||
560 | /* ----------------------------------------------------------------------------- | |
561 | * Constant declarations | |
562 | * ----------------------------------------------------------------------------- */ | |
563 | ||
564 | /* Constant Types */ | |
44127b65 RD |
565 | #define SWIG_PY_INT 1 |
566 | #define SWIG_PY_FLOAT 2 | |
567 | #define SWIG_PY_STRING 3 | |
568 | #define SWIG_PY_POINTER 4 | |
569 | #define SWIG_PY_BINARY 5 | |
570 | ||
44127b65 RD |
571 | /* Constant information structure */ |
572 | typedef struct swig_const_info { | |
573 | int type; | |
574 | char *name; | |
575 | long lvalue; | |
576 | double dvalue; | |
577 | void *pvalue; | |
578 | swig_type_info **ptype; | |
579 | } swig_const_info; | |
580 | ||
093d3ff1 RD |
581 | |
582 | /* ----------------------------------------------------------------------------- | |
583 | * Alloc. memory flags | |
584 | * ----------------------------------------------------------------------------- */ | |
585 | #define SWIG_OLDOBJ 1 | |
586 | #define SWIG_NEWOBJ SWIG_OLDOBJ + 1 | |
587 | #define SWIG_PYSTR SWIG_NEWOBJ + 1 | |
588 | ||
589 | #ifdef __cplusplus | |
590 | } | |
591 | #endif | |
592 | ||
593 | ||
594 | /*********************************************************************** | |
595 | * pyrun.swg | |
596 | * | |
597 | * This file contains the runtime support for Python modules | |
598 | * and includes code for managing global variables and pointer | |
599 | * type checking. | |
600 | * | |
601 | * Author : David Beazley (beazley@cs.uchicago.edu) | |
602 | ************************************************************************/ | |
603 | ||
44127b65 | 604 | /* Common SWIG API */ |
093d3ff1 RD |
605 | #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags) |
606 | #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags) | |
607 | #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
9d7dfdff | 608 | |
44127b65 | 609 | |
093d3ff1 RD |
610 | /* Python-specific SWIG API */ |
611 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
612 | #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
44127b65 | 613 | |
7449af73 RD |
614 | /* Runtime API */ |
615 | #define SWIG_GetModule(clientdata) SWIG_Python_GetModule() | |
616 | #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) | |
44127b65 | 617 | |
093d3ff1 RD |
618 | /* ----------------------------------------------------------------------------- |
619 | * Pointer declarations | |
620 | * ----------------------------------------------------------------------------- */ | |
621 | /* | |
622 | Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent | |
623 | C/C++ pointers in the python side. Very useful for debugging, but | |
624 | not always safe. | |
625 | */ | |
626 | #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES) | |
627 | # define SWIG_COBJECT_TYPES | |
628 | #endif | |
44127b65 | 629 | |
093d3ff1 RD |
630 | /* Flags for pointer conversion */ |
631 | #define SWIG_POINTER_EXCEPTION 0x1 | |
632 | #define SWIG_POINTER_DISOWN 0x2 | |
44127b65 | 633 | |
44127b65 | 634 | |
7449af73 RD |
635 | /* Add PyOS_snprintf for old Pythons */ |
636 | #if PY_VERSION_HEX < 0x02020000 | |
637 | #define PyOS_snprintf snprintf | |
638 | #endif | |
639 | ||
44127b65 | 640 | #ifdef __cplusplus |
093d3ff1 RD |
641 | extern "C" { |
642 | #endif | |
643 | ||
644 | /* ----------------------------------------------------------------------------- | |
645 | * Create a new pointer string | |
646 | * ----------------------------------------------------------------------------- */ | |
093d3ff1 RD |
647 | #ifndef SWIG_BUFFER_SIZE |
648 | #define SWIG_BUFFER_SIZE 1024 | |
649 | #endif | |
650 | ||
7449af73 RD |
651 | /* A crude PyString_FromFormat implementation for old Pythons */ |
652 | #if PY_VERSION_HEX < 0x02020000 | |
653 | static PyObject * | |
654 | PyString_FromFormat(const char *fmt, ...) { | |
655 | va_list ap; | |
656 | char buf[SWIG_BUFFER_SIZE * 2]; | |
657 | int res; | |
658 | va_start(ap, fmt); | |
659 | res = vsnprintf(buf, sizeof(buf), fmt, ap); | |
660 | va_end(ap); | |
661 | return (res < 0 || res >= sizeof(buf)) ? 0 : PyString_FromString(buf); | |
662 | } | |
663 | #endif | |
664 | ||
665 | #if PY_VERSION_HEX < 0x01060000 | |
666 | #define PyObject_Del(op) PyMem_DEL((op)) | |
667 | #endif | |
668 | ||
093d3ff1 RD |
669 | #if defined(SWIG_COBJECT_TYPES) |
670 | #if !defined(SWIG_COBJECT_PYTHON) | |
671 | /* ----------------------------------------------------------------------------- | |
672 | * Implements a simple Swig Object type, and use it instead of PyCObject | |
673 | * ----------------------------------------------------------------------------- */ | |
674 | ||
675 | typedef struct { | |
676 | PyObject_HEAD | |
677 | void *ptr; | |
678 | const char *desc; | |
679 | } PySwigObject; | |
680 | ||
681 | /* Declarations for objects of type PySwigObject */ | |
682 | ||
683 | SWIGRUNTIME int | |
684 | PySwigObject_print(PySwigObject *v, FILE *fp, int flags) | |
685 | { | |
686 | char result[SWIG_BUFFER_SIZE]; | |
7449af73 | 687 | flags = flags; |
093d3ff1 RD |
688 | if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) { |
689 | fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp); | |
690 | return 0; | |
691 | } else { | |
692 | return 1; | |
693 | } | |
694 | } | |
9d7dfdff | 695 | |
093d3ff1 RD |
696 | SWIGRUNTIME PyObject * |
697 | PySwigObject_repr(PySwigObject *v) | |
698 | { | |
699 | char result[SWIG_BUFFER_SIZE]; | |
700 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
701 | PyString_FromFormat("<Swig Object at %s>", result) : 0; | |
702 | } | |
703 | ||
704 | SWIGRUNTIME PyObject * | |
705 | PySwigObject_str(PySwigObject *v) | |
706 | { | |
707 | char result[SWIG_BUFFER_SIZE]; | |
708 | return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ? | |
709 | PyString_FromString(result) : 0; | |
710 | } | |
711 | ||
712 | SWIGRUNTIME PyObject * | |
713 | PySwigObject_long(PySwigObject *v) | |
714 | { | |
7449af73 RD |
715 | return PyLong_FromVoidPtr(v->ptr); |
716 | } | |
717 | ||
718 | SWIGRUNTIME PyObject * | |
719 | PySwigObject_format(const char* fmt, PySwigObject *v) | |
720 | { | |
721 | PyObject *res = NULL; | |
722 | PyObject *args = PyTuple_New(1); | |
723 | if (args && (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0)) { | |
724 | PyObject *ofmt = PyString_FromString(fmt); | |
725 | if (ofmt) { | |
726 | res = PyString_Format(ofmt,args); | |
727 | Py_DECREF(ofmt); | |
728 | } | |
729 | Py_DECREF(args); | |
730 | } | |
731 | return res; | |
093d3ff1 RD |
732 | } |
733 | ||
734 | SWIGRUNTIME PyObject * | |
735 | PySwigObject_oct(PySwigObject *v) | |
736 | { | |
7449af73 | 737 | return PySwigObject_format("%o",v); |
093d3ff1 RD |
738 | } |
739 | ||
740 | SWIGRUNTIME PyObject * | |
741 | PySwigObject_hex(PySwigObject *v) | |
742 | { | |
7449af73 | 743 | return PySwigObject_format("%x",v); |
093d3ff1 RD |
744 | } |
745 | ||
746 | SWIGRUNTIME int | |
747 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
748 | { | |
749 | int c = strcmp(v->desc, w->desc); | |
750 | if (c) { | |
7449af73 | 751 | return (c > 0) ? 1 : -1; |
093d3ff1 RD |
752 | } else { |
753 | void *i = v->ptr; | |
754 | void *j = w->ptr; | |
7449af73 | 755 | return (i < j) ? -1 : ((i > j) ? 1 : 0); |
093d3ff1 RD |
756 | } |
757 | } | |
758 | ||
759 | SWIGRUNTIME void | |
760 | PySwigObject_dealloc(PySwigObject *self) | |
761 | { | |
7449af73 | 762 | PyObject_Del(self); |
44127b65 | 763 | } |
093d3ff1 RD |
764 | |
765 | SWIGRUNTIME PyTypeObject* | |
7449af73 RD |
766 | PySwigObject_type(void) { |
767 | static char pyswigobject_type__doc__[] = | |
093d3ff1 | 768 | "Swig object carries a C/C++ instance pointer"; |
9d7dfdff | 769 | |
093d3ff1 RD |
770 | static PyNumberMethods PySwigObject_as_number = { |
771 | (binaryfunc)0, /*nb_add*/ | |
772 | (binaryfunc)0, /*nb_subtract*/ | |
773 | (binaryfunc)0, /*nb_multiply*/ | |
774 | (binaryfunc)0, /*nb_divide*/ | |
775 | (binaryfunc)0, /*nb_remainder*/ | |
776 | (binaryfunc)0, /*nb_divmod*/ | |
777 | (ternaryfunc)0,/*nb_power*/ | |
778 | (unaryfunc)0, /*nb_negative*/ | |
779 | (unaryfunc)0, /*nb_positive*/ | |
780 | (unaryfunc)0, /*nb_absolute*/ | |
781 | (inquiry)0, /*nb_nonzero*/ | |
782 | 0, /*nb_invert*/ | |
783 | 0, /*nb_lshift*/ | |
784 | 0, /*nb_rshift*/ | |
785 | 0, /*nb_and*/ | |
786 | 0, /*nb_xor*/ | |
787 | 0, /*nb_or*/ | |
788 | (coercion)0, /*nb_coerce*/ | |
789 | (unaryfunc)PySwigObject_long, /*nb_int*/ | |
790 | (unaryfunc)PySwigObject_long, /*nb_long*/ | |
791 | (unaryfunc)0, /*nb_float*/ | |
792 | (unaryfunc)PySwigObject_oct, /*nb_oct*/ | |
793 | (unaryfunc)PySwigObject_hex, /*nb_hex*/ | |
7449af73 | 794 | #if PY_VERSION_HEX >= 0x02020000 |
093d3ff1 | 795 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ |
7449af73 RD |
796 | #elif PY_VERSION_HEX >= 0x02000000 |
797 | 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ | |
093d3ff1 RD |
798 | #endif |
799 | }; | |
800 | ||
7449af73 RD |
801 | static PyTypeObject pyswigobject_type |
802 | #if !defined(__cplusplus) | |
803 | ; | |
804 | static int type_init = 0; | |
093d3ff1 | 805 | if (!type_init) { |
7449af73 RD |
806 | PyTypeObject tmp |
807 | #endif | |
808 | = { | |
093d3ff1 RD |
809 | PyObject_HEAD_INIT(&PyType_Type) |
810 | 0, /*ob_size*/ | |
7449af73 | 811 | (char *)"PySwigObject", /*tp_name*/ |
093d3ff1 RD |
812 | sizeof(PySwigObject), /*tp_basicsize*/ |
813 | 0, /*tp_itemsize*/ | |
814 | /* methods */ | |
815 | (destructor)PySwigObject_dealloc, /*tp_dealloc*/ | |
816 | (printfunc)PySwigObject_print, /*tp_print*/ | |
817 | (getattrfunc)0, /*tp_getattr*/ | |
818 | (setattrfunc)0, /*tp_setattr*/ | |
819 | (cmpfunc)PySwigObject_compare, /*tp_compare*/ | |
820 | (reprfunc)PySwigObject_repr, /*tp_repr*/ | |
821 | &PySwigObject_as_number, /*tp_as_number*/ | |
822 | 0, /*tp_as_sequence*/ | |
823 | 0, /*tp_as_mapping*/ | |
824 | (hashfunc)0, /*tp_hash*/ | |
825 | (ternaryfunc)0, /*tp_call*/ | |
826 | (reprfunc)PySwigObject_str, /*tp_str*/ | |
827 | /* Space for future expansion */ | |
7449af73 RD |
828 | 0,0,0,0, |
829 | pyswigobject_type__doc__, /* Documentation string */ | |
093d3ff1 RD |
830 | #if PY_VERSION_HEX >= 0x02000000 |
831 | 0, /* tp_traverse */ | |
832 | 0, /* tp_clear */ | |
833 | #endif | |
834 | #if PY_VERSION_HEX >= 0x02010000 | |
835 | 0, /* tp_richcompare */ | |
836 | 0, /* tp_weaklistoffset */ | |
837 | #endif | |
838 | #if PY_VERSION_HEX >= 0x02020000 | |
839 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
840 | #endif | |
841 | #if PY_VERSION_HEX >= 0x02030000 | |
842 | 0, /* tp_del */ | |
843 | #endif | |
844 | #ifdef COUNT_ALLOCS | |
845 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
44127b65 | 846 | #endif |
093d3ff1 | 847 | }; |
7449af73 RD |
848 | #if !defined(__cplusplus) |
849 | pyswigobject_type = tmp; | |
093d3ff1 RD |
850 | type_init = 1; |
851 | } | |
7449af73 RD |
852 | #endif |
853 | return &pyswigobject_type; | |
093d3ff1 | 854 | } |
c32bde28 | 855 | |
093d3ff1 RD |
856 | SWIGRUNTIME PyObject * |
857 | PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc) | |
858 | { | |
7449af73 RD |
859 | PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_type()); |
860 | if (self) { | |
861 | self->ptr = ptr; | |
862 | self->desc = desc; | |
863 | } | |
093d3ff1 RD |
864 | return (PyObject *)self; |
865 | } | |
44127b65 | 866 | |
093d3ff1 RD |
867 | SWIGRUNTIMEINLINE void * |
868 | PySwigObject_AsVoidPtr(PyObject *self) | |
869 | { | |
870 | return ((PySwigObject *)self)->ptr; | |
871 | } | |
44127b65 | 872 | |
093d3ff1 RD |
873 | SWIGRUNTIMEINLINE const char * |
874 | PySwigObject_GetDesc(PyObject *self) | |
875 | { | |
876 | return ((PySwigObject *)self)->desc; | |
877 | } | |
44127b65 | 878 | |
093d3ff1 RD |
879 | SWIGRUNTIMEINLINE int |
880 | PySwigObject_Check(PyObject *op) { | |
7449af73 | 881 | return ((op)->ob_type == PySwigObject_type()) |
093d3ff1 RD |
882 | || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); |
883 | } | |
44127b65 | 884 | |
093d3ff1 RD |
885 | /* ----------------------------------------------------------------------------- |
886 | * Implements a simple Swig Packed type, and use it instead of string | |
887 | * ----------------------------------------------------------------------------- */ | |
44127b65 | 888 | |
093d3ff1 RD |
889 | typedef struct { |
890 | PyObject_HEAD | |
891 | void *pack; | |
892 | const char *desc; | |
893 | size_t size; | |
894 | } PySwigPacked; | |
44127b65 | 895 | |
093d3ff1 RD |
896 | SWIGRUNTIME int |
897 | PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags) | |
898 | { | |
899 | char result[SWIG_BUFFER_SIZE]; | |
7449af73 | 900 | flags = flags; |
093d3ff1 RD |
901 | fputs("<Swig Packed ", fp); |
902 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
903 | fputs("at ", fp); | |
904 | fputs(result, fp); | |
905 | } | |
906 | fputs(v->desc,fp); | |
907 | fputs(">", fp); | |
908 | return 0; | |
909 | } | |
9d7dfdff | 910 | |
093d3ff1 RD |
911 | SWIGRUNTIME PyObject * |
912 | PySwigPacked_repr(PySwigPacked *v) | |
913 | { | |
914 | char result[SWIG_BUFFER_SIZE]; | |
915 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
916 | return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc); | |
917 | } else { | |
918 | return PyString_FromFormat("<Swig Packed %s>", v->desc); | |
919 | } | |
920 | } | |
c32bde28 | 921 | |
093d3ff1 RD |
922 | SWIGRUNTIME PyObject * |
923 | PySwigPacked_str(PySwigPacked *v) | |
924 | { | |
925 | char result[SWIG_BUFFER_SIZE]; | |
926 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ | |
927 | return PyString_FromFormat("%s%s", result, v->desc); | |
928 | } else { | |
7449af73 | 929 | return PyString_FromString(v->desc); |
093d3ff1 RD |
930 | } |
931 | } | |
932 | ||
933 | SWIGRUNTIME int | |
934 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
935 | { | |
936 | int c = strcmp(v->desc, w->desc); | |
937 | if (c) { | |
7449af73 | 938 | return (c > 0) ? 1 : -1; |
093d3ff1 RD |
939 | } else { |
940 | size_t i = v->size; | |
941 | size_t j = w->size; | |
7449af73 | 942 | int s = (i < j) ? -1 : ((i > j) ? 1 : 0); |
093d3ff1 RD |
943 | return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); |
944 | } | |
945 | } | |
946 | ||
947 | SWIGRUNTIME void | |
948 | PySwigPacked_dealloc(PySwigPacked *self) | |
949 | { | |
950 | free(self->pack); | |
7449af73 | 951 | PyObject_Del(self); |
093d3ff1 RD |
952 | } |
953 | ||
954 | SWIGRUNTIME PyTypeObject* | |
7449af73 RD |
955 | PySwigPacked_type(void) { |
956 | static char pyswigpacked_type__doc__[] = | |
093d3ff1 | 957 | "Swig object carries a C/C++ instance pointer"; |
7449af73 RD |
958 | static PyTypeObject pyswigpacked_type |
959 | #if !defined(__cplusplus) | |
960 | ; | |
961 | static int type_init = 0; | |
093d3ff1 | 962 | if (!type_init) { |
7449af73 RD |
963 | PyTypeObject tmp |
964 | #endif | |
965 | = { | |
093d3ff1 RD |
966 | PyObject_HEAD_INIT(&PyType_Type) |
967 | 0, /*ob_size*/ | |
7449af73 | 968 | (char *)"PySwigPacked", /*tp_name*/ |
093d3ff1 RD |
969 | sizeof(PySwigPacked), /*tp_basicsize*/ |
970 | 0, /*tp_itemsize*/ | |
971 | /* methods */ | |
972 | (destructor)PySwigPacked_dealloc, /*tp_dealloc*/ | |
973 | (printfunc)PySwigPacked_print, /*tp_print*/ | |
974 | (getattrfunc)0, /*tp_getattr*/ | |
975 | (setattrfunc)0, /*tp_setattr*/ | |
976 | (cmpfunc)PySwigPacked_compare, /*tp_compare*/ | |
977 | (reprfunc)PySwigPacked_repr, /*tp_repr*/ | |
978 | 0, /*tp_as_number*/ | |
979 | 0, /*tp_as_sequence*/ | |
980 | 0, /*tp_as_mapping*/ | |
981 | (hashfunc)0, /*tp_hash*/ | |
982 | (ternaryfunc)0, /*tp_call*/ | |
983 | (reprfunc)PySwigPacked_str, /*tp_str*/ | |
984 | /* Space for future expansion */ | |
7449af73 RD |
985 | 0,0,0,0, |
986 | pyswigpacked_type__doc__, /* Documentation string */ | |
093d3ff1 RD |
987 | #if PY_VERSION_HEX >= 0x02000000 |
988 | 0, /* tp_traverse */ | |
989 | 0, /* tp_clear */ | |
990 | #endif | |
991 | #if PY_VERSION_HEX >= 0x02010000 | |
992 | 0, /* tp_richcompare */ | |
993 | 0, /* tp_weaklistoffset */ | |
994 | #endif | |
995 | #if PY_VERSION_HEX >= 0x02020000 | |
996 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ | |
997 | #endif | |
998 | #if PY_VERSION_HEX >= 0x02030000 | |
999 | 0, /* tp_del */ | |
1000 | #endif | |
1001 | #ifdef COUNT_ALLOCS | |
1002 | 0,0,0,0 /* tp_alloc -> tp_next */ | |
1003 | #endif | |
1004 | }; | |
7449af73 RD |
1005 | #if !defined(__cplusplus) |
1006 | pyswigpacked_type = tmp; | |
093d3ff1 RD |
1007 | type_init = 1; |
1008 | } | |
7449af73 RD |
1009 | #endif |
1010 | return &pyswigpacked_type; | |
093d3ff1 RD |
1011 | } |
1012 | ||
1013 | SWIGRUNTIME PyObject * | |
1014 | PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc) | |
1015 | { | |
7449af73 | 1016 | PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_type()); |
093d3ff1 RD |
1017 | if (self == NULL) { |
1018 | return NULL; | |
1019 | } else { | |
1020 | void *pack = malloc(size); | |
7449af73 RD |
1021 | if (pack) { |
1022 | memcpy(pack, ptr, size); | |
1023 | self->pack = pack; | |
1024 | self->desc = desc; | |
1025 | self->size = size; | |
1026 | return (PyObject *) self; | |
1027 | } | |
1028 | return NULL; | |
093d3ff1 RD |
1029 | } |
1030 | } | |
1031 | ||
1032 | SWIGRUNTIMEINLINE const char * | |
1033 | PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) | |
1034 | { | |
1035 | PySwigPacked *self = (PySwigPacked *)obj; | |
1036 | if (self->size != size) return 0; | |
1037 | memcpy(ptr, self->pack, size); | |
1038 | return self->desc; | |
1039 | } | |
1040 | ||
1041 | SWIGRUNTIMEINLINE const char * | |
1042 | PySwigPacked_GetDesc(PyObject *self) | |
1043 | { | |
1044 | return ((PySwigPacked *)self)->desc; | |
1045 | } | |
1046 | ||
1047 | SWIGRUNTIMEINLINE int | |
1048 | PySwigPacked_Check(PyObject *op) { | |
7449af73 | 1049 | return ((op)->ob_type == PySwigPacked_type()) |
093d3ff1 RD |
1050 | || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); |
1051 | } | |
1052 | ||
1053 | #else | |
1054 | /* ----------------------------------------------------------------------------- | |
1055 | * Use the old Python PyCObject instead of PySwigObject | |
1056 | * ----------------------------------------------------------------------------- */ | |
1057 | ||
1058 | #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj) | |
1059 | #define PySwigObject_Check(obj) PyCObject_Check(obj) | |
1060 | #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj) | |
1061 | #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL) | |
1062 | ||
1063 | #endif | |
1064 | ||
1065 | #endif | |
1066 | ||
1067 | /* ----------------------------------------------------------------------------- | |
1068 | * errors manipulation | |
1069 | * ----------------------------------------------------------------------------- */ | |
1070 | ||
1071 | SWIGRUNTIME void | |
1072 | SWIG_Python_TypeError(const char *type, PyObject *obj) | |
1073 | { | |
1074 | if (type) { | |
1075 | #if defined(SWIG_COBJECT_TYPES) | |
7449af73 | 1076 | if (obj && PySwigObject_Check(obj)) { |
093d3ff1 RD |
1077 | const char *otype = (const char *) PySwigObject_GetDesc(obj); |
1078 | if (otype) { | |
1079 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", | |
1080 | type, otype); | |
1081 | return; | |
1082 | } | |
1083 | } else | |
1084 | #endif | |
1085 | { | |
1086 | const char *otype = (obj ? obj->ob_type->tp_name : 0); | |
1087 | if (otype) { | |
1088 | PyObject *str = PyObject_Str(obj); | |
1089 | const char *cstr = str ? PyString_AsString(str) : 0; | |
1090 | if (cstr) { | |
1091 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", | |
1092 | type, otype, cstr); | |
1093 | } else { | |
1094 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", | |
1095 | type, otype); | |
1096 | } | |
7449af73 | 1097 | Py_XDECREF(str); |
093d3ff1 RD |
1098 | return; |
1099 | } | |
1100 | } | |
1101 | PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); | |
1102 | } else { | |
1103 | PyErr_Format(PyExc_TypeError, "unexpected type is received"); | |
1104 | } | |
1105 | } | |
1106 | ||
1107 | SWIGRUNTIMEINLINE void | |
1108 | SWIG_Python_NullRef(const char *type) | |
1109 | { | |
1110 | if (type) { | |
1111 | PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type); | |
1112 | } else { | |
1113 | PyErr_Format(PyExc_TypeError, "null reference was received"); | |
1114 | } | |
1115 | } | |
1116 | ||
1117 | SWIGRUNTIME int | |
1118 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
1119 | { | |
1120 | if (PyErr_Occurred()) { | |
1121 | PyObject *type = 0; | |
1122 | PyObject *value = 0; | |
1123 | PyObject *traceback = 0; | |
1124 | PyErr_Fetch(&type, &value, &traceback); | |
1125 | if (value) { | |
1126 | PyObject *old_str = PyObject_Str(value); | |
1127 | Py_XINCREF(type); | |
1128 | PyErr_Clear(); | |
1129 | if (infront) { | |
1130 | PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); | |
1131 | } else { | |
1132 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
1133 | } | |
1134 | Py_DECREF(old_str); | |
1135 | } | |
1136 | return 1; | |
1137 | } else { | |
1138 | return 0; | |
1139 | } | |
1140 | } | |
1141 | ||
1142 | SWIGRUNTIME int | |
1143 | SWIG_Python_ArgFail(int argnum) | |
1144 | { | |
1145 | if (PyErr_Occurred()) { | |
1146 | /* add information about failing argument */ | |
1147 | char mesg[256]; | |
7449af73 | 1148 | PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); |
093d3ff1 RD |
1149 | return SWIG_Python_AddErrMesg(mesg, 1); |
1150 | } else { | |
1151 | return 0; | |
1152 | } | |
1153 | } | |
1154 | ||
1155 | ||
1156 | /* ----------------------------------------------------------------------------- | |
1157 | * pointers/data manipulation | |
1158 | * ----------------------------------------------------------------------------- */ | |
1159 | ||
1160 | /* Convert a pointer value */ | |
1161 | SWIGRUNTIME int | |
1162 | SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) { | |
7449af73 | 1163 | swig_cast_info *tc; |
093d3ff1 RD |
1164 | const char *c = 0; |
1165 | static PyObject *SWIG_this = 0; | |
1166 | int newref = 0; | |
1167 | PyObject *pyobj = 0; | |
1168 | void *vptr; | |
9d7dfdff | 1169 | |
093d3ff1 RD |
1170 | if (!obj) return 0; |
1171 | if (obj == Py_None) { | |
1172 | *ptr = 0; | |
1173 | return 0; | |
1174 | } | |
1175 | ||
1176 | #ifdef SWIG_COBJECT_TYPES | |
1177 | if (!(PySwigObject_Check(obj))) { | |
1178 | if (!SWIG_this) | |
1179 | SWIG_this = PyString_FromString("this"); | |
1180 | pyobj = obj; | |
1181 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1182 | newref = 1; | |
1183 | if (!obj) goto type_error; | |
1184 | if (!PySwigObject_Check(obj)) { | |
1185 | Py_DECREF(obj); | |
1186 | goto type_error; | |
1187 | } | |
1188 | } | |
1189 | vptr = PySwigObject_AsVoidPtr(obj); | |
1190 | c = (const char *) PySwigObject_GetDesc(obj); | |
1191 | if (newref) { Py_DECREF(obj); } | |
1192 | goto type_check; | |
1193 | #else | |
1194 | if (!(PyString_Check(obj))) { | |
1195 | if (!SWIG_this) | |
1196 | SWIG_this = PyString_FromString("this"); | |
1197 | pyobj = obj; | |
1198 | obj = PyObject_GetAttr(obj,SWIG_this); | |
1199 | newref = 1; | |
1200 | if (!obj) goto type_error; | |
1201 | if (!PyString_Check(obj)) { | |
1202 | Py_DECREF(obj); | |
1203 | goto type_error; | |
1204 | } | |
1205 | } | |
7449af73 | 1206 | c = PyString_AsString(obj); |
093d3ff1 RD |
1207 | /* Pointer values must start with leading underscore */ |
1208 | c = SWIG_UnpackVoidPtr(c, &vptr, ty->name); | |
1209 | if (newref) { Py_DECREF(obj); } | |
1210 | if (!c) goto type_error; | |
1211 | #endif | |
1212 | ||
1213 | type_check: | |
093d3ff1 RD |
1214 | if (ty) { |
1215 | tc = SWIG_TypeCheck(c,ty); | |
1216 | if (!tc) goto type_error; | |
1217 | *ptr = SWIG_TypeCast(tc,vptr); | |
1218 | } else { | |
1219 | *ptr = vptr; | |
1220 | } | |
093d3ff1 RD |
1221 | if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) { |
1222 | PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False); | |
1223 | } | |
1224 | return 0; | |
1225 | ||
1226 | type_error: | |
1227 | PyErr_Clear(); | |
1228 | if (pyobj && !obj) { | |
1229 | obj = pyobj; | |
1230 | if (PyCFunction_Check(obj)) { | |
1231 | /* here we get the method pointer for callbacks */ | |
1232 | char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); | |
1233 | c = doc ? strstr(doc, "swig_ptr: ") : 0; | |
1234 | if (c) { | |
7449af73 | 1235 | c = ty ? SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name) : 0; |
093d3ff1 RD |
1236 | if (!c) goto type_error; |
1237 | goto type_check; | |
1238 | } | |
1239 | } | |
1240 | } | |
1241 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1242 | if (ty) { | |
1243 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1244 | } else { | |
1245 | SWIG_Python_TypeError("C/C++ pointer", obj); | |
1246 | } | |
1247 | } | |
1248 | return -1; | |
1249 | } | |
1250 | ||
1251 | /* Convert a pointer value, signal an exception on a type mismatch */ | |
1252 | SWIGRUNTIME void * | |
1253 | SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { | |
1254 | void *result; | |
1255 | if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { | |
1256 | PyErr_Clear(); | |
1257 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1258 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1259 | SWIG_Python_ArgFail(argnum); | |
1260 | } | |
1261 | } | |
1262 | return result; | |
1263 | } | |
1264 | ||
1265 | /* Convert a packed value value */ | |
1266 | SWIGRUNTIME int | |
1267 | SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) { | |
7449af73 | 1268 | swig_cast_info *tc; |
093d3ff1 RD |
1269 | const char *c = 0; |
1270 | ||
1271 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) | |
1272 | c = PySwigPacked_UnpackData(obj, ptr, sz); | |
1273 | #else | |
1274 | if ((!obj) || (!PyString_Check(obj))) goto type_error; | |
7449af73 | 1275 | c = PyString_AsString(obj); |
093d3ff1 RD |
1276 | /* Pointer values must start with leading underscore */ |
1277 | c = SWIG_UnpackDataName(c, ptr, sz, ty->name); | |
1278 | #endif | |
1279 | if (!c) goto type_error; | |
1280 | if (ty) { | |
1281 | tc = SWIG_TypeCheck(c,ty); | |
1282 | if (!tc) goto type_error; | |
1283 | } | |
1284 | return 0; | |
1285 | ||
1286 | type_error: | |
1287 | PyErr_Clear(); | |
1288 | if (flags & SWIG_POINTER_EXCEPTION) { | |
1289 | if (ty) { | |
1290 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
1291 | } else { | |
1292 | SWIG_Python_TypeError("C/C++ packed data", obj); | |
1293 | } | |
1294 | } | |
1295 | return -1; | |
1296 | } | |
1297 | ||
1298 | /* Create a new array object */ | |
1299 | SWIGRUNTIME PyObject * | |
1300 | SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) { | |
1301 | PyObject *robj = 0; | |
7449af73 RD |
1302 | if (!type) { |
1303 | if (!PyErr_Occurred()) { | |
1304 | PyErr_Format(PyExc_TypeError, "Swig: null type passed to NewPointerObj"); | |
1305 | } | |
1306 | return robj; | |
1307 | } | |
093d3ff1 RD |
1308 | if (!ptr) { |
1309 | Py_INCREF(Py_None); | |
1310 | return Py_None; | |
1311 | } | |
1312 | #ifdef SWIG_COBJECT_TYPES | |
1313 | robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name); | |
1314 | #else | |
1315 | { | |
1316 | char result[SWIG_BUFFER_SIZE]; | |
1317 | robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ? | |
1318 | PyString_FromString(result) : 0; | |
1319 | } | |
1320 | #endif | |
1321 | if (!robj || (robj == Py_None)) return robj; | |
1322 | if (type->clientdata) { | |
1323 | PyObject *inst; | |
1324 | PyObject *args = Py_BuildValue((char*)"(O)", robj); | |
1325 | Py_DECREF(robj); | |
1326 | inst = PyObject_CallObject((PyObject *) type->clientdata, args); | |
1327 | Py_DECREF(args); | |
1328 | if (inst) { | |
1329 | if (own) { | |
1330 | PyObject_SetAttrString(inst,(char*)"thisown",Py_True); | |
1331 | } | |
1332 | robj = inst; | |
1333 | } | |
1334 | } | |
1335 | return robj; | |
1336 | } | |
1337 | ||
1338 | SWIGRUNTIME PyObject * | |
1339 | SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { | |
1340 | PyObject *robj = 0; | |
1341 | if (!ptr) { | |
1342 | Py_INCREF(Py_None); | |
1343 | return Py_None; | |
1344 | } | |
1345 | #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON) | |
1346 | robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name); | |
1347 | #else | |
1348 | { | |
1349 | char result[SWIG_BUFFER_SIZE]; | |
1350 | robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ? | |
1351 | PyString_FromString(result) : 0; | |
1352 | } | |
1353 | #endif | |
1354 | return robj; | |
1355 | } | |
1356 | ||
1357 | /* -----------------------------------------------------------------------------* | |
1358 | * Get type list | |
1359 | * -----------------------------------------------------------------------------*/ | |
1360 | ||
1361 | #ifdef SWIG_LINK_RUNTIME | |
1362 | void *SWIG_ReturnGlobalTypeList(void *); | |
1363 | #endif | |
1364 | ||
7449af73 RD |
1365 | SWIGRUNTIME swig_module_info * |
1366 | SWIG_Python_GetModule(void) { | |
093d3ff1 RD |
1367 | static void *type_pointer = (void *)0; |
1368 | /* first check if module already created */ | |
1369 | if (!type_pointer) { | |
1370 | #ifdef SWIG_LINK_RUNTIME | |
1371 | type_pointer = SWIG_ReturnGlobalTypeList((void *)0); | |
1372 | #else | |
1373 | type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
1374 | (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); | |
1375 | if (PyErr_Occurred()) { | |
1376 | PyErr_Clear(); | |
1377 | type_pointer = (void *)0; | |
1378 | } | |
093d3ff1 | 1379 | #endif |
7449af73 RD |
1380 | } |
1381 | return (swig_module_info *) type_pointer; | |
093d3ff1 RD |
1382 | } |
1383 | ||
7449af73 RD |
1384 | #if PY_MAJOR_VERSION < 2 |
1385 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
1386 | is copied out of Python/modsupport.c in python version 2.3.4 */ | |
1387 | SWIGINTERN int | |
1388 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
1389 | { | |
1390 | PyObject *dict; | |
1391 | if (!PyModule_Check(m)) { | |
1392 | PyErr_SetString(PyExc_TypeError, | |
1393 | "PyModule_AddObject() needs module as first arg"); | |
1394 | return -1; | |
1395 | } | |
1396 | if (!o) { | |
1397 | PyErr_SetString(PyExc_TypeError, | |
1398 | "PyModule_AddObject() needs non-NULL value"); | |
1399 | return -1; | |
1400 | } | |
1401 | ||
1402 | dict = PyModule_GetDict(m); | |
1403 | if (dict == NULL) { | |
1404 | /* Internal error -- modules must have a dict! */ | |
1405 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
1406 | PyModule_GetName(m)); | |
1407 | return -1; | |
1408 | } | |
1409 | if (PyDict_SetItemString(dict, name, o)) | |
1410 | return -1; | |
1411 | Py_DECREF(o); | |
1412 | return 0; | |
093d3ff1 | 1413 | } |
7449af73 | 1414 | #endif |
093d3ff1 | 1415 | |
7449af73 RD |
1416 | SWIGRUNTIME void |
1417 | SWIG_Python_SetModule(swig_module_info *swig_module) { | |
1418 | static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ | |
1419 | ||
1420 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
1421 | swig_empty_runtime_method_table); | |
1422 | PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, NULL); | |
1423 | if (pointer && module) { | |
1424 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
1425 | } | |
1426 | } | |
8edf1c75 | 1427 | |
8edf1c75 | 1428 | #ifdef __cplusplus |
093d3ff1 RD |
1429 | } |
1430 | #endif | |
8edf1c75 | 1431 | |
2f4c0a16 | 1432 | |
093d3ff1 | 1433 | /* -------- TYPES TABLE (BEGIN) -------- */ |
2f4c0a16 | 1434 | |
7449af73 RD |
1435 | #define SWIGTYPE_p_char swig_types[0] |
1436 | #define SWIGTYPE_p_float swig_types[1] | |
1437 | #define SWIGTYPE_p_form_ops_t swig_types[2] | |
1438 | #define SWIGTYPE_p_int swig_types[3] | |
1439 | #define SWIGTYPE_p_unsigned_char swig_types[4] | |
1440 | #define SWIGTYPE_p_unsigned_int swig_types[5] | |
1441 | #define SWIGTYPE_p_unsigned_long swig_types[6] | |
1442 | #define SWIGTYPE_p_wxANIHandler swig_types[7] | |
1443 | #define SWIGTYPE_p_wxAcceleratorTable swig_types[8] | |
1444 | #define SWIGTYPE_p_wxActivateEvent swig_types[9] | |
1445 | #define SWIGTYPE_p_wxArrayString swig_types[10] | |
1446 | #define SWIGTYPE_p_wxBMPHandler swig_types[11] | |
1447 | #define SWIGTYPE_p_wxBitmap swig_types[12] | |
1448 | #define SWIGTYPE_p_wxBitmapButton swig_types[13] | |
1449 | #define SWIGTYPE_p_wxBookCtrlBase swig_types[14] | |
1450 | #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[15] | |
1451 | #define SWIGTYPE_p_wxBoxSizer swig_types[16] | |
1452 | #define SWIGTYPE_p_wxButton swig_types[17] | |
1453 | #define SWIGTYPE_p_wxCURHandler swig_types[18] | |
1454 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[19] | |
1455 | #define SWIGTYPE_p_wxCheckBox swig_types[20] | |
1456 | #define SWIGTYPE_p_wxCheckListBox swig_types[21] | |
1457 | #define SWIGTYPE_p_wxChildFocusEvent swig_types[22] | |
1458 | #define SWIGTYPE_p_wxChoice swig_types[23] | |
1459 | #define SWIGTYPE_p_wxChoicebook swig_types[24] | |
1460 | #define SWIGTYPE_p_wxChoicebookEvent swig_types[25] | |
1461 | #define SWIGTYPE_p_wxCloseEvent swig_types[26] | |
1462 | #define SWIGTYPE_p_wxColour swig_types[27] | |
1463 | #define SWIGTYPE_p_wxColourData swig_types[28] | |
1464 | #define SWIGTYPE_p_wxColourDialog swig_types[29] | |
1465 | #define SWIGTYPE_p_wxComboBox swig_types[30] | |
1466 | #define SWIGTYPE_p_wxCommandEvent swig_types[31] | |
1467 | #define SWIGTYPE_p_wxContextHelp swig_types[32] | |
1468 | #define SWIGTYPE_p_wxContextHelpButton swig_types[33] | |
1469 | #define SWIGTYPE_p_wxContextMenuEvent swig_types[34] | |
1470 | #define SWIGTYPE_p_wxControl swig_types[35] | |
1471 | #define SWIGTYPE_p_wxControlWithItems swig_types[36] | |
1472 | #define SWIGTYPE_p_wxDateEvent swig_types[37] | |
1473 | #define SWIGTYPE_p_wxDatePickerCtrl swig_types[38] | |
1474 | #define SWIGTYPE_p_wxDialog swig_types[39] | |
1475 | #define SWIGTYPE_p_wxDirDialog swig_types[40] | |
1476 | #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[41] | |
1477 | #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[42] | |
1478 | #define SWIGTYPE_p_wxDropFilesEvent swig_types[43] | |
1479 | #define SWIGTYPE_p_wxDuplexMode swig_types[44] | |
1480 | #define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[45] | |
1481 | #define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[46] | |
1482 | #define SWIGTYPE_p_wxDynamicSashWindow swig_types[47] | |
1483 | #define SWIGTYPE_p_wxEditableListBox swig_types[48] | |
1484 | #define SWIGTYPE_p_wxEraseEvent swig_types[49] | |
1485 | #define SWIGTYPE_p_wxEvent swig_types[50] | |
1486 | #define SWIGTYPE_p_wxEvtHandler swig_types[51] | |
1487 | #define SWIGTYPE_p_wxFSFile swig_types[52] | |
1488 | #define SWIGTYPE_p_wxFileDialog swig_types[53] | |
1489 | #define SWIGTYPE_p_wxFileSystem swig_types[54] | |
1490 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[55] | |
1491 | #define SWIGTYPE_p_wxFindReplaceData swig_types[56] | |
1492 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[57] | |
1493 | #define SWIGTYPE_p_wxFlexGridSizer swig_types[58] | |
1494 | #define SWIGTYPE_p_wxFocusEvent swig_types[59] | |
1495 | #define SWIGTYPE_p_wxFont swig_types[60] | |
1496 | #define SWIGTYPE_p_wxFontData swig_types[61] | |
1497 | #define SWIGTYPE_p_wxFontDialog swig_types[62] | |
1498 | #define SWIGTYPE_p_wxFrame swig_types[63] | |
1499 | #define SWIGTYPE_p_wxGBSizerItem swig_types[64] | |
1500 | #define SWIGTYPE_p_wxGIFHandler swig_types[65] | |
1501 | #define SWIGTYPE_p_wxGauge swig_types[66] | |
1502 | #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67] | |
1503 | #define SWIGTYPE_p_wxGenericDragImage swig_types[68] | |
1504 | #define SWIGTYPE_p_wxGridBagSizer swig_types[69] | |
1505 | #define SWIGTYPE_p_wxGridSizer swig_types[70] | |
1506 | #define SWIGTYPE_p_wxHelpEvent swig_types[71] | |
1507 | #define SWIGTYPE_p_wxICOHandler swig_types[72] | |
1508 | #define SWIGTYPE_p_wxIcon swig_types[73] | |
1509 | #define SWIGTYPE_p_wxIconizeEvent swig_types[74] | |
1510 | #define SWIGTYPE_p_wxIdleEvent swig_types[75] | |
1511 | #define SWIGTYPE_p_wxImage swig_types[76] | |
1512 | #define SWIGTYPE_p_wxImageHandler swig_types[77] | |
1513 | #define SWIGTYPE_p_wxImageList swig_types[78] | |
1514 | #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[79] | |
1515 | #define SWIGTYPE_p_wxInitDialogEvent swig_types[80] | |
1516 | #define SWIGTYPE_p_wxJPEGHandler swig_types[81] | |
1517 | #define SWIGTYPE_p_wxKeyEvent swig_types[82] | |
1518 | #define SWIGTYPE_p_wxLEDNumberCtrl swig_types[83] | |
1519 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[84] | |
1520 | #define SWIGTYPE_p_wxLayoutConstraints swig_types[85] | |
1521 | #define SWIGTYPE_p_wxListBox swig_types[86] | |
1522 | #define SWIGTYPE_p_wxListEvent swig_types[87] | |
1523 | #define SWIGTYPE_p_wxListItem swig_types[88] | |
1524 | #define SWIGTYPE_p_wxListView swig_types[89] | |
1525 | #define SWIGTYPE_p_wxListbook swig_types[90] | |
1526 | #define SWIGTYPE_p_wxListbookEvent swig_types[91] | |
1527 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[92] | |
1528 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[93] | |
1529 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[94] | |
1530 | #define SWIGTYPE_p_wxMaximizeEvent swig_types[95] | |
1531 | #define SWIGTYPE_p_wxMenu swig_types[96] | |
1532 | #define SWIGTYPE_p_wxMenuBar swig_types[97] | |
1533 | #define SWIGTYPE_p_wxMenuEvent swig_types[98] | |
1534 | #define SWIGTYPE_p_wxMenuItem swig_types[99] | |
1535 | #define SWIGTYPE_p_wxMessageDialog swig_types[100] | |
1536 | #define SWIGTYPE_p_wxMiniFrame swig_types[101] | |
1537 | #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[102] | |
1538 | #define SWIGTYPE_p_wxMouseEvent swig_types[103] | |
1539 | #define SWIGTYPE_p_wxMoveEvent swig_types[104] | |
1540 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[105] | |
1541 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[106] | |
1542 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[107] | |
1543 | #define SWIGTYPE_p_wxNotebook swig_types[108] | |
1544 | #define SWIGTYPE_p_wxNotebookEvent swig_types[109] | |
1545 | #define SWIGTYPE_p_wxNotifyEvent swig_types[110] | |
1546 | #define SWIGTYPE_p_wxObject swig_types[111] | |
1547 | #define SWIGTYPE_p_wxPCXHandler swig_types[112] | |
1548 | #define SWIGTYPE_p_wxPNGHandler swig_types[113] | |
1549 | #define SWIGTYPE_p_wxPNMHandler swig_types[114] | |
1550 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[115] | |
1551 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[116] | |
1552 | #define SWIGTYPE_p_wxPaintEvent swig_types[117] | |
1553 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[118] | |
1554 | #define SWIGTYPE_p_wxPanel swig_types[119] | |
1555 | #define SWIGTYPE_p_wxPaperSize swig_types[120] | |
1556 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[121] | |
1557 | #define SWIGTYPE_p_wxPopupWindow swig_types[122] | |
1558 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[123] | |
1559 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[124] | |
1560 | #define SWIGTYPE_p_wxPreviewFrame swig_types[125] | |
1561 | #define SWIGTYPE_p_wxPrintData swig_types[126] | |
1562 | #define SWIGTYPE_p_wxPrintDialog swig_types[127] | |
1563 | #define SWIGTYPE_p_wxPrintDialogData swig_types[128] | |
1564 | #define SWIGTYPE_p_wxPrintPreview swig_types[129] | |
1565 | #define SWIGTYPE_p_wxPrinter swig_types[130] | |
1566 | #define SWIGTYPE_p_wxProgressDialog swig_types[131] | |
1567 | #define SWIGTYPE_p_wxPyApp swig_types[132] | |
1568 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[133] | |
1569 | #define SWIGTYPE_p_wxPyControl swig_types[134] | |
1570 | #define SWIGTYPE_p_wxPyEvent swig_types[135] | |
1571 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[136] | |
1572 | #define SWIGTYPE_p_wxPyImageHandler swig_types[137] | |
1573 | #define SWIGTYPE_p_wxPyListCtrl swig_types[138] | |
1574 | #define SWIGTYPE_p_wxPyPanel swig_types[139] | |
1575 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[140] | |
1576 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[141] | |
1577 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[142] | |
1578 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[143] | |
1579 | #define SWIGTYPE_p_wxPyPrintout swig_types[144] | |
1580 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[145] | |
1581 | #define SWIGTYPE_p_wxPySizer swig_types[146] | |
1582 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[147] | |
1583 | #define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[148] | |
1584 | #define SWIGTYPE_p_wxPyTreeCtrl swig_types[149] | |
1585 | #define SWIGTYPE_p_wxPyTreeItemData swig_types[150] | |
1586 | #define SWIGTYPE_p_wxPyTreeListCtrl swig_types[151] | |
1587 | #define SWIGTYPE_p_wxPyVListBox swig_types[152] | |
1588 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[153] | |
1589 | #define SWIGTYPE_p_wxPyValidator swig_types[154] | |
1590 | #define SWIGTYPE_p_wxPyWindow swig_types[155] | |
1591 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[156] | |
1592 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[157] | |
1593 | #define SWIGTYPE_p_wxRadioBox swig_types[158] | |
1594 | #define SWIGTYPE_p_wxRadioButton swig_types[159] | |
1595 | #define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[160] | |
1596 | #define SWIGTYPE_p_wxSashEvent swig_types[161] | |
1597 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[162] | |
1598 | #define SWIGTYPE_p_wxSashWindow swig_types[163] | |
1599 | #define SWIGTYPE_p_wxScrollBar swig_types[164] | |
1600 | #define SWIGTYPE_p_wxScrollEvent swig_types[165] | |
1601 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[166] | |
1602 | #define SWIGTYPE_p_wxScrolledWindow swig_types[167] | |
1603 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[168] | |
1604 | #define SWIGTYPE_p_wxShowEvent swig_types[169] | |
1605 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[170] | |
1606 | #define SWIGTYPE_p_wxSizeEvent swig_types[171] | |
1607 | #define SWIGTYPE_p_wxSizer swig_types[172] | |
1608 | #define SWIGTYPE_p_wxSizerItem swig_types[173] | |
1609 | #define SWIGTYPE_p_wxSlider swig_types[174] | |
1610 | #define SWIGTYPE_p_wxSpinButton swig_types[175] | |
1611 | #define SWIGTYPE_p_wxSpinCtrl swig_types[176] | |
1612 | #define SWIGTYPE_p_wxSpinEvent swig_types[177] | |
1613 | #define SWIGTYPE_p_wxSplashScreen swig_types[178] | |
1614 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[179] | |
1615 | #define SWIGTYPE_p_wxSplitterEvent swig_types[180] | |
1616 | #define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[181] | |
1617 | #define SWIGTYPE_p_wxSplitterWindow swig_types[182] | |
1618 | #define SWIGTYPE_p_wxStaticBitmap swig_types[183] | |
1619 | #define SWIGTYPE_p_wxStaticBox swig_types[184] | |
1620 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[185] | |
1621 | #define SWIGTYPE_p_wxStaticLine swig_types[186] | |
1622 | #define SWIGTYPE_p_wxStaticPicture swig_types[187] | |
1623 | #define SWIGTYPE_p_wxStaticText swig_types[188] | |
1624 | #define SWIGTYPE_p_wxStatusBar swig_types[189] | |
1625 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[190] | |
1626 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[191] | |
1627 | #define SWIGTYPE_p_wxTIFFHandler swig_types[192] | |
1628 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[193] | |
1629 | #define SWIGTYPE_p_wxTextCtrl swig_types[194] | |
1630 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[195] | |
1631 | #define SWIGTYPE_p_wxTextUrlEvent swig_types[196] | |
1632 | #define SWIGTYPE_p_wxThinSplitterWindow swig_types[197] | |
1633 | #define SWIGTYPE_p_wxTipWindow swig_types[198] | |
1634 | #define SWIGTYPE_p_wxToggleButton swig_types[199] | |
1635 | #define SWIGTYPE_p_wxToolBar swig_types[200] | |
1636 | #define SWIGTYPE_p_wxToolBarBase swig_types[201] | |
1637 | #define SWIGTYPE_p_wxToolBarToolBase swig_types[202] | |
7e08d4ef RD |
1638 | #define SWIGTYPE_p_wxToolbook swig_types[203] |
1639 | #define SWIGTYPE_p_wxToolbookEvent swig_types[204] | |
1640 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[205] | |
1641 | #define SWIGTYPE_p_wxTreeEvent swig_types[206] | |
1642 | #define SWIGTYPE_p_wxTreeItemId swig_types[207] | |
1643 | #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[208] | |
1644 | #define SWIGTYPE_p_wxTreebook swig_types[209] | |
1645 | #define SWIGTYPE_p_wxTreebookEvent swig_types[210] | |
1646 | #define SWIGTYPE_p_wxUpdateUIEvent swig_types[211] | |
1647 | #define SWIGTYPE_p_wxValidator swig_types[212] | |
1648 | #define SWIGTYPE_p_wxWindow swig_types[213] | |
1649 | #define SWIGTYPE_p_wxWindowCreateEvent swig_types[214] | |
1650 | #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[215] | |
1651 | #define SWIGTYPE_p_wxXPMHandler swig_types[216] | |
1652 | #define SWIGTYPE_ptrdiff_t swig_types[217] | |
1653 | #define SWIGTYPE_std__ptrdiff_t swig_types[218] | |
1654 | #define SWIGTYPE_unsigned_int swig_types[219] | |
1655 | static swig_type_info *swig_types[221]; | |
1656 | static swig_module_info swig_module = {swig_types, 220, 0, 0, 0, 0}; | |
7449af73 RD |
1657 | #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) |
1658 | #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) | |
8edf1c75 | 1659 | |
093d3ff1 | 1660 | /* -------- TYPES TABLE (END) -------- */ |
8edf1c75 | 1661 | |
8edf1c75 | 1662 | |
093d3ff1 RD |
1663 | /*----------------------------------------------- |
1664 | @(target):= _gizmos.so | |
1665 | ------------------------------------------------*/ | |
1666 | #define SWIG_init init_gizmos | |
1667 | ||
1668 | #define SWIG_name "_gizmos" | |
8edf1c75 | 1669 | |
44127b65 RD |
1670 | #include "wx/wxPython/wxPython.h" |
1671 | #include "wx/wxPython/pyclasses.h" | |
629f3c1b | 1672 | |
44127b65 RD |
1673 | #include <wx/gizmos/dynamicsash.h> |
1674 | #include <wx/gizmos/editlbox.h> | |
1675 | #include <wx/gizmos/splittree.h> | |
1676 | #include <wx/gizmos/ledctrl.h> | |
6260902d | 1677 | #include <wx/gizmos/statpict.h> |
44127b65 RD |
1678 | |
1679 | #include <wx/listctrl.h> | |
1680 | #include <wx/treectrl.h> | |
1681 | #include <wx/imaglist.h> | |
629f3c1b RD |
1682 | |
1683 | #include "wx/treelistctrl.h" | |
44127b65 RD |
1684 | #include "wx/wxPython/pytree.h" |
1685 | ||
44127b65 | 1686 | |
d03fd34d RD |
1687 | static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow")); |
1688 | static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox")); | |
1689 | static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl")); | |
6260902d | 1690 | static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr); |
d03fd34d | 1691 | static const wxString wxPyEmptyString(wxEmptyString); |
8edf1c75 | 1692 | |
7e08d4ef | 1693 | /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/ |
093d3ff1 RD |
1694 | #define SWIG_From_int PyInt_FromLong |
1695 | /*@@*/ | |
1696 | ||
1697 | ||
2f4c0a16 RD |
1698 | #include <limits.h> |
1699 | ||
1700 | ||
093d3ff1 | 1701 | SWIGINTERN int |
c32bde28 RD |
1702 | SWIG_CheckLongInRange(long value, long min_value, long max_value, |
1703 | const char *errmsg) | |
2f4c0a16 | 1704 | { |
c32bde28 RD |
1705 | if (value < min_value) { |
1706 | if (errmsg) { | |
1707 | PyErr_Format(PyExc_OverflowError, | |
1708 | "value %ld is less than '%s' minimum %ld", | |
1709 | value, errmsg, min_value); | |
1710 | } | |
1711 | return 0; | |
1712 | } else if (value > max_value) { | |
1713 | if (errmsg) { | |
1714 | PyErr_Format(PyExc_OverflowError, | |
1715 | "value %ld is greater than '%s' maximum %ld", | |
1716 | value, errmsg, max_value); | |
2f4c0a16 | 1717 | } |
c32bde28 | 1718 | return 0; |
2f4c0a16 | 1719 | } |
c32bde28 | 1720 | return 1; |
2f4c0a16 RD |
1721 | } |
1722 | ||
1723 | ||
093d3ff1 | 1724 | SWIGINTERN int |
c32bde28 | 1725 | SWIG_AsVal_long(PyObject* obj, long* val) |
2f4c0a16 | 1726 | { |
c32bde28 RD |
1727 | if (PyNumber_Check(obj)) { |
1728 | if (val) *val = PyInt_AsLong(obj); | |
1729 | return 1; | |
1730 | } | |
69223c70 | 1731 | else { |
7e08d4ef | 1732 | SWIG_Python_TypeError("number", obj); |
69223c70 | 1733 | } |
c32bde28 | 1734 | return 0; |
2f4c0a16 RD |
1735 | } |
1736 | ||
1737 | ||
1738 | #if INT_MAX != LONG_MAX | |
093d3ff1 | 1739 | SWIGINTERN int |
c32bde28 | 1740 | SWIG_AsVal_int(PyObject *obj, int *val) |
8edf1c75 | 1741 | { |
093d3ff1 | 1742 | const char* errmsg = val ? "int" : (char*)0; |
c32bde28 RD |
1743 | long v; |
1744 | if (SWIG_AsVal_long(obj, &v)) { | |
1745 | if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) { | |
7449af73 | 1746 | if (val) *val = static_cast<int >(v); |
c32bde28 RD |
1747 | return 1; |
1748 | } else { | |
1749 | return 0; | |
1750 | } | |
1751 | } else { | |
1752 | PyErr_Clear(); | |
1753 | } | |
1754 | if (val) { | |
093d3ff1 | 1755 | SWIG_type_error(errmsg, obj); |
c32bde28 RD |
1756 | } |
1757 | return 0; | |
8edf1c75 | 1758 | } |
2f4c0a16 | 1759 | #else |
7449af73 | 1760 | SWIGINTERNINLINE int |
c32bde28 RD |
1761 | SWIG_AsVal_int(PyObject *obj, int *val) |
1762 | { | |
1763 | return SWIG_AsVal_long(obj,(long*)val); | |
1764 | } | |
2f4c0a16 | 1765 | #endif |
8edf1c75 RD |
1766 | |
1767 | ||
7449af73 | 1768 | SWIGINTERNINLINE int |
c32bde28 | 1769 | SWIG_As_int(PyObject* obj) |
8edf1c75 | 1770 | { |
c32bde28 RD |
1771 | int v; |
1772 | if (!SWIG_AsVal_int(obj, &v)) { | |
1773 | /* | |
093d3ff1 | 1774 | this is needed to make valgrind/purify happier. |
c32bde28 RD |
1775 | */ |
1776 | memset((void*)&v, 0, sizeof(int)); | |
2f4c0a16 | 1777 | } |
c32bde28 | 1778 | return v; |
2f4c0a16 RD |
1779 | } |
1780 | ||
1781 | ||
7449af73 | 1782 | SWIGINTERNINLINE long |
c32bde28 | 1783 | SWIG_As_long(PyObject* obj) |
2f4c0a16 | 1784 | { |
c32bde28 RD |
1785 | long v; |
1786 | if (!SWIG_AsVal_long(obj, &v)) { | |
1787 | /* | |
093d3ff1 | 1788 | this is needed to make valgrind/purify happier. |
c32bde28 RD |
1789 | */ |
1790 | memset((void*)&v, 0, sizeof(long)); | |
2f4c0a16 | 1791 | } |
c32bde28 RD |
1792 | return v; |
1793 | } | |
1794 | ||
1795 | ||
7449af73 | 1796 | SWIGINTERNINLINE int |
c32bde28 RD |
1797 | SWIG_Check_int(PyObject* obj) |
1798 | { | |
1799 | return SWIG_AsVal_int(obj, (int*)0); | |
1800 | } | |
1801 | ||
1802 | ||
7449af73 | 1803 | SWIGINTERNINLINE int |
c32bde28 RD |
1804 | SWIG_Check_long(PyObject* obj) |
1805 | { | |
1806 | return SWIG_AsVal_long(obj, (long*)0); | |
8edf1c75 RD |
1807 | } |
1808 | ||
093d3ff1 | 1809 | static PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){ |
44127b65 RD |
1810 | wxArrayString strings; |
1811 | self->GetStrings(strings); | |
1812 | return wxArrayString2PyList_helper(strings); | |
1813 | } | |
1814 | ||
1815 | typedef wxTreeCtrl wxPyTreeCtrl; | |
1816 | ||
1817 | ||
1818 | class wxPyTreeCompanionWindow: public wxTreeCompanionWindow | |
1819 | { | |
1820 | public: | |
1821 | wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1, | |
1822 | const wxPoint& pos = wxDefaultPosition, | |
1823 | const wxSize& size = wxDefaultSize, | |
1824 | long style = 0) | |
1825 | : wxTreeCompanionWindow(parent, id, pos, size, style) {} | |
1826 | ||
1827 | ||
1828 | virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) { | |
1829 | bool found; | |
6e6b3557 | 1830 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
44127b65 | 1831 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) { |
412d302d | 1832 | PyObject* dcobj = wxPyMake_wxObject(&dc,false); |
ae8162c8 RD |
1833 | PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false); |
1834 | PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false); | |
44127b65 RD |
1835 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj)); |
1836 | Py_DECREF(dcobj); | |
1837 | Py_DECREF(idobj); | |
1838 | Py_DECREF(recobj); | |
1839 | } | |
4f89f6a3 | 1840 | wxPyEndBlockThreads(blocked); |
44127b65 RD |
1841 | if (! found) |
1842 | wxTreeCompanionWindow::DrawItem(dc, id, rect); | |
1843 | } | |
1844 | ||
1845 | PYPRIVATE; | |
1846 | }; | |
1847 | ||
8edf1c75 | 1848 | |
093d3ff1 | 1849 | SWIGINTERN int |
c32bde28 RD |
1850 | SWIG_AsVal_bool(PyObject *obj, bool *val) |
1851 | { | |
c32bde28 RD |
1852 | if (obj == Py_True) { |
1853 | if (val) *val = true; | |
1854 | return 1; | |
1855 | } | |
1856 | if (obj == Py_False) { | |
1857 | if (val) *val = false; | |
1858 | return 1; | |
1859 | } | |
1860 | int res = 0; | |
1861 | if (SWIG_AsVal_int(obj, &res)) { | |
093d3ff1 | 1862 | if (val) *val = res ? true : false; |
c32bde28 | 1863 | return 1; |
093d3ff1 RD |
1864 | } else { |
1865 | PyErr_Clear(); | |
1866 | } | |
c32bde28 | 1867 | if (val) { |
093d3ff1 | 1868 | SWIG_type_error("bool", obj); |
c32bde28 RD |
1869 | } |
1870 | return 0; | |
1871 | } | |
1872 | ||
1873 | ||
7449af73 | 1874 | SWIGINTERNINLINE bool |
c32bde28 | 1875 | SWIG_As_bool(PyObject* obj) |
8edf1c75 | 1876 | { |
c32bde28 RD |
1877 | bool v; |
1878 | if (!SWIG_AsVal_bool(obj, &v)) { | |
1879 | /* | |
093d3ff1 | 1880 | this is needed to make valgrind/purify happier. |
c32bde28 RD |
1881 | */ |
1882 | memset((void*)&v, 0, sizeof(bool)); | |
1883 | } | |
1884 | return v; | |
8edf1c75 RD |
1885 | } |
1886 | ||
c32bde28 | 1887 | |
7449af73 | 1888 | SWIGINTERNINLINE int |
c32bde28 RD |
1889 | SWIG_Check_bool(PyObject* obj) |
1890 | { | |
1891 | return SWIG_AsVal_bool(obj, (bool*)0); | |
1892 | } | |
8edf1c75 | 1893 | |
c32bde28 | 1894 | |
093d3ff1 | 1895 | SWIGINTERN int |
c32bde28 | 1896 | SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val) |
2f4c0a16 | 1897 | { |
c32bde28 RD |
1898 | long v = 0; |
1899 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
7e08d4ef | 1900 | SWIG_Python_TypeError("unsigned number", obj); |
c32bde28 RD |
1901 | } |
1902 | else if (val) | |
1903 | *val = (unsigned long)v; | |
2f4c0a16 | 1904 | return 1; |
2f4c0a16 RD |
1905 | } |
1906 | ||
1907 | ||
7449af73 | 1908 | SWIGINTERNINLINE unsigned long |
c32bde28 | 1909 | SWIG_As_unsigned_SS_long(PyObject* obj) |
8edf1c75 | 1910 | { |
c32bde28 RD |
1911 | unsigned long v; |
1912 | if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) { | |
1913 | /* | |
093d3ff1 | 1914 | this is needed to make valgrind/purify happier. |
c32bde28 RD |
1915 | */ |
1916 | memset((void*)&v, 0, sizeof(unsigned long)); | |
2f4c0a16 | 1917 | } |
c32bde28 | 1918 | return v; |
2f4c0a16 RD |
1919 | } |
1920 | ||
c32bde28 | 1921 | |
7449af73 | 1922 | SWIGINTERNINLINE int |
c32bde28 | 1923 | SWIG_Check_unsigned_SS_long(PyObject* obj) |
2f4c0a16 | 1924 | { |
c32bde28 | 1925 | return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0); |
2f4c0a16 RD |
1926 | } |
1927 | ||
1928 | ||
7449af73 | 1929 | SWIGINTERNINLINE PyObject* |
c32bde28 | 1930 | SWIG_From_unsigned_SS_long(unsigned long value) |
2f4c0a16 RD |
1931 | { |
1932 | return (value > LONG_MAX) ? | |
1933 | PyLong_FromUnsignedLong(value) | |
7449af73 | 1934 | : PyInt_FromLong(static_cast<long >(value)); |
8edf1c75 RD |
1935 | } |
1936 | ||
44127b65 RD |
1937 | // C++ version of Python aware control |
1938 | class wxPyTreeListCtrl : public wxTreeListCtrl { | |
1939 | DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl); | |
1940 | public: | |
1941 | wxPyTreeListCtrl() : wxTreeListCtrl() {} | |
1942 | wxPyTreeListCtrl(wxWindow *parent, wxWindowID id, | |
1943 | const wxPoint& pos, | |
1944 | const wxSize& size, | |
1945 | long style, | |
1946 | const wxValidator &validator, | |
1947 | const wxString& name) : | |
1948 | wxTreeListCtrl(parent, id, pos, size, style, validator, name) {} | |
1949 | ||
1950 | int OnCompareItems(const wxTreeItemId& item1, | |
1951 | const wxTreeItemId& item2) { | |
1952 | int rval = 0; | |
1953 | bool found; | |
6e6b3557 | 1954 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
44127b65 RD |
1955 | if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) { |
1956 | PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0); | |
1957 | PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0); | |
1958 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2)); | |
1959 | Py_DECREF(o1); | |
1960 | Py_DECREF(o2); | |
1961 | } | |
4f89f6a3 | 1962 | wxPyEndBlockThreads(blocked); |
44127b65 RD |
1963 | if (! found) |
1964 | rval = wxTreeListCtrl::OnCompareItems(item1, item2); | |
1965 | return rval; | |
1966 | } | |
1967 | PYPRIVATE; | |
1968 | }; | |
1969 | ||
1970 | IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl) | |
1971 | ||
1972 | ||
8edf1c75 | 1973 | |
7e08d4ef | 1974 | /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/ |
093d3ff1 RD |
1975 | #define SWIG_From_long PyInt_FromLong |
1976 | /*@@*/ | |
1977 | ||
1978 | ||
2f4c0a16 | 1979 | #if UINT_MAX < LONG_MAX |
7e08d4ef | 1980 | /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/ |
c32bde28 RD |
1981 | #define SWIG_From_unsigned_SS_int SWIG_From_long |
1982 | /*@@*/ | |
2f4c0a16 | 1983 | #else |
7e08d4ef | 1984 | /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/ |
c32bde28 RD |
1985 | #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long |
1986 | /*@@*/ | |
2f4c0a16 RD |
1987 | #endif |
1988 | ||
1989 | ||
7449af73 | 1990 | SWIGINTERNINLINE int |
c32bde28 RD |
1991 | SWIG_CheckUnsignedLongInRange(unsigned long value, |
1992 | unsigned long max_value, | |
1993 | const char *errmsg) | |
2f4c0a16 | 1994 | { |
c32bde28 RD |
1995 | if (value > max_value) { |
1996 | if (errmsg) { | |
1997 | PyErr_Format(PyExc_OverflowError, | |
093d3ff1 | 1998 | "value %lu is greater than '%s' minimum %lu", |
c32bde28 | 1999 | value, errmsg, max_value); |
2f4c0a16 | 2000 | } |
c32bde28 | 2001 | return 0; |
2f4c0a16 | 2002 | } |
c32bde28 RD |
2003 | return 1; |
2004 | } | |
8edf1c75 RD |
2005 | |
2006 | ||
2f4c0a16 | 2007 | #if UINT_MAX != ULONG_MAX |
093d3ff1 | 2008 | SWIGINTERN int |
c32bde28 | 2009 | SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) |
8edf1c75 | 2010 | { |
093d3ff1 | 2011 | const char* errmsg = val ? "unsigned int" : (char*)0; |
c32bde28 RD |
2012 | unsigned long v; |
2013 | if (SWIG_AsVal_unsigned_SS_long(obj, &v)) { | |
2014 | if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) { | |
7449af73 | 2015 | if (val) *val = static_cast<unsigned int >(v); |
c32bde28 RD |
2016 | return 1; |
2017 | } | |
2018 | } else { | |
2019 | PyErr_Clear(); | |
2020 | } | |
2021 | if (val) { | |
093d3ff1 | 2022 | SWIG_type_error(errmsg, obj); |
c32bde28 RD |
2023 | } |
2024 | return 0; | |
2f4c0a16 RD |
2025 | } |
2026 | #else | |
7449af73 | 2027 | SWIGINTERNINLINE unsigned int |
c32bde28 RD |
2028 | SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val) |
2029 | { | |
2030 | return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val); | |
2031 | } | |
2f4c0a16 RD |
2032 | #endif |
2033 | ||
2034 | ||
7449af73 | 2035 | SWIGINTERNINLINE unsigned int |
c32bde28 | 2036 | SWIG_As_unsigned_SS_int(PyObject* obj) |
2f4c0a16 | 2037 | { |
c32bde28 RD |
2038 | unsigned int v; |
2039 | if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) { | |
2040 | /* | |
093d3ff1 | 2041 | this is needed to make valgrind/purify happier. |
c32bde28 RD |
2042 | */ |
2043 | memset((void*)&v, 0, sizeof(unsigned int)); | |
2f4c0a16 | 2044 | } |
c32bde28 RD |
2045 | return v; |
2046 | } | |
2047 | ||
2048 | ||
7449af73 | 2049 | SWIGINTERNINLINE int |
c32bde28 RD |
2050 | SWIG_Check_unsigned_SS_int(PyObject* obj) |
2051 | { | |
2052 | return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0); | |
8edf1c75 RD |
2053 | } |
2054 | ||
093d3ff1 | 2055 | static wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){ |
44127b65 RD |
2056 | if (column < 0) column = self->GetMainColumn(); |
2057 | return self->GetItemText(item, column); | |
2058 | } | |
093d3ff1 | 2059 | static int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){ |
44127b65 RD |
2060 | if (column < 0) column = self->GetMainColumn(); |
2061 | return self->GetItemImage(item, column, which); | |
2062 | } | |
093d3ff1 | 2063 | static void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){ |
44127b65 RD |
2064 | if (column < 0) column = self->GetMainColumn(); |
2065 | self->SetItemText(item, column, text); | |
2066 | } | |
093d3ff1 | 2067 | static void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){ |
44127b65 RD |
2068 | if (column < 0) column = self->GetMainColumn(); |
2069 | self->SetItemImage(item, column, image, which); | |
2070 | } | |
093d3ff1 | 2071 | static wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){ |
44127b65 RD |
2072 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); |
2073 | if (data == NULL) { | |
2074 | data = new wxPyTreeItemData(); | |
2075 | data->SetId(item); // set the id | |
2076 | self->SetItemData(item, data); | |
2077 | } | |
2078 | return data; | |
2079 | } | |
093d3ff1 | 2080 | static void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){ |
44127b65 RD |
2081 | data->SetId(item); // set the id |
2082 | self->SetItemData(item, data); | |
2083 | } | |
093d3ff1 | 2084 | static PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){ |
44127b65 RD |
2085 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); |
2086 | if (data == NULL) { | |
2087 | data = new wxPyTreeItemData(); | |
2088 | data->SetId(item); // set the id | |
2089 | self->SetItemData(item, data); | |
2090 | } | |
2091 | return data->GetData(); | |
2092 | } | |
093d3ff1 | 2093 | static void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){ |
44127b65 RD |
2094 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); |
2095 | if (data == NULL) { | |
2096 | data = new wxPyTreeItemData(obj); | |
2097 | data->SetId(item); // set the id | |
2098 | self->SetItemData(item, data); | |
2099 | } else | |
2100 | data->SetData(obj); | |
2101 | } | |
093d3ff1 | 2102 | static PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){ |
6e6b3557 | 2103 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
44127b65 RD |
2104 | PyObject* rval = PyList_New(0); |
2105 | wxArrayTreeItemIds array; | |
2106 | size_t num, x; | |
2107 | num = self->GetSelections(array); | |
2108 | for (x=0; x < num; x++) { | |
2109 | wxTreeItemId *tii = new wxTreeItemId(array.Item(x)); | |
ae8162c8 | 2110 | PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true); |
44127b65 RD |
2111 | PyList_Append(rval, item); |
2112 | } | |
4f89f6a3 | 2113 | wxPyEndBlockThreads(blocked); |
44127b65 RD |
2114 | return rval; |
2115 | } | |
093d3ff1 | 2116 | static PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){ |
629f3c1b | 2117 | void* cookie = 0; |
a2482628 | 2118 | wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie)); |
6e6b3557 | 2119 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
44127b65 | 2120 | PyObject* tup = PyTuple_New(2); |
ae8162c8 | 2121 | PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true)); |
629f3c1b | 2122 | PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void"))); |
4f89f6a3 | 2123 | wxPyEndBlockThreads(blocked); |
44127b65 RD |
2124 | return tup; |
2125 | } | |
093d3ff1 | 2126 | static PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){ |
a2482628 | 2127 | wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie)); |
6e6b3557 | 2128 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
44127b65 | 2129 | PyObject* tup = PyTuple_New(2); |
ae8162c8 | 2130 | PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true)); |
629f3c1b | 2131 | PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void"))); |
4f89f6a3 | 2132 | wxPyEndBlockThreads(blocked); |
44127b65 RD |
2133 | return tup; |
2134 | } | |
2135 | ||
7e08d4ef RD |
2136 | static PyObject* t_output_helper(PyObject* result, PyObject* obj) |
2137 | { | |
2138 | PyObject* o2; | |
2139 | PyObject* o3; | |
2140 | if (!result) { | |
2141 | result = obj; | |
2142 | } else if (result == Py_None) { | |
2143 | Py_DECREF(result); | |
2144 | result = obj; | |
2145 | } else { | |
2146 | if (!PyTuple_Check(result)) { | |
2147 | o2 = result; | |
2148 | result = PyTuple_New(1); | |
2149 | PyTuple_SET_ITEM(result, 0, o2); | |
2150 | } | |
2151 | o3 = PyTuple_New(1); | |
2152 | PyTuple_SetItem(o3, 0, obj); | |
2153 | o2 = result; | |
2154 | result = PySequence_Concat(o2, o3); | |
2155 | Py_DECREF(o2); | |
2156 | Py_DECREF(o3); | |
2157 | } | |
2158 | return result; | |
2159 | } | |
44127b65 | 2160 | |
c32bde28 | 2161 | |
093d3ff1 | 2162 | static PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){ |
44127b65 RD |
2163 | wxRect rect; |
2164 | if (self->GetBoundingRect(item, rect, textOnly)) { | |
6e6b3557 | 2165 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
44127b65 RD |
2166 | wxRect* r = new wxRect(rect); |
2167 | PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1); | |
4f89f6a3 | 2168 | wxPyEndBlockThreads(blocked); |
44127b65 RD |
2169 | return val; |
2170 | } | |
2171 | else { | |
2172 | RETURN_NONE(); | |
2173 | } | |
2174 | } | |
6260902d RD |
2175 | |
2176 | #include <float.h> | |
2177 | SWIGINTERN int | |
2178 | SWIG_CheckDoubleInRange(double value, double min_value, | |
2179 | double max_value, const char* errmsg) | |
2180 | { | |
2181 | if (value < min_value) { | |
2182 | if (errmsg) { | |
2183 | PyErr_Format(PyExc_OverflowError, | |
2184 | "value %g is less than %s minimum %g", | |
2185 | value, errmsg, min_value); | |
2186 | } | |
2187 | return 0; | |
2188 | } else if (value > max_value) { | |
2189 | if (errmsg) { | |
2190 | PyErr_Format(PyExc_OverflowError, | |
2191 | "value %g is greater than %s maximum %g", | |
2192 | value, errmsg, max_value); | |
2193 | } | |
2194 | return 0; | |
2195 | } | |
2196 | return 1; | |
2197 | } | |
2198 | ||
2199 | ||
2200 | SWIGINTERN int | |
2201 | SWIG_AsVal_double(PyObject *obj, double* val) | |
2202 | { | |
2203 | if (PyNumber_Check(obj)) { | |
2204 | if (val) *val = PyFloat_AsDouble(obj); | |
2205 | return 1; | |
2206 | } | |
2207 | else { | |
7e08d4ef | 2208 | SWIG_Python_TypeError("number", obj); |
6260902d RD |
2209 | } |
2210 | return 0; | |
2211 | } | |
2212 | ||
2213 | ||
2214 | SWIGINTERN int | |
2215 | SWIG_AsVal_float(PyObject *obj, float *val) | |
2216 | { | |
2217 | const char* errmsg = val ? "float" : (char*)0; | |
2218 | double v; | |
2219 | if (SWIG_AsVal_double(obj, &v)) { | |
2220 | if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) { | |
7449af73 | 2221 | if (val) *val = static_cast<float >(v); |
6260902d RD |
2222 | return 1; |
2223 | } else { | |
2224 | return 0; | |
2225 | } | |
2226 | } else { | |
2227 | PyErr_Clear(); | |
2228 | } | |
2229 | if (val) { | |
2230 | SWIG_type_error(errmsg, obj); | |
2231 | } | |
2232 | return 0; | |
2233 | } | |
2234 | ||
2235 | ||
7449af73 | 2236 | SWIGINTERNINLINE float |
6260902d RD |
2237 | SWIG_As_float(PyObject* obj) |
2238 | { | |
2239 | float v; | |
2240 | if (!SWIG_AsVal_float(obj, &v)) { | |
2241 | /* | |
2242 | this is needed to make valgrind/purify happier. | |
2243 | */ | |
2244 | memset((void*)&v, 0, sizeof(float)); | |
2245 | } | |
2246 | return v; | |
2247 | } | |
2248 | ||
2249 | ||
7449af73 | 2250 | SWIGINTERNINLINE int |
6260902d RD |
2251 | SWIG_Check_float(PyObject* obj) |
2252 | { | |
2253 | return SWIG_AsVal_float(obj, (float*)0); | |
2254 | } | |
2255 | ||
2256 | ||
7e08d4ef | 2257 | /*@c:\\PROJECTS\\SWIG-1.3.27\\Lib\\python\\pymacros.swg,72,SWIG_define@*/ |
6260902d RD |
2258 | #define SWIG_From_float PyFloat_FromDouble |
2259 | /*@@*/ | |
2260 | ||
2261 | ||
44127b65 RD |
2262 | #ifdef __cplusplus |
2263 | extern "C" { | |
2264 | #endif | |
c32bde28 | 2265 | static int _wrap_DynamicSashNameStr_set(PyObject *) { |
d03fd34d RD |
2266 | PyErr_SetString(PyExc_TypeError,"Variable DynamicSashNameStr is read-only."); |
2267 | return 1; | |
2268 | } | |
2269 | ||
2270 | ||
093d3ff1 | 2271 | static PyObject *_wrap_DynamicSashNameStr_get(void) { |
7449af73 | 2272 | PyObject *pyobj = NULL; |
d03fd34d RD |
2273 | |
2274 | { | |
2275 | #if wxUSE_UNICODE | |
2276 | pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len()); | |
2277 | #else | |
2278 | pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len()); | |
2279 | #endif | |
2280 | } | |
2281 | return pyobj; | |
2282 | } | |
2283 | ||
2284 | ||
c32bde28 | 2285 | static int _wrap_EditableListBoxNameStr_set(PyObject *) { |
d03fd34d RD |
2286 | PyErr_SetString(PyExc_TypeError,"Variable EditableListBoxNameStr is read-only."); |
2287 | return 1; | |
2288 | } | |
2289 | ||
2290 | ||
093d3ff1 | 2291 | static PyObject *_wrap_EditableListBoxNameStr_get(void) { |
7449af73 | 2292 | PyObject *pyobj = NULL; |
d03fd34d RD |
2293 | |
2294 | { | |
2295 | #if wxUSE_UNICODE | |
2296 | pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len()); | |
2297 | #else | |
2298 | pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len()); | |
2299 | #endif | |
2300 | } | |
2301 | return pyobj; | |
2302 | } | |
2303 | ||
2304 | ||
c32bde28 | 2305 | static int _wrap_TreeListCtrlNameStr_set(PyObject *) { |
d03fd34d RD |
2306 | PyErr_SetString(PyExc_TypeError,"Variable TreeListCtrlNameStr is read-only."); |
2307 | return 1; | |
2308 | } | |
2309 | ||
2310 | ||
093d3ff1 | 2311 | static PyObject *_wrap_TreeListCtrlNameStr_get(void) { |
7449af73 | 2312 | PyObject *pyobj = NULL; |
d03fd34d RD |
2313 | |
2314 | { | |
2315 | #if wxUSE_UNICODE | |
2316 | pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len()); | |
2317 | #else | |
2318 | pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len()); | |
2319 | #endif | |
2320 | } | |
2321 | return pyobj; | |
2322 | } | |
2323 | ||
2324 | ||
6260902d RD |
2325 | static int _wrap_StaticPictureNameStr_set(PyObject *) { |
2326 | PyErr_SetString(PyExc_TypeError,"Variable StaticPictureNameStr is read-only."); | |
2327 | return 1; | |
2328 | } | |
2329 | ||
2330 | ||
2331 | static PyObject *_wrap_StaticPictureNameStr_get(void) { | |
7449af73 | 2332 | PyObject *pyobj = NULL; |
6260902d RD |
2333 | |
2334 | { | |
2335 | #if wxUSE_UNICODE | |
2336 | pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len()); | |
2337 | #else | |
2338 | pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len()); | |
2339 | #endif | |
2340 | } | |
2341 | return pyobj; | |
2342 | } | |
2343 | ||
2344 | ||
c32bde28 | 2345 | static PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 2346 | PyObject *resultobj = NULL; |
44127b65 RD |
2347 | wxObject *arg1 = (wxObject *) 0 ; |
2348 | wxDynamicSashSplitEvent *result; | |
2349 | PyObject * obj0 = 0 ; | |
2350 | char *kwnames[] = { | |
2351 | (char *) "target", NULL | |
2352 | }; | |
2353 | ||
2354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2355 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0); |
2356 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
2357 | { |
2358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2359 | result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1); | |
2360 | ||
2361 | wxPyEndAllowThreads(__tstate); | |
2362 | if (PyErr_Occurred()) SWIG_fail; | |
2363 | } | |
2f4c0a16 | 2364 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashSplitEvent, 1); |
44127b65 RD |
2365 | return resultobj; |
2366 | fail: | |
2367 | return NULL; | |
2368 | } | |
2369 | ||
2370 | ||
c32bde28 | 2371 | static PyObject * DynamicSashSplitEvent_swigregister(PyObject *, PyObject *args) { |
44127b65 RD |
2372 | PyObject *obj; |
2373 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2374 | SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, obj); | |
2375 | Py_INCREF(obj); | |
2376 | return Py_BuildValue((char *)""); | |
2377 | } | |
c32bde28 | 2378 | static PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 2379 | PyObject *resultobj = NULL; |
44127b65 RD |
2380 | wxObject *arg1 = (wxObject *) 0 ; |
2381 | wxDynamicSashUnifyEvent *result; | |
2382 | PyObject * obj0 = 0 ; | |
2383 | char *kwnames[] = { | |
2384 | (char *) "target", NULL | |
2385 | }; | |
2386 | ||
2387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2388 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0); |
2389 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
2390 | { |
2391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2392 | result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1); | |
2393 | ||
2394 | wxPyEndAllowThreads(__tstate); | |
2395 | if (PyErr_Occurred()) SWIG_fail; | |
2396 | } | |
2f4c0a16 | 2397 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, 1); |
44127b65 RD |
2398 | return resultobj; |
2399 | fail: | |
2400 | return NULL; | |
2401 | } | |
2402 | ||
2403 | ||
c32bde28 | 2404 | static PyObject * DynamicSashUnifyEvent_swigregister(PyObject *, PyObject *args) { |
44127b65 RD |
2405 | PyObject *obj; |
2406 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2407 | SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, obj); | |
2408 | Py_INCREF(obj); | |
2409 | return Py_BuildValue((char *)""); | |
2410 | } | |
c32bde28 | 2411 | static PyObject *_wrap_new_DynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 2412 | PyObject *resultobj = NULL; |
44127b65 | 2413 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 | 2414 | int arg2 = (int) -1 ; |
44127b65 RD |
2415 | wxPoint const &arg3_defvalue = wxDefaultPosition ; |
2416 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
2417 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
2418 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
2419 | long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ; | |
2420 | wxString const &arg6_defvalue = wxPyDynamicSashNameStr ; | |
2421 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
2422 | wxDynamicSashWindow *result; | |
2423 | wxPoint temp3 ; | |
2424 | wxSize temp4 ; | |
ae8162c8 | 2425 | bool temp6 = false ; |
44127b65 | 2426 | PyObject * obj0 = 0 ; |
8edf1c75 | 2427 | PyObject * obj1 = 0 ; |
44127b65 RD |
2428 | PyObject * obj2 = 0 ; |
2429 | PyObject * obj3 = 0 ; | |
8edf1c75 | 2430 | PyObject * obj4 = 0 ; |
44127b65 RD |
2431 | PyObject * obj5 = 0 ; |
2432 | char *kwnames[] = { | |
2433 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2434 | }; | |
2435 | ||
248ed943 | 2436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
2437 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
2438 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 2439 | if (obj1) { |
093d3ff1 | 2440 | { |
7449af73 | 2441 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
2442 | if (SWIG_arg_fail(2)) SWIG_fail; |
2443 | } | |
248ed943 | 2444 | } |
44127b65 RD |
2445 | if (obj2) { |
2446 | { | |
2447 | arg3 = &temp3; | |
2448 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
2449 | } | |
2450 | } | |
2451 | if (obj3) { | |
2452 | { | |
2453 | arg4 = &temp4; | |
2454 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
2455 | } | |
2456 | } | |
8edf1c75 | 2457 | if (obj4) { |
093d3ff1 | 2458 | { |
7449af73 | 2459 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
2460 | if (SWIG_arg_fail(5)) SWIG_fail; |
2461 | } | |
8edf1c75 | 2462 | } |
44127b65 RD |
2463 | if (obj5) { |
2464 | { | |
2465 | arg6 = wxString_in_helper(obj5); | |
2466 | if (arg6 == NULL) SWIG_fail; | |
ae8162c8 | 2467 | temp6 = true; |
44127b65 RD |
2468 | } |
2469 | } | |
2470 | { | |
0439c23b | 2471 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
2472 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2473 | result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
2474 | ||
2475 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2476 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 2477 | } |
2f4c0a16 | 2478 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1); |
44127b65 RD |
2479 | { |
2480 | if (temp6) | |
2481 | delete arg6; | |
2482 | } | |
2483 | return resultobj; | |
2484 | fail: | |
2485 | { | |
2486 | if (temp6) | |
2487 | delete arg6; | |
2488 | } | |
2489 | return NULL; | |
2490 | } | |
2491 | ||
2492 | ||
c32bde28 | 2493 | static PyObject *_wrap_new_PreDynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 2494 | PyObject *resultobj = NULL; |
44127b65 RD |
2495 | wxDynamicSashWindow *result; |
2496 | char *kwnames[] = { | |
2497 | NULL | |
2498 | }; | |
2499 | ||
2500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDynamicSashWindow",kwnames)) goto fail; | |
2501 | { | |
0439c23b | 2502 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
2503 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2504 | result = (wxDynamicSashWindow *)new wxDynamicSashWindow(); | |
2505 | ||
2506 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2507 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 2508 | } |
2f4c0a16 | 2509 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1); |
44127b65 RD |
2510 | return resultobj; |
2511 | fail: | |
2512 | return NULL; | |
2513 | } | |
2514 | ||
2515 | ||
c32bde28 | 2516 | static PyObject *_wrap_DynamicSashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 2517 | PyObject *resultobj = NULL; |
44127b65 RD |
2518 | wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; |
2519 | wxWindow *arg2 = (wxWindow *) 0 ; | |
248ed943 | 2520 | int arg3 = (int) -1 ; |
44127b65 RD |
2521 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
2522 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2523 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2524 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2525 | long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ; | |
2526 | wxString const &arg7_defvalue = wxPyDynamicSashNameStr ; | |
2527 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2528 | bool result; | |
2529 | wxPoint temp4 ; | |
2530 | wxSize temp5 ; | |
ae8162c8 | 2531 | bool temp7 = false ; |
44127b65 RD |
2532 | PyObject * obj0 = 0 ; |
2533 | PyObject * obj1 = 0 ; | |
8edf1c75 | 2534 | PyObject * obj2 = 0 ; |
44127b65 RD |
2535 | PyObject * obj3 = 0 ; |
2536 | PyObject * obj4 = 0 ; | |
8edf1c75 | 2537 | PyObject * obj5 = 0 ; |
44127b65 RD |
2538 | PyObject * obj6 = 0 ; |
2539 | char *kwnames[] = { | |
2540 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2541 | }; | |
2542 | ||
248ed943 | 2543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
2544 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0); |
2545 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2546 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
2547 | if (SWIG_arg_fail(2)) SWIG_fail; | |
248ed943 | 2548 | if (obj2) { |
093d3ff1 | 2549 | { |
7449af73 | 2550 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
2551 | if (SWIG_arg_fail(3)) SWIG_fail; |
2552 | } | |
248ed943 | 2553 | } |
44127b65 RD |
2554 | if (obj3) { |
2555 | { | |
2556 | arg4 = &temp4; | |
2557 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2558 | } | |
2559 | } | |
2560 | if (obj4) { | |
2561 | { | |
2562 | arg5 = &temp5; | |
2563 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2564 | } | |
2565 | } | |
8edf1c75 | 2566 | if (obj5) { |
093d3ff1 | 2567 | { |
7449af73 | 2568 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
2569 | if (SWIG_arg_fail(6)) SWIG_fail; |
2570 | } | |
8edf1c75 | 2571 | } |
44127b65 RD |
2572 | if (obj6) { |
2573 | { | |
2574 | arg7 = wxString_in_helper(obj6); | |
2575 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 2576 | temp7 = true; |
44127b65 RD |
2577 | } |
2578 | } | |
2579 | { | |
2580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2581 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
2582 | ||
2583 | wxPyEndAllowThreads(__tstate); | |
2584 | if (PyErr_Occurred()) SWIG_fail; | |
2585 | } | |
4f89f6a3 RD |
2586 | { |
2587 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
2588 | } | |
44127b65 RD |
2589 | { |
2590 | if (temp7) | |
2591 | delete arg7; | |
2592 | } | |
2593 | return resultobj; | |
2594 | fail: | |
2595 | { | |
2596 | if (temp7) | |
2597 | delete arg7; | |
2598 | } | |
2599 | return NULL; | |
2600 | } | |
2601 | ||
2602 | ||
c32bde28 | 2603 | static PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 2604 | PyObject *resultobj = NULL; |
44127b65 RD |
2605 | wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; |
2606 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2607 | wxScrollBar *result; | |
2608 | PyObject * obj0 = 0 ; | |
2609 | PyObject * obj1 = 0 ; | |
2610 | char *kwnames[] = { | |
2611 | (char *) "self",(char *) "child", NULL | |
2612 | }; | |
2613 | ||
2614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
2615 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0); |
2616 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2617 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
2618 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
2619 | { |
2620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2621 | result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2); | |
2622 | ||
2623 | wxPyEndAllowThreads(__tstate); | |
2624 | if (PyErr_Occurred()) SWIG_fail; | |
2625 | } | |
2f4c0a16 | 2626 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0); |
44127b65 RD |
2627 | return resultobj; |
2628 | fail: | |
2629 | return NULL; | |
2630 | } | |
2631 | ||
2632 | ||
c32bde28 | 2633 | static PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 2634 | PyObject *resultobj = NULL; |
44127b65 RD |
2635 | wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; |
2636 | wxWindow *arg2 = (wxWindow *) 0 ; | |
2637 | wxScrollBar *result; | |
2638 | PyObject * obj0 = 0 ; | |
2639 | PyObject * obj1 = 0 ; | |
2640 | char *kwnames[] = { | |
2641 | (char *) "self",(char *) "child", NULL | |
2642 | }; | |
2643 | ||
2644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
2645 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0); |
2646 | if (SWIG_arg_fail(1)) SWIG_fail; | |
2647 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
2648 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
2649 | { |
2650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2651 | result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2); | |
2652 | ||
2653 | wxPyEndAllowThreads(__tstate); | |
2654 | if (PyErr_Occurred()) SWIG_fail; | |
2655 | } | |
2f4c0a16 | 2656 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0); |
44127b65 RD |
2657 | return resultobj; |
2658 | fail: | |
2659 | return NULL; | |
2660 | } | |
2661 | ||
2662 | ||
c32bde28 | 2663 | static PyObject * DynamicSashWindow_swigregister(PyObject *, PyObject *args) { |
44127b65 RD |
2664 | PyObject *obj; |
2665 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
2666 | SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashWindow, obj); | |
2667 | Py_INCREF(obj); | |
2668 | return Py_BuildValue((char *)""); | |
2669 | } | |
c32bde28 | 2670 | static PyObject *_wrap_new_EditableListBox(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 2671 | PyObject *resultobj = NULL; |
44127b65 | 2672 | wxWindow *arg1 = (wxWindow *) 0 ; |
248ed943 RD |
2673 | int arg2 = (int) -1 ; |
2674 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
2675 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
44127b65 RD |
2676 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
2677 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
2678 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
2679 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
2680 | long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ; | |
2681 | wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ; | |
2682 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
2683 | wxEditableListBox *result; | |
ae8162c8 | 2684 | bool temp3 = false ; |
44127b65 RD |
2685 | wxPoint temp4 ; |
2686 | wxSize temp5 ; | |
ae8162c8 | 2687 | bool temp7 = false ; |
44127b65 | 2688 | PyObject * obj0 = 0 ; |
8edf1c75 | 2689 | PyObject * obj1 = 0 ; |
44127b65 RD |
2690 | PyObject * obj2 = 0 ; |
2691 | PyObject * obj3 = 0 ; | |
2692 | PyObject * obj4 = 0 ; | |
8edf1c75 | 2693 | PyObject * obj5 = 0 ; |
44127b65 RD |
2694 | PyObject * obj6 = 0 ; |
2695 | char *kwnames[] = { | |
2696 | (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
2697 | }; | |
2698 | ||
248ed943 | 2699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
2700 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
2701 | if (SWIG_arg_fail(1)) SWIG_fail; | |
248ed943 | 2702 | if (obj1) { |
093d3ff1 | 2703 | { |
7449af73 | 2704 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
2705 | if (SWIG_arg_fail(2)) SWIG_fail; |
2706 | } | |
248ed943 RD |
2707 | } |
2708 | if (obj2) { | |
2709 | { | |
2710 | arg3 = wxString_in_helper(obj2); | |
2711 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 2712 | temp3 = true; |
248ed943 | 2713 | } |
44127b65 RD |
2714 | } |
2715 | if (obj3) { | |
2716 | { | |
2717 | arg4 = &temp4; | |
2718 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
2719 | } | |
2720 | } | |
2721 | if (obj4) { | |
2722 | { | |
2723 | arg5 = &temp5; | |
2724 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
2725 | } | |
2726 | } | |
8edf1c75 | 2727 | if (obj5) { |
093d3ff1 | 2728 | { |
7449af73 | 2729 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
2730 | if (SWIG_arg_fail(6)) SWIG_fail; |
2731 | } | |
8edf1c75 | 2732 | } |
44127b65 RD |
2733 | if (obj6) { |
2734 | { | |
2735 | arg7 = wxString_in_helper(obj6); | |
2736 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 2737 | temp7 = true; |
44127b65 RD |
2738 | } |
2739 | } | |
2740 | { | |
0439c23b | 2741 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
2742 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
2743 | result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
2744 | ||
2745 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 2746 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 2747 | } |
2f4c0a16 | 2748 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEditableListBox, 1); |
44127b65 RD |
2749 | { |
2750 | if (temp3) | |
2751 | delete arg3; | |
2752 | } | |
2753 | { | |
2754 | if (temp7) | |
2755 | delete arg7; | |
2756 | } | |
2757 | return resultobj; | |
2758 | fail: | |
2759 | { | |
2760 | if (temp3) | |
2761 | delete arg3; | |
2762 | } | |
2763 | { | |
2764 | if (temp7) | |
2765 | delete arg7; | |
2766 | } | |
2767 | return NULL; | |
2768 | } | |
2769 | ||
2770 | ||
c32bde28 | 2771 | static PyObject *_wrap_EditableListBox_SetStrings(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 2772 | PyObject *resultobj = NULL; |
44127b65 RD |
2773 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; |
2774 | wxArrayString *arg2 = 0 ; | |
ae8162c8 | 2775 | bool temp2 = false ; |
44127b65 RD |
2776 | PyObject * obj0 = 0 ; |
2777 | PyObject * obj1 = 0 ; | |
2778 | char *kwnames[] = { | |
2779 | (char *) "self",(char *) "strings", NULL | |
2780 | }; | |
2781 | ||
2782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
2783 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0); |
2784 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
2785 | { |
2786 | if (! PySequence_Check(obj1)) { | |
2787 | PyErr_SetString(PyExc_TypeError, "Sequence of strings expected."); | |
2788 | SWIG_fail; | |
2789 | } | |
2790 | arg2 = new wxArrayString; | |
ae8162c8 | 2791 | temp2 = true; |
44127b65 RD |
2792 | int i, len=PySequence_Length(obj1); |
2793 | for (i=0; i<len; i++) { | |
2794 | PyObject* item = PySequence_GetItem(obj1, i); | |
71237536 | 2795 | wxString* s = wxString_in_helper(item); |
74a57fcd | 2796 | if (PyErr_Occurred()) SWIG_fail; |
71237536 RD |
2797 | arg2->Add(*s); |
2798 | delete s; | |
44127b65 | 2799 | Py_DECREF(item); |
44127b65 RD |
2800 | } |
2801 | } | |
2802 | { | |
2803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2804 | (arg1)->SetStrings((wxArrayString const &)*arg2); | |
2805 | ||
2806 | wxPyEndAllowThreads(__tstate); | |
2807 | if (PyErr_Occurred()) SWIG_fail; | |
2808 | } | |
2809 | Py_INCREF(Py_None); resultobj = Py_None; | |
2810 | { | |
db914595 | 2811 | if (temp2) delete arg2; |
44127b65 RD |
2812 | } |
2813 | return resultobj; | |
2814 | fail: | |
2815 | { | |
db914595 | 2816 | if (temp2) delete arg2; |
44127b65 RD |
2817 | } |
2818 | return NULL; | |
2819 | } | |
2820 | ||
2821 | ||
c32bde28 | 2822 | static PyObject *_wrap_EditableListBox_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 2823 | PyObject *resultobj = NULL; |
44127b65 RD |
2824 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; |
2825 | PyObject *result; | |
2826 | PyObject * obj0 = 0 ; | |
2827 | char *kwnames[] = { | |
2828 | (char *) "self", NULL | |
2829 | }; | |
2830 | ||
2831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetStrings",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2832 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0); |
2833 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
2834 | { |
2835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2836 | result = (PyObject *)wxEditableListBox_GetStrings(arg1); | |
2837 | ||
2838 | wxPyEndAllowThreads(__tstate); | |
2839 | if (PyErr_Occurred()) SWIG_fail; | |
2840 | } | |
2841 | resultobj = result; | |
2842 | return resultobj; | |
2843 | fail: | |
2844 | return NULL; | |
2845 | } | |
2846 | ||
2847 | ||
c32bde28 | 2848 | static PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 2849 | PyObject *resultobj = NULL; |
44127b65 | 2850 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; |
4cf4100f | 2851 | wxPyListCtrl *result; |
44127b65 RD |
2852 | PyObject * obj0 = 0 ; |
2853 | char *kwnames[] = { | |
2854 | (char *) "self", NULL | |
2855 | }; | |
2856 | ||
2857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetListCtrl",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2858 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0); |
2859 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
2860 | { |
2861 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4cf4100f | 2862 | result = (wxPyListCtrl *)(arg1)->GetListCtrl(); |
44127b65 RD |
2863 | |
2864 | wxPyEndAllowThreads(__tstate); | |
2865 | if (PyErr_Occurred()) SWIG_fail; | |
2866 | } | |
4cf4100f | 2867 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 0); |
44127b65 RD |
2868 | return resultobj; |
2869 | fail: | |
2870 | return NULL; | |
2871 | } | |
2872 | ||
2873 | ||
c32bde28 | 2874 | static PyObject *_wrap_EditableListBox_GetDelButton(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 2875 | PyObject *resultobj = NULL; |
44127b65 RD |
2876 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; |
2877 | wxBitmapButton *result; | |
2878 | PyObject * obj0 = 0 ; | |
2879 | char *kwnames[] = { | |
2880 | (char *) "self", NULL | |
2881 | }; | |
2882 | ||
2883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDelButton",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2884 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0); |
2885 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
2886 | { |
2887 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2888 | result = (wxBitmapButton *)(arg1)->GetDelButton(); | |
2889 | ||
2890 | wxPyEndAllowThreads(__tstate); | |
2891 | if (PyErr_Occurred()) SWIG_fail; | |
2892 | } | |
2893 | { | |
412d302d | 2894 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
2895 | } |
2896 | return resultobj; | |
2897 | fail: | |
2898 | return NULL; | |
2899 | } | |
2900 | ||
2901 | ||
c32bde28 | 2902 | static PyObject *_wrap_EditableListBox_GetNewButton(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 2903 | PyObject *resultobj = NULL; |
44127b65 RD |
2904 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; |
2905 | wxBitmapButton *result; | |
2906 | PyObject * obj0 = 0 ; | |
2907 | char *kwnames[] = { | |
2908 | (char *) "self", NULL | |
2909 | }; | |
2910 | ||
2911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetNewButton",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2912 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0); |
2913 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
2914 | { |
2915 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2916 | result = (wxBitmapButton *)(arg1)->GetNewButton(); | |
2917 | ||
2918 | wxPyEndAllowThreads(__tstate); | |
2919 | if (PyErr_Occurred()) SWIG_fail; | |
2920 | } | |
2921 | { | |
412d302d | 2922 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
2923 | } |
2924 | return resultobj; | |
2925 | fail: | |
2926 | return NULL; | |
2927 | } | |
2928 | ||
2929 | ||
c32bde28 | 2930 | static PyObject *_wrap_EditableListBox_GetUpButton(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 2931 | PyObject *resultobj = NULL; |
44127b65 RD |
2932 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; |
2933 | wxBitmapButton *result; | |
2934 | PyObject * obj0 = 0 ; | |
2935 | char *kwnames[] = { | |
2936 | (char *) "self", NULL | |
2937 | }; | |
2938 | ||
2939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetUpButton",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2940 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0); |
2941 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
2942 | { |
2943 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2944 | result = (wxBitmapButton *)(arg1)->GetUpButton(); | |
2945 | ||
2946 | wxPyEndAllowThreads(__tstate); | |
2947 | if (PyErr_Occurred()) SWIG_fail; | |
2948 | } | |
2949 | { | |
412d302d | 2950 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
2951 | } |
2952 | return resultobj; | |
2953 | fail: | |
2954 | return NULL; | |
2955 | } | |
2956 | ||
2957 | ||
c32bde28 | 2958 | static PyObject *_wrap_EditableListBox_GetDownButton(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 2959 | PyObject *resultobj = NULL; |
44127b65 RD |
2960 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; |
2961 | wxBitmapButton *result; | |
2962 | PyObject * obj0 = 0 ; | |
2963 | char *kwnames[] = { | |
2964 | (char *) "self", NULL | |
2965 | }; | |
2966 | ||
2967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDownButton",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2968 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0); |
2969 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
2970 | { |
2971 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
2972 | result = (wxBitmapButton *)(arg1)->GetDownButton(); | |
2973 | ||
2974 | wxPyEndAllowThreads(__tstate); | |
2975 | if (PyErr_Occurred()) SWIG_fail; | |
2976 | } | |
2977 | { | |
412d302d | 2978 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
2979 | } |
2980 | return resultobj; | |
2981 | fail: | |
2982 | return NULL; | |
2983 | } | |
2984 | ||
2985 | ||
c32bde28 | 2986 | static PyObject *_wrap_EditableListBox_GetEditButton(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 2987 | PyObject *resultobj = NULL; |
44127b65 RD |
2988 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; |
2989 | wxBitmapButton *result; | |
2990 | PyObject * obj0 = 0 ; | |
2991 | char *kwnames[] = { | |
2992 | (char *) "self", NULL | |
2993 | }; | |
2994 | ||
2995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetEditButton",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
2996 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0); |
2997 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
2998 | { |
2999 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3000 | result = (wxBitmapButton *)(arg1)->GetEditButton(); | |
3001 | ||
3002 | wxPyEndAllowThreads(__tstate); | |
3003 | if (PyErr_Occurred()) SWIG_fail; | |
3004 | } | |
3005 | { | |
412d302d | 3006 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
3007 | } |
3008 | return resultobj; | |
3009 | fail: | |
3010 | return NULL; | |
3011 | } | |
3012 | ||
3013 | ||
c32bde28 | 3014 | static PyObject * EditableListBox_swigregister(PyObject *, PyObject *args) { |
44127b65 RD |
3015 | PyObject *obj; |
3016 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3017 | SWIG_TypeClientData(SWIGTYPE_p_wxEditableListBox, obj); | |
3018 | Py_INCREF(obj); | |
3019 | return Py_BuildValue((char *)""); | |
3020 | } | |
c32bde28 | 3021 | static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3022 | PyObject *resultobj = NULL; |
44127b65 RD |
3023 | wxWindow *arg1 = (wxWindow *) 0 ; |
3024 | int arg2 ; | |
3025 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
3026 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
3027 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
3028 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
3029 | long arg5 = (long) wxTR_HAS_BUTTONS ; | |
3030 | wxRemotelyScrolledTreeCtrl *result; | |
3031 | wxPoint temp3 ; | |
3032 | wxSize temp4 ; | |
3033 | PyObject * obj0 = 0 ; | |
8edf1c75 | 3034 | PyObject * obj1 = 0 ; |
44127b65 RD |
3035 | PyObject * obj2 = 0 ; |
3036 | PyObject * obj3 = 0 ; | |
8edf1c75 | 3037 | PyObject * obj4 = 0 ; |
44127b65 RD |
3038 | char *kwnames[] = { |
3039 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
3040 | }; | |
3041 | ||
8edf1c75 | 3042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
3043 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
3044 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3045 | { | |
7449af73 | 3046 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3047 | if (SWIG_arg_fail(2)) SWIG_fail; |
3048 | } | |
44127b65 RD |
3049 | if (obj2) { |
3050 | { | |
3051 | arg3 = &temp3; | |
3052 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
3053 | } | |
3054 | } | |
3055 | if (obj3) { | |
3056 | { | |
3057 | arg4 = &temp4; | |
3058 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
3059 | } | |
3060 | } | |
8edf1c75 | 3061 | if (obj4) { |
093d3ff1 | 3062 | { |
7449af73 | 3063 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
3064 | if (SWIG_arg_fail(5)) SWIG_fail; |
3065 | } | |
8edf1c75 | 3066 | } |
44127b65 | 3067 | { |
0439c23b | 3068 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
3069 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3070 | result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
3071 | ||
3072 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3073 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 3074 | } |
2f4c0a16 | 3075 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 1); |
44127b65 RD |
3076 | return resultobj; |
3077 | fail: | |
3078 | return NULL; | |
3079 | } | |
3080 | ||
3081 | ||
c32bde28 | 3082 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3083 | PyObject *resultobj = NULL; |
44127b65 RD |
3084 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; |
3085 | PyObject * obj0 = 0 ; | |
3086 | char *kwnames[] = { | |
3087 | (char *) "self", NULL | |
3088 | }; | |
3089 | ||
3090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_HideVScrollbar",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3091 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0); |
3092 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
3093 | { |
3094 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3095 | (arg1)->HideVScrollbar(); | |
3096 | ||
3097 | wxPyEndAllowThreads(__tstate); | |
3098 | if (PyErr_Occurred()) SWIG_fail; | |
3099 | } | |
3100 | Py_INCREF(Py_None); resultobj = Py_None; | |
3101 | return resultobj; | |
3102 | fail: | |
3103 | return NULL; | |
3104 | } | |
3105 | ||
3106 | ||
c32bde28 | 3107 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3108 | PyObject *resultobj = NULL; |
44127b65 RD |
3109 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; |
3110 | PyObject * obj0 = 0 ; | |
3111 | char *kwnames[] = { | |
3112 | (char *) "self", NULL | |
3113 | }; | |
3114 | ||
3115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3116 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0); |
3117 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
3118 | { |
3119 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3120 | (arg1)->AdjustRemoteScrollbars(); | |
3121 | ||
3122 | wxPyEndAllowThreads(__tstate); | |
3123 | if (PyErr_Occurred()) SWIG_fail; | |
3124 | } | |
3125 | Py_INCREF(Py_None); resultobj = Py_None; | |
3126 | return resultobj; | |
3127 | fail: | |
3128 | return NULL; | |
3129 | } | |
3130 | ||
3131 | ||
c32bde28 | 3132 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3133 | PyObject *resultobj = NULL; |
44127b65 RD |
3134 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; |
3135 | wxScrolledWindow *result; | |
3136 | PyObject * obj0 = 0 ; | |
3137 | char *kwnames[] = { | |
3138 | (char *) "self", NULL | |
3139 | }; | |
3140 | ||
3141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetScrolledWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3142 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0); |
3143 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
3144 | { |
3145 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3146 | result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow(); | |
3147 | ||
3148 | wxPyEndAllowThreads(__tstate); | |
3149 | if (PyErr_Occurred()) SWIG_fail; | |
3150 | } | |
412d302d RD |
3151 | { |
3152 | resultobj = wxPyMake_wxObject(result, 0); | |
3153 | } | |
44127b65 RD |
3154 | return resultobj; |
3155 | fail: | |
3156 | return NULL; | |
3157 | } | |
3158 | ||
3159 | ||
c32bde28 | 3160 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3161 | PyObject *resultobj = NULL; |
44127b65 RD |
3162 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; |
3163 | int arg2 ; | |
3164 | int arg3 ; | |
3165 | PyObject * obj0 = 0 ; | |
8edf1c75 RD |
3166 | PyObject * obj1 = 0 ; |
3167 | PyObject * obj2 = 0 ; | |
44127b65 RD |
3168 | char *kwnames[] = { |
3169 | (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL | |
3170 | }; | |
3171 | ||
8edf1c75 | 3172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
3173 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0); |
3174 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3175 | { | |
7449af73 | 3176 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3177 | if (SWIG_arg_fail(2)) SWIG_fail; |
3178 | } | |
3179 | { | |
7449af73 | 3180 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
3181 | if (SWIG_arg_fail(3)) SWIG_fail; |
3182 | } | |
44127b65 RD |
3183 | { |
3184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3185 | (arg1)->ScrollToLine(arg2,arg3); | |
3186 | ||
3187 | wxPyEndAllowThreads(__tstate); | |
3188 | if (PyErr_Occurred()) SWIG_fail; | |
3189 | } | |
3190 | Py_INCREF(Py_None); resultobj = Py_None; | |
3191 | return resultobj; | |
3192 | fail: | |
3193 | return NULL; | |
3194 | } | |
3195 | ||
3196 | ||
c32bde28 | 3197 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3198 | PyObject *resultobj = NULL; |
44127b65 RD |
3199 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; |
3200 | wxWindow *arg2 = (wxWindow *) 0 ; | |
3201 | PyObject * obj0 = 0 ; | |
3202 | PyObject * obj1 = 0 ; | |
3203 | char *kwnames[] = { | |
3204 | (char *) "self",(char *) "companion", NULL | |
3205 | }; | |
3206 | ||
3207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
3208 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0); |
3209 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3210 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
3211 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
3212 | { |
3213 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3214 | (arg1)->SetCompanionWindow(arg2); | |
3215 | ||
3216 | wxPyEndAllowThreads(__tstate); | |
3217 | if (PyErr_Occurred()) SWIG_fail; | |
3218 | } | |
3219 | Py_INCREF(Py_None); resultobj = Py_None; | |
3220 | return resultobj; | |
3221 | fail: | |
3222 | return NULL; | |
3223 | } | |
3224 | ||
3225 | ||
c32bde28 | 3226 | static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3227 | PyObject *resultobj = NULL; |
44127b65 RD |
3228 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; |
3229 | wxWindow *result; | |
3230 | PyObject * obj0 = 0 ; | |
3231 | char *kwnames[] = { | |
3232 | (char *) "self", NULL | |
3233 | }; | |
3234 | ||
3235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetCompanionWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3236 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0); |
3237 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
3238 | { |
3239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3240 | result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow(); | |
3241 | ||
3242 | wxPyEndAllowThreads(__tstate); | |
3243 | if (PyErr_Occurred()) SWIG_fail; | |
3244 | } | |
3245 | { | |
412d302d | 3246 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
3247 | } |
3248 | return resultobj; | |
3249 | fail: | |
3250 | return NULL; | |
3251 | } | |
3252 | ||
3253 | ||
c32bde28 | 3254 | static PyObject * RemotelyScrolledTreeCtrl_swigregister(PyObject *, PyObject *args) { |
44127b65 RD |
3255 | PyObject *obj; |
3256 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3257 | SWIG_TypeClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, obj); | |
3258 | Py_INCREF(obj); | |
3259 | return Py_BuildValue((char *)""); | |
3260 | } | |
c32bde28 | 3261 | static PyObject *_wrap_new_TreeCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3262 | PyObject *resultobj = NULL; |
44127b65 RD |
3263 | wxWindow *arg1 = (wxWindow *) 0 ; |
3264 | int arg2 = (int) -1 ; | |
3265 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
3266 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
3267 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
3268 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
3269 | long arg5 = (long) 0 ; | |
3270 | wxPyTreeCompanionWindow *result; | |
3271 | wxPoint temp3 ; | |
3272 | wxSize temp4 ; | |
3273 | PyObject * obj0 = 0 ; | |
8edf1c75 | 3274 | PyObject * obj1 = 0 ; |
44127b65 RD |
3275 | PyObject * obj2 = 0 ; |
3276 | PyObject * obj3 = 0 ; | |
8edf1c75 | 3277 | PyObject * obj4 = 0 ; |
44127b65 RD |
3278 | char *kwnames[] = { |
3279 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
3280 | }; | |
3281 | ||
8edf1c75 | 3282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
3283 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
3284 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8edf1c75 | 3285 | if (obj1) { |
093d3ff1 | 3286 | { |
7449af73 | 3287 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3288 | if (SWIG_arg_fail(2)) SWIG_fail; |
3289 | } | |
8edf1c75 | 3290 | } |
44127b65 RD |
3291 | if (obj2) { |
3292 | { | |
3293 | arg3 = &temp3; | |
3294 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
3295 | } | |
3296 | } | |
3297 | if (obj3) { | |
3298 | { | |
3299 | arg4 = &temp4; | |
3300 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
3301 | } | |
3302 | } | |
8edf1c75 | 3303 | if (obj4) { |
093d3ff1 | 3304 | { |
7449af73 | 3305 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
3306 | if (SWIG_arg_fail(5)) SWIG_fail; |
3307 | } | |
8edf1c75 | 3308 | } |
44127b65 | 3309 | { |
0439c23b | 3310 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
3311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3312 | result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
3313 | ||
3314 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3315 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 3316 | } |
2f4c0a16 | 3317 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCompanionWindow, 1); |
44127b65 RD |
3318 | return resultobj; |
3319 | fail: | |
3320 | return NULL; | |
3321 | } | |
3322 | ||
3323 | ||
c32bde28 | 3324 | static PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3325 | PyObject *resultobj = NULL; |
44127b65 RD |
3326 | wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; |
3327 | PyObject *arg2 = (PyObject *) 0 ; | |
3328 | PyObject *arg3 = (PyObject *) 0 ; | |
3329 | PyObject * obj0 = 0 ; | |
3330 | PyObject * obj1 = 0 ; | |
3331 | PyObject * obj2 = 0 ; | |
3332 | char *kwnames[] = { | |
3333 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
3334 | }; | |
3335 | ||
3336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
3337 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0); |
3338 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
3339 | arg2 = obj1; |
3340 | arg3 = obj2; | |
3341 | { | |
3342 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3343 | (arg1)->_setCallbackInfo(arg2,arg3); | |
3344 | ||
3345 | wxPyEndAllowThreads(__tstate); | |
3346 | if (PyErr_Occurred()) SWIG_fail; | |
3347 | } | |
3348 | Py_INCREF(Py_None); resultobj = Py_None; | |
3349 | return resultobj; | |
3350 | fail: | |
3351 | return NULL; | |
3352 | } | |
3353 | ||
3354 | ||
c32bde28 | 3355 | static PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3356 | PyObject *resultobj = NULL; |
44127b65 RD |
3357 | wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; |
3358 | wxRemotelyScrolledTreeCtrl *result; | |
3359 | PyObject * obj0 = 0 ; | |
3360 | char *kwnames[] = { | |
3361 | (char *) "self", NULL | |
3362 | }; | |
3363 | ||
3364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCompanionWindow_GetTreeCtrl",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3365 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0); |
3366 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
3367 | { |
3368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3369 | result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl(); | |
3370 | ||
3371 | wxPyEndAllowThreads(__tstate); | |
3372 | if (PyErr_Occurred()) SWIG_fail; | |
3373 | } | |
2f4c0a16 | 3374 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0); |
44127b65 RD |
3375 | return resultobj; |
3376 | fail: | |
3377 | return NULL; | |
3378 | } | |
3379 | ||
3380 | ||
c32bde28 | 3381 | static PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3382 | PyObject *resultobj = NULL; |
44127b65 RD |
3383 | wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; |
3384 | wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
3385 | PyObject * obj0 = 0 ; | |
3386 | PyObject * obj1 = 0 ; | |
3387 | char *kwnames[] = { | |
3388 | (char *) "self",(char *) "treeCtrl", NULL | |
3389 | }; | |
3390 | ||
3391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
3392 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0); |
3393 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3394 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0); | |
3395 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
3396 | { |
3397 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3398 | (arg1)->SetTreeCtrl(arg2); | |
3399 | ||
3400 | wxPyEndAllowThreads(__tstate); | |
3401 | if (PyErr_Occurred()) SWIG_fail; | |
3402 | } | |
3403 | Py_INCREF(Py_None); resultobj = Py_None; | |
3404 | return resultobj; | |
3405 | fail: | |
3406 | return NULL; | |
3407 | } | |
3408 | ||
3409 | ||
c32bde28 | 3410 | static PyObject * TreeCompanionWindow_swigregister(PyObject *, PyObject *args) { |
44127b65 RD |
3411 | PyObject *obj; |
3412 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3413 | SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, obj); | |
3414 | Py_INCREF(obj); | |
3415 | return Py_BuildValue((char *)""); | |
3416 | } | |
c32bde28 | 3417 | static PyObject *_wrap_new_ThinSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3418 | PyObject *resultobj = NULL; |
44127b65 RD |
3419 | wxWindow *arg1 = (wxWindow *) 0 ; |
3420 | int arg2 = (int) -1 ; | |
3421 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
3422 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
3423 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
3424 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
3425 | long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ; | |
3426 | wxThinSplitterWindow *result; | |
3427 | wxPoint temp3 ; | |
3428 | wxSize temp4 ; | |
3429 | PyObject * obj0 = 0 ; | |
8edf1c75 | 3430 | PyObject * obj1 = 0 ; |
44127b65 RD |
3431 | PyObject * obj2 = 0 ; |
3432 | PyObject * obj3 = 0 ; | |
8edf1c75 | 3433 | PyObject * obj4 = 0 ; |
44127b65 RD |
3434 | char *kwnames[] = { |
3435 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
3436 | }; | |
3437 | ||
8edf1c75 | 3438 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
3439 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
3440 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8edf1c75 | 3441 | if (obj1) { |
093d3ff1 | 3442 | { |
7449af73 | 3443 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3444 | if (SWIG_arg_fail(2)) SWIG_fail; |
3445 | } | |
8edf1c75 | 3446 | } |
44127b65 RD |
3447 | if (obj2) { |
3448 | { | |
3449 | arg3 = &temp3; | |
3450 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
3451 | } | |
3452 | } | |
3453 | if (obj3) { | |
3454 | { | |
3455 | arg4 = &temp4; | |
3456 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
3457 | } | |
3458 | } | |
8edf1c75 | 3459 | if (obj4) { |
093d3ff1 | 3460 | { |
7449af73 | 3461 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
3462 | if (SWIG_arg_fail(5)) SWIG_fail; |
3463 | } | |
8edf1c75 | 3464 | } |
44127b65 | 3465 | { |
0439c23b | 3466 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
3467 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3468 | result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
3469 | ||
3470 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3471 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 3472 | } |
2f4c0a16 | 3473 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxThinSplitterWindow, 1); |
44127b65 RD |
3474 | return resultobj; |
3475 | fail: | |
3476 | return NULL; | |
3477 | } | |
3478 | ||
3479 | ||
c32bde28 | 3480 | static PyObject * ThinSplitterWindow_swigregister(PyObject *, PyObject *args) { |
44127b65 RD |
3481 | PyObject *obj; |
3482 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3483 | SWIG_TypeClientData(SWIGTYPE_p_wxThinSplitterWindow, obj); | |
3484 | Py_INCREF(obj); | |
3485 | return Py_BuildValue((char *)""); | |
3486 | } | |
c32bde28 | 3487 | static PyObject *_wrap_new_SplitterScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3488 | PyObject *resultobj = NULL; |
44127b65 RD |
3489 | wxWindow *arg1 = (wxWindow *) 0 ; |
3490 | int arg2 = (int) -1 ; | |
3491 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
3492 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
3493 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
3494 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
3495 | long arg5 = (long) 0 ; | |
3496 | wxSplitterScrolledWindow *result; | |
3497 | wxPoint temp3 ; | |
3498 | wxSize temp4 ; | |
3499 | PyObject * obj0 = 0 ; | |
8edf1c75 | 3500 | PyObject * obj1 = 0 ; |
44127b65 RD |
3501 | PyObject * obj2 = 0 ; |
3502 | PyObject * obj3 = 0 ; | |
8edf1c75 | 3503 | PyObject * obj4 = 0 ; |
44127b65 RD |
3504 | char *kwnames[] = { |
3505 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
3506 | }; | |
3507 | ||
8edf1c75 | 3508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
3509 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
3510 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8edf1c75 | 3511 | if (obj1) { |
093d3ff1 | 3512 | { |
7449af73 | 3513 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3514 | if (SWIG_arg_fail(2)) SWIG_fail; |
3515 | } | |
8edf1c75 | 3516 | } |
44127b65 RD |
3517 | if (obj2) { |
3518 | { | |
3519 | arg3 = &temp3; | |
3520 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
3521 | } | |
3522 | } | |
3523 | if (obj3) { | |
3524 | { | |
3525 | arg4 = &temp4; | |
3526 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
3527 | } | |
3528 | } | |
8edf1c75 | 3529 | if (obj4) { |
093d3ff1 | 3530 | { |
7449af73 | 3531 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
3532 | if (SWIG_arg_fail(5)) SWIG_fail; |
3533 | } | |
8edf1c75 | 3534 | } |
44127b65 | 3535 | { |
0439c23b | 3536 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
3537 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3538 | result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
3539 | ||
3540 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3541 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 3542 | } |
2f4c0a16 | 3543 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterScrolledWindow, 1); |
44127b65 RD |
3544 | return resultobj; |
3545 | fail: | |
3546 | return NULL; | |
3547 | } | |
3548 | ||
3549 | ||
c32bde28 | 3550 | static PyObject * SplitterScrolledWindow_swigregister(PyObject *, PyObject *args) { |
44127b65 RD |
3551 | PyObject *obj; |
3552 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3553 | SWIG_TypeClientData(SWIGTYPE_p_wxSplitterScrolledWindow, obj); | |
3554 | Py_INCREF(obj); | |
3555 | return Py_BuildValue((char *)""); | |
3556 | } | |
c32bde28 | 3557 | static PyObject *_wrap_new_LEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3558 | PyObject *resultobj = NULL; |
44127b65 RD |
3559 | wxWindow *arg1 = (wxWindow *) 0 ; |
3560 | int arg2 = (int) -1 ; | |
3561 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
3562 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
3563 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
3564 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
3565 | long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ; | |
3566 | wxLEDNumberCtrl *result; | |
3567 | wxPoint temp3 ; | |
3568 | wxSize temp4 ; | |
3569 | PyObject * obj0 = 0 ; | |
8edf1c75 | 3570 | PyObject * obj1 = 0 ; |
44127b65 RD |
3571 | PyObject * obj2 = 0 ; |
3572 | PyObject * obj3 = 0 ; | |
8edf1c75 | 3573 | PyObject * obj4 = 0 ; |
44127b65 RD |
3574 | char *kwnames[] = { |
3575 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
3576 | }; | |
3577 | ||
8edf1c75 | 3578 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
3579 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
3580 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8edf1c75 | 3581 | if (obj1) { |
093d3ff1 | 3582 | { |
7449af73 | 3583 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3584 | if (SWIG_arg_fail(2)) SWIG_fail; |
3585 | } | |
8edf1c75 | 3586 | } |
44127b65 RD |
3587 | if (obj2) { |
3588 | { | |
3589 | arg3 = &temp3; | |
3590 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
3591 | } | |
3592 | } | |
3593 | if (obj3) { | |
3594 | { | |
3595 | arg4 = &temp4; | |
3596 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
3597 | } | |
3598 | } | |
8edf1c75 | 3599 | if (obj4) { |
093d3ff1 | 3600 | { |
7449af73 | 3601 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
3602 | if (SWIG_arg_fail(5)) SWIG_fail; |
3603 | } | |
8edf1c75 | 3604 | } |
44127b65 | 3605 | { |
0439c23b | 3606 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
3607 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3608 | result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
3609 | ||
3610 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3611 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 3612 | } |
2f4c0a16 | 3613 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1); |
44127b65 RD |
3614 | return resultobj; |
3615 | fail: | |
3616 | return NULL; | |
3617 | } | |
3618 | ||
3619 | ||
c32bde28 | 3620 | static PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3621 | PyObject *resultobj = NULL; |
44127b65 RD |
3622 | wxLEDNumberCtrl *result; |
3623 | char *kwnames[] = { | |
3624 | NULL | |
3625 | }; | |
3626 | ||
3627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreLEDNumberCtrl",kwnames)) goto fail; | |
3628 | { | |
0439c23b | 3629 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
3630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
3631 | result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(); | |
3632 | ||
3633 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 3634 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 3635 | } |
2f4c0a16 | 3636 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1); |
44127b65 RD |
3637 | return resultobj; |
3638 | fail: | |
3639 | return NULL; | |
3640 | } | |
3641 | ||
3642 | ||
c32bde28 | 3643 | static PyObject *_wrap_LEDNumberCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3644 | PyObject *resultobj = NULL; |
44127b65 RD |
3645 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; |
3646 | wxWindow *arg2 = (wxWindow *) 0 ; | |
3647 | int arg3 = (int) -1 ; | |
3648 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
3649 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3650 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3651 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3652 | long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ; | |
3653 | bool result; | |
3654 | wxPoint temp4 ; | |
3655 | wxSize temp5 ; | |
3656 | PyObject * obj0 = 0 ; | |
3657 | PyObject * obj1 = 0 ; | |
8edf1c75 | 3658 | PyObject * obj2 = 0 ; |
44127b65 RD |
3659 | PyObject * obj3 = 0 ; |
3660 | PyObject * obj4 = 0 ; | |
8edf1c75 | 3661 | PyObject * obj5 = 0 ; |
44127b65 RD |
3662 | char *kwnames[] = { |
3663 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
3664 | }; | |
3665 | ||
8edf1c75 | 3666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
3667 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0); |
3668 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3669 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
3670 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8edf1c75 | 3671 | if (obj2) { |
093d3ff1 | 3672 | { |
7449af73 | 3673 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
3674 | if (SWIG_arg_fail(3)) SWIG_fail; |
3675 | } | |
8edf1c75 | 3676 | } |
44127b65 RD |
3677 | if (obj3) { |
3678 | { | |
3679 | arg4 = &temp4; | |
3680 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
3681 | } | |
3682 | } | |
3683 | if (obj4) { | |
3684 | { | |
3685 | arg5 = &temp5; | |
3686 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
3687 | } | |
3688 | } | |
8edf1c75 | 3689 | if (obj5) { |
093d3ff1 | 3690 | { |
7449af73 | 3691 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
3692 | if (SWIG_arg_fail(6)) SWIG_fail; |
3693 | } | |
8edf1c75 | 3694 | } |
44127b65 RD |
3695 | { |
3696 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3697 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
3698 | ||
3699 | wxPyEndAllowThreads(__tstate); | |
3700 | if (PyErr_Occurred()) SWIG_fail; | |
3701 | } | |
4f89f6a3 RD |
3702 | { |
3703 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3704 | } | |
44127b65 RD |
3705 | return resultobj; |
3706 | fail: | |
3707 | return NULL; | |
3708 | } | |
3709 | ||
3710 | ||
c32bde28 | 3711 | static PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3712 | PyObject *resultobj = NULL; |
44127b65 | 3713 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; |
093d3ff1 | 3714 | wxLEDValueAlign result; |
44127b65 RD |
3715 | PyObject * obj0 = 0 ; |
3716 | char *kwnames[] = { | |
3717 | (char *) "self", NULL | |
3718 | }; | |
3719 | ||
3720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetAlignment",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3721 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0); |
3722 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
3723 | { |
3724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 3725 | result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment(); |
44127b65 RD |
3726 | |
3727 | wxPyEndAllowThreads(__tstate); | |
3728 | if (PyErr_Occurred()) SWIG_fail; | |
3729 | } | |
093d3ff1 | 3730 | resultobj = SWIG_From_int((result)); |
44127b65 RD |
3731 | return resultobj; |
3732 | fail: | |
3733 | return NULL; | |
3734 | } | |
3735 | ||
3736 | ||
c32bde28 | 3737 | static PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3738 | PyObject *resultobj = NULL; |
44127b65 RD |
3739 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; |
3740 | bool result; | |
3741 | PyObject * obj0 = 0 ; | |
3742 | char *kwnames[] = { | |
3743 | (char *) "self", NULL | |
3744 | }; | |
3745 | ||
3746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetDrawFaded",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3747 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0); |
3748 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
3749 | { |
3750 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3751 | result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded(); | |
3752 | ||
3753 | wxPyEndAllowThreads(__tstate); | |
3754 | if (PyErr_Occurred()) SWIG_fail; | |
3755 | } | |
4f89f6a3 RD |
3756 | { |
3757 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3758 | } | |
44127b65 RD |
3759 | return resultobj; |
3760 | fail: | |
3761 | return NULL; | |
3762 | } | |
3763 | ||
3764 | ||
c32bde28 | 3765 | static PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3766 | PyObject *resultobj = NULL; |
44127b65 RD |
3767 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; |
3768 | wxString *result; | |
3769 | PyObject * obj0 = 0 ; | |
3770 | char *kwnames[] = { | |
3771 | (char *) "self", NULL | |
3772 | }; | |
3773 | ||
3774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetValue",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
3775 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0); |
3776 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
3777 | { |
3778 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3779 | { | |
3780 | wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue(); | |
3781 | result = (wxString *) &_result_ref; | |
3782 | } | |
3783 | ||
3784 | wxPyEndAllowThreads(__tstate); | |
3785 | if (PyErr_Occurred()) SWIG_fail; | |
3786 | } | |
f0983263 RD |
3787 | { |
3788 | #if wxUSE_UNICODE | |
3789 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
3790 | #else | |
3791 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
3792 | #endif | |
3793 | } | |
44127b65 RD |
3794 | return resultobj; |
3795 | fail: | |
3796 | return NULL; | |
3797 | } | |
3798 | ||
3799 | ||
c32bde28 | 3800 | static PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3801 | PyObject *resultobj = NULL; |
44127b65 | 3802 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; |
093d3ff1 | 3803 | wxLEDValueAlign arg2 ; |
44127b65 RD |
3804 | bool arg3 = (bool) true ; |
3805 | PyObject * obj0 = 0 ; | |
8edf1c75 | 3806 | PyObject * obj1 = 0 ; |
44127b65 RD |
3807 | PyObject * obj2 = 0 ; |
3808 | char *kwnames[] = { | |
3809 | (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL | |
3810 | }; | |
3811 | ||
8edf1c75 | 3812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
3813 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0); |
3814 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3815 | { | |
7449af73 | 3816 | arg2 = static_cast<wxLEDValueAlign >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3817 | if (SWIG_arg_fail(2)) SWIG_fail; |
3818 | } | |
44127b65 | 3819 | if (obj2) { |
093d3ff1 | 3820 | { |
7449af73 | 3821 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
3822 | if (SWIG_arg_fail(3)) SWIG_fail; |
3823 | } | |
44127b65 RD |
3824 | } |
3825 | { | |
3826 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7449af73 | 3827 | (arg1)->SetAlignment(arg2,arg3); |
44127b65 RD |
3828 | |
3829 | wxPyEndAllowThreads(__tstate); | |
3830 | if (PyErr_Occurred()) SWIG_fail; | |
3831 | } | |
3832 | Py_INCREF(Py_None); resultobj = Py_None; | |
3833 | return resultobj; | |
3834 | fail: | |
3835 | return NULL; | |
3836 | } | |
3837 | ||
3838 | ||
c32bde28 | 3839 | static PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3840 | PyObject *resultobj = NULL; |
44127b65 RD |
3841 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; |
3842 | bool arg2 ; | |
3843 | bool arg3 = (bool) true ; | |
3844 | PyObject * obj0 = 0 ; | |
3845 | PyObject * obj1 = 0 ; | |
3846 | PyObject * obj2 = 0 ; | |
3847 | char *kwnames[] = { | |
3848 | (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL | |
3849 | }; | |
3850 | ||
3851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
3852 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0); |
3853 | if (SWIG_arg_fail(1)) SWIG_fail; | |
3854 | { | |
7449af73 | 3855 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
3856 | if (SWIG_arg_fail(2)) SWIG_fail; |
3857 | } | |
83448d71 | 3858 | if (obj2) { |
093d3ff1 | 3859 | { |
7449af73 | 3860 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
3861 | if (SWIG_arg_fail(3)) SWIG_fail; |
3862 | } | |
83448d71 | 3863 | } |
44127b65 RD |
3864 | { |
3865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3866 | (arg1)->SetDrawFaded(arg2,arg3); | |
3867 | ||
3868 | wxPyEndAllowThreads(__tstate); | |
3869 | if (PyErr_Occurred()) SWIG_fail; | |
3870 | } | |
3871 | Py_INCREF(Py_None); resultobj = Py_None; | |
3872 | return resultobj; | |
3873 | fail: | |
3874 | return NULL; | |
3875 | } | |
3876 | ||
3877 | ||
c32bde28 | 3878 | static PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3879 | PyObject *resultobj = NULL; |
44127b65 RD |
3880 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; |
3881 | wxString *arg2 = 0 ; | |
3882 | bool arg3 = (bool) true ; | |
ae8162c8 | 3883 | bool temp2 = false ; |
44127b65 RD |
3884 | PyObject * obj0 = 0 ; |
3885 | PyObject * obj1 = 0 ; | |
3886 | PyObject * obj2 = 0 ; | |
3887 | char *kwnames[] = { | |
3888 | (char *) "self",(char *) "Value",(char *) "Redraw", NULL | |
3889 | }; | |
3890 | ||
3891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
3892 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0); |
3893 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
3894 | { |
3895 | arg2 = wxString_in_helper(obj1); | |
3896 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 3897 | temp2 = true; |
44127b65 RD |
3898 | } |
3899 | if (obj2) { | |
093d3ff1 | 3900 | { |
7449af73 | 3901 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
3902 | if (SWIG_arg_fail(3)) SWIG_fail; |
3903 | } | |
44127b65 RD |
3904 | } |
3905 | { | |
3906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3907 | (arg1)->SetValue((wxString const &)*arg2,arg3); | |
3908 | ||
3909 | wxPyEndAllowThreads(__tstate); | |
3910 | if (PyErr_Occurred()) SWIG_fail; | |
3911 | } | |
3912 | Py_INCREF(Py_None); resultobj = Py_None; | |
3913 | { | |
3914 | if (temp2) | |
3915 | delete arg2; | |
3916 | } | |
3917 | return resultobj; | |
3918 | fail: | |
3919 | { | |
3920 | if (temp2) | |
3921 | delete arg2; | |
3922 | } | |
3923 | return NULL; | |
3924 | } | |
3925 | ||
3926 | ||
c32bde28 | 3927 | static PyObject * LEDNumberCtrl_swigregister(PyObject *, PyObject *args) { |
44127b65 RD |
3928 | PyObject *obj; |
3929 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
3930 | SWIG_TypeClientData(SWIGTYPE_p_wxLEDNumberCtrl, obj); | |
3931 | Py_INCREF(obj); | |
3932 | return Py_BuildValue((char *)""); | |
3933 | } | |
c32bde28 | 3934 | static PyObject *_wrap_new_TreeListColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 3935 | PyObject *resultobj = NULL; |
44127b65 RD |
3936 | wxString const &arg1_defvalue = wxPyEmptyString ; |
3937 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
3938 | int arg2 = (int) -1 ; | |
3939 | size_t arg3 = (size_t) 100 ; | |
ae8162c8 | 3940 | bool arg4 = (bool) true ; |
093d3ff1 | 3941 | wxTreeListColumnAlign arg5 = (wxTreeListColumnAlign) wxTL_ALIGN_LEFT ; |
44127b65 | 3942 | wxTreeListColumnInfo *result; |
ae8162c8 | 3943 | bool temp1 = false ; |
44127b65 | 3944 | PyObject * obj0 = 0 ; |
8edf1c75 | 3945 | PyObject * obj1 = 0 ; |
44127b65 | 3946 | PyObject * obj2 = 0 ; |
8edf1c75 | 3947 | PyObject * obj3 = 0 ; |
629f3c1b | 3948 | PyObject * obj4 = 0 ; |
44127b65 | 3949 | char *kwnames[] = { |
629f3c1b | 3950 | (char *) "text",(char *) "image",(char *) "width",(char *) "shown",(char *) "alignment", NULL |
44127b65 RD |
3951 | }; |
3952 | ||
629f3c1b | 3953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
44127b65 RD |
3954 | if (obj0) { |
3955 | { | |
3956 | arg1 = wxString_in_helper(obj0); | |
3957 | if (arg1 == NULL) SWIG_fail; | |
ae8162c8 | 3958 | temp1 = true; |
44127b65 RD |
3959 | } |
3960 | } | |
8edf1c75 | 3961 | if (obj1) { |
093d3ff1 | 3962 | { |
7449af73 | 3963 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
3964 | if (SWIG_arg_fail(2)) SWIG_fail; |
3965 | } | |
8edf1c75 | 3966 | } |
44127b65 | 3967 | if (obj2) { |
093d3ff1 | 3968 | { |
7449af73 | 3969 | arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2)); |
093d3ff1 RD |
3970 | if (SWIG_arg_fail(3)) SWIG_fail; |
3971 | } | |
8edf1c75 RD |
3972 | } |
3973 | if (obj3) { | |
093d3ff1 | 3974 | { |
7449af73 | 3975 | arg4 = static_cast<bool >(SWIG_As_bool(obj3)); |
093d3ff1 RD |
3976 | if (SWIG_arg_fail(4)) SWIG_fail; |
3977 | } | |
629f3c1b RD |
3978 | } |
3979 | if (obj4) { | |
093d3ff1 | 3980 | { |
7449af73 | 3981 | arg5 = static_cast<wxTreeListColumnAlign >(SWIG_As_int(obj4)); |
093d3ff1 RD |
3982 | if (SWIG_arg_fail(5)) SWIG_fail; |
3983 | } | |
44127b65 RD |
3984 | } |
3985 | { | |
3986 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7449af73 | 3987 | result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5); |
44127b65 RD |
3988 | |
3989 | wxPyEndAllowThreads(__tstate); | |
3990 | if (PyErr_Occurred()) SWIG_fail; | |
3991 | } | |
2f4c0a16 | 3992 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 1); |
44127b65 RD |
3993 | { |
3994 | if (temp1) | |
3995 | delete arg1; | |
3996 | } | |
3997 | return resultobj; | |
3998 | fail: | |
3999 | { | |
4000 | if (temp1) | |
4001 | delete arg1; | |
4002 | } | |
4003 | return NULL; | |
4004 | } | |
4005 | ||
4006 | ||
c32bde28 | 4007 | static PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4008 | PyObject *resultobj = NULL; |
629f3c1b RD |
4009 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
4010 | bool result; | |
4011 | PyObject * obj0 = 0 ; | |
4012 | char *kwnames[] = { | |
4013 | (char *) "self", NULL | |
4014 | }; | |
4015 | ||
4016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetShown",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4017 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); |
4018 | if (SWIG_arg_fail(1)) SWIG_fail; | |
629f3c1b RD |
4019 | { |
4020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4021 | result = (bool)((wxTreeListColumnInfo const *)arg1)->GetShown(); | |
4022 | ||
4023 | wxPyEndAllowThreads(__tstate); | |
4024 | if (PyErr_Occurred()) SWIG_fail; | |
4025 | } | |
4026 | { | |
4027 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4028 | } | |
4029 | return resultobj; | |
4030 | fail: | |
4031 | return NULL; | |
4032 | } | |
4033 | ||
4034 | ||
c32bde28 | 4035 | static PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4036 | PyObject *resultobj = NULL; |
44127b65 | 4037 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
093d3ff1 | 4038 | wxTreeListColumnAlign result; |
44127b65 RD |
4039 | PyObject * obj0 = 0 ; |
4040 | char *kwnames[] = { | |
4041 | (char *) "self", NULL | |
4042 | }; | |
4043 | ||
4044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetAlignment",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4045 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); |
4046 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
4047 | { |
4048 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 4049 | result = (wxTreeListColumnAlign)((wxTreeListColumnInfo const *)arg1)->GetAlignment(); |
44127b65 RD |
4050 | |
4051 | wxPyEndAllowThreads(__tstate); | |
4052 | if (PyErr_Occurred()) SWIG_fail; | |
4053 | } | |
093d3ff1 | 4054 | resultobj = SWIG_From_int((result)); |
44127b65 RD |
4055 | return resultobj; |
4056 | fail: | |
4057 | return NULL; | |
4058 | } | |
4059 | ||
4060 | ||
c32bde28 | 4061 | static PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4062 | PyObject *resultobj = NULL; |
44127b65 RD |
4063 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
4064 | wxString result; | |
4065 | PyObject * obj0 = 0 ; | |
4066 | char *kwnames[] = { | |
4067 | (char *) "self", NULL | |
4068 | }; | |
4069 | ||
4070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetText",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4071 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); |
4072 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
4073 | { |
4074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4075 | result = ((wxTreeListColumnInfo const *)arg1)->GetText(); | |
4076 | ||
4077 | wxPyEndAllowThreads(__tstate); | |
4078 | if (PyErr_Occurred()) SWIG_fail; | |
4079 | } | |
4080 | { | |
4081 | #if wxUSE_UNICODE | |
4082 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
4083 | #else | |
4084 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
4085 | #endif | |
4086 | } | |
4087 | return resultobj; | |
4088 | fail: | |
4089 | return NULL; | |
4090 | } | |
4091 | ||
4092 | ||
c32bde28 | 4093 | static PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4094 | PyObject *resultobj = NULL; |
44127b65 RD |
4095 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
4096 | int result; | |
4097 | PyObject * obj0 = 0 ; | |
4098 | char *kwnames[] = { | |
4099 | (char *) "self", NULL | |
4100 | }; | |
4101 | ||
4102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetImage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4103 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); |
4104 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
4105 | { |
4106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4107 | result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage(); | |
4108 | ||
4109 | wxPyEndAllowThreads(__tstate); | |
4110 | if (PyErr_Occurred()) SWIG_fail; | |
4111 | } | |
093d3ff1 | 4112 | { |
7449af73 | 4113 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 4114 | } |
44127b65 RD |
4115 | return resultobj; |
4116 | fail: | |
4117 | return NULL; | |
4118 | } | |
4119 | ||
4120 | ||
c32bde28 | 4121 | static PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4122 | PyObject *resultobj = NULL; |
44127b65 RD |
4123 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
4124 | int result; | |
4125 | PyObject * obj0 = 0 ; | |
4126 | char *kwnames[] = { | |
4127 | (char *) "self", NULL | |
4128 | }; | |
4129 | ||
4130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetSelectedImage",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4131 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); |
4132 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
4133 | { |
4134 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4135 | result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage(); | |
4136 | ||
4137 | wxPyEndAllowThreads(__tstate); | |
4138 | if (PyErr_Occurred()) SWIG_fail; | |
4139 | } | |
093d3ff1 | 4140 | { |
7449af73 | 4141 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 4142 | } |
44127b65 RD |
4143 | return resultobj; |
4144 | fail: | |
4145 | return NULL; | |
4146 | } | |
4147 | ||
4148 | ||
c32bde28 | 4149 | static PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4150 | PyObject *resultobj = NULL; |
44127b65 RD |
4151 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
4152 | size_t result; | |
4153 | PyObject * obj0 = 0 ; | |
4154 | char *kwnames[] = { | |
4155 | (char *) "self", NULL | |
4156 | }; | |
4157 | ||
4158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetWidth",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4159 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); |
4160 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
4161 | { |
4162 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4163 | result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth(); | |
4164 | ||
4165 | wxPyEndAllowThreads(__tstate); | |
4166 | if (PyErr_Occurred()) SWIG_fail; | |
4167 | } | |
093d3ff1 | 4168 | { |
7449af73 | 4169 | resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result)); |
093d3ff1 | 4170 | } |
44127b65 RD |
4171 | return resultobj; |
4172 | fail: | |
4173 | return NULL; | |
4174 | } | |
4175 | ||
4176 | ||
c32bde28 | 4177 | static PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4178 | PyObject *resultobj = NULL; |
629f3c1b RD |
4179 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
4180 | bool arg2 ; | |
4181 | PyObject * obj0 = 0 ; | |
4182 | PyObject * obj1 = 0 ; | |
4183 | char *kwnames[] = { | |
4184 | (char *) "self",(char *) "shown", NULL | |
4185 | }; | |
4186 | ||
4187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4188 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); |
4189 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4190 | { | |
7449af73 | 4191 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
4192 | if (SWIG_arg_fail(2)) SWIG_fail; |
4193 | } | |
629f3c1b RD |
4194 | { |
4195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4196 | (arg1)->SetShown(arg2); | |
4197 | ||
4198 | wxPyEndAllowThreads(__tstate); | |
4199 | if (PyErr_Occurred()) SWIG_fail; | |
4200 | } | |
4201 | Py_INCREF(Py_None); resultobj = Py_None; | |
4202 | return resultobj; | |
4203 | fail: | |
4204 | return NULL; | |
4205 | } | |
4206 | ||
4207 | ||
c32bde28 | 4208 | static PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4209 | PyObject *resultobj = NULL; |
44127b65 | 4210 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
093d3ff1 | 4211 | wxTreeListColumnAlign arg2 ; |
44127b65 | 4212 | PyObject * obj0 = 0 ; |
8edf1c75 | 4213 | PyObject * obj1 = 0 ; |
44127b65 RD |
4214 | char *kwnames[] = { |
4215 | (char *) "self",(char *) "alignment", NULL | |
4216 | }; | |
4217 | ||
8edf1c75 | 4218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
4219 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); |
4220 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4221 | { | |
7449af73 | 4222 | arg2 = static_cast<wxTreeListColumnAlign >(SWIG_As_int(obj1)); |
093d3ff1 RD |
4223 | if (SWIG_arg_fail(2)) SWIG_fail; |
4224 | } | |
44127b65 RD |
4225 | { |
4226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7449af73 | 4227 | (arg1)->SetAlignment(arg2); |
44127b65 RD |
4228 | |
4229 | wxPyEndAllowThreads(__tstate); | |
4230 | if (PyErr_Occurred()) SWIG_fail; | |
4231 | } | |
4232 | Py_INCREF(Py_None); resultobj = Py_None; | |
4233 | return resultobj; | |
4234 | fail: | |
4235 | return NULL; | |
4236 | } | |
4237 | ||
4238 | ||
c32bde28 | 4239 | static PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4240 | PyObject *resultobj = NULL; |
44127b65 RD |
4241 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
4242 | wxString *arg2 = 0 ; | |
ae8162c8 | 4243 | bool temp2 = false ; |
44127b65 RD |
4244 | PyObject * obj0 = 0 ; |
4245 | PyObject * obj1 = 0 ; | |
4246 | char *kwnames[] = { | |
4247 | (char *) "self",(char *) "text", NULL | |
4248 | }; | |
4249 | ||
4250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4251 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); |
4252 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
4253 | { |
4254 | arg2 = wxString_in_helper(obj1); | |
4255 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 4256 | temp2 = true; |
44127b65 RD |
4257 | } |
4258 | { | |
4259 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4260 | (arg1)->SetText((wxString const &)*arg2); | |
4261 | ||
4262 | wxPyEndAllowThreads(__tstate); | |
4263 | if (PyErr_Occurred()) SWIG_fail; | |
4264 | } | |
4265 | Py_INCREF(Py_None); resultobj = Py_None; | |
4266 | { | |
4267 | if (temp2) | |
4268 | delete arg2; | |
4269 | } | |
4270 | return resultobj; | |
4271 | fail: | |
4272 | { | |
4273 | if (temp2) | |
4274 | delete arg2; | |
4275 | } | |
4276 | return NULL; | |
4277 | } | |
4278 | ||
4279 | ||
c32bde28 | 4280 | static PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4281 | PyObject *resultobj = NULL; |
44127b65 RD |
4282 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
4283 | int arg2 ; | |
4284 | PyObject * obj0 = 0 ; | |
8edf1c75 | 4285 | PyObject * obj1 = 0 ; |
44127b65 RD |
4286 | char *kwnames[] = { |
4287 | (char *) "self",(char *) "image", NULL | |
4288 | }; | |
4289 | ||
8edf1c75 | 4290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
4291 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); |
4292 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4293 | { | |
7449af73 | 4294 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
4295 | if (SWIG_arg_fail(2)) SWIG_fail; |
4296 | } | |
44127b65 RD |
4297 | { |
4298 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4299 | (arg1)->SetImage(arg2); | |
4300 | ||
4301 | wxPyEndAllowThreads(__tstate); | |
4302 | if (PyErr_Occurred()) SWIG_fail; | |
4303 | } | |
4304 | Py_INCREF(Py_None); resultobj = Py_None; | |
4305 | return resultobj; | |
4306 | fail: | |
4307 | return NULL; | |
4308 | } | |
4309 | ||
4310 | ||
c32bde28 | 4311 | static PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4312 | PyObject *resultobj = NULL; |
44127b65 RD |
4313 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
4314 | int arg2 ; | |
4315 | PyObject * obj0 = 0 ; | |
8edf1c75 | 4316 | PyObject * obj1 = 0 ; |
44127b65 RD |
4317 | char *kwnames[] = { |
4318 | (char *) "self",(char *) "image", NULL | |
4319 | }; | |
4320 | ||
8edf1c75 | 4321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
4322 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); |
4323 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4324 | { | |
7449af73 | 4325 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
4326 | if (SWIG_arg_fail(2)) SWIG_fail; |
4327 | } | |
44127b65 RD |
4328 | { |
4329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4330 | (arg1)->SetSelectedImage(arg2); | |
4331 | ||
4332 | wxPyEndAllowThreads(__tstate); | |
4333 | if (PyErr_Occurred()) SWIG_fail; | |
4334 | } | |
4335 | Py_INCREF(Py_None); resultobj = Py_None; | |
4336 | return resultobj; | |
4337 | fail: | |
4338 | return NULL; | |
4339 | } | |
4340 | ||
4341 | ||
c32bde28 | 4342 | static PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4343 | PyObject *resultobj = NULL; |
44127b65 RD |
4344 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
4345 | size_t arg2 ; | |
4346 | PyObject * obj0 = 0 ; | |
4347 | PyObject * obj1 = 0 ; | |
4348 | char *kwnames[] = { | |
4349 | (char *) "self",(char *) "with", NULL | |
4350 | }; | |
4351 | ||
4352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4353 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); |
4354 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4355 | { | |
7449af73 | 4356 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
4357 | if (SWIG_arg_fail(2)) SWIG_fail; |
4358 | } | |
44127b65 RD |
4359 | { |
4360 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4361 | (arg1)->SetWidth(arg2); | |
4362 | ||
4363 | wxPyEndAllowThreads(__tstate); | |
4364 | if (PyErr_Occurred()) SWIG_fail; | |
4365 | } | |
4366 | Py_INCREF(Py_None); resultobj = Py_None; | |
4367 | return resultobj; | |
4368 | fail: | |
4369 | return NULL; | |
4370 | } | |
4371 | ||
4372 | ||
c32bde28 | 4373 | static PyObject * TreeListColumnInfo_swigregister(PyObject *, PyObject *args) { |
44127b65 RD |
4374 | PyObject *obj; |
4375 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
4376 | SWIG_TypeClientData(SWIGTYPE_p_wxTreeListColumnInfo, obj); | |
4377 | Py_INCREF(obj); | |
4378 | return Py_BuildValue((char *)""); | |
4379 | } | |
c32bde28 | 4380 | static PyObject *_wrap_new_TreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4381 | PyObject *resultobj = NULL; |
44127b65 RD |
4382 | wxWindow *arg1 = (wxWindow *) 0 ; |
4383 | int arg2 = (int) -1 ; | |
4384 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
4385 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
4386 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
4387 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
4388 | long arg5 = (long) wxTR_DEFAULT_STYLE ; | |
4389 | wxValidator const &arg6_defvalue = wxDefaultValidator ; | |
4390 | wxValidator *arg6 = (wxValidator *) &arg6_defvalue ; | |
4391 | wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ; | |
4392 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
4393 | wxPyTreeListCtrl *result; | |
4394 | wxPoint temp3 ; | |
4395 | wxSize temp4 ; | |
ae8162c8 | 4396 | bool temp7 = false ; |
44127b65 | 4397 | PyObject * obj0 = 0 ; |
8edf1c75 | 4398 | PyObject * obj1 = 0 ; |
44127b65 RD |
4399 | PyObject * obj2 = 0 ; |
4400 | PyObject * obj3 = 0 ; | |
8edf1c75 | 4401 | PyObject * obj4 = 0 ; |
44127b65 RD |
4402 | PyObject * obj5 = 0 ; |
4403 | PyObject * obj6 = 0 ; | |
4404 | char *kwnames[] = { | |
4405 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL | |
4406 | }; | |
4407 | ||
8edf1c75 | 4408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
4409 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
4410 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8edf1c75 | 4411 | if (obj1) { |
093d3ff1 | 4412 | { |
7449af73 | 4413 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
093d3ff1 RD |
4414 | if (SWIG_arg_fail(2)) SWIG_fail; |
4415 | } | |
8edf1c75 | 4416 | } |
44127b65 RD |
4417 | if (obj2) { |
4418 | { | |
4419 | arg3 = &temp3; | |
4420 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
4421 | } | |
4422 | } | |
4423 | if (obj3) { | |
4424 | { | |
4425 | arg4 = &temp4; | |
4426 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
4427 | } | |
4428 | } | |
8edf1c75 | 4429 | if (obj4) { |
093d3ff1 | 4430 | { |
7449af73 | 4431 | arg5 = static_cast<long >(SWIG_As_long(obj4)); |
093d3ff1 RD |
4432 | if (SWIG_arg_fail(5)) SWIG_fail; |
4433 | } | |
8edf1c75 | 4434 | } |
44127b65 | 4435 | if (obj5) { |
093d3ff1 RD |
4436 | { |
4437 | SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0); | |
4438 | if (SWIG_arg_fail(6)) SWIG_fail; | |
4439 | if (arg6 == NULL) { | |
4440 | SWIG_null_ref("wxValidator"); | |
4441 | } | |
4442 | if (SWIG_arg_fail(6)) SWIG_fail; | |
44127b65 RD |
4443 | } |
4444 | } | |
4445 | if (obj6) { | |
4446 | { | |
4447 | arg7 = wxString_in_helper(obj6); | |
4448 | if (arg7 == NULL) SWIG_fail; | |
ae8162c8 | 4449 | temp7 = true; |
44127b65 RD |
4450 | } |
4451 | } | |
4452 | { | |
0439c23b | 4453 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
4454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4455 | result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7); | |
4456 | ||
4457 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4458 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 4459 | } |
2f4c0a16 | 4460 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1); |
44127b65 RD |
4461 | { |
4462 | if (temp7) | |
4463 | delete arg7; | |
4464 | } | |
4465 | return resultobj; | |
4466 | fail: | |
4467 | { | |
4468 | if (temp7) | |
4469 | delete arg7; | |
4470 | } | |
4471 | return NULL; | |
4472 | } | |
4473 | ||
4474 | ||
c32bde28 | 4475 | static PyObject *_wrap_new_PreTreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4476 | PyObject *resultobj = NULL; |
44127b65 RD |
4477 | wxPyTreeListCtrl *result; |
4478 | char *kwnames[] = { | |
4479 | NULL | |
4480 | }; | |
4481 | ||
4482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeListCtrl",kwnames)) goto fail; | |
4483 | { | |
0439c23b | 4484 | if (!wxPyCheckForApp()) SWIG_fail; |
44127b65 RD |
4485 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
4486 | result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(); | |
4487 | ||
4488 | wxPyEndAllowThreads(__tstate); | |
110da5b0 | 4489 | if (PyErr_Occurred()) SWIG_fail; |
44127b65 | 4490 | } |
2f4c0a16 | 4491 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1); |
44127b65 RD |
4492 | return resultobj; |
4493 | fail: | |
4494 | return NULL; | |
4495 | } | |
4496 | ||
4497 | ||
c32bde28 | 4498 | static PyObject *_wrap_TreeListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4499 | PyObject *resultobj = NULL; |
44127b65 RD |
4500 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
4501 | wxWindow *arg2 = (wxWindow *) 0 ; | |
4502 | int arg3 = (int) -1 ; | |
4503 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
4504 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4505 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4506 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4507 | long arg6 = (long) wxTR_DEFAULT_STYLE ; | |
4508 | wxValidator const &arg7_defvalue = wxDefaultValidator ; | |
4509 | wxValidator *arg7 = (wxValidator *) &arg7_defvalue ; | |
4510 | wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ; | |
4511 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
4512 | bool result; | |
4513 | wxPoint temp4 ; | |
4514 | wxSize temp5 ; | |
ae8162c8 | 4515 | bool temp8 = false ; |
44127b65 RD |
4516 | PyObject * obj0 = 0 ; |
4517 | PyObject * obj1 = 0 ; | |
8edf1c75 | 4518 | PyObject * obj2 = 0 ; |
44127b65 RD |
4519 | PyObject * obj3 = 0 ; |
4520 | PyObject * obj4 = 0 ; | |
8edf1c75 | 4521 | PyObject * obj5 = 0 ; |
44127b65 RD |
4522 | PyObject * obj6 = 0 ; |
4523 | PyObject * obj7 = 0 ; | |
4524 | char *kwnames[] = { | |
4525 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL | |
4526 | }; | |
4527 | ||
8edf1c75 | 4528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
093d3ff1 RD |
4529 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
4530 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4531 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
4532 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8edf1c75 | 4533 | if (obj2) { |
093d3ff1 | 4534 | { |
7449af73 | 4535 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
4536 | if (SWIG_arg_fail(3)) SWIG_fail; |
4537 | } | |
8edf1c75 | 4538 | } |
44127b65 RD |
4539 | if (obj3) { |
4540 | { | |
4541 | arg4 = &temp4; | |
4542 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4543 | } | |
4544 | } | |
4545 | if (obj4) { | |
4546 | { | |
4547 | arg5 = &temp5; | |
4548 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
4549 | } | |
4550 | } | |
8edf1c75 | 4551 | if (obj5) { |
093d3ff1 | 4552 | { |
7449af73 | 4553 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
093d3ff1 RD |
4554 | if (SWIG_arg_fail(6)) SWIG_fail; |
4555 | } | |
8edf1c75 | 4556 | } |
44127b65 | 4557 | if (obj6) { |
093d3ff1 RD |
4558 | { |
4559 | SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0); | |
4560 | if (SWIG_arg_fail(7)) SWIG_fail; | |
4561 | if (arg7 == NULL) { | |
4562 | SWIG_null_ref("wxValidator"); | |
4563 | } | |
4564 | if (SWIG_arg_fail(7)) SWIG_fail; | |
44127b65 RD |
4565 | } |
4566 | } | |
4567 | if (obj7) { | |
4568 | { | |
4569 | arg8 = wxString_in_helper(obj7); | |
4570 | if (arg8 == NULL) SWIG_fail; | |
ae8162c8 | 4571 | temp8 = true; |
44127b65 RD |
4572 | } |
4573 | } | |
4574 | { | |
4575 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4576 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8); | |
4577 | ||
4578 | wxPyEndAllowThreads(__tstate); | |
4579 | if (PyErr_Occurred()) SWIG_fail; | |
4580 | } | |
4f89f6a3 RD |
4581 | { |
4582 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4583 | } | |
44127b65 RD |
4584 | { |
4585 | if (temp8) | |
4586 | delete arg8; | |
4587 | } | |
4588 | return resultobj; | |
4589 | fail: | |
4590 | { | |
4591 | if (temp8) | |
4592 | delete arg8; | |
4593 | } | |
4594 | return NULL; | |
4595 | } | |
4596 | ||
4597 | ||
c32bde28 | 4598 | static PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4599 | PyObject *resultobj = NULL; |
44127b65 RD |
4600 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
4601 | PyObject *arg2 = (PyObject *) 0 ; | |
4602 | PyObject *arg3 = (PyObject *) 0 ; | |
4603 | PyObject * obj0 = 0 ; | |
4604 | PyObject * obj1 = 0 ; | |
4605 | PyObject * obj2 = 0 ; | |
4606 | char *kwnames[] = { | |
4607 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
4608 | }; | |
4609 | ||
4610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
4611 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
4612 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
4613 | arg2 = obj1; |
4614 | arg3 = obj2; | |
4615 | { | |
4616 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4617 | (arg1)->_setCallbackInfo(arg2,arg3); | |
4618 | ||
4619 | wxPyEndAllowThreads(__tstate); | |
4620 | if (PyErr_Occurred()) SWIG_fail; | |
4621 | } | |
4622 | Py_INCREF(Py_None); resultobj = Py_None; | |
4623 | return resultobj; | |
4624 | fail: | |
4625 | return NULL; | |
4626 | } | |
4627 | ||
4628 | ||
c32bde28 | 4629 | static PyObject *_wrap_TreeListCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4630 | PyObject *resultobj = NULL; |
44127b65 RD |
4631 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
4632 | size_t result; | |
4633 | PyObject * obj0 = 0 ; | |
4634 | char *kwnames[] = { | |
4635 | (char *) "self", NULL | |
4636 | }; | |
4637 | ||
4638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetCount",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4639 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
4640 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
4641 | { |
4642 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4643 | result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount(); | |
4644 | ||
4645 | wxPyEndAllowThreads(__tstate); | |
4646 | if (PyErr_Occurred()) SWIG_fail; | |
4647 | } | |
093d3ff1 | 4648 | { |
7449af73 | 4649 | resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result)); |
093d3ff1 | 4650 | } |
44127b65 RD |
4651 | return resultobj; |
4652 | fail: | |
4653 | return NULL; | |
4654 | } | |
4655 | ||
4656 | ||
c32bde28 | 4657 | static PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4658 | PyObject *resultobj = NULL; |
44127b65 RD |
4659 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
4660 | unsigned int result; | |
4661 | PyObject * obj0 = 0 ; | |
4662 | char *kwnames[] = { | |
4663 | (char *) "self", NULL | |
4664 | }; | |
4665 | ||
4666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetIndent",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4667 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
4668 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
4669 | { |
4670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4671 | result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent(); | |
4672 | ||
4673 | wxPyEndAllowThreads(__tstate); | |
4674 | if (PyErr_Occurred()) SWIG_fail; | |
4675 | } | |
093d3ff1 | 4676 | { |
7449af73 | 4677 | resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result)); |
093d3ff1 | 4678 | } |
44127b65 RD |
4679 | return resultobj; |
4680 | fail: | |
4681 | return NULL; | |
4682 | } | |
4683 | ||
4684 | ||
c32bde28 | 4685 | static PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4686 | PyObject *resultobj = NULL; |
44127b65 RD |
4687 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
4688 | unsigned int arg2 ; | |
4689 | PyObject * obj0 = 0 ; | |
4690 | PyObject * obj1 = 0 ; | |
4691 | char *kwnames[] = { | |
4692 | (char *) "self",(char *) "indent", NULL | |
4693 | }; | |
4694 | ||
4695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4696 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
4697 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4698 | { | |
7449af73 | 4699 | arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1)); |
093d3ff1 RD |
4700 | if (SWIG_arg_fail(2)) SWIG_fail; |
4701 | } | |
44127b65 RD |
4702 | { |
4703 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4704 | (arg1)->SetIndent(arg2); | |
4705 | ||
4706 | wxPyEndAllowThreads(__tstate); | |
4707 | if (PyErr_Occurred()) SWIG_fail; | |
4708 | } | |
4709 | Py_INCREF(Py_None); resultobj = Py_None; | |
4710 | return resultobj; | |
4711 | fail: | |
4712 | return NULL; | |
4713 | } | |
4714 | ||
4715 | ||
c32bde28 | 4716 | static PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4717 | PyObject *resultobj = NULL; |
44127b65 RD |
4718 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
4719 | unsigned int result; | |
4720 | PyObject * obj0 = 0 ; | |
4721 | char *kwnames[] = { | |
4722 | (char *) "self", NULL | |
4723 | }; | |
4724 | ||
4725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetLineSpacing",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4726 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
4727 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
4728 | { |
4729 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4730 | result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing(); | |
4731 | ||
4732 | wxPyEndAllowThreads(__tstate); | |
4733 | if (PyErr_Occurred()) SWIG_fail; | |
4734 | } | |
093d3ff1 | 4735 | { |
7449af73 | 4736 | resultobj = SWIG_From_unsigned_SS_int(static_cast<unsigned int >(result)); |
093d3ff1 | 4737 | } |
44127b65 RD |
4738 | return resultobj; |
4739 | fail: | |
4740 | return NULL; | |
4741 | } | |
4742 | ||
4743 | ||
c32bde28 | 4744 | static PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4745 | PyObject *resultobj = NULL; |
44127b65 RD |
4746 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
4747 | unsigned int arg2 ; | |
4748 | PyObject * obj0 = 0 ; | |
4749 | PyObject * obj1 = 0 ; | |
4750 | char *kwnames[] = { | |
4751 | (char *) "self",(char *) "spacing", NULL | |
4752 | }; | |
4753 | ||
4754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4755 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
4756 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4757 | { | |
7449af73 | 4758 | arg2 = static_cast<unsigned int >(SWIG_As_unsigned_SS_int(obj1)); |
093d3ff1 RD |
4759 | if (SWIG_arg_fail(2)) SWIG_fail; |
4760 | } | |
44127b65 RD |
4761 | { |
4762 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4763 | (arg1)->SetLineSpacing(arg2); | |
4764 | ||
4765 | wxPyEndAllowThreads(__tstate); | |
4766 | if (PyErr_Occurred()) SWIG_fail; | |
4767 | } | |
4768 | Py_INCREF(Py_None); resultobj = Py_None; | |
4769 | return resultobj; | |
4770 | fail: | |
4771 | return NULL; | |
4772 | } | |
4773 | ||
4774 | ||
c32bde28 | 4775 | static PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4776 | PyObject *resultobj = NULL; |
44127b65 RD |
4777 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
4778 | wxImageList *result; | |
4779 | PyObject * obj0 = 0 ; | |
4780 | char *kwnames[] = { | |
4781 | (char *) "self", NULL | |
4782 | }; | |
4783 | ||
4784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetImageList",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4785 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
4786 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
4787 | { |
4788 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4789 | result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList(); | |
4790 | ||
4791 | wxPyEndAllowThreads(__tstate); | |
4792 | if (PyErr_Occurred()) SWIG_fail; | |
4793 | } | |
4794 | { | |
7e08d4ef | 4795 | resultobj = wxPyMake_wxObject(result, (bool)0); |
44127b65 RD |
4796 | } |
4797 | return resultobj; | |
4798 | fail: | |
4799 | return NULL; | |
4800 | } | |
4801 | ||
4802 | ||
c32bde28 | 4803 | static PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4804 | PyObject *resultobj = NULL; |
44127b65 RD |
4805 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
4806 | wxImageList *result; | |
4807 | PyObject * obj0 = 0 ; | |
4808 | char *kwnames[] = { | |
4809 | (char *) "self", NULL | |
4810 | }; | |
4811 | ||
4812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetStateImageList",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4813 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
4814 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
4815 | { |
4816 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4817 | result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList(); | |
4818 | ||
4819 | wxPyEndAllowThreads(__tstate); | |
4820 | if (PyErr_Occurred()) SWIG_fail; | |
4821 | } | |
4822 | { | |
7e08d4ef | 4823 | resultobj = wxPyMake_wxObject(result, (bool)0); |
44127b65 RD |
4824 | } |
4825 | return resultobj; | |
4826 | fail: | |
4827 | return NULL; | |
4828 | } | |
4829 | ||
4830 | ||
c32bde28 | 4831 | static PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4832 | PyObject *resultobj = NULL; |
44127b65 RD |
4833 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
4834 | wxImageList *result; | |
4835 | PyObject * obj0 = 0 ; | |
4836 | char *kwnames[] = { | |
4837 | (char *) "self", NULL | |
4838 | }; | |
4839 | ||
4840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetButtonsImageList",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
4841 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
4842 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
4843 | { |
4844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4845 | result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList(); | |
4846 | ||
4847 | wxPyEndAllowThreads(__tstate); | |
4848 | if (PyErr_Occurred()) SWIG_fail; | |
4849 | } | |
4850 | { | |
7e08d4ef | 4851 | resultobj = wxPyMake_wxObject(result, (bool)0); |
44127b65 RD |
4852 | } |
4853 | return resultobj; | |
4854 | fail: | |
4855 | return NULL; | |
4856 | } | |
4857 | ||
4858 | ||
c32bde28 | 4859 | static PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4860 | PyObject *resultobj = NULL; |
44127b65 RD |
4861 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
4862 | wxImageList *arg2 = (wxImageList *) 0 ; | |
4863 | PyObject * obj0 = 0 ; | |
4864 | PyObject * obj1 = 0 ; | |
4865 | char *kwnames[] = { | |
4866 | (char *) "self",(char *) "imageList", NULL | |
4867 | }; | |
4868 | ||
4869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4870 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
4871 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4872 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0); | |
4873 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
4874 | { |
4875 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4876 | (arg1)->SetImageList(arg2); | |
4877 | ||
4878 | wxPyEndAllowThreads(__tstate); | |
4879 | if (PyErr_Occurred()) SWIG_fail; | |
4880 | } | |
4881 | Py_INCREF(Py_None); resultobj = Py_None; | |
4882 | return resultobj; | |
4883 | fail: | |
4884 | return NULL; | |
4885 | } | |
4886 | ||
4887 | ||
c32bde28 | 4888 | static PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4889 | PyObject *resultobj = NULL; |
44127b65 RD |
4890 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
4891 | wxImageList *arg2 = (wxImageList *) 0 ; | |
4892 | PyObject * obj0 = 0 ; | |
4893 | PyObject * obj1 = 0 ; | |
4894 | char *kwnames[] = { | |
4895 | (char *) "self",(char *) "imageList", NULL | |
4896 | }; | |
4897 | ||
4898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4899 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
4900 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4901 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0); | |
4902 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
4903 | { |
4904 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4905 | (arg1)->SetStateImageList(arg2); | |
4906 | ||
4907 | wxPyEndAllowThreads(__tstate); | |
4908 | if (PyErr_Occurred()) SWIG_fail; | |
4909 | } | |
4910 | Py_INCREF(Py_None); resultobj = Py_None; | |
4911 | return resultobj; | |
4912 | fail: | |
4913 | return NULL; | |
4914 | } | |
4915 | ||
4916 | ||
c32bde28 | 4917 | static PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4918 | PyObject *resultobj = NULL; |
44127b65 RD |
4919 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
4920 | wxImageList *arg2 = (wxImageList *) 0 ; | |
4921 | PyObject * obj0 = 0 ; | |
4922 | PyObject * obj1 = 0 ; | |
4923 | char *kwnames[] = { | |
4924 | (char *) "self",(char *) "imageList", NULL | |
4925 | }; | |
4926 | ||
4927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4928 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
4929 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4930 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0); | |
4931 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
4932 | { |
4933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4934 | (arg1)->SetButtonsImageList(arg2); | |
4935 | ||
4936 | wxPyEndAllowThreads(__tstate); | |
4937 | if (PyErr_Occurred()) SWIG_fail; | |
4938 | } | |
4939 | Py_INCREF(Py_None); resultobj = Py_None; | |
4940 | return resultobj; | |
4941 | fail: | |
4942 | return NULL; | |
4943 | } | |
4944 | ||
4945 | ||
c32bde28 | 4946 | static PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4947 | PyObject *resultobj = NULL; |
44127b65 RD |
4948 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
4949 | wxImageList *arg2 = (wxImageList *) 0 ; | |
4950 | PyObject * obj0 = 0 ; | |
4951 | PyObject * obj1 = 0 ; | |
4952 | char *kwnames[] = { | |
4953 | (char *) "self",(char *) "imageList", NULL | |
4954 | }; | |
4955 | ||
4956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4957 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
4958 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4959 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); | |
4960 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
4961 | { |
4962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4963 | (arg1)->AssignImageList(arg2); | |
4964 | ||
4965 | wxPyEndAllowThreads(__tstate); | |
4966 | if (PyErr_Occurred()) SWIG_fail; | |
4967 | } | |
4968 | Py_INCREF(Py_None); resultobj = Py_None; | |
4969 | return resultobj; | |
4970 | fail: | |
4971 | return NULL; | |
4972 | } | |
4973 | ||
4974 | ||
c32bde28 | 4975 | static PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 4976 | PyObject *resultobj = NULL; |
44127b65 RD |
4977 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
4978 | wxImageList *arg2 = (wxImageList *) 0 ; | |
4979 | PyObject * obj0 = 0 ; | |
4980 | PyObject * obj1 = 0 ; | |
4981 | char *kwnames[] = { | |
4982 | (char *) "self",(char *) "imageList", NULL | |
4983 | }; | |
4984 | ||
4985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
4986 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
4987 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4988 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); | |
4989 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
4990 | { |
4991 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4992 | (arg1)->AssignStateImageList(arg2); | |
4993 | ||
4994 | wxPyEndAllowThreads(__tstate); | |
4995 | if (PyErr_Occurred()) SWIG_fail; | |
4996 | } | |
4997 | Py_INCREF(Py_None); resultobj = Py_None; | |
4998 | return resultobj; | |
4999 | fail: | |
5000 | return NULL; | |
5001 | } | |
5002 | ||
5003 | ||
c32bde28 | 5004 | static PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5005 | PyObject *resultobj = NULL; |
44127b65 RD |
5006 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5007 | wxImageList *arg2 = (wxImageList *) 0 ; | |
5008 | PyObject * obj0 = 0 ; | |
5009 | PyObject * obj1 = 0 ; | |
5010 | char *kwnames[] = { | |
5011 | (char *) "self",(char *) "imageList", NULL | |
5012 | }; | |
5013 | ||
5014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5015 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5016 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5017 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN); | |
5018 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
5019 | { |
5020 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5021 | (arg1)->AssignButtonsImageList(arg2); | |
5022 | ||
5023 | wxPyEndAllowThreads(__tstate); | |
5024 | if (PyErr_Occurred()) SWIG_fail; | |
5025 | } | |
5026 | Py_INCREF(Py_None); resultobj = Py_None; | |
5027 | return resultobj; | |
5028 | fail: | |
5029 | return NULL; | |
5030 | } | |
5031 | ||
5032 | ||
c32bde28 | 5033 | static PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5034 | PyObject *resultobj = NULL; |
44127b65 RD |
5035 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5036 | wxString *arg2 = 0 ; | |
ae8162c8 | 5037 | bool temp2 = false ; |
44127b65 RD |
5038 | PyObject * obj0 = 0 ; |
5039 | PyObject * obj1 = 0 ; | |
5040 | char *kwnames[] = { | |
5041 | (char *) "self",(char *) "text", NULL | |
5042 | }; | |
5043 | ||
5044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5045 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5046 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
5047 | { |
5048 | arg2 = wxString_in_helper(obj1); | |
5049 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 5050 | temp2 = true; |
44127b65 RD |
5051 | } |
5052 | { | |
5053 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5054 | (arg1)->AddColumn((wxString const &)*arg2); | |
5055 | ||
5056 | wxPyEndAllowThreads(__tstate); | |
5057 | if (PyErr_Occurred()) SWIG_fail; | |
5058 | } | |
5059 | Py_INCREF(Py_None); resultobj = Py_None; | |
5060 | { | |
5061 | if (temp2) | |
5062 | delete arg2; | |
5063 | } | |
5064 | return resultobj; | |
5065 | fail: | |
5066 | { | |
5067 | if (temp2) | |
5068 | delete arg2; | |
5069 | } | |
5070 | return NULL; | |
5071 | } | |
5072 | ||
5073 | ||
c32bde28 | 5074 | static PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5075 | PyObject *resultobj = NULL; |
44127b65 RD |
5076 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5077 | wxTreeListColumnInfo *arg2 = 0 ; | |
5078 | PyObject * obj0 = 0 ; | |
5079 | PyObject * obj1 = 0 ; | |
5080 | char *kwnames[] = { | |
5081 | (char *) "self",(char *) "col", NULL | |
5082 | }; | |
5083 | ||
5084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5085 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5086 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5087 | { | |
5088 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); | |
5089 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5090 | if (arg2 == NULL) { | |
5091 | SWIG_null_ref("wxTreeListColumnInfo"); | |
5092 | } | |
5093 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
5094 | } |
5095 | { | |
5096 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5097 | (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2); | |
5098 | ||
5099 | wxPyEndAllowThreads(__tstate); | |
5100 | if (PyErr_Occurred()) SWIG_fail; | |
5101 | } | |
5102 | Py_INCREF(Py_None); resultobj = Py_None; | |
5103 | return resultobj; | |
5104 | fail: | |
5105 | return NULL; | |
5106 | } | |
5107 | ||
5108 | ||
c32bde28 | 5109 | static PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5110 | PyObject *resultobj = NULL; |
44127b65 RD |
5111 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5112 | size_t arg2 ; | |
5113 | wxString *arg3 = 0 ; | |
ae8162c8 | 5114 | bool temp3 = false ; |
44127b65 RD |
5115 | PyObject * obj0 = 0 ; |
5116 | PyObject * obj1 = 0 ; | |
5117 | PyObject * obj2 = 0 ; | |
5118 | char *kwnames[] = { | |
5119 | (char *) "self",(char *) "before",(char *) "text", NULL | |
5120 | }; | |
5121 | ||
5122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
5123 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5124 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5125 | { | |
7449af73 | 5126 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
5127 | if (SWIG_arg_fail(2)) SWIG_fail; |
5128 | } | |
44127b65 RD |
5129 | { |
5130 | arg3 = wxString_in_helper(obj2); | |
5131 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 5132 | temp3 = true; |
44127b65 RD |
5133 | } |
5134 | { | |
5135 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5136 | (arg1)->InsertColumn(arg2,(wxString const &)*arg3); | |
5137 | ||
5138 | wxPyEndAllowThreads(__tstate); | |
5139 | if (PyErr_Occurred()) SWIG_fail; | |
5140 | } | |
5141 | Py_INCREF(Py_None); resultobj = Py_None; | |
5142 | { | |
5143 | if (temp3) | |
5144 | delete arg3; | |
5145 | } | |
5146 | return resultobj; | |
5147 | fail: | |
5148 | { | |
5149 | if (temp3) | |
5150 | delete arg3; | |
5151 | } | |
5152 | return NULL; | |
5153 | } | |
5154 | ||
5155 | ||
c32bde28 | 5156 | static PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5157 | PyObject *resultobj = NULL; |
44127b65 RD |
5158 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5159 | size_t arg2 ; | |
5160 | wxTreeListColumnInfo *arg3 = 0 ; | |
5161 | PyObject * obj0 = 0 ; | |
5162 | PyObject * obj1 = 0 ; | |
5163 | PyObject * obj2 = 0 ; | |
5164 | char *kwnames[] = { | |
5165 | (char *) "self",(char *) "before",(char *) "col", NULL | |
5166 | }; | |
5167 | ||
5168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
5169 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5170 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5171 | { | |
7449af73 | 5172 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
5173 | if (SWIG_arg_fail(2)) SWIG_fail; |
5174 | } | |
5175 | { | |
5176 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); | |
5177 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5178 | if (arg3 == NULL) { | |
5179 | SWIG_null_ref("wxTreeListColumnInfo"); | |
5180 | } | |
5181 | if (SWIG_arg_fail(3)) SWIG_fail; | |
44127b65 RD |
5182 | } |
5183 | { | |
5184 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5185 | (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3); | |
5186 | ||
5187 | wxPyEndAllowThreads(__tstate); | |
5188 | if (PyErr_Occurred()) SWIG_fail; | |
5189 | } | |
5190 | Py_INCREF(Py_None); resultobj = Py_None; | |
5191 | return resultobj; | |
5192 | fail: | |
5193 | return NULL; | |
5194 | } | |
5195 | ||
5196 | ||
c32bde28 | 5197 | static PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5198 | PyObject *resultobj = NULL; |
44127b65 RD |
5199 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5200 | size_t arg2 ; | |
5201 | PyObject * obj0 = 0 ; | |
5202 | PyObject * obj1 = 0 ; | |
5203 | char *kwnames[] = { | |
5204 | (char *) "self",(char *) "column", NULL | |
5205 | }; | |
5206 | ||
5207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5208 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5209 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5210 | { | |
7449af73 | 5211 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
5212 | if (SWIG_arg_fail(2)) SWIG_fail; |
5213 | } | |
44127b65 RD |
5214 | { |
5215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5216 | (arg1)->RemoveColumn(arg2); | |
5217 | ||
5218 | wxPyEndAllowThreads(__tstate); | |
5219 | if (PyErr_Occurred()) SWIG_fail; | |
5220 | } | |
5221 | Py_INCREF(Py_None); resultobj = Py_None; | |
5222 | return resultobj; | |
5223 | fail: | |
5224 | return NULL; | |
5225 | } | |
5226 | ||
5227 | ||
c32bde28 | 5228 | static PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5229 | PyObject *resultobj = NULL; |
44127b65 RD |
5230 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5231 | size_t result; | |
5232 | PyObject * obj0 = 0 ; | |
5233 | char *kwnames[] = { | |
5234 | (char *) "self", NULL | |
5235 | }; | |
5236 | ||
5237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetColumnCount",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5238 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5239 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
5240 | { |
5241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5242 | result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount(); | |
5243 | ||
5244 | wxPyEndAllowThreads(__tstate); | |
5245 | if (PyErr_Occurred()) SWIG_fail; | |
5246 | } | |
093d3ff1 | 5247 | { |
7449af73 | 5248 | resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result)); |
093d3ff1 | 5249 | } |
44127b65 RD |
5250 | return resultobj; |
5251 | fail: | |
5252 | return NULL; | |
5253 | } | |
5254 | ||
5255 | ||
c32bde28 | 5256 | static PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5257 | PyObject *resultobj = NULL; |
44127b65 RD |
5258 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5259 | size_t arg2 ; | |
5260 | size_t arg3 ; | |
5261 | PyObject * obj0 = 0 ; | |
5262 | PyObject * obj1 = 0 ; | |
5263 | PyObject * obj2 = 0 ; | |
5264 | char *kwnames[] = { | |
5265 | (char *) "self",(char *) "column",(char *) "width", NULL | |
5266 | }; | |
5267 | ||
5268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
5269 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5270 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5271 | { | |
7449af73 | 5272 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
5273 | if (SWIG_arg_fail(2)) SWIG_fail; |
5274 | } | |
5275 | { | |
7449af73 | 5276 | arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2)); |
093d3ff1 RD |
5277 | if (SWIG_arg_fail(3)) SWIG_fail; |
5278 | } | |
44127b65 RD |
5279 | { |
5280 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5281 | (arg1)->SetColumnWidth(arg2,arg3); | |
5282 | ||
5283 | wxPyEndAllowThreads(__tstate); | |
5284 | if (PyErr_Occurred()) SWIG_fail; | |
5285 | } | |
5286 | Py_INCREF(Py_None); resultobj = Py_None; | |
5287 | return resultobj; | |
5288 | fail: | |
5289 | return NULL; | |
5290 | } | |
5291 | ||
5292 | ||
c32bde28 | 5293 | static PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5294 | PyObject *resultobj = NULL; |
44127b65 RD |
5295 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5296 | size_t arg2 ; | |
5297 | int result; | |
5298 | PyObject * obj0 = 0 ; | |
5299 | PyObject * obj1 = 0 ; | |
5300 | char *kwnames[] = { | |
5301 | (char *) "self",(char *) "column", NULL | |
5302 | }; | |
5303 | ||
5304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5305 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5306 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5307 | { | |
7449af73 | 5308 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
5309 | if (SWIG_arg_fail(2)) SWIG_fail; |
5310 | } | |
44127b65 RD |
5311 | { |
5312 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5313 | result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2); | |
5314 | ||
5315 | wxPyEndAllowThreads(__tstate); | |
5316 | if (PyErr_Occurred()) SWIG_fail; | |
5317 | } | |
093d3ff1 | 5318 | { |
7449af73 | 5319 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 5320 | } |
44127b65 RD |
5321 | return resultobj; |
5322 | fail: | |
5323 | return NULL; | |
5324 | } | |
5325 | ||
5326 | ||
c32bde28 | 5327 | static PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5328 | PyObject *resultobj = NULL; |
44127b65 RD |
5329 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5330 | size_t arg2 ; | |
5331 | PyObject * obj0 = 0 ; | |
5332 | PyObject * obj1 = 0 ; | |
5333 | char *kwnames[] = { | |
5334 | (char *) "self",(char *) "column", NULL | |
5335 | }; | |
5336 | ||
5337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5338 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5339 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5340 | { | |
7449af73 | 5341 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
5342 | if (SWIG_arg_fail(2)) SWIG_fail; |
5343 | } | |
44127b65 RD |
5344 | { |
5345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5346 | (arg1)->SetMainColumn(arg2); | |
5347 | ||
5348 | wxPyEndAllowThreads(__tstate); | |
5349 | if (PyErr_Occurred()) SWIG_fail; | |
5350 | } | |
5351 | Py_INCREF(Py_None); resultobj = Py_None; | |
5352 | return resultobj; | |
5353 | fail: | |
5354 | return NULL; | |
5355 | } | |
5356 | ||
5357 | ||
c32bde28 | 5358 | static PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5359 | PyObject *resultobj = NULL; |
44127b65 RD |
5360 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5361 | size_t result; | |
5362 | PyObject * obj0 = 0 ; | |
5363 | char *kwnames[] = { | |
5364 | (char *) "self", NULL | |
5365 | }; | |
5366 | ||
5367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainColumn",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
5368 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5369 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
5370 | { |
5371 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5372 | result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn(); | |
5373 | ||
5374 | wxPyEndAllowThreads(__tstate); | |
5375 | if (PyErr_Occurred()) SWIG_fail; | |
5376 | } | |
093d3ff1 | 5377 | { |
7449af73 | 5378 | resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result)); |
093d3ff1 | 5379 | } |
44127b65 RD |
5380 | return resultobj; |
5381 | fail: | |
5382 | return NULL; | |
5383 | } | |
5384 | ||
5385 | ||
c32bde28 | 5386 | static PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5387 | PyObject *resultobj = NULL; |
44127b65 RD |
5388 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5389 | size_t arg2 ; | |
5390 | wxString *arg3 = 0 ; | |
ae8162c8 | 5391 | bool temp3 = false ; |
44127b65 RD |
5392 | PyObject * obj0 = 0 ; |
5393 | PyObject * obj1 = 0 ; | |
5394 | PyObject * obj2 = 0 ; | |
5395 | char *kwnames[] = { | |
5396 | (char *) "self",(char *) "column",(char *) "text", NULL | |
5397 | }; | |
5398 | ||
5399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
5400 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5401 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5402 | { | |
7449af73 | 5403 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
5404 | if (SWIG_arg_fail(2)) SWIG_fail; |
5405 | } | |
44127b65 RD |
5406 | { |
5407 | arg3 = wxString_in_helper(obj2); | |
5408 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 5409 | temp3 = true; |
44127b65 RD |
5410 | } |
5411 | { | |
5412 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5413 | (arg1)->SetColumnText(arg2,(wxString const &)*arg3); | |
5414 | ||
5415 | wxPyEndAllowThreads(__tstate); | |
5416 | if (PyErr_Occurred()) SWIG_fail; | |
5417 | } | |
5418 | Py_INCREF(Py_None); resultobj = Py_None; | |
5419 | { | |
5420 | if (temp3) | |
5421 | delete arg3; | |
5422 | } | |
5423 | return resultobj; | |
5424 | fail: | |
5425 | { | |
5426 | if (temp3) | |
5427 | delete arg3; | |
5428 | } | |
5429 | return NULL; | |
5430 | } | |
5431 | ||
5432 | ||
c32bde28 | 5433 | static PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5434 | PyObject *resultobj = NULL; |
44127b65 RD |
5435 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5436 | size_t arg2 ; | |
5437 | wxString result; | |
5438 | PyObject * obj0 = 0 ; | |
5439 | PyObject * obj1 = 0 ; | |
5440 | char *kwnames[] = { | |
5441 | (char *) "self",(char *) "column", NULL | |
5442 | }; | |
5443 | ||
5444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5445 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5446 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5447 | { | |
7449af73 | 5448 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
5449 | if (SWIG_arg_fail(2)) SWIG_fail; |
5450 | } | |
44127b65 RD |
5451 | { |
5452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5453 | result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2); | |
5454 | ||
5455 | wxPyEndAllowThreads(__tstate); | |
5456 | if (PyErr_Occurred()) SWIG_fail; | |
5457 | } | |
5458 | { | |
5459 | #if wxUSE_UNICODE | |
5460 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5461 | #else | |
5462 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5463 | #endif | |
5464 | } | |
5465 | return resultobj; | |
5466 | fail: | |
5467 | return NULL; | |
5468 | } | |
5469 | ||
5470 | ||
c32bde28 | 5471 | static PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5472 | PyObject *resultobj = NULL; |
44127b65 RD |
5473 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5474 | size_t arg2 ; | |
5475 | wxTreeListColumnInfo *arg3 = 0 ; | |
5476 | PyObject * obj0 = 0 ; | |
5477 | PyObject * obj1 = 0 ; | |
5478 | PyObject * obj2 = 0 ; | |
5479 | char *kwnames[] = { | |
5480 | (char *) "self",(char *) "column",(char *) "info", NULL | |
5481 | }; | |
5482 | ||
5483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
5484 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5485 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5486 | { | |
7449af73 | 5487 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
5488 | if (SWIG_arg_fail(2)) SWIG_fail; |
5489 | } | |
5490 | { | |
5491 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0); | |
5492 | if (SWIG_arg_fail(3)) SWIG_fail; | |
5493 | if (arg3 == NULL) { | |
5494 | SWIG_null_ref("wxTreeListColumnInfo"); | |
5495 | } | |
5496 | if (SWIG_arg_fail(3)) SWIG_fail; | |
44127b65 RD |
5497 | } |
5498 | { | |
5499 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5500 | (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3); | |
5501 | ||
5502 | wxPyEndAllowThreads(__tstate); | |
5503 | if (PyErr_Occurred()) SWIG_fail; | |
5504 | } | |
5505 | Py_INCREF(Py_None); resultobj = Py_None; | |
5506 | return resultobj; | |
5507 | fail: | |
5508 | return NULL; | |
5509 | } | |
5510 | ||
5511 | ||
c32bde28 | 5512 | static PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5513 | PyObject *resultobj = NULL; |
44127b65 RD |
5514 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5515 | size_t arg2 ; | |
5516 | wxTreeListColumnInfo *result; | |
5517 | PyObject * obj0 = 0 ; | |
5518 | PyObject * obj1 = 0 ; | |
5519 | char *kwnames[] = { | |
5520 | (char *) "self",(char *) "column", NULL | |
5521 | }; | |
5522 | ||
5523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5524 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5525 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5526 | { | |
7449af73 | 5527 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
5528 | if (SWIG_arg_fail(2)) SWIG_fail; |
5529 | } | |
44127b65 RD |
5530 | { |
5531 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5532 | { | |
5533 | wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2); | |
5534 | result = (wxTreeListColumnInfo *) &_result_ref; | |
5535 | } | |
5536 | ||
5537 | wxPyEndAllowThreads(__tstate); | |
5538 | if (PyErr_Occurred()) SWIG_fail; | |
5539 | } | |
2f4c0a16 | 5540 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 0); |
44127b65 RD |
5541 | return resultobj; |
5542 | fail: | |
5543 | return NULL; | |
5544 | } | |
5545 | ||
5546 | ||
c32bde28 | 5547 | static PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5548 | PyObject *resultobj = NULL; |
44127b65 RD |
5549 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5550 | size_t arg2 ; | |
093d3ff1 | 5551 | wxTreeListColumnAlign arg3 ; |
44127b65 RD |
5552 | PyObject * obj0 = 0 ; |
5553 | PyObject * obj1 = 0 ; | |
8edf1c75 | 5554 | PyObject * obj2 = 0 ; |
44127b65 RD |
5555 | char *kwnames[] = { |
5556 | (char *) "self",(char *) "column",(char *) "align", NULL | |
5557 | }; | |
5558 | ||
8edf1c75 | 5559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
5560 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5561 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5562 | { | |
7449af73 | 5563 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
5564 | if (SWIG_arg_fail(2)) SWIG_fail; |
5565 | } | |
5566 | { | |
7449af73 | 5567 | arg3 = static_cast<wxTreeListColumnAlign >(SWIG_As_int(obj2)); |
093d3ff1 RD |
5568 | if (SWIG_arg_fail(3)) SWIG_fail; |
5569 | } | |
44127b65 RD |
5570 | { |
5571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7449af73 | 5572 | (arg1)->SetColumnAlignment(arg2,arg3); |
44127b65 RD |
5573 | |
5574 | wxPyEndAllowThreads(__tstate); | |
5575 | if (PyErr_Occurred()) SWIG_fail; | |
5576 | } | |
5577 | Py_INCREF(Py_None); resultobj = Py_None; | |
5578 | return resultobj; | |
5579 | fail: | |
5580 | return NULL; | |
5581 | } | |
5582 | ||
5583 | ||
c32bde28 | 5584 | static PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5585 | PyObject *resultobj = NULL; |
44127b65 RD |
5586 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5587 | size_t arg2 ; | |
093d3ff1 | 5588 | wxTreeListColumnAlign result; |
44127b65 RD |
5589 | PyObject * obj0 = 0 ; |
5590 | PyObject * obj1 = 0 ; | |
5591 | char *kwnames[] = { | |
5592 | (char *) "self",(char *) "column", NULL | |
5593 | }; | |
5594 | ||
5595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5596 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5597 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5598 | { | |
7449af73 | 5599 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
5600 | if (SWIG_arg_fail(2)) SWIG_fail; |
5601 | } | |
44127b65 RD |
5602 | { |
5603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
093d3ff1 | 5604 | result = (wxTreeListColumnAlign)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2); |
44127b65 RD |
5605 | |
5606 | wxPyEndAllowThreads(__tstate); | |
5607 | if (PyErr_Occurred()) SWIG_fail; | |
5608 | } | |
093d3ff1 | 5609 | resultobj = SWIG_From_int((result)); |
44127b65 RD |
5610 | return resultobj; |
5611 | fail: | |
5612 | return NULL; | |
5613 | } | |
5614 | ||
5615 | ||
c32bde28 | 5616 | static PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5617 | PyObject *resultobj = NULL; |
44127b65 RD |
5618 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5619 | size_t arg2 ; | |
5620 | int arg3 ; | |
5621 | PyObject * obj0 = 0 ; | |
5622 | PyObject * obj1 = 0 ; | |
8edf1c75 | 5623 | PyObject * obj2 = 0 ; |
44127b65 RD |
5624 | char *kwnames[] = { |
5625 | (char *) "self",(char *) "column",(char *) "image", NULL | |
5626 | }; | |
5627 | ||
8edf1c75 | 5628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
5629 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5630 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5631 | { | |
7449af73 | 5632 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
5633 | if (SWIG_arg_fail(2)) SWIG_fail; |
5634 | } | |
5635 | { | |
7449af73 | 5636 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
5637 | if (SWIG_arg_fail(3)) SWIG_fail; |
5638 | } | |
44127b65 RD |
5639 | { |
5640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5641 | (arg1)->SetColumnImage(arg2,arg3); | |
5642 | ||
5643 | wxPyEndAllowThreads(__tstate); | |
5644 | if (PyErr_Occurred()) SWIG_fail; | |
5645 | } | |
5646 | Py_INCREF(Py_None); resultobj = Py_None; | |
5647 | return resultobj; | |
5648 | fail: | |
5649 | return NULL; | |
5650 | } | |
5651 | ||
5652 | ||
c32bde28 | 5653 | static PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5654 | PyObject *resultobj = NULL; |
44127b65 RD |
5655 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5656 | size_t arg2 ; | |
5657 | int result; | |
5658 | PyObject * obj0 = 0 ; | |
5659 | PyObject * obj1 = 0 ; | |
5660 | char *kwnames[] = { | |
5661 | (char *) "self",(char *) "column", NULL | |
5662 | }; | |
5663 | ||
5664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5665 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5666 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5667 | { | |
7449af73 | 5668 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
5669 | if (SWIG_arg_fail(2)) SWIG_fail; |
5670 | } | |
44127b65 RD |
5671 | { |
5672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5673 | result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2); | |
5674 | ||
5675 | wxPyEndAllowThreads(__tstate); | |
5676 | if (PyErr_Occurred()) SWIG_fail; | |
5677 | } | |
093d3ff1 | 5678 | { |
7449af73 | 5679 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 5680 | } |
44127b65 RD |
5681 | return resultobj; |
5682 | fail: | |
5683 | return NULL; | |
5684 | } | |
5685 | ||
5686 | ||
c32bde28 | 5687 | static PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5688 | PyObject *resultobj = NULL; |
629f3c1b RD |
5689 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5690 | size_t arg2 ; | |
5691 | bool arg3 ; | |
5692 | PyObject * obj0 = 0 ; | |
5693 | PyObject * obj1 = 0 ; | |
5694 | PyObject * obj2 = 0 ; | |
5695 | char *kwnames[] = { | |
5696 | (char *) "self",(char *) "column",(char *) "shown", NULL | |
5697 | }; | |
5698 | ||
5699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_ShowColumn",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
5700 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5701 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5702 | { | |
7449af73 | 5703 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
5704 | if (SWIG_arg_fail(2)) SWIG_fail; |
5705 | } | |
5706 | { | |
7449af73 | 5707 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
5708 | if (SWIG_arg_fail(3)) SWIG_fail; |
5709 | } | |
629f3c1b RD |
5710 | { |
5711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5712 | (arg1)->ShowColumn(arg2,arg3); | |
5713 | ||
5714 | wxPyEndAllowThreads(__tstate); | |
5715 | if (PyErr_Occurred()) SWIG_fail; | |
5716 | } | |
5717 | Py_INCREF(Py_None); resultobj = Py_None; | |
5718 | return resultobj; | |
5719 | fail: | |
5720 | return NULL; | |
5721 | } | |
5722 | ||
5723 | ||
c32bde28 | 5724 | static PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5725 | PyObject *resultobj = NULL; |
629f3c1b RD |
5726 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5727 | size_t arg2 ; | |
5728 | bool result; | |
5729 | PyObject * obj0 = 0 ; | |
5730 | PyObject * obj1 = 0 ; | |
5731 | char *kwnames[] = { | |
5732 | (char *) "self",(char *) "column", NULL | |
5733 | }; | |
5734 | ||
5735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5736 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5737 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5738 | { | |
7449af73 | 5739 | arg2 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj1)); |
093d3ff1 RD |
5740 | if (SWIG_arg_fail(2)) SWIG_fail; |
5741 | } | |
629f3c1b RD |
5742 | { |
5743 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5744 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2); | |
5745 | ||
5746 | wxPyEndAllowThreads(__tstate); | |
5747 | if (PyErr_Occurred()) SWIG_fail; | |
5748 | } | |
5749 | { | |
5750 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5751 | } | |
5752 | return resultobj; | |
5753 | fail: | |
5754 | return NULL; | |
5755 | } | |
5756 | ||
5757 | ||
c32bde28 | 5758 | static PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5759 | PyObject *resultobj = NULL; |
44127b65 RD |
5760 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5761 | wxTreeItemId *arg2 = 0 ; | |
5762 | int arg3 = (int) -1 ; | |
5763 | wxString result; | |
5764 | PyObject * obj0 = 0 ; | |
5765 | PyObject * obj1 = 0 ; | |
8edf1c75 | 5766 | PyObject * obj2 = 0 ; |
44127b65 RD |
5767 | char *kwnames[] = { |
5768 | (char *) "self",(char *) "item",(char *) "column", NULL | |
5769 | }; | |
5770 | ||
8edf1c75 | 5771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
5772 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5773 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5774 | { | |
5775 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
5776 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5777 | if (arg2 == NULL) { | |
5778 | SWIG_null_ref("wxTreeItemId"); | |
5779 | } | |
5780 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 | 5781 | } |
8edf1c75 | 5782 | if (obj2) { |
093d3ff1 | 5783 | { |
7449af73 | 5784 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
5785 | if (SWIG_arg_fail(3)) SWIG_fail; |
5786 | } | |
8edf1c75 | 5787 | } |
44127b65 RD |
5788 | { |
5789 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5790 | result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3); | |
5791 | ||
5792 | wxPyEndAllowThreads(__tstate); | |
5793 | if (PyErr_Occurred()) SWIG_fail; | |
5794 | } | |
5795 | { | |
5796 | #if wxUSE_UNICODE | |
5797 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5798 | #else | |
5799 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5800 | #endif | |
5801 | } | |
5802 | return resultobj; | |
5803 | fail: | |
5804 | return NULL; | |
5805 | } | |
5806 | ||
5807 | ||
c32bde28 | 5808 | static PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5809 | PyObject *resultobj = NULL; |
44127b65 RD |
5810 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5811 | wxTreeItemId *arg2 = 0 ; | |
5812 | int arg3 = (int) -1 ; | |
093d3ff1 | 5813 | wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ; |
44127b65 RD |
5814 | int result; |
5815 | PyObject * obj0 = 0 ; | |
5816 | PyObject * obj1 = 0 ; | |
8edf1c75 RD |
5817 | PyObject * obj2 = 0 ; |
5818 | PyObject * obj3 = 0 ; | |
44127b65 RD |
5819 | char *kwnames[] = { |
5820 | (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL | |
5821 | }; | |
5822 | ||
8edf1c75 | 5823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
5824 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5825 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5826 | { | |
5827 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
5828 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5829 | if (arg2 == NULL) { | |
5830 | SWIG_null_ref("wxTreeItemId"); | |
5831 | } | |
5832 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 | 5833 | } |
8edf1c75 | 5834 | if (obj2) { |
093d3ff1 | 5835 | { |
7449af73 | 5836 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
5837 | if (SWIG_arg_fail(3)) SWIG_fail; |
5838 | } | |
8edf1c75 RD |
5839 | } |
5840 | if (obj3) { | |
093d3ff1 | 5841 | { |
7449af73 | 5842 | arg4 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj3)); |
093d3ff1 RD |
5843 | if (SWIG_arg_fail(4)) SWIG_fail; |
5844 | } | |
8edf1c75 | 5845 | } |
44127b65 RD |
5846 | { |
5847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7449af73 | 5848 | result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4); |
44127b65 RD |
5849 | |
5850 | wxPyEndAllowThreads(__tstate); | |
5851 | if (PyErr_Occurred()) SWIG_fail; | |
5852 | } | |
093d3ff1 | 5853 | { |
7449af73 | 5854 | resultobj = SWIG_From_int(static_cast<int >(result)); |
093d3ff1 | 5855 | } |
44127b65 RD |
5856 | return resultobj; |
5857 | fail: | |
5858 | return NULL; | |
5859 | } | |
5860 | ||
5861 | ||
c32bde28 | 5862 | static PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5863 | PyObject *resultobj = NULL; |
44127b65 RD |
5864 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5865 | wxTreeItemId *arg2 = 0 ; | |
5866 | wxString *arg3 = 0 ; | |
5867 | int arg4 = (int) -1 ; | |
ae8162c8 | 5868 | bool temp3 = false ; |
44127b65 RD |
5869 | PyObject * obj0 = 0 ; |
5870 | PyObject * obj1 = 0 ; | |
5871 | PyObject * obj2 = 0 ; | |
8edf1c75 | 5872 | PyObject * obj3 = 0 ; |
44127b65 RD |
5873 | char *kwnames[] = { |
5874 | (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL | |
5875 | }; | |
5876 | ||
8edf1c75 | 5877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
5878 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5879 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5880 | { | |
5881 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
5882 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5883 | if (arg2 == NULL) { | |
5884 | SWIG_null_ref("wxTreeItemId"); | |
5885 | } | |
5886 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
5887 | } |
5888 | { | |
5889 | arg3 = wxString_in_helper(obj2); | |
5890 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 5891 | temp3 = true; |
44127b65 | 5892 | } |
8edf1c75 | 5893 | if (obj3) { |
093d3ff1 | 5894 | { |
7449af73 | 5895 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
5896 | if (SWIG_arg_fail(4)) SWIG_fail; |
5897 | } | |
8edf1c75 | 5898 | } |
44127b65 RD |
5899 | { |
5900 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5901 | wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4); | |
5902 | ||
5903 | wxPyEndAllowThreads(__tstate); | |
5904 | if (PyErr_Occurred()) SWIG_fail; | |
5905 | } | |
5906 | Py_INCREF(Py_None); resultobj = Py_None; | |
5907 | { | |
5908 | if (temp3) | |
5909 | delete arg3; | |
5910 | } | |
5911 | return resultobj; | |
5912 | fail: | |
5913 | { | |
5914 | if (temp3) | |
5915 | delete arg3; | |
5916 | } | |
5917 | return NULL; | |
5918 | } | |
5919 | ||
5920 | ||
c32bde28 | 5921 | static PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5922 | PyObject *resultobj = NULL; |
44127b65 RD |
5923 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5924 | wxTreeItemId *arg2 = 0 ; | |
5925 | int arg3 ; | |
5926 | int arg4 = (int) -1 ; | |
093d3ff1 | 5927 | wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ; |
44127b65 RD |
5928 | PyObject * obj0 = 0 ; |
5929 | PyObject * obj1 = 0 ; | |
8edf1c75 RD |
5930 | PyObject * obj2 = 0 ; |
5931 | PyObject * obj3 = 0 ; | |
5932 | PyObject * obj4 = 0 ; | |
44127b65 RD |
5933 | char *kwnames[] = { |
5934 | (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL | |
5935 | }; | |
5936 | ||
8edf1c75 | 5937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
5938 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5939 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5940 | { | |
5941 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
5942 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5943 | if (arg2 == NULL) { | |
5944 | SWIG_null_ref("wxTreeItemId"); | |
5945 | } | |
5946 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5947 | } | |
5948 | { | |
7449af73 | 5949 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
5950 | if (SWIG_arg_fail(3)) SWIG_fail; |
5951 | } | |
8edf1c75 | 5952 | if (obj3) { |
093d3ff1 | 5953 | { |
7449af73 | 5954 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
5955 | if (SWIG_arg_fail(4)) SWIG_fail; |
5956 | } | |
8edf1c75 RD |
5957 | } |
5958 | if (obj4) { | |
093d3ff1 | 5959 | { |
7449af73 | 5960 | arg5 = static_cast<wxTreeItemIcon >(SWIG_As_int(obj4)); |
093d3ff1 RD |
5961 | if (SWIG_arg_fail(5)) SWIG_fail; |
5962 | } | |
8edf1c75 | 5963 | } |
44127b65 RD |
5964 | { |
5965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7449af73 | 5966 | wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5); |
44127b65 RD |
5967 | |
5968 | wxPyEndAllowThreads(__tstate); | |
5969 | if (PyErr_Occurred()) SWIG_fail; | |
5970 | } | |
5971 | Py_INCREF(Py_None); resultobj = Py_None; | |
5972 | return resultobj; | |
5973 | fail: | |
5974 | return NULL; | |
5975 | } | |
5976 | ||
5977 | ||
c32bde28 | 5978 | static PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 5979 | PyObject *resultobj = NULL; |
44127b65 RD |
5980 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
5981 | wxTreeItemId *arg2 = 0 ; | |
5982 | wxPyTreeItemData *result; | |
5983 | PyObject * obj0 = 0 ; | |
5984 | PyObject * obj1 = 0 ; | |
5985 | char *kwnames[] = { | |
5986 | (char *) "self",(char *) "item", NULL | |
5987 | }; | |
5988 | ||
5989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
5990 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
5991 | if (SWIG_arg_fail(1)) SWIG_fail; | |
5992 | { | |
5993 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
5994 | if (SWIG_arg_fail(2)) SWIG_fail; | |
5995 | if (arg2 == NULL) { | |
5996 | SWIG_null_ref("wxTreeItemId"); | |
5997 | } | |
5998 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
5999 | } |
6000 | { | |
6001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6002 | result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2); | |
6003 | ||
6004 | wxPyEndAllowThreads(__tstate); | |
6005 | if (PyErr_Occurred()) SWIG_fail; | |
6006 | } | |
2f4c0a16 | 6007 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0); |
44127b65 RD |
6008 | return resultobj; |
6009 | fail: | |
6010 | return NULL; | |
6011 | } | |
6012 | ||
6013 | ||
c32bde28 | 6014 | static PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6015 | PyObject *resultobj = NULL; |
44127b65 RD |
6016 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6017 | wxTreeItemId *arg2 = 0 ; | |
6018 | wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ; | |
6019 | PyObject * obj0 = 0 ; | |
6020 | PyObject * obj1 = 0 ; | |
6021 | PyObject * obj2 = 0 ; | |
6022 | char *kwnames[] = { | |
6023 | (char *) "self",(char *) "item",(char *) "data", NULL | |
6024 | }; | |
6025 | ||
6026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
6027 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6028 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6029 | { | |
6030 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6031 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6032 | if (arg2 == NULL) { | |
6033 | SWIG_null_ref("wxTreeItemId"); | |
6034 | } | |
6035 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 | 6036 | } |
093d3ff1 RD |
6037 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0); |
6038 | if (SWIG_arg_fail(3)) SWIG_fail; | |
44127b65 RD |
6039 | { |
6040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6041 | wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3); | |
6042 | ||
6043 | wxPyEndAllowThreads(__tstate); | |
6044 | if (PyErr_Occurred()) SWIG_fail; | |
6045 | } | |
6046 | Py_INCREF(Py_None); resultobj = Py_None; | |
6047 | return resultobj; | |
6048 | fail: | |
6049 | return NULL; | |
6050 | } | |
6051 | ||
6052 | ||
c32bde28 | 6053 | static PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6054 | PyObject *resultobj = NULL; |
44127b65 RD |
6055 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6056 | wxTreeItemId *arg2 = 0 ; | |
6057 | PyObject *result; | |
6058 | PyObject * obj0 = 0 ; | |
6059 | PyObject * obj1 = 0 ; | |
6060 | char *kwnames[] = { | |
6061 | (char *) "self",(char *) "item", NULL | |
6062 | }; | |
6063 | ||
6064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6065 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6066 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6067 | { | |
6068 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6069 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6070 | if (arg2 == NULL) { | |
6071 | SWIG_null_ref("wxTreeItemId"); | |
6072 | } | |
6073 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
6074 | } |
6075 | { | |
6076 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6077 | result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2); | |
6078 | ||
6079 | wxPyEndAllowThreads(__tstate); | |
6080 | if (PyErr_Occurred()) SWIG_fail; | |
6081 | } | |
6082 | resultobj = result; | |
6083 | return resultobj; | |
6084 | fail: | |
6085 | return NULL; | |
6086 | } | |
6087 | ||
6088 | ||
c32bde28 | 6089 | static PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6090 | PyObject *resultobj = NULL; |
44127b65 RD |
6091 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6092 | wxTreeItemId *arg2 = 0 ; | |
6093 | PyObject *arg3 = (PyObject *) 0 ; | |
6094 | PyObject * obj0 = 0 ; | |
6095 | PyObject * obj1 = 0 ; | |
6096 | PyObject * obj2 = 0 ; | |
6097 | char *kwnames[] = { | |
6098 | (char *) "self",(char *) "item",(char *) "obj", NULL | |
6099 | }; | |
6100 | ||
6101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
6102 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6103 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6104 | { | |
6105 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6106 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6107 | if (arg2 == NULL) { | |
6108 | SWIG_null_ref("wxTreeItemId"); | |
6109 | } | |
6110 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
6111 | } |
6112 | arg3 = obj2; | |
6113 | { | |
6114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6115 | wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3); | |
6116 | ||
6117 | wxPyEndAllowThreads(__tstate); | |
6118 | if (PyErr_Occurred()) SWIG_fail; | |
6119 | } | |
6120 | Py_INCREF(Py_None); resultobj = Py_None; | |
6121 | return resultobj; | |
6122 | fail: | |
6123 | return NULL; | |
6124 | } | |
6125 | ||
6126 | ||
c32bde28 | 6127 | static PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6128 | PyObject *resultobj = NULL; |
44127b65 RD |
6129 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6130 | wxTreeItemId *arg2 = 0 ; | |
ae8162c8 | 6131 | bool arg3 = (bool) true ; |
44127b65 RD |
6132 | PyObject * obj0 = 0 ; |
6133 | PyObject * obj1 = 0 ; | |
6134 | PyObject * obj2 = 0 ; | |
6135 | char *kwnames[] = { | |
6136 | (char *) "self",(char *) "item",(char *) "has", NULL | |
6137 | }; | |
6138 | ||
6139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
6140 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6141 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6142 | { | |
6143 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6144 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6145 | if (arg2 == NULL) { | |
6146 | SWIG_null_ref("wxTreeItemId"); | |
6147 | } | |
6148 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
6149 | } |
6150 | if (obj2) { | |
093d3ff1 | 6151 | { |
7449af73 | 6152 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
6153 | if (SWIG_arg_fail(3)) SWIG_fail; |
6154 | } | |
44127b65 RD |
6155 | } |
6156 | { | |
6157 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6158 | (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3); | |
6159 | ||
6160 | wxPyEndAllowThreads(__tstate); | |
6161 | if (PyErr_Occurred()) SWIG_fail; | |
6162 | } | |
6163 | Py_INCREF(Py_None); resultobj = Py_None; | |
6164 | return resultobj; | |
6165 | fail: | |
6166 | return NULL; | |
6167 | } | |
6168 | ||
6169 | ||
c32bde28 | 6170 | static PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6171 | PyObject *resultobj = NULL; |
44127b65 RD |
6172 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6173 | wxTreeItemId *arg2 = 0 ; | |
ae8162c8 | 6174 | bool arg3 = (bool) true ; |
44127b65 RD |
6175 | PyObject * obj0 = 0 ; |
6176 | PyObject * obj1 = 0 ; | |
6177 | PyObject * obj2 = 0 ; | |
6178 | char *kwnames[] = { | |
6179 | (char *) "self",(char *) "item",(char *) "bold", NULL | |
6180 | }; | |
6181 | ||
6182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
6183 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6184 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6185 | { | |
6186 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6187 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6188 | if (arg2 == NULL) { | |
6189 | SWIG_null_ref("wxTreeItemId"); | |
6190 | } | |
6191 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
6192 | } |
6193 | if (obj2) { | |
093d3ff1 | 6194 | { |
7449af73 | 6195 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
6196 | if (SWIG_arg_fail(3)) SWIG_fail; |
6197 | } | |
44127b65 RD |
6198 | } |
6199 | { | |
6200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6201 | (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3); | |
6202 | ||
6203 | wxPyEndAllowThreads(__tstate); | |
6204 | if (PyErr_Occurred()) SWIG_fail; | |
6205 | } | |
6206 | Py_INCREF(Py_None); resultobj = Py_None; | |
6207 | return resultobj; | |
6208 | fail: | |
6209 | return NULL; | |
6210 | } | |
6211 | ||
6212 | ||
c32bde28 | 6213 | static PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6214 | PyObject *resultobj = NULL; |
44127b65 RD |
6215 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6216 | wxTreeItemId *arg2 = 0 ; | |
6217 | wxColour *arg3 = 0 ; | |
6218 | wxColour temp3 ; | |
6219 | PyObject * obj0 = 0 ; | |
6220 | PyObject * obj1 = 0 ; | |
6221 | PyObject * obj2 = 0 ; | |
6222 | char *kwnames[] = { | |
629f3c1b | 6223 | (char *) "self",(char *) "item",(char *) "colour", NULL |
44127b65 RD |
6224 | }; |
6225 | ||
6226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
6227 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6228 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6229 | { | |
6230 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6231 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6232 | if (arg2 == NULL) { | |
6233 | SWIG_null_ref("wxTreeItemId"); | |
6234 | } | |
6235 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
6236 | } |
6237 | { | |
6238 | arg3 = &temp3; | |
6239 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
6240 | } | |
6241 | { | |
6242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6243 | (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3); | |
6244 | ||
6245 | wxPyEndAllowThreads(__tstate); | |
6246 | if (PyErr_Occurred()) SWIG_fail; | |
6247 | } | |
6248 | Py_INCREF(Py_None); resultobj = Py_None; | |
6249 | return resultobj; | |
6250 | fail: | |
6251 | return NULL; | |
6252 | } | |
6253 | ||
6254 | ||
c32bde28 | 6255 | static PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6256 | PyObject *resultobj = NULL; |
44127b65 RD |
6257 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6258 | wxTreeItemId *arg2 = 0 ; | |
6259 | wxColour *arg3 = 0 ; | |
6260 | wxColour temp3 ; | |
6261 | PyObject * obj0 = 0 ; | |
6262 | PyObject * obj1 = 0 ; | |
6263 | PyObject * obj2 = 0 ; | |
6264 | char *kwnames[] = { | |
629f3c1b | 6265 | (char *) "self",(char *) "item",(char *) "colour", NULL |
44127b65 RD |
6266 | }; |
6267 | ||
6268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
6269 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6270 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6271 | { | |
6272 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6273 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6274 | if (arg2 == NULL) { | |
6275 | SWIG_null_ref("wxTreeItemId"); | |
6276 | } | |
6277 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
6278 | } |
6279 | { | |
6280 | arg3 = &temp3; | |
6281 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
6282 | } | |
6283 | { | |
6284 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6285 | (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3); | |
6286 | ||
6287 | wxPyEndAllowThreads(__tstate); | |
6288 | if (PyErr_Occurred()) SWIG_fail; | |
6289 | } | |
6290 | Py_INCREF(Py_None); resultobj = Py_None; | |
6291 | return resultobj; | |
6292 | fail: | |
6293 | return NULL; | |
6294 | } | |
6295 | ||
6296 | ||
c32bde28 | 6297 | static PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6298 | PyObject *resultobj = NULL; |
44127b65 RD |
6299 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6300 | wxTreeItemId *arg2 = 0 ; | |
6301 | wxFont *arg3 = 0 ; | |
6302 | PyObject * obj0 = 0 ; | |
6303 | PyObject * obj1 = 0 ; | |
6304 | PyObject * obj2 = 0 ; | |
6305 | char *kwnames[] = { | |
6306 | (char *) "self",(char *) "item",(char *) "font", NULL | |
6307 | }; | |
6308 | ||
6309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
6310 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6311 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6312 | { | |
6313 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6314 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6315 | if (arg2 == NULL) { | |
6316 | SWIG_null_ref("wxTreeItemId"); | |
6317 | } | |
6318 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 | 6319 | } |
093d3ff1 RD |
6320 | { |
6321 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0); | |
6322 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6323 | if (arg3 == NULL) { | |
6324 | SWIG_null_ref("wxFont"); | |
6325 | } | |
6326 | if (SWIG_arg_fail(3)) SWIG_fail; | |
44127b65 RD |
6327 | } |
6328 | { | |
6329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6330 | (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3); | |
6331 | ||
6332 | wxPyEndAllowThreads(__tstate); | |
6333 | if (PyErr_Occurred()) SWIG_fail; | |
6334 | } | |
6335 | Py_INCREF(Py_None); resultobj = Py_None; | |
6336 | return resultobj; | |
6337 | fail: | |
6338 | return NULL; | |
6339 | } | |
6340 | ||
6341 | ||
c32bde28 | 6342 | static PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6343 | PyObject *resultobj = NULL; |
44127b65 RD |
6344 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6345 | wxTreeItemId *arg2 = 0 ; | |
6346 | bool result; | |
6347 | PyObject * obj0 = 0 ; | |
6348 | PyObject * obj1 = 0 ; | |
6349 | char *kwnames[] = { | |
6350 | (char *) "self",(char *) "item", NULL | |
6351 | }; | |
6352 | ||
6353 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6354 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6355 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6356 | { | |
6357 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6358 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6359 | if (arg2 == NULL) { | |
6360 | SWIG_null_ref("wxTreeItemId"); | |
6361 | } | |
6362 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
6363 | } |
6364 | { | |
6365 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6366 | result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2); | |
6367 | ||
6368 | wxPyEndAllowThreads(__tstate); | |
6369 | if (PyErr_Occurred()) SWIG_fail; | |
6370 | } | |
4f89f6a3 RD |
6371 | { |
6372 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6373 | } | |
44127b65 RD |
6374 | return resultobj; |
6375 | fail: | |
6376 | return NULL; | |
6377 | } | |
6378 | ||
6379 | ||
c32bde28 | 6380 | static PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6381 | PyObject *resultobj = NULL; |
44127b65 RD |
6382 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6383 | wxTreeItemId *arg2 = 0 ; | |
6384 | wxColour result; | |
6385 | PyObject * obj0 = 0 ; | |
6386 | PyObject * obj1 = 0 ; | |
6387 | char *kwnames[] = { | |
6388 | (char *) "self",(char *) "item", NULL | |
6389 | }; | |
6390 | ||
6391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6392 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6393 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6394 | { | |
6395 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6396 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6397 | if (arg2 == NULL) { | |
6398 | SWIG_null_ref("wxTreeItemId"); | |
6399 | } | |
6400 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
6401 | } |
6402 | { | |
6403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6404 | result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2); | |
6405 | ||
6406 | wxPyEndAllowThreads(__tstate); | |
6407 | if (PyErr_Occurred()) SWIG_fail; | |
6408 | } | |
6409 | { | |
6410 | wxColour * resultptr; | |
7449af73 | 6411 | resultptr = new wxColour(static_cast<wxColour & >(result)); |
2f4c0a16 | 6412 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
44127b65 RD |
6413 | } |
6414 | return resultobj; | |
6415 | fail: | |
6416 | return NULL; | |
6417 | } | |
6418 | ||
6419 | ||
c32bde28 | 6420 | static PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6421 | PyObject *resultobj = NULL; |
44127b65 RD |
6422 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6423 | wxTreeItemId *arg2 = 0 ; | |
6424 | wxColour result; | |
6425 | PyObject * obj0 = 0 ; | |
6426 | PyObject * obj1 = 0 ; | |
6427 | char *kwnames[] = { | |
6428 | (char *) "self",(char *) "item", NULL | |
6429 | }; | |
6430 | ||
6431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6432 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6433 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6434 | { | |
6435 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6436 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6437 | if (arg2 == NULL) { | |
6438 | SWIG_null_ref("wxTreeItemId"); | |
6439 | } | |
6440 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
6441 | } |
6442 | { | |
6443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6444 | result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2); | |
6445 | ||
6446 | wxPyEndAllowThreads(__tstate); | |
6447 | if (PyErr_Occurred()) SWIG_fail; | |
6448 | } | |
6449 | { | |
6450 | wxColour * resultptr; | |
7449af73 | 6451 | resultptr = new wxColour(static_cast<wxColour & >(result)); |
2f4c0a16 | 6452 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1); |
44127b65 RD |
6453 | } |
6454 | return resultobj; | |
6455 | fail: | |
6456 | return NULL; | |
6457 | } | |
6458 | ||
6459 | ||
c32bde28 | 6460 | static PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6461 | PyObject *resultobj = NULL; |
44127b65 RD |
6462 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6463 | wxTreeItemId *arg2 = 0 ; | |
6464 | wxFont result; | |
6465 | PyObject * obj0 = 0 ; | |
6466 | PyObject * obj1 = 0 ; | |
6467 | char *kwnames[] = { | |
6468 | (char *) "self",(char *) "item", NULL | |
6469 | }; | |
6470 | ||
6471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6472 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6473 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6474 | { | |
6475 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6476 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6477 | if (arg2 == NULL) { | |
6478 | SWIG_null_ref("wxTreeItemId"); | |
6479 | } | |
6480 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
6481 | } |
6482 | { | |
6483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6484 | result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2); | |
6485 | ||
6486 | wxPyEndAllowThreads(__tstate); | |
6487 | if (PyErr_Occurred()) SWIG_fail; | |
6488 | } | |
6489 | { | |
6490 | wxFont * resultptr; | |
7449af73 | 6491 | resultptr = new wxFont(static_cast<wxFont & >(result)); |
2f4c0a16 | 6492 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1); |
44127b65 RD |
6493 | } |
6494 | return resultobj; | |
6495 | fail: | |
6496 | return NULL; | |
6497 | } | |
6498 | ||
6499 | ||
c32bde28 | 6500 | static PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6501 | PyObject *resultobj = NULL; |
44127b65 RD |
6502 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6503 | wxTreeItemId *arg2 = 0 ; | |
6504 | bool result; | |
6505 | PyObject * obj0 = 0 ; | |
6506 | PyObject * obj1 = 0 ; | |
6507 | char *kwnames[] = { | |
6508 | (char *) "self",(char *) "item", NULL | |
6509 | }; | |
6510 | ||
6511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6512 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6513 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6514 | { | |
6515 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6516 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6517 | if (arg2 == NULL) { | |
6518 | SWIG_null_ref("wxTreeItemId"); | |
6519 | } | |
6520 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
6521 | } |
6522 | { | |
6523 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6524 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2); | |
6525 | ||
6526 | wxPyEndAllowThreads(__tstate); | |
6527 | if (PyErr_Occurred()) SWIG_fail; | |
6528 | } | |
4f89f6a3 RD |
6529 | { |
6530 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6531 | } | |
44127b65 RD |
6532 | return resultobj; |
6533 | fail: | |
6534 | return NULL; | |
6535 | } | |
6536 | ||
6537 | ||
c32bde28 | 6538 | static PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6539 | PyObject *resultobj = NULL; |
44127b65 RD |
6540 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6541 | wxTreeItemId *arg2 = 0 ; | |
6542 | bool result; | |
6543 | PyObject * obj0 = 0 ; | |
6544 | PyObject * obj1 = 0 ; | |
6545 | char *kwnames[] = { | |
6546 | (char *) "self",(char *) "item", NULL | |
6547 | }; | |
6548 | ||
6549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6550 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6551 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6552 | { | |
6553 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6554 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6555 | if (arg2 == NULL) { | |
6556 | SWIG_null_ref("wxTreeItemId"); | |
6557 | } | |
6558 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
6559 | } |
6560 | { | |
6561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6562 | result = (bool)((wxPyTreeListCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2); | |
6563 | ||
6564 | wxPyEndAllowThreads(__tstate); | |
6565 | if (PyErr_Occurred()) SWIG_fail; | |
6566 | } | |
4f89f6a3 RD |
6567 | { |
6568 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6569 | } | |
44127b65 RD |
6570 | return resultobj; |
6571 | fail: | |
6572 | return NULL; | |
6573 | } | |
6574 | ||
6575 | ||
c32bde28 | 6576 | static PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6577 | PyObject *resultobj = NULL; |
44127b65 RD |
6578 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6579 | wxTreeItemId *arg2 = 0 ; | |
6580 | bool result; | |
6581 | PyObject * obj0 = 0 ; | |
6582 | PyObject * obj1 = 0 ; | |
6583 | char *kwnames[] = { | |
6584 | (char *) "self",(char *) "item", NULL | |
6585 | }; | |
6586 | ||
6587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6588 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6589 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6590 | { | |
6591 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6592 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6593 | if (arg2 == NULL) { | |
6594 | SWIG_null_ref("wxTreeItemId"); | |
6595 | } | |
6596 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
6597 | } |
6598 | { | |
6599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6600 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2); | |
6601 | ||
6602 | wxPyEndAllowThreads(__tstate); | |
6603 | if (PyErr_Occurred()) SWIG_fail; | |
6604 | } | |
4f89f6a3 RD |
6605 | { |
6606 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6607 | } | |
44127b65 RD |
6608 | return resultobj; |
6609 | fail: | |
6610 | return NULL; | |
6611 | } | |
6612 | ||
6613 | ||
c32bde28 | 6614 | static PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6615 | PyObject *resultobj = NULL; |
44127b65 RD |
6616 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6617 | wxTreeItemId *arg2 = 0 ; | |
6618 | bool result; | |
6619 | PyObject * obj0 = 0 ; | |
6620 | PyObject * obj1 = 0 ; | |
6621 | char *kwnames[] = { | |
6622 | (char *) "self",(char *) "item", NULL | |
6623 | }; | |
6624 | ||
6625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6626 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6627 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6628 | { | |
6629 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6630 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6631 | if (arg2 == NULL) { | |
6632 | SWIG_null_ref("wxTreeItemId"); | |
6633 | } | |
6634 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
6635 | } |
6636 | { | |
6637 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6638 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2); | |
6639 | ||
6640 | wxPyEndAllowThreads(__tstate); | |
6641 | if (PyErr_Occurred()) SWIG_fail; | |
6642 | } | |
4f89f6a3 RD |
6643 | { |
6644 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6645 | } | |
44127b65 RD |
6646 | return resultobj; |
6647 | fail: | |
6648 | return NULL; | |
6649 | } | |
6650 | ||
6651 | ||
c32bde28 | 6652 | static PyObject *_wrap_TreeListCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6653 | PyObject *resultobj = NULL; |
44127b65 RD |
6654 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6655 | wxTreeItemId *arg2 = 0 ; | |
6656 | bool result; | |
6657 | PyObject * obj0 = 0 ; | |
6658 | PyObject * obj1 = 0 ; | |
6659 | char *kwnames[] = { | |
6660 | (char *) "self",(char *) "item", NULL | |
6661 | }; | |
6662 | ||
6663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6664 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6665 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6666 | { | |
6667 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6668 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6669 | if (arg2 == NULL) { | |
6670 | SWIG_null_ref("wxTreeItemId"); | |
6671 | } | |
6672 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
6673 | } |
6674 | { | |
6675 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6676 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2); | |
6677 | ||
6678 | wxPyEndAllowThreads(__tstate); | |
6679 | if (PyErr_Occurred()) SWIG_fail; | |
6680 | } | |
4f89f6a3 RD |
6681 | { |
6682 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
6683 | } | |
44127b65 RD |
6684 | return resultobj; |
6685 | fail: | |
6686 | return NULL; | |
6687 | } | |
6688 | ||
6689 | ||
c32bde28 | 6690 | static PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6691 | PyObject *resultobj = NULL; |
44127b65 RD |
6692 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6693 | wxTreeItemId *arg2 = 0 ; | |
ae8162c8 | 6694 | bool arg3 = (bool) true ; |
44127b65 RD |
6695 | size_t result; |
6696 | PyObject * obj0 = 0 ; | |
6697 | PyObject * obj1 = 0 ; | |
6698 | PyObject * obj2 = 0 ; | |
6699 | char *kwnames[] = { | |
6700 | (char *) "self",(char *) "item",(char *) "recursively", NULL | |
6701 | }; | |
6702 | ||
6703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
6704 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6705 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6706 | { | |
6707 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6708 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6709 | if (arg2 == NULL) { | |
6710 | SWIG_null_ref("wxTreeItemId"); | |
6711 | } | |
6712 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
6713 | } |
6714 | if (obj2) { | |
093d3ff1 | 6715 | { |
7449af73 | 6716 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
6717 | if (SWIG_arg_fail(3)) SWIG_fail; |
6718 | } | |
44127b65 RD |
6719 | } |
6720 | { | |
6721 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6722 | result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3); | |
6723 | ||
6724 | wxPyEndAllowThreads(__tstate); | |
6725 | if (PyErr_Occurred()) SWIG_fail; | |
6726 | } | |
093d3ff1 | 6727 | { |
7449af73 | 6728 | resultobj = SWIG_From_unsigned_SS_long(static_cast<unsigned long >(result)); |
093d3ff1 | 6729 | } |
44127b65 RD |
6730 | return resultobj; |
6731 | fail: | |
6732 | return NULL; | |
6733 | } | |
6734 | ||
6735 | ||
c32bde28 | 6736 | static PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6737 | PyObject *resultobj = NULL; |
44127b65 RD |
6738 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6739 | wxTreeItemId result; | |
6740 | PyObject * obj0 = 0 ; | |
6741 | char *kwnames[] = { | |
6742 | (char *) "self", NULL | |
6743 | }; | |
6744 | ||
6745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetRootItem",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6746 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6747 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
6748 | { |
6749 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6750 | result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem(); | |
6751 | ||
6752 | wxPyEndAllowThreads(__tstate); | |
6753 | if (PyErr_Occurred()) SWIG_fail; | |
6754 | } | |
6755 | { | |
6756 | wxTreeItemId * resultptr; | |
7449af73 | 6757 | resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result)); |
2f4c0a16 | 6758 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
6759 | } |
6760 | return resultobj; | |
6761 | fail: | |
6762 | return NULL; | |
6763 | } | |
6764 | ||
6765 | ||
c32bde28 | 6766 | static PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6767 | PyObject *resultobj = NULL; |
44127b65 RD |
6768 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6769 | wxTreeItemId result; | |
6770 | PyObject * obj0 = 0 ; | |
6771 | char *kwnames[] = { | |
6772 | (char *) "self", NULL | |
6773 | }; | |
6774 | ||
6775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelection",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6776 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6777 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
6778 | { |
6779 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6780 | result = ((wxPyTreeListCtrl const *)arg1)->GetSelection(); | |
6781 | ||
6782 | wxPyEndAllowThreads(__tstate); | |
6783 | if (PyErr_Occurred()) SWIG_fail; | |
6784 | } | |
6785 | { | |
6786 | wxTreeItemId * resultptr; | |
7449af73 | 6787 | resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result)); |
2f4c0a16 | 6788 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
6789 | } |
6790 | return resultobj; | |
6791 | fail: | |
6792 | return NULL; | |
6793 | } | |
6794 | ||
6795 | ||
c32bde28 | 6796 | static PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6797 | PyObject *resultobj = NULL; |
44127b65 RD |
6798 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6799 | PyObject *result; | |
6800 | PyObject * obj0 = 0 ; | |
6801 | char *kwnames[] = { | |
6802 | (char *) "self", NULL | |
6803 | }; | |
6804 | ||
6805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelections",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
6806 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6807 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
6808 | { |
6809 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6810 | result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1); | |
6811 | ||
6812 | wxPyEndAllowThreads(__tstate); | |
6813 | if (PyErr_Occurred()) SWIG_fail; | |
6814 | } | |
6815 | resultobj = result; | |
6816 | return resultobj; | |
6817 | fail: | |
6818 | return NULL; | |
6819 | } | |
6820 | ||
6821 | ||
c32bde28 | 6822 | static PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6823 | PyObject *resultobj = NULL; |
44127b65 RD |
6824 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6825 | wxTreeItemId *arg2 = 0 ; | |
6826 | wxTreeItemId result; | |
6827 | PyObject * obj0 = 0 ; | |
6828 | PyObject * obj1 = 0 ; | |
6829 | char *kwnames[] = { | |
6830 | (char *) "self",(char *) "item", NULL | |
6831 | }; | |
6832 | ||
6833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6834 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6835 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6836 | { | |
6837 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6838 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6839 | if (arg2 == NULL) { | |
6840 | SWIG_null_ref("wxTreeItemId"); | |
6841 | } | |
6842 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
6843 | } |
6844 | { | |
6845 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
629f3c1b | 6846 | result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2); |
44127b65 RD |
6847 | |
6848 | wxPyEndAllowThreads(__tstate); | |
6849 | if (PyErr_Occurred()) SWIG_fail; | |
6850 | } | |
6851 | { | |
6852 | wxTreeItemId * resultptr; | |
7449af73 | 6853 | resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result)); |
2f4c0a16 | 6854 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
6855 | } |
6856 | return resultobj; | |
6857 | fail: | |
6858 | return NULL; | |
6859 | } | |
6860 | ||
6861 | ||
c32bde28 | 6862 | static PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6863 | PyObject *resultobj = NULL; |
44127b65 RD |
6864 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6865 | wxTreeItemId *arg2 = 0 ; | |
6866 | PyObject *result; | |
6867 | PyObject * obj0 = 0 ; | |
6868 | PyObject * obj1 = 0 ; | |
6869 | char *kwnames[] = { | |
6870 | (char *) "self",(char *) "item", NULL | |
6871 | }; | |
6872 | ||
6873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6874 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6875 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6876 | { | |
6877 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6878 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6879 | if (arg2 == NULL) { | |
6880 | SWIG_null_ref("wxTreeItemId"); | |
6881 | } | |
6882 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
6883 | } |
6884 | { | |
6885 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6886 | result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2); | |
6887 | ||
6888 | wxPyEndAllowThreads(__tstate); | |
6889 | if (PyErr_Occurred()) SWIG_fail; | |
6890 | } | |
6891 | resultobj = result; | |
6892 | return resultobj; | |
6893 | fail: | |
6894 | return NULL; | |
6895 | } | |
6896 | ||
6897 | ||
c32bde28 | 6898 | static PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6899 | PyObject *resultobj = NULL; |
44127b65 RD |
6900 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6901 | wxTreeItemId *arg2 = 0 ; | |
629f3c1b | 6902 | void *arg3 = (void *) 0 ; |
44127b65 RD |
6903 | PyObject *result; |
6904 | PyObject * obj0 = 0 ; | |
6905 | PyObject * obj1 = 0 ; | |
8edf1c75 | 6906 | PyObject * obj2 = 0 ; |
44127b65 RD |
6907 | char *kwnames[] = { |
6908 | (char *) "self",(char *) "item",(char *) "cookie", NULL | |
6909 | }; | |
6910 | ||
8edf1c75 | 6911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail; |
093d3ff1 RD |
6912 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6913 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6914 | { | |
6915 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6916 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6917 | if (arg2 == NULL) { | |
6918 | SWIG_null_ref("wxTreeItemId"); | |
6919 | } | |
6920 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6921 | } | |
6922 | { | |
7449af73 | 6923 | if ((SWIG_ConvertPtr(obj2,reinterpret_cast<void ** >(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) { |
093d3ff1 RD |
6924 | SWIG_arg_fail(3);SWIG_fail; |
6925 | } | |
8edf1c75 | 6926 | } |
44127b65 RD |
6927 | { |
6928 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6929 | result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3); | |
6930 | ||
6931 | wxPyEndAllowThreads(__tstate); | |
6932 | if (PyErr_Occurred()) SWIG_fail; | |
6933 | } | |
6934 | resultobj = result; | |
6935 | return resultobj; | |
6936 | fail: | |
6937 | return NULL; | |
6938 | } | |
6939 | ||
6940 | ||
c32bde28 | 6941 | static PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6942 | PyObject *resultobj = NULL; |
44127b65 RD |
6943 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6944 | wxTreeItemId *arg2 = 0 ; | |
6945 | wxTreeItemId result; | |
6946 | PyObject * obj0 = 0 ; | |
6947 | PyObject * obj1 = 0 ; | |
6948 | char *kwnames[] = { | |
6949 | (char *) "self",(char *) "item", NULL | |
6950 | }; | |
6951 | ||
6952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6953 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6954 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6955 | { | |
6956 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6957 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6958 | if (arg2 == NULL) { | |
6959 | SWIG_null_ref("wxTreeItemId"); | |
6960 | } | |
6961 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
6962 | } |
6963 | { | |
6964 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6965 | result = ((wxPyTreeListCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2); | |
6966 | ||
6967 | wxPyEndAllowThreads(__tstate); | |
6968 | if (PyErr_Occurred()) SWIG_fail; | |
6969 | } | |
6970 | { | |
6971 | wxTreeItemId * resultptr; | |
7449af73 | 6972 | resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result)); |
2f4c0a16 | 6973 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
6974 | } |
6975 | return resultobj; | |
6976 | fail: | |
6977 | return NULL; | |
6978 | } | |
6979 | ||
6980 | ||
c32bde28 | 6981 | static PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 6982 | PyObject *resultobj = NULL; |
44127b65 RD |
6983 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
6984 | wxTreeItemId *arg2 = 0 ; | |
6985 | wxTreeItemId result; | |
6986 | PyObject * obj0 = 0 ; | |
6987 | PyObject * obj1 = 0 ; | |
6988 | char *kwnames[] = { | |
6989 | (char *) "self",(char *) "item", NULL | |
6990 | }; | |
6991 | ||
6992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
6993 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
6994 | if (SWIG_arg_fail(1)) SWIG_fail; | |
6995 | { | |
6996 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
6997 | if (SWIG_arg_fail(2)) SWIG_fail; | |
6998 | if (arg2 == NULL) { | |
6999 | SWIG_null_ref("wxTreeItemId"); | |
7000 | } | |
7001 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
7002 | } |
7003 | { | |
7004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7005 | result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2); | |
7006 | ||
7007 | wxPyEndAllowThreads(__tstate); | |
7008 | if (PyErr_Occurred()) SWIG_fail; | |
7009 | } | |
7010 | { | |
7011 | wxTreeItemId * resultptr; | |
7449af73 | 7012 | resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result)); |
2f4c0a16 | 7013 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
7014 | } |
7015 | return resultobj; | |
7016 | fail: | |
7017 | return NULL; | |
7018 | } | |
7019 | ||
7020 | ||
c32bde28 | 7021 | static PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7022 | PyObject *resultobj = NULL; |
44127b65 RD |
7023 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7024 | wxTreeItemId *arg2 = 0 ; | |
7025 | wxTreeItemId result; | |
7026 | PyObject * obj0 = 0 ; | |
7027 | PyObject * obj1 = 0 ; | |
7028 | char *kwnames[] = { | |
7029 | (char *) "self",(char *) "item", NULL | |
7030 | }; | |
7031 | ||
7032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
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; | |
44127b65 RD |
7042 | } |
7043 | { | |
7044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7045 | result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2); | |
7046 | ||
7047 | wxPyEndAllowThreads(__tstate); | |
7048 | if (PyErr_Occurred()) SWIG_fail; | |
7049 | } | |
7050 | { | |
7051 | wxTreeItemId * resultptr; | |
7449af73 | 7052 | resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result)); |
2f4c0a16 | 7053 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
7054 | } |
7055 | return resultobj; | |
7056 | fail: | |
7057 | return NULL; | |
7058 | } | |
7059 | ||
7060 | ||
c32bde28 | 7061 | static PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7062 | PyObject *resultobj = NULL; |
44127b65 RD |
7063 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7064 | wxTreeItemId result; | |
7065 | PyObject * obj0 = 0 ; | |
7066 | char *kwnames[] = { | |
7067 | (char *) "self", NULL | |
7068 | }; | |
7069 | ||
7070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7071 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7072 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
7073 | { |
7074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7075 | result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem(); | |
7076 | ||
7077 | wxPyEndAllowThreads(__tstate); | |
7078 | if (PyErr_Occurred()) SWIG_fail; | |
7079 | } | |
7080 | { | |
7081 | wxTreeItemId * resultptr; | |
7449af73 | 7082 | resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result)); |
2f4c0a16 | 7083 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
7084 | } |
7085 | return resultobj; | |
7086 | fail: | |
7087 | return NULL; | |
7088 | } | |
7089 | ||
7090 | ||
c32bde28 | 7091 | static PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7092 | PyObject *resultobj = NULL; |
44127b65 RD |
7093 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7094 | wxTreeItemId *arg2 = 0 ; | |
7095 | wxTreeItemId result; | |
7096 | PyObject * obj0 = 0 ; | |
7097 | PyObject * obj1 = 0 ; | |
7098 | char *kwnames[] = { | |
7099 | (char *) "self",(char *) "item", NULL | |
7100 | }; | |
7101 | ||
7102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7103 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7104 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7105 | { | |
7106 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7107 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7108 | if (arg2 == NULL) { | |
7109 | SWIG_null_ref("wxTreeItemId"); | |
7110 | } | |
7111 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
7112 | } |
7113 | { | |
7114 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7115 | result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2); | |
7116 | ||
7117 | wxPyEndAllowThreads(__tstate); | |
7118 | if (PyErr_Occurred()) SWIG_fail; | |
7119 | } | |
7120 | { | |
7121 | wxTreeItemId * resultptr; | |
7449af73 | 7122 | resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result)); |
2f4c0a16 | 7123 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
7124 | } |
7125 | return resultobj; | |
7126 | fail: | |
7127 | return NULL; | |
7128 | } | |
7129 | ||
7130 | ||
c32bde28 | 7131 | static PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7132 | PyObject *resultobj = NULL; |
44127b65 RD |
7133 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7134 | wxTreeItemId *arg2 = 0 ; | |
7135 | wxTreeItemId result; | |
7136 | PyObject * obj0 = 0 ; | |
7137 | PyObject * obj1 = 0 ; | |
7138 | char *kwnames[] = { | |
7139 | (char *) "self",(char *) "item", NULL | |
7140 | }; | |
7141 | ||
7142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7143 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7144 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7145 | { | |
7146 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7147 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7148 | if (arg2 == NULL) { | |
7149 | SWIG_null_ref("wxTreeItemId"); | |
7150 | } | |
7151 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
7152 | } |
7153 | { | |
7154 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7155 | result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2); | |
7156 | ||
7157 | wxPyEndAllowThreads(__tstate); | |
7158 | if (PyErr_Occurred()) SWIG_fail; | |
7159 | } | |
7160 | { | |
7161 | wxTreeItemId * resultptr; | |
7449af73 | 7162 | resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result)); |
2f4c0a16 | 7163 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
7164 | } |
7165 | return resultobj; | |
7166 | fail: | |
7167 | return NULL; | |
7168 | } | |
7169 | ||
7170 | ||
c32bde28 | 7171 | static PyObject *_wrap_TreeListCtrl_GetNext(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7172 | PyObject *resultobj = NULL; |
44127b65 RD |
7173 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7174 | wxTreeItemId *arg2 = 0 ; | |
7175 | wxTreeItemId result; | |
7176 | PyObject * obj0 = 0 ; | |
7177 | PyObject * obj1 = 0 ; | |
7178 | char *kwnames[] = { | |
7179 | (char *) "self",(char *) "item", NULL | |
7180 | }; | |
7181 | ||
7182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7183 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7184 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7185 | { | |
7186 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7187 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7188 | if (arg2 == NULL) { | |
7189 | SWIG_null_ref("wxTreeItemId"); | |
7190 | } | |
7191 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
7192 | } |
7193 | { | |
7194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7195 | result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2); | |
7196 | ||
7197 | wxPyEndAllowThreads(__tstate); | |
7198 | if (PyErr_Occurred()) SWIG_fail; | |
7199 | } | |
7200 | { | |
7201 | wxTreeItemId * resultptr; | |
7449af73 | 7202 | resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result)); |
2f4c0a16 | 7203 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
7204 | } |
7205 | return resultobj; | |
7206 | fail: | |
7207 | return NULL; | |
7208 | } | |
7209 | ||
7210 | ||
c32bde28 | 7211 | static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7212 | PyObject *resultobj = NULL; |
44127b65 RD |
7213 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7214 | wxString *arg2 = 0 ; | |
7215 | int arg3 = (int) -1 ; | |
7216 | int arg4 = (int) -1 ; | |
7217 | wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ; | |
7218 | wxTreeItemId result; | |
ae8162c8 | 7219 | bool temp2 = false ; |
44127b65 RD |
7220 | PyObject * obj0 = 0 ; |
7221 | PyObject * obj1 = 0 ; | |
8edf1c75 RD |
7222 | PyObject * obj2 = 0 ; |
7223 | PyObject * obj3 = 0 ; | |
44127b65 RD |
7224 | PyObject * obj4 = 0 ; |
7225 | char *kwnames[] = { | |
7226 | (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
7227 | }; | |
7228 | ||
8edf1c75 | 7229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail; |
093d3ff1 RD |
7230 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7231 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
7232 | { |
7233 | arg2 = wxString_in_helper(obj1); | |
7234 | if (arg2 == NULL) SWIG_fail; | |
ae8162c8 | 7235 | temp2 = true; |
44127b65 | 7236 | } |
8edf1c75 | 7237 | if (obj2) { |
093d3ff1 | 7238 | { |
7449af73 | 7239 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
093d3ff1 RD |
7240 | if (SWIG_arg_fail(3)) SWIG_fail; |
7241 | } | |
8edf1c75 RD |
7242 | } |
7243 | if (obj3) { | |
093d3ff1 | 7244 | { |
7449af73 | 7245 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
7246 | if (SWIG_arg_fail(4)) SWIG_fail; |
7247 | } | |
8edf1c75 | 7248 | } |
44127b65 | 7249 | if (obj4) { |
093d3ff1 RD |
7250 | SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0); |
7251 | if (SWIG_arg_fail(5)) SWIG_fail; | |
44127b65 RD |
7252 | } |
7253 | { | |
7254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7255 | result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5); | |
7256 | ||
7257 | wxPyEndAllowThreads(__tstate); | |
7258 | if (PyErr_Occurred()) SWIG_fail; | |
7259 | } | |
7260 | { | |
7261 | wxTreeItemId * resultptr; | |
7449af73 | 7262 | resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result)); |
2f4c0a16 | 7263 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
7264 | } |
7265 | { | |
7266 | if (temp2) | |
7267 | delete arg2; | |
7268 | } | |
7269 | return resultobj; | |
7270 | fail: | |
7271 | { | |
7272 | if (temp2) | |
7273 | delete arg2; | |
7274 | } | |
7275 | return NULL; | |
7276 | } | |
7277 | ||
7278 | ||
c32bde28 | 7279 | static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7280 | PyObject *resultobj = NULL; |
44127b65 RD |
7281 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7282 | wxTreeItemId *arg2 = 0 ; | |
7283 | wxString *arg3 = 0 ; | |
7284 | int arg4 = (int) -1 ; | |
7285 | int arg5 = (int) -1 ; | |
7286 | wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ; | |
7287 | wxTreeItemId result; | |
ae8162c8 | 7288 | bool temp3 = false ; |
44127b65 RD |
7289 | PyObject * obj0 = 0 ; |
7290 | PyObject * obj1 = 0 ; | |
7291 | PyObject * obj2 = 0 ; | |
8edf1c75 RD |
7292 | PyObject * obj3 = 0 ; |
7293 | PyObject * obj4 = 0 ; | |
44127b65 RD |
7294 | PyObject * obj5 = 0 ; |
7295 | char *kwnames[] = { | |
7296 | (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
7297 | }; | |
7298 | ||
8edf1c75 | 7299 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
7300 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7301 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7302 | { | |
7303 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7304 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7305 | if (arg2 == NULL) { | |
7306 | SWIG_null_ref("wxTreeItemId"); | |
7307 | } | |
7308 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
7309 | } |
7310 | { | |
7311 | arg3 = wxString_in_helper(obj2); | |
7312 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 7313 | temp3 = true; |
44127b65 | 7314 | } |
8edf1c75 | 7315 | if (obj3) { |
093d3ff1 | 7316 | { |
7449af73 | 7317 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
7318 | if (SWIG_arg_fail(4)) SWIG_fail; |
7319 | } | |
8edf1c75 RD |
7320 | } |
7321 | if (obj4) { | |
093d3ff1 | 7322 | { |
7449af73 | 7323 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
7324 | if (SWIG_arg_fail(5)) SWIG_fail; |
7325 | } | |
8edf1c75 | 7326 | } |
44127b65 | 7327 | if (obj5) { |
093d3ff1 RD |
7328 | SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0); |
7329 | if (SWIG_arg_fail(6)) SWIG_fail; | |
44127b65 RD |
7330 | } |
7331 | { | |
7332 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7333 | result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6); | |
7334 | ||
7335 | wxPyEndAllowThreads(__tstate); | |
7336 | if (PyErr_Occurred()) SWIG_fail; | |
7337 | } | |
7338 | { | |
7339 | wxTreeItemId * resultptr; | |
7449af73 | 7340 | resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result)); |
2f4c0a16 | 7341 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
7342 | } |
7343 | { | |
7344 | if (temp3) | |
7345 | delete arg3; | |
7346 | } | |
7347 | return resultobj; | |
7348 | fail: | |
7349 | { | |
7350 | if (temp3) | |
7351 | delete arg3; | |
7352 | } | |
7353 | return NULL; | |
7354 | } | |
7355 | ||
7356 | ||
c32bde28 | 7357 | static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7358 | PyObject *resultobj = NULL; |
44127b65 RD |
7359 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7360 | wxTreeItemId *arg2 = 0 ; | |
7361 | wxTreeItemId *arg3 = 0 ; | |
7362 | wxString *arg4 = 0 ; | |
7363 | int arg5 = (int) -1 ; | |
7364 | int arg6 = (int) -1 ; | |
7365 | wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ; | |
7366 | wxTreeItemId result; | |
ae8162c8 | 7367 | bool temp4 = false ; |
44127b65 RD |
7368 | PyObject * obj0 = 0 ; |
7369 | PyObject * obj1 = 0 ; | |
7370 | PyObject * obj2 = 0 ; | |
7371 | PyObject * obj3 = 0 ; | |
8edf1c75 RD |
7372 | PyObject * obj4 = 0 ; |
7373 | PyObject * obj5 = 0 ; | |
44127b65 RD |
7374 | PyObject * obj6 = 0 ; |
7375 | char *kwnames[] = { | |
7376 | (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
7377 | }; | |
7378 | ||
8edf1c75 | 7379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
7380 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7381 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7382 | { | |
7383 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7384 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7385 | if (arg2 == NULL) { | |
7386 | SWIG_null_ref("wxTreeItemId"); | |
7387 | } | |
7388 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7389 | } | |
7390 | { | |
7391 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7392 | if (SWIG_arg_fail(3)) SWIG_fail; | |
7393 | if (arg3 == NULL) { | |
7394 | SWIG_null_ref("wxTreeItemId"); | |
7395 | } | |
7396 | if (SWIG_arg_fail(3)) SWIG_fail; | |
44127b65 RD |
7397 | } |
7398 | { | |
7399 | arg4 = wxString_in_helper(obj3); | |
7400 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 7401 | temp4 = true; |
44127b65 | 7402 | } |
8edf1c75 | 7403 | if (obj4) { |
093d3ff1 | 7404 | { |
7449af73 | 7405 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
7406 | if (SWIG_arg_fail(5)) SWIG_fail; |
7407 | } | |
8edf1c75 RD |
7408 | } |
7409 | if (obj5) { | |
093d3ff1 | 7410 | { |
7449af73 | 7411 | arg6 = static_cast<int >(SWIG_As_int(obj5)); |
093d3ff1 RD |
7412 | if (SWIG_arg_fail(6)) SWIG_fail; |
7413 | } | |
8edf1c75 | 7414 | } |
44127b65 | 7415 | if (obj6) { |
093d3ff1 RD |
7416 | SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0); |
7417 | if (SWIG_arg_fail(7)) SWIG_fail; | |
44127b65 RD |
7418 | } |
7419 | { | |
7420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7421 | result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7); | |
7422 | ||
7423 | wxPyEndAllowThreads(__tstate); | |
7424 | if (PyErr_Occurred()) SWIG_fail; | |
7425 | } | |
7426 | { | |
7427 | wxTreeItemId * resultptr; | |
7449af73 | 7428 | resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result)); |
2f4c0a16 | 7429 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
7430 | } |
7431 | { | |
7432 | if (temp4) | |
7433 | delete arg4; | |
7434 | } | |
7435 | return resultobj; | |
7436 | fail: | |
7437 | { | |
7438 | if (temp4) | |
7439 | delete arg4; | |
7440 | } | |
7441 | return NULL; | |
7442 | } | |
7443 | ||
7444 | ||
c32bde28 | 7445 | static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7446 | PyObject *resultobj = NULL; |
44127b65 RD |
7447 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7448 | wxTreeItemId *arg2 = 0 ; | |
7449 | size_t arg3 ; | |
7450 | wxString *arg4 = 0 ; | |
7451 | int arg5 = (int) -1 ; | |
7452 | int arg6 = (int) -1 ; | |
7453 | wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ; | |
7454 | wxTreeItemId result; | |
ae8162c8 | 7455 | bool temp4 = false ; |
44127b65 RD |
7456 | PyObject * obj0 = 0 ; |
7457 | PyObject * obj1 = 0 ; | |
7458 | PyObject * obj2 = 0 ; | |
7459 | PyObject * obj3 = 0 ; | |
8edf1c75 RD |
7460 | PyObject * obj4 = 0 ; |
7461 | PyObject * obj5 = 0 ; | |
44127b65 RD |
7462 | PyObject * obj6 = 0 ; |
7463 | char *kwnames[] = { | |
7464 | (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
7465 | }; | |
7466 | ||
8edf1c75 | 7467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
093d3ff1 RD |
7468 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7469 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7470 | { | |
7471 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7472 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7473 | if (arg2 == NULL) { | |
7474 | SWIG_null_ref("wxTreeItemId"); | |
7475 | } | |
7476 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7477 | } | |
7478 | { | |
7449af73 | 7479 | arg3 = static_cast<size_t >(SWIG_As_unsigned_SS_long(obj2)); |
093d3ff1 RD |
7480 | if (SWIG_arg_fail(3)) SWIG_fail; |
7481 | } | |
44127b65 RD |
7482 | { |
7483 | arg4 = wxString_in_helper(obj3); | |
7484 | if (arg4 == NULL) SWIG_fail; | |
ae8162c8 | 7485 | temp4 = true; |
44127b65 | 7486 | } |
8edf1c75 | 7487 | if (obj4) { |
093d3ff1 | 7488 | { |
7449af73 | 7489 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
7490 | if (SWIG_arg_fail(5)) SWIG_fail; |
7491 | } | |
8edf1c75 RD |
7492 | } |
7493 | if (obj5) { | |
093d3ff1 | 7494 | { |
7449af73 | 7495 | arg6 = static_cast<int >(SWIG_As_int(obj5)); |
093d3ff1 RD |
7496 | if (SWIG_arg_fail(6)) SWIG_fail; |
7497 | } | |
8edf1c75 | 7498 | } |
44127b65 | 7499 | if (obj6) { |
093d3ff1 RD |
7500 | SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0); |
7501 | if (SWIG_arg_fail(7)) SWIG_fail; | |
44127b65 RD |
7502 | } |
7503 | { | |
7504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7505 | result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7); | |
7506 | ||
7507 | wxPyEndAllowThreads(__tstate); | |
7508 | if (PyErr_Occurred()) SWIG_fail; | |
7509 | } | |
7510 | { | |
7511 | wxTreeItemId * resultptr; | |
7449af73 | 7512 | resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result)); |
2f4c0a16 | 7513 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
7514 | } |
7515 | { | |
7516 | if (temp4) | |
7517 | delete arg4; | |
7518 | } | |
7519 | return resultobj; | |
7520 | fail: | |
7521 | { | |
7522 | if (temp4) | |
7523 | delete arg4; | |
7524 | } | |
7525 | return NULL; | |
7526 | } | |
7527 | ||
7528 | ||
c32bde28 | 7529 | static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7530 | PyObject *resultobj = NULL; |
44127b65 RD |
7531 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7532 | wxTreeItemId *arg2 = 0 ; | |
7533 | wxString *arg3 = 0 ; | |
7534 | int arg4 = (int) -1 ; | |
7535 | int arg5 = (int) -1 ; | |
7536 | wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ; | |
7537 | wxTreeItemId result; | |
ae8162c8 | 7538 | bool temp3 = false ; |
44127b65 RD |
7539 | PyObject * obj0 = 0 ; |
7540 | PyObject * obj1 = 0 ; | |
7541 | PyObject * obj2 = 0 ; | |
8edf1c75 RD |
7542 | PyObject * obj3 = 0 ; |
7543 | PyObject * obj4 = 0 ; | |
44127b65 RD |
7544 | PyObject * obj5 = 0 ; |
7545 | char *kwnames[] = { | |
7546 | (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
7547 | }; | |
7548 | ||
8edf1c75 | 7549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail; |
093d3ff1 RD |
7550 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7551 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7552 | { | |
7553 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7554 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7555 | if (arg2 == NULL) { | |
7556 | SWIG_null_ref("wxTreeItemId"); | |
7557 | } | |
7558 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
7559 | } |
7560 | { | |
7561 | arg3 = wxString_in_helper(obj2); | |
7562 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 7563 | temp3 = true; |
44127b65 | 7564 | } |
8edf1c75 | 7565 | if (obj3) { |
093d3ff1 | 7566 | { |
7449af73 | 7567 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
7568 | if (SWIG_arg_fail(4)) SWIG_fail; |
7569 | } | |
8edf1c75 RD |
7570 | } |
7571 | if (obj4) { | |
093d3ff1 | 7572 | { |
7449af73 | 7573 | arg5 = static_cast<int >(SWIG_As_int(obj4)); |
093d3ff1 RD |
7574 | if (SWIG_arg_fail(5)) SWIG_fail; |
7575 | } | |
8edf1c75 | 7576 | } |
44127b65 | 7577 | if (obj5) { |
093d3ff1 RD |
7578 | SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0); |
7579 | if (SWIG_arg_fail(6)) SWIG_fail; | |
44127b65 RD |
7580 | } |
7581 | { | |
7582 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7583 | result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6); | |
7584 | ||
7585 | wxPyEndAllowThreads(__tstate); | |
7586 | if (PyErr_Occurred()) SWIG_fail; | |
7587 | } | |
7588 | { | |
7589 | wxTreeItemId * resultptr; | |
7449af73 | 7590 | resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result)); |
2f4c0a16 | 7591 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 RD |
7592 | } |
7593 | { | |
7594 | if (temp3) | |
7595 | delete arg3; | |
7596 | } | |
7597 | return resultobj; | |
7598 | fail: | |
7599 | { | |
7600 | if (temp3) | |
7601 | delete arg3; | |
7602 | } | |
7603 | return NULL; | |
7604 | } | |
7605 | ||
7606 | ||
c32bde28 | 7607 | static PyObject *_wrap_TreeListCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7608 | PyObject *resultobj = NULL; |
44127b65 RD |
7609 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7610 | wxTreeItemId *arg2 = 0 ; | |
7611 | PyObject * obj0 = 0 ; | |
7612 | PyObject * obj1 = 0 ; | |
7613 | char *kwnames[] = { | |
7614 | (char *) "self",(char *) "item", NULL | |
7615 | }; | |
7616 | ||
7617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7618 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7619 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7620 | { | |
7621 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7622 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7623 | if (arg2 == NULL) { | |
7624 | SWIG_null_ref("wxTreeItemId"); | |
7625 | } | |
7626 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
7627 | } |
7628 | { | |
7629 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7630 | (arg1)->Delete((wxTreeItemId const &)*arg2); | |
7631 | ||
7632 | wxPyEndAllowThreads(__tstate); | |
7633 | if (PyErr_Occurred()) SWIG_fail; | |
7634 | } | |
7635 | Py_INCREF(Py_None); resultobj = Py_None; | |
7636 | return resultobj; | |
7637 | fail: | |
7638 | return NULL; | |
7639 | } | |
7640 | ||
7641 | ||
c32bde28 | 7642 | static PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7643 | PyObject *resultobj = NULL; |
44127b65 RD |
7644 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7645 | wxTreeItemId *arg2 = 0 ; | |
7646 | PyObject * obj0 = 0 ; | |
7647 | PyObject * obj1 = 0 ; | |
7648 | char *kwnames[] = { | |
7649 | (char *) "self",(char *) "item", NULL | |
7650 | }; | |
7651 | ||
7652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7653 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7654 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7655 | { | |
7656 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7657 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7658 | if (arg2 == NULL) { | |
7659 | SWIG_null_ref("wxTreeItemId"); | |
7660 | } | |
7661 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
7662 | } |
7663 | { | |
7664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7665 | (arg1)->DeleteChildren((wxTreeItemId const &)*arg2); | |
7666 | ||
7667 | wxPyEndAllowThreads(__tstate); | |
7668 | if (PyErr_Occurred()) SWIG_fail; | |
7669 | } | |
7670 | Py_INCREF(Py_None); resultobj = Py_None; | |
7671 | return resultobj; | |
7672 | fail: | |
7673 | return NULL; | |
7674 | } | |
7675 | ||
7676 | ||
c32bde28 | 7677 | static PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7678 | PyObject *resultobj = NULL; |
44127b65 RD |
7679 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7680 | PyObject * obj0 = 0 ; | |
7681 | char *kwnames[] = { | |
7682 | (char *) "self", NULL | |
7683 | }; | |
7684 | ||
7685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7686 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7687 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
7688 | { |
7689 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7690 | (arg1)->DeleteAllItems(); | |
7691 | ||
7692 | wxPyEndAllowThreads(__tstate); | |
7693 | if (PyErr_Occurred()) SWIG_fail; | |
7694 | } | |
7695 | Py_INCREF(Py_None); resultobj = Py_None; | |
7696 | return resultobj; | |
7697 | fail: | |
7698 | return NULL; | |
7699 | } | |
7700 | ||
7701 | ||
c32bde28 | 7702 | static PyObject *_wrap_TreeListCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7703 | PyObject *resultobj = NULL; |
44127b65 RD |
7704 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7705 | wxTreeItemId *arg2 = 0 ; | |
7706 | PyObject * obj0 = 0 ; | |
7707 | PyObject * obj1 = 0 ; | |
7708 | char *kwnames[] = { | |
7709 | (char *) "self",(char *) "item", NULL | |
7710 | }; | |
7711 | ||
7712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7713 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7714 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7715 | { | |
7716 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7717 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7718 | if (arg2 == NULL) { | |
7719 | SWIG_null_ref("wxTreeItemId"); | |
7720 | } | |
7721 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
7722 | } |
7723 | { | |
7724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7725 | (arg1)->Expand((wxTreeItemId const &)*arg2); | |
7726 | ||
7727 | wxPyEndAllowThreads(__tstate); | |
7728 | if (PyErr_Occurred()) SWIG_fail; | |
7729 | } | |
7730 | Py_INCREF(Py_None); resultobj = Py_None; | |
7731 | return resultobj; | |
7732 | fail: | |
7733 | return NULL; | |
7734 | } | |
7735 | ||
7736 | ||
c32bde28 | 7737 | static PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7738 | PyObject *resultobj = NULL; |
44127b65 RD |
7739 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7740 | wxTreeItemId *arg2 = 0 ; | |
7741 | PyObject * obj0 = 0 ; | |
7742 | PyObject * obj1 = 0 ; | |
7743 | char *kwnames[] = { | |
7744 | (char *) "self",(char *) "item", NULL | |
7745 | }; | |
7746 | ||
7747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7748 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7749 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7750 | { | |
7751 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7752 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7753 | if (arg2 == NULL) { | |
7754 | SWIG_null_ref("wxTreeItemId"); | |
7755 | } | |
7756 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
7757 | } |
7758 | { | |
7759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7760 | (arg1)->ExpandAll((wxTreeItemId const &)*arg2); | |
7761 | ||
7762 | wxPyEndAllowThreads(__tstate); | |
7763 | if (PyErr_Occurred()) SWIG_fail; | |
7764 | } | |
7765 | Py_INCREF(Py_None); resultobj = Py_None; | |
7766 | return resultobj; | |
7767 | fail: | |
7768 | return NULL; | |
7769 | } | |
7770 | ||
7771 | ||
c32bde28 | 7772 | static PyObject *_wrap_TreeListCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7773 | PyObject *resultobj = NULL; |
44127b65 RD |
7774 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7775 | wxTreeItemId *arg2 = 0 ; | |
7776 | PyObject * obj0 = 0 ; | |
7777 | PyObject * obj1 = 0 ; | |
7778 | char *kwnames[] = { | |
7779 | (char *) "self",(char *) "item", NULL | |
7780 | }; | |
7781 | ||
7782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7783 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7784 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7785 | { | |
7786 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7787 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7788 | if (arg2 == NULL) { | |
7789 | SWIG_null_ref("wxTreeItemId"); | |
7790 | } | |
7791 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
7792 | } |
7793 | { | |
7794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7795 | (arg1)->Collapse((wxTreeItemId const &)*arg2); | |
7796 | ||
7797 | wxPyEndAllowThreads(__tstate); | |
7798 | if (PyErr_Occurred()) SWIG_fail; | |
7799 | } | |
7800 | Py_INCREF(Py_None); resultobj = Py_None; | |
7801 | return resultobj; | |
7802 | fail: | |
7803 | return NULL; | |
7804 | } | |
7805 | ||
7806 | ||
c32bde28 | 7807 | static PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7808 | PyObject *resultobj = NULL; |
44127b65 RD |
7809 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7810 | wxTreeItemId *arg2 = 0 ; | |
7811 | PyObject * obj0 = 0 ; | |
7812 | PyObject * obj1 = 0 ; | |
7813 | char *kwnames[] = { | |
7814 | (char *) "self",(char *) "item", NULL | |
7815 | }; | |
7816 | ||
7817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7818 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7819 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7820 | { | |
7821 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7822 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7823 | if (arg2 == NULL) { | |
7824 | SWIG_null_ref("wxTreeItemId"); | |
7825 | } | |
7826 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
7827 | } |
7828 | { | |
7829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7830 | (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2); | |
7831 | ||
7832 | wxPyEndAllowThreads(__tstate); | |
7833 | if (PyErr_Occurred()) SWIG_fail; | |
7834 | } | |
7835 | Py_INCREF(Py_None); resultobj = Py_None; | |
7836 | return resultobj; | |
7837 | fail: | |
7838 | return NULL; | |
7839 | } | |
7840 | ||
7841 | ||
c32bde28 | 7842 | static PyObject *_wrap_TreeListCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7843 | PyObject *resultobj = NULL; |
44127b65 RD |
7844 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7845 | wxTreeItemId *arg2 = 0 ; | |
7846 | PyObject * obj0 = 0 ; | |
7847 | PyObject * obj1 = 0 ; | |
7848 | char *kwnames[] = { | |
7849 | (char *) "self",(char *) "item", NULL | |
7850 | }; | |
7851 | ||
7852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7853 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7854 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7855 | { | |
7856 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7857 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7858 | if (arg2 == NULL) { | |
7859 | SWIG_null_ref("wxTreeItemId"); | |
7860 | } | |
7861 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
7862 | } |
7863 | { | |
7864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7865 | (arg1)->Toggle((wxTreeItemId const &)*arg2); | |
7866 | ||
7867 | wxPyEndAllowThreads(__tstate); | |
7868 | if (PyErr_Occurred()) SWIG_fail; | |
7869 | } | |
7870 | Py_INCREF(Py_None); resultobj = Py_None; | |
7871 | return resultobj; | |
7872 | fail: | |
7873 | return NULL; | |
7874 | } | |
7875 | ||
7876 | ||
c32bde28 | 7877 | static PyObject *_wrap_TreeListCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7878 | PyObject *resultobj = NULL; |
44127b65 RD |
7879 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7880 | PyObject * obj0 = 0 ; | |
7881 | char *kwnames[] = { | |
7882 | (char *) "self", NULL | |
7883 | }; | |
7884 | ||
7885 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_Unselect",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7886 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7887 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
7888 | { |
7889 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7890 | (arg1)->Unselect(); | |
7891 | ||
7892 | wxPyEndAllowThreads(__tstate); | |
7893 | if (PyErr_Occurred()) SWIG_fail; | |
7894 | } | |
7895 | Py_INCREF(Py_None); resultobj = Py_None; | |
7896 | return resultobj; | |
7897 | fail: | |
7898 | return NULL; | |
7899 | } | |
7900 | ||
7901 | ||
c32bde28 | 7902 | static PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7903 | PyObject *resultobj = NULL; |
44127b65 RD |
7904 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7905 | PyObject * obj0 = 0 ; | |
7906 | char *kwnames[] = { | |
7907 | (char *) "self", NULL | |
7908 | }; | |
7909 | ||
7910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_UnselectAll",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
7911 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7912 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
7913 | { |
7914 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7915 | (arg1)->UnselectAll(); | |
7916 | ||
7917 | wxPyEndAllowThreads(__tstate); | |
7918 | if (PyErr_Occurred()) SWIG_fail; | |
7919 | } | |
7920 | Py_INCREF(Py_None); resultobj = Py_None; | |
7921 | return resultobj; | |
7922 | fail: | |
7923 | return NULL; | |
7924 | } | |
7925 | ||
7926 | ||
c32bde28 | 7927 | static PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7928 | PyObject *resultobj = NULL; |
44127b65 RD |
7929 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
7930 | wxTreeItemId *arg2 = 0 ; | |
ae8162c8 RD |
7931 | bool arg3 = (bool) true ; |
7932 | bool arg4 = (bool) false ; | |
44127b65 RD |
7933 | PyObject * obj0 = 0 ; |
7934 | PyObject * obj1 = 0 ; | |
7935 | PyObject * obj2 = 0 ; | |
7936 | PyObject * obj3 = 0 ; | |
7937 | char *kwnames[] = { | |
7938 | (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL | |
7939 | }; | |
7940 | ||
7941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
093d3ff1 RD |
7942 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7943 | if (SWIG_arg_fail(1)) SWIG_fail; | |
7944 | { | |
7945 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
7946 | if (SWIG_arg_fail(2)) SWIG_fail; | |
7947 | if (arg2 == NULL) { | |
7948 | SWIG_null_ref("wxTreeItemId"); | |
7949 | } | |
7950 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
7951 | } |
7952 | if (obj2) { | |
093d3ff1 | 7953 | { |
7449af73 | 7954 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
7955 | if (SWIG_arg_fail(3)) SWIG_fail; |
7956 | } | |
44127b65 RD |
7957 | } |
7958 | if (obj3) { | |
093d3ff1 | 7959 | { |
7449af73 | 7960 | arg4 = static_cast<bool >(SWIG_As_bool(obj3)); |
093d3ff1 RD |
7961 | if (SWIG_arg_fail(4)) SWIG_fail; |
7962 | } | |
44127b65 RD |
7963 | } |
7964 | { | |
7965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7966 | (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3,arg4); | |
7967 | ||
7968 | wxPyEndAllowThreads(__tstate); | |
7969 | if (PyErr_Occurred()) SWIG_fail; | |
7970 | } | |
7971 | Py_INCREF(Py_None); resultobj = Py_None; | |
7972 | return resultobj; | |
7973 | fail: | |
7974 | return NULL; | |
7975 | } | |
7976 | ||
7977 | ||
c32bde28 | 7978 | static PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 7979 | PyObject *resultobj = NULL; |
629f3c1b | 7980 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
ae8162c8 | 7981 | bool arg2 = (bool) false ; |
629f3c1b RD |
7982 | PyObject * obj0 = 0 ; |
7983 | PyObject * obj1 = 0 ; | |
7984 | char *kwnames[] = { | |
7985 | (char *) "self",(char *) "extended_select", NULL | |
7986 | }; | |
7987 | ||
7988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SelectAll",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
7989 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
7990 | if (SWIG_arg_fail(1)) SWIG_fail; | |
629f3c1b | 7991 | if (obj1) { |
093d3ff1 | 7992 | { |
7449af73 | 7993 | arg2 = static_cast<bool >(SWIG_As_bool(obj1)); |
093d3ff1 RD |
7994 | if (SWIG_arg_fail(2)) SWIG_fail; |
7995 | } | |
629f3c1b RD |
7996 | } |
7997 | { | |
7998 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7999 | (arg1)->SelectAll(arg2); | |
8000 | ||
8001 | wxPyEndAllowThreads(__tstate); | |
8002 | if (PyErr_Occurred()) SWIG_fail; | |
8003 | } | |
8004 | Py_INCREF(Py_None); resultobj = Py_None; | |
8005 | return resultobj; | |
8006 | fail: | |
8007 | return NULL; | |
8008 | } | |
8009 | ||
8010 | ||
c32bde28 | 8011 | static PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 8012 | PyObject *resultobj = NULL; |
44127b65 RD |
8013 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
8014 | wxTreeItemId *arg2 = 0 ; | |
8015 | PyObject * obj0 = 0 ; | |
8016 | PyObject * obj1 = 0 ; | |
8017 | char *kwnames[] = { | |
8018 | (char *) "self",(char *) "item", NULL | |
8019 | }; | |
8020 | ||
8021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8022 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
8023 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8024 | { | |
8025 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
8026 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8027 | if (arg2 == NULL) { | |
8028 | SWIG_null_ref("wxTreeItemId"); | |
8029 | } | |
8030 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
8031 | } |
8032 | { | |
8033 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8034 | (arg1)->EnsureVisible((wxTreeItemId const &)*arg2); | |
8035 | ||
8036 | wxPyEndAllowThreads(__tstate); | |
8037 | if (PyErr_Occurred()) SWIG_fail; | |
8038 | } | |
8039 | Py_INCREF(Py_None); resultobj = Py_None; | |
8040 | return resultobj; | |
8041 | fail: | |
8042 | return NULL; | |
8043 | } | |
8044 | ||
8045 | ||
c32bde28 | 8046 | static PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 8047 | PyObject *resultobj = NULL; |
44127b65 RD |
8048 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
8049 | wxTreeItemId *arg2 = 0 ; | |
8050 | PyObject * obj0 = 0 ; | |
8051 | PyObject * obj1 = 0 ; | |
8052 | char *kwnames[] = { | |
8053 | (char *) "self",(char *) "item", NULL | |
8054 | }; | |
8055 | ||
8056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8057 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
8058 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8059 | { | |
8060 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
8061 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8062 | if (arg2 == NULL) { | |
8063 | SWIG_null_ref("wxTreeItemId"); | |
8064 | } | |
8065 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
8066 | } |
8067 | { | |
8068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8069 | (arg1)->ScrollTo((wxTreeItemId const &)*arg2); | |
8070 | ||
8071 | wxPyEndAllowThreads(__tstate); | |
8072 | if (PyErr_Occurred()) SWIG_fail; | |
8073 | } | |
8074 | Py_INCREF(Py_None); resultobj = Py_None; | |
8075 | return resultobj; | |
8076 | fail: | |
8077 | return NULL; | |
8078 | } | |
8079 | ||
8080 | ||
c32bde28 | 8081 | static PyObject *_wrap_TreeListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 8082 | PyObject *resultobj = NULL; |
44127b65 RD |
8083 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
8084 | wxPoint *arg2 = 0 ; | |
8085 | int *arg3 = 0 ; | |
8086 | int *arg4 = 0 ; | |
8087 | wxTreeItemId result; | |
8088 | wxPoint temp2 ; | |
8089 | int temp3 ; | |
c32bde28 | 8090 | int res3 = 0 ; |
44127b65 | 8091 | int temp4 ; |
c32bde28 | 8092 | int res4 = 0 ; |
44127b65 RD |
8093 | PyObject * obj0 = 0 ; |
8094 | PyObject * obj1 = 0 ; | |
8095 | char *kwnames[] = { | |
8096 | (char *) "self",(char *) "point", NULL | |
8097 | }; | |
8098 | ||
c32bde28 RD |
8099 | arg3 = &temp3; res3 = SWIG_NEWOBJ; |
8100 | arg4 = &temp4; res4 = SWIG_NEWOBJ; | |
44127b65 | 8101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail; |
093d3ff1 RD |
8102 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
8103 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
8104 | { |
8105 | arg2 = &temp2; | |
8106 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
8107 | } | |
8108 | { | |
8109 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8110 | result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4); | |
8111 | ||
8112 | wxPyEndAllowThreads(__tstate); | |
8113 | if (PyErr_Occurred()) SWIG_fail; | |
8114 | } | |
8115 | { | |
8116 | wxTreeItemId * resultptr; | |
7449af73 | 8117 | resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result)); |
2f4c0a16 | 8118 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
44127b65 | 8119 | } |
c32bde28 RD |
8120 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? |
8121 | SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0))); | |
8122 | resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ? | |
8123 | SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0))); | |
44127b65 RD |
8124 | return resultobj; |
8125 | fail: | |
8126 | return NULL; | |
8127 | } | |
8128 | ||
8129 | ||
c32bde28 | 8130 | static PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 8131 | PyObject *resultobj = NULL; |
44127b65 RD |
8132 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
8133 | wxTreeItemId *arg2 = 0 ; | |
ae8162c8 | 8134 | bool arg3 = (bool) false ; |
44127b65 RD |
8135 | PyObject *result; |
8136 | PyObject * obj0 = 0 ; | |
8137 | PyObject * obj1 = 0 ; | |
8138 | PyObject * obj2 = 0 ; | |
8139 | char *kwnames[] = { | |
8140 | (char *) "self",(char *) "item",(char *) "textOnly", NULL | |
8141 | }; | |
8142 | ||
8143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
093d3ff1 RD |
8144 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
8145 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8146 | { | |
8147 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
8148 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8149 | if (arg2 == NULL) { | |
8150 | SWIG_null_ref("wxTreeItemId"); | |
8151 | } | |
8152 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
8153 | } |
8154 | if (obj2) { | |
093d3ff1 | 8155 | { |
7449af73 | 8156 | arg3 = static_cast<bool >(SWIG_As_bool(obj2)); |
093d3ff1 RD |
8157 | if (SWIG_arg_fail(3)) SWIG_fail; |
8158 | } | |
44127b65 RD |
8159 | } |
8160 | { | |
8161 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8162 | result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3); | |
8163 | ||
8164 | wxPyEndAllowThreads(__tstate); | |
8165 | if (PyErr_Occurred()) SWIG_fail; | |
8166 | } | |
8167 | resultobj = result; | |
8168 | return resultobj; | |
8169 | fail: | |
8170 | return NULL; | |
8171 | } | |
8172 | ||
8173 | ||
c32bde28 | 8174 | static PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 8175 | PyObject *resultobj = NULL; |
44127b65 RD |
8176 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
8177 | wxTreeItemId *arg2 = 0 ; | |
8178 | PyObject * obj0 = 0 ; | |
8179 | PyObject * obj1 = 0 ; | |
8180 | char *kwnames[] = { | |
8181 | (char *) "self",(char *) "item", NULL | |
8182 | }; | |
8183 | ||
8184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8185 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
8186 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8187 | { | |
8188 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
8189 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8190 | if (arg2 == NULL) { | |
8191 | SWIG_null_ref("wxTreeItemId"); | |
8192 | } | |
8193 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
8194 | } |
8195 | { | |
8196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8197 | (arg1)->EditLabel((wxTreeItemId const &)*arg2); | |
8198 | ||
8199 | wxPyEndAllowThreads(__tstate); | |
8200 | if (PyErr_Occurred()) SWIG_fail; | |
8201 | } | |
8202 | Py_INCREF(Py_None); resultobj = Py_None; | |
8203 | return resultobj; | |
8204 | fail: | |
8205 | return NULL; | |
8206 | } | |
8207 | ||
8208 | ||
c32bde28 | 8209 | static PyObject *_wrap_TreeListCtrl_Edit(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 8210 | PyObject *resultobj = NULL; |
44127b65 RD |
8211 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
8212 | wxTreeItemId *arg2 = 0 ; | |
8213 | PyObject * obj0 = 0 ; | |
8214 | PyObject * obj1 = 0 ; | |
8215 | char *kwnames[] = { | |
8216 | (char *) "self",(char *) "item", NULL | |
8217 | }; | |
8218 | ||
8219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Edit",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8220 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
8221 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8222 | { | |
8223 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
8224 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8225 | if (arg2 == NULL) { | |
8226 | SWIG_null_ref("wxTreeItemId"); | |
8227 | } | |
8228 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
8229 | } |
8230 | { | |
8231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8232 | (arg1)->Edit((wxTreeItemId const &)*arg2); | |
8233 | ||
8234 | wxPyEndAllowThreads(__tstate); | |
8235 | if (PyErr_Occurred()) SWIG_fail; | |
8236 | } | |
8237 | Py_INCREF(Py_None); resultobj = Py_None; | |
8238 | return resultobj; | |
8239 | fail: | |
8240 | return NULL; | |
8241 | } | |
8242 | ||
8243 | ||
c32bde28 | 8244 | static PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 8245 | PyObject *resultobj = NULL; |
44127b65 RD |
8246 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
8247 | wxTreeItemId *arg2 = 0 ; | |
8248 | PyObject * obj0 = 0 ; | |
8249 | PyObject * obj1 = 0 ; | |
8250 | char *kwnames[] = { | |
8251 | (char *) "self",(char *) "item", NULL | |
8252 | }; | |
8253 | ||
8254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail; | |
093d3ff1 RD |
8255 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
8256 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8257 | { | |
8258 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
8259 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8260 | if (arg2 == NULL) { | |
8261 | SWIG_null_ref("wxTreeItemId"); | |
8262 | } | |
8263 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
8264 | } |
8265 | { | |
8266 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8267 | (arg1)->SortChildren((wxTreeItemId const &)*arg2); | |
8268 | ||
8269 | wxPyEndAllowThreads(__tstate); | |
8270 | if (PyErr_Occurred()) SWIG_fail; | |
8271 | } | |
8272 | Py_INCREF(Py_None); resultobj = Py_None; | |
8273 | return resultobj; | |
8274 | fail: | |
8275 | return NULL; | |
8276 | } | |
8277 | ||
8278 | ||
c32bde28 | 8279 | static PyObject *_wrap_TreeListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 8280 | PyObject *resultobj = NULL; |
44127b65 RD |
8281 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
8282 | wxTreeItemId *arg2 = 0 ; | |
629f3c1b RD |
8283 | wxString *arg3 = 0 ; |
8284 | int arg4 = (int) 0 ; | |
8285 | wxTreeItemId result; | |
ae8162c8 | 8286 | bool temp3 = false ; |
44127b65 RD |
8287 | PyObject * obj0 = 0 ; |
8288 | PyObject * obj1 = 0 ; | |
629f3c1b RD |
8289 | PyObject * obj2 = 0 ; |
8290 | PyObject * obj3 = 0 ; | |
44127b65 | 8291 | char *kwnames[] = { |
629f3c1b | 8292 | (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL |
44127b65 RD |
8293 | }; |
8294 | ||
629f3c1b | 8295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; |
093d3ff1 RD |
8296 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
8297 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8298 | { | |
8299 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0); | |
8300 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8301 | if (arg2 == NULL) { | |
8302 | SWIG_null_ref("wxTreeItemId"); | |
8303 | } | |
8304 | if (SWIG_arg_fail(2)) SWIG_fail; | |
44127b65 RD |
8305 | } |
8306 | { | |
629f3c1b RD |
8307 | arg3 = wxString_in_helper(obj2); |
8308 | if (arg3 == NULL) SWIG_fail; | |
ae8162c8 | 8309 | temp3 = true; |
44127b65 | 8310 | } |
629f3c1b | 8311 | if (obj3) { |
093d3ff1 | 8312 | { |
7449af73 | 8313 | arg4 = static_cast<int >(SWIG_As_int(obj3)); |
093d3ff1 RD |
8314 | if (SWIG_arg_fail(4)) SWIG_fail; |
8315 | } | |
8edf1c75 | 8316 | } |
44127b65 RD |
8317 | { |
8318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
629f3c1b | 8319 | result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4); |
44127b65 RD |
8320 | |
8321 | wxPyEndAllowThreads(__tstate); | |
8322 | if (PyErr_Occurred()) SWIG_fail; | |
8323 | } | |
629f3c1b RD |
8324 | { |
8325 | wxTreeItemId * resultptr; | |
7449af73 | 8326 | resultptr = new wxTreeItemId(static_cast<wxTreeItemId & >(result)); |
629f3c1b RD |
8327 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1); |
8328 | } | |
8329 | { | |
8330 | if (temp3) | |
8331 | delete arg3; | |
8332 | } | |
44127b65 RD |
8333 | return resultobj; |
8334 | fail: | |
629f3c1b RD |
8335 | { |
8336 | if (temp3) | |
8337 | delete arg3; | |
8338 | } | |
44127b65 RD |
8339 | return NULL; |
8340 | } | |
8341 | ||
8342 | ||
c32bde28 | 8343 | static PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 8344 | PyObject *resultobj = NULL; |
44127b65 RD |
8345 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
8346 | wxWindow *result; | |
8347 | PyObject * obj0 = 0 ; | |
8348 | char *kwnames[] = { | |
8349 | (char *) "self", NULL | |
8350 | }; | |
8351 | ||
8352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetHeaderWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8353 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
8354 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
8355 | { |
8356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8357 | result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow(); | |
8358 | ||
8359 | wxPyEndAllowThreads(__tstate); | |
8360 | if (PyErr_Occurred()) SWIG_fail; | |
8361 | } | |
8362 | { | |
412d302d | 8363 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
8364 | } |
8365 | return resultobj; | |
8366 | fail: | |
8367 | return NULL; | |
8368 | } | |
8369 | ||
8370 | ||
c32bde28 | 8371 | static PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 8372 | PyObject *resultobj = NULL; |
44127b65 | 8373 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
412d302d | 8374 | wxScrolledWindow *result; |
44127b65 RD |
8375 | PyObject * obj0 = 0 ; |
8376 | char *kwnames[] = { | |
8377 | (char *) "self", NULL | |
8378 | }; | |
8379 | ||
8380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainWindow",kwnames,&obj0)) goto fail; | |
093d3ff1 RD |
8381 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0); |
8382 | if (SWIG_arg_fail(1)) SWIG_fail; | |
44127b65 RD |
8383 | { |
8384 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
412d302d | 8385 | result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow(); |
44127b65 RD |
8386 | |
8387 | wxPyEndAllowThreads(__tstate); | |
8388 | if (PyErr_Occurred()) SWIG_fail; | |
8389 | } | |
8390 | { | |
412d302d | 8391 | resultobj = wxPyMake_wxObject(result, 0); |
44127b65 RD |
8392 | } |
8393 | return resultobj; | |
8394 | fail: | |
8395 | return NULL; | |
8396 | } | |
8397 | ||
8398 | ||
c32bde28 | 8399 | static PyObject * TreeListCtrl_swigregister(PyObject *, PyObject *args) { |
44127b65 RD |
8400 | PyObject *obj; |
8401 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8402 | SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeListCtrl, obj); | |
8403 | Py_INCREF(obj); | |
8404 | return Py_BuildValue((char *)""); | |
8405 | } | |
6260902d | 8406 | static PyObject *_wrap_new_StaticPicture(PyObject *, PyObject *args, PyObject *kwargs) { |
7449af73 | 8407 | PyObject *resultobj = NULL; |
6260902d | 8408 | wxWindow *arg1 = (wxWindow *) 0 ; |
4002a6cc RD |
8409 | int arg2 = (int) -1 ; |
8410 | wxBitmap const &arg3_defvalue = wxNullBitmap ; | |
8411 | wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ; | |
6260902d RD |
8412 | wxPoint const &arg4_defvalue = wxDefaultPosition ; |
8413 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
8414 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
8415 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
8416 | long arg6 = (long) 0 ; | |
8417 | wxString const &arg7_defvalue = wxPyStaticPictureNameStr ; | |
8418 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
8419 | wxStaticPicture *result; | |
8420 | wxPoint temp4 ; | |
8421 | wxSize temp5 ; | |
8422 | bool temp7 = false ; | |
8423 | PyObject * obj0 = 0 ; | |
8424 | PyObject * obj1 = 0 ; | |
8425 | PyObject * obj2 = 0 ; | |
8426 | PyObject * obj3 = 0 ; | |
8427 | PyObject * obj4 = 0 ; | |
8428 | PyObject * obj5 = 0 ; | |
8429 | PyObject * obj6 = 0 ; | |
8430 | char *kwnames[] = { | |
8431 | (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8432 | }; | |
8433 | ||
4002a6cc | 8434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail; |
6260902d RD |
8435 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); |
8436 | if (SWIG_arg_fail(1)) SWIG_fail; | |
4002a6cc RD |
8437 | if (obj1) { |
8438 | { | |
7449af73 | 8439 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
4002a6cc RD |
8440 | if (SWIG_arg_fail(2)) SWIG_fail; |
8441 | } | |
6260902d | 8442 | } |
4002a6cc RD |
8443 | if (obj2) { |
8444 | { | |
8445 | SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
8446 | if (SWIG_arg_fail(3)) SWIG_fail; | |
8447 | if (arg3 == NULL) { | |
8448 | SWIG_null_ref("wxBitmap"); | |
8449 | } | |
8450 | if (SWIG_arg_fail(3)) SWIG_fail; | |
6260902d | 8451 | } |
6260902d RD |
8452 | } |
8453 | if (obj3) { | |
8454 | { | |
8455 | arg4 = &temp4; | |
8456 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
8457 | } | |
8458 | } | |
8459 | if (obj4) { | |
8460 | { | |
8461 | arg5 = &temp5; | |
8462 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
8463 | } | |
8464 | } | |
8465 | if (obj5) { | |
8466 | { | |
7449af73 | 8467 | arg6 = static_cast<long >(SWIG_As_long(obj5)); |
6260902d RD |
8468 | if (SWIG_arg_fail(6)) SWIG_fail; |
8469 | } | |
8470 | } | |
8471 | if (obj6) { | |
8472 | { | |
8473 | arg7 = wxString_in_helper(obj6); | |
8474 | if (arg7 == NULL) SWIG_fail; | |
8475 | temp7 = true; | |
8476 | } | |
8477 | } | |
8478 | { | |
8479 | if (!wxPyCheckForApp()) SWIG_fail; | |
8480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8481 | result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
8482 | ||
8483 | wxPyEndAllowThreads(__tstate); | |
8484 | if (PyErr_Occurred()) SWIG_fail; | |
8485 | } | |
8486 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticPicture, 1); | |
8487 | { | |
8488 | if (temp7) | |
8489 | delete arg7; | |
8490 | } | |
8491 | return resultobj; | |
8492 | fail: | |
8493 | { | |
8494 | if (temp7) | |
8495 | delete arg7; | |
8496 | } | |
8497 | return NULL; | |
8498 | } | |
8499 | ||
8500 | ||
8501 | static PyObject *_wrap_new_PreStaticPicture(PyObject *, PyObject *args, PyObject *kwargs) { | |
7449af73 | 8502 | PyObject *resultobj = NULL; |
6260902d RD |
8503 | wxStaticPicture *result; |
8504 | char *kwnames[] = { | |
8505 | NULL | |
8506 | }; | |
8507 | ||
8508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticPicture",kwnames)) goto fail; | |
8509 | { | |
8510 | if (!wxPyCheckForApp()) SWIG_fail; | |
8511 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8512 | result = (wxStaticPicture *)new wxStaticPicture(); | |
8513 | ||
8514 | wxPyEndAllowThreads(__tstate); | |
8515 | if (PyErr_Occurred()) SWIG_fail; | |
8516 | } | |
8517 | resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticPicture, 1); | |
8518 | return resultobj; | |
8519 | fail: | |
8520 | return NULL; | |
8521 | } | |
8522 | ||
8523 | ||
8524 | static PyObject *_wrap_StaticPicture_Create(PyObject *, PyObject *args, PyObject *kwargs) { | |
7449af73 | 8525 | PyObject *resultobj = NULL; |
6260902d RD |
8526 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
8527 | wxWindow *arg2 = (wxWindow *) 0 ; | |
4002a6cc RD |
8528 | int arg3 = (int) -1 ; |
8529 | wxBitmap const &arg4_defvalue = wxNullBitmap ; | |
8530 | wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ; | |
6260902d RD |
8531 | wxPoint const &arg5_defvalue = wxDefaultPosition ; |
8532 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
8533 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
8534 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
8535 | long arg7 = (long) 0 ; | |
8536 | wxString const &arg8_defvalue = wxPyStaticPictureNameStr ; | |
8537 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
8538 | bool result; | |
8539 | wxPoint temp5 ; | |
8540 | wxSize temp6 ; | |
8541 | bool temp8 = false ; | |
8542 | PyObject * obj0 = 0 ; | |
8543 | PyObject * obj1 = 0 ; | |
8544 | PyObject * obj2 = 0 ; | |
8545 | PyObject * obj3 = 0 ; | |
8546 | PyObject * obj4 = 0 ; | |
8547 | PyObject * obj5 = 0 ; | |
8548 | PyObject * obj6 = 0 ; | |
8549 | PyObject * obj7 = 0 ; | |
8550 | char *kwnames[] = { | |
8551 | (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
8552 | }; | |
8553 | ||
4002a6cc | 8554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail; |
6260902d RD |
8555 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); |
8556 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8557 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0); | |
8558 | if (SWIG_arg_fail(2)) SWIG_fail; | |
4002a6cc RD |
8559 | if (obj2) { |
8560 | { | |
7449af73 | 8561 | arg3 = static_cast<int >(SWIG_As_int(obj2)); |
4002a6cc RD |
8562 | if (SWIG_arg_fail(3)) SWIG_fail; |
8563 | } | |
6260902d | 8564 | } |
4002a6cc RD |
8565 | if (obj3) { |
8566 | { | |
8567 | SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
8568 | if (SWIG_arg_fail(4)) SWIG_fail; | |
8569 | if (arg4 == NULL) { | |
8570 | SWIG_null_ref("wxBitmap"); | |
8571 | } | |
8572 | if (SWIG_arg_fail(4)) SWIG_fail; | |
6260902d | 8573 | } |
6260902d RD |
8574 | } |
8575 | if (obj4) { | |
8576 | { | |
8577 | arg5 = &temp5; | |
8578 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
8579 | } | |
8580 | } | |
8581 | if (obj5) { | |
8582 | { | |
8583 | arg6 = &temp6; | |
8584 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
8585 | } | |
8586 | } | |
8587 | if (obj6) { | |
8588 | { | |
7449af73 | 8589 | arg7 = static_cast<long >(SWIG_As_long(obj6)); |
6260902d RD |
8590 | if (SWIG_arg_fail(7)) SWIG_fail; |
8591 | } | |
8592 | } | |
8593 | if (obj7) { | |
8594 | { | |
8595 | arg8 = wxString_in_helper(obj7); | |
8596 | if (arg8 == NULL) SWIG_fail; | |
8597 | temp8 = true; | |
8598 | } | |
8599 | } | |
8600 | { | |
8601 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8602 | result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
8603 | ||
8604 | wxPyEndAllowThreads(__tstate); | |
8605 | if (PyErr_Occurred()) SWIG_fail; | |
8606 | } | |
8607 | { | |
8608 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8609 | } | |
8610 | { | |
8611 | if (temp8) | |
8612 | delete arg8; | |
8613 | } | |
8614 | return resultobj; | |
8615 | fail: | |
8616 | { | |
8617 | if (temp8) | |
8618 | delete arg8; | |
8619 | } | |
8620 | return NULL; | |
8621 | } | |
8622 | ||
8623 | ||
8624 | static PyObject *_wrap_StaticPicture_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { | |
7449af73 | 8625 | PyObject *resultobj = NULL; |
6260902d RD |
8626 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
8627 | wxBitmap *arg2 = 0 ; | |
8628 | PyObject * obj0 = 0 ; | |
8629 | PyObject * obj1 = 0 ; | |
8630 | char *kwnames[] = { | |
8631 | (char *) "self",(char *) "bmp", NULL | |
8632 | }; | |
8633 | ||
8634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) goto fail; | |
8635 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8636 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8637 | { | |
8638 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0); | |
8639 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8640 | if (arg2 == NULL) { | |
8641 | SWIG_null_ref("wxBitmap"); | |
8642 | } | |
8643 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8644 | } | |
8645 | { | |
8646 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8647 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
8648 | ||
8649 | wxPyEndAllowThreads(__tstate); | |
8650 | if (PyErr_Occurred()) SWIG_fail; | |
8651 | } | |
8652 | Py_INCREF(Py_None); resultobj = Py_None; | |
8653 | return resultobj; | |
8654 | fail: | |
8655 | return NULL; | |
8656 | } | |
8657 | ||
8658 | ||
8659 | static PyObject *_wrap_StaticPicture_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) { | |
7449af73 | 8660 | PyObject *resultobj = NULL; |
6260902d RD |
8661 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
8662 | wxBitmap result; | |
8663 | PyObject * obj0 = 0 ; | |
8664 | char *kwnames[] = { | |
8665 | (char *) "self", NULL | |
8666 | }; | |
8667 | ||
8668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetBitmap",kwnames,&obj0)) goto fail; | |
8669 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8670 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8671 | { | |
8672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8673 | result = ((wxStaticPicture const *)arg1)->GetBitmap(); | |
8674 | ||
8675 | wxPyEndAllowThreads(__tstate); | |
8676 | if (PyErr_Occurred()) SWIG_fail; | |
8677 | } | |
8678 | { | |
8679 | wxBitmap * resultptr; | |
7449af73 | 8680 | resultptr = new wxBitmap(static_cast<wxBitmap & >(result)); |
6260902d RD |
8681 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1); |
8682 | } | |
8683 | return resultobj; | |
8684 | fail: | |
8685 | return NULL; | |
8686 | } | |
8687 | ||
8688 | ||
8689 | static PyObject *_wrap_StaticPicture_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) { | |
7449af73 | 8690 | PyObject *resultobj = NULL; |
6260902d RD |
8691 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
8692 | wxIcon *arg2 = 0 ; | |
8693 | PyObject * obj0 = 0 ; | |
8694 | PyObject * obj1 = 0 ; | |
8695 | char *kwnames[] = { | |
8696 | (char *) "self",(char *) "icon", NULL | |
8697 | }; | |
8698 | ||
8699 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) goto fail; | |
8700 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8701 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8702 | { | |
8703 | SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0); | |
8704 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8705 | if (arg2 == NULL) { | |
8706 | SWIG_null_ref("wxIcon"); | |
8707 | } | |
8708 | if (SWIG_arg_fail(2)) SWIG_fail; | |
8709 | } | |
8710 | { | |
8711 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8712 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
8713 | ||
8714 | wxPyEndAllowThreads(__tstate); | |
8715 | if (PyErr_Occurred()) SWIG_fail; | |
8716 | } | |
8717 | Py_INCREF(Py_None); resultobj = Py_None; | |
8718 | return resultobj; | |
8719 | fail: | |
8720 | return NULL; | |
8721 | } | |
8722 | ||
8723 | ||
8724 | static PyObject *_wrap_StaticPicture_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) { | |
7449af73 | 8725 | PyObject *resultobj = NULL; |
6260902d RD |
8726 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
8727 | wxIcon result; | |
8728 | PyObject * obj0 = 0 ; | |
8729 | char *kwnames[] = { | |
8730 | (char *) "self", NULL | |
8731 | }; | |
8732 | ||
8733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetIcon",kwnames,&obj0)) goto fail; | |
8734 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8735 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8736 | { | |
8737 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8738 | result = ((wxStaticPicture const *)arg1)->GetIcon(); | |
8739 | ||
8740 | wxPyEndAllowThreads(__tstate); | |
8741 | if (PyErr_Occurred()) SWIG_fail; | |
8742 | } | |
8743 | { | |
8744 | wxIcon * resultptr; | |
7449af73 | 8745 | resultptr = new wxIcon(static_cast<wxIcon & >(result)); |
6260902d RD |
8746 | resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1); |
8747 | } | |
8748 | return resultobj; | |
8749 | fail: | |
8750 | return NULL; | |
8751 | } | |
8752 | ||
8753 | ||
8754 | static PyObject *_wrap_StaticPicture_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { | |
7449af73 | 8755 | PyObject *resultobj = NULL; |
6260902d RD |
8756 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
8757 | int arg2 ; | |
8758 | PyObject * obj0 = 0 ; | |
8759 | PyObject * obj1 = 0 ; | |
8760 | char *kwnames[] = { | |
8761 | (char *) "self",(char *) "align", NULL | |
8762 | }; | |
8763 | ||
8764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) goto fail; | |
8765 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8766 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8767 | { | |
7449af73 | 8768 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
6260902d RD |
8769 | if (SWIG_arg_fail(2)) SWIG_fail; |
8770 | } | |
8771 | { | |
8772 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8773 | (arg1)->SetAlignment(arg2); | |
8774 | ||
8775 | wxPyEndAllowThreads(__tstate); | |
8776 | if (PyErr_Occurred()) SWIG_fail; | |
8777 | } | |
8778 | Py_INCREF(Py_None); resultobj = Py_None; | |
8779 | return resultobj; | |
8780 | fail: | |
8781 | return NULL; | |
8782 | } | |
8783 | ||
8784 | ||
8785 | static PyObject *_wrap_StaticPicture_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) { | |
7449af73 | 8786 | PyObject *resultobj = NULL; |
6260902d RD |
8787 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
8788 | int result; | |
8789 | PyObject * obj0 = 0 ; | |
8790 | char *kwnames[] = { | |
8791 | (char *) "self", NULL | |
8792 | }; | |
8793 | ||
8794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetAlignment",kwnames,&obj0)) goto fail; | |
8795 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8796 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8797 | { | |
8798 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8799 | result = (int)((wxStaticPicture const *)arg1)->GetAlignment(); | |
8800 | ||
8801 | wxPyEndAllowThreads(__tstate); | |
8802 | if (PyErr_Occurred()) SWIG_fail; | |
8803 | } | |
8804 | { | |
7449af73 | 8805 | resultobj = SWIG_From_int(static_cast<int >(result)); |
6260902d RD |
8806 | } |
8807 | return resultobj; | |
8808 | fail: | |
8809 | return NULL; | |
8810 | } | |
8811 | ||
8812 | ||
8813 | static PyObject *_wrap_StaticPicture_SetScale(PyObject *, PyObject *args, PyObject *kwargs) { | |
7449af73 | 8814 | PyObject *resultobj = NULL; |
6260902d RD |
8815 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
8816 | int arg2 ; | |
8817 | PyObject * obj0 = 0 ; | |
8818 | PyObject * obj1 = 0 ; | |
8819 | char *kwnames[] = { | |
8820 | (char *) "self",(char *) "scale", NULL | |
8821 | }; | |
8822 | ||
8823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) goto fail; | |
8824 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8825 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8826 | { | |
7449af73 | 8827 | arg2 = static_cast<int >(SWIG_As_int(obj1)); |
6260902d RD |
8828 | if (SWIG_arg_fail(2)) SWIG_fail; |
8829 | } | |
8830 | { | |
8831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8832 | (arg1)->SetScale(arg2); | |
8833 | ||
8834 | wxPyEndAllowThreads(__tstate); | |
8835 | if (PyErr_Occurred()) SWIG_fail; | |
8836 | } | |
8837 | Py_INCREF(Py_None); resultobj = Py_None; | |
8838 | return resultobj; | |
8839 | fail: | |
8840 | return NULL; | |
8841 | } | |
8842 | ||
8843 | ||
8844 | static PyObject *_wrap_StaticPicture_GetScale(PyObject *, PyObject *args, PyObject *kwargs) { | |
7449af73 | 8845 | PyObject *resultobj = NULL; |
6260902d RD |
8846 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
8847 | int result; | |
8848 | PyObject * obj0 = 0 ; | |
8849 | char *kwnames[] = { | |
8850 | (char *) "self", NULL | |
8851 | }; | |
8852 | ||
8853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetScale",kwnames,&obj0)) goto fail; | |
8854 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8855 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8856 | { | |
8857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8858 | result = (int)((wxStaticPicture const *)arg1)->GetScale(); | |
8859 | ||
8860 | wxPyEndAllowThreads(__tstate); | |
8861 | if (PyErr_Occurred()) SWIG_fail; | |
8862 | } | |
8863 | { | |
7449af73 | 8864 | resultobj = SWIG_From_int(static_cast<int >(result)); |
6260902d RD |
8865 | } |
8866 | return resultobj; | |
8867 | fail: | |
8868 | return NULL; | |
8869 | } | |
8870 | ||
8871 | ||
8872 | static PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *, PyObject *args, PyObject *kwargs) { | |
7449af73 | 8873 | PyObject *resultobj = NULL; |
6260902d RD |
8874 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
8875 | float arg2 ; | |
8876 | float arg3 ; | |
8877 | PyObject * obj0 = 0 ; | |
8878 | PyObject * obj1 = 0 ; | |
8879 | PyObject * obj2 = 0 ; | |
8880 | char *kwnames[] = { | |
8881 | (char *) "self",(char *) "sx",(char *) "sy", NULL | |
8882 | }; | |
8883 | ||
8884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) goto fail; | |
8885 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8886 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8887 | { | |
7449af73 | 8888 | arg2 = static_cast<float >(SWIG_As_float(obj1)); |
6260902d RD |
8889 | if (SWIG_arg_fail(2)) SWIG_fail; |
8890 | } | |
8891 | { | |
7449af73 | 8892 | arg3 = static_cast<float >(SWIG_As_float(obj2)); |
6260902d RD |
8893 | if (SWIG_arg_fail(3)) SWIG_fail; |
8894 | } | |
8895 | { | |
8896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8897 | (arg1)->SetCustomScale(arg2,arg3); | |
8898 | ||
8899 | wxPyEndAllowThreads(__tstate); | |
8900 | if (PyErr_Occurred()) SWIG_fail; | |
8901 | } | |
8902 | Py_INCREF(Py_None); resultobj = Py_None; | |
8903 | return resultobj; | |
8904 | fail: | |
8905 | return NULL; | |
8906 | } | |
8907 | ||
8908 | ||
8909 | static PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *, PyObject *args, PyObject *kwargs) { | |
7449af73 | 8910 | PyObject *resultobj = NULL; |
6260902d RD |
8911 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
8912 | float *arg2 = (float *) 0 ; | |
8913 | float *arg3 = (float *) 0 ; | |
8914 | float temp2 ; | |
8915 | int res2 = 0 ; | |
8916 | float temp3 ; | |
8917 | int res3 = 0 ; | |
8918 | PyObject * obj0 = 0 ; | |
8919 | char *kwnames[] = { | |
8920 | (char *) "self", NULL | |
8921 | }; | |
8922 | ||
8923 | arg2 = &temp2; res2 = SWIG_NEWOBJ; | |
8924 | arg3 = &temp3; res3 = SWIG_NEWOBJ; | |
8925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetCustomScale",kwnames,&obj0)) goto fail; | |
8926 | SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0); | |
8927 | if (SWIG_arg_fail(1)) SWIG_fail; | |
8928 | { | |
8929 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8930 | ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3); | |
8931 | ||
8932 | wxPyEndAllowThreads(__tstate); | |
8933 | if (PyErr_Occurred()) SWIG_fail; | |
8934 | } | |
8935 | Py_INCREF(Py_None); resultobj = Py_None; | |
8936 | resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ? | |
8937 | SWIG_From_float((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, 0))); | |
8938 | resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ? | |
8939 | SWIG_From_float((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, 0))); | |
8940 | return resultobj; | |
8941 | fail: | |
8942 | return NULL; | |
8943 | } | |
8944 | ||
8945 | ||
8946 | static PyObject * StaticPicture_swigregister(PyObject *, PyObject *args) { | |
8947 | PyObject *obj; | |
8948 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
8949 | SWIG_TypeClientData(SWIGTYPE_p_wxStaticPicture, obj); | |
8950 | Py_INCREF(obj); | |
8951 | return Py_BuildValue((char *)""); | |
8952 | } | |
44127b65 | 8953 | static PyMethodDef SwigMethods[] = { |
093d3ff1 RD |
8954 | { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
8955 | { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL}, | |
8956 | { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8957 | { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL}, | |
8958 | { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8959 | { (char *)"new_PreDynamicSashWindow", (PyCFunction) _wrap_new_PreDynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8960 | { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8961 | { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8962 | { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8963 | { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL}, | |
8964 | { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8965 | { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8966 | { (char *)"EditableListBox_GetStrings", (PyCFunction) _wrap_EditableListBox_GetStrings, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8967 | { (char *)"EditableListBox_GetListCtrl", (PyCFunction) _wrap_EditableListBox_GetListCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8968 | { (char *)"EditableListBox_GetDelButton", (PyCFunction) _wrap_EditableListBox_GetDelButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8969 | { (char *)"EditableListBox_GetNewButton", (PyCFunction) _wrap_EditableListBox_GetNewButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8970 | { (char *)"EditableListBox_GetUpButton", (PyCFunction) _wrap_EditableListBox_GetUpButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8971 | { (char *)"EditableListBox_GetDownButton", (PyCFunction) _wrap_EditableListBox_GetDownButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8972 | { (char *)"EditableListBox_GetEditButton", (PyCFunction) _wrap_EditableListBox_GetEditButton, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8973 | { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL}, | |
8974 | { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8975 | { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8976 | { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8977 | { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8978 | { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8979 | { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8980 | { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8981 | { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL}, | |
8982 | { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8983 | { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8984 | { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8985 | { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8986 | { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL}, | |
8987 | { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8988 | { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL}, | |
8989 | { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8990 | { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL}, | |
8991 | { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8992 | { (char *)"new_PreLEDNumberCtrl", (PyCFunction) _wrap_new_PreLEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8993 | { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8994 | { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8995 | { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_GetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8996 | { (char *)"LEDNumberCtrl_GetValue", (PyCFunction) _wrap_LEDNumberCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8997 | { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8998 | { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
8999 | { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9000 | { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL}, | |
9001 | { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9002 | { (char *)"TreeListColumnInfo_GetShown", (PyCFunction) _wrap_TreeListColumnInfo_GetShown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9003 | { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9004 | { (char *)"TreeListColumnInfo_GetText", (PyCFunction) _wrap_TreeListColumnInfo_GetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9005 | { (char *)"TreeListColumnInfo_GetImage", (PyCFunction) _wrap_TreeListColumnInfo_GetImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9006 | { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_GetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9007 | { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction) _wrap_TreeListColumnInfo_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9008 | { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9009 | { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9010 | { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9011 | { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9012 | { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9013 | { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9014 | { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL}, | |
9015 | { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9016 | { (char *)"new_PreTreeListCtrl", (PyCFunction) _wrap_new_PreTreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9017 | { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9018 | { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9019 | { (char *)"TreeListCtrl_GetCount", (PyCFunction) _wrap_TreeListCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9020 | { (char *)"TreeListCtrl_GetIndent", (PyCFunction) _wrap_TreeListCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9021 | { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9022 | { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_GetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9023 | { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9024 | { (char *)"TreeListCtrl_GetImageList", (PyCFunction) _wrap_TreeListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9025 | { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction) _wrap_TreeListCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9026 | { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_GetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9027 | { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9028 | { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9029 | { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9030 | { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9031 | { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9032 | { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9033 | { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9034 | { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9035 | { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9036 | { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9037 | { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9038 | { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction) _wrap_TreeListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9039 | { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9040 | { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9041 | { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9042 | { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction) _wrap_TreeListCtrl_GetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9043 | { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9044 | { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9045 | { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9046 | { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9047 | { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9048 | { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9049 | { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9050 | { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9051 | { (char *)"TreeListCtrl_ShowColumn", (PyCFunction) _wrap_TreeListCtrl_ShowColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9052 | { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9053 | { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9054 | { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9055 | { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9056 | { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9057 | { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9058 | { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9059 | { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9060 | { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9061 | { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9062 | { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9063 | { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9064 | { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9065 | { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9066 | { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9067 | { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9068 | { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9069 | { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9070 | { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9071 | { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9072 | { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9073 | { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9074 | { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9075 | { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9076 | { (char *)"TreeListCtrl_GetRootItem", (PyCFunction) _wrap_TreeListCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9077 | { (char *)"TreeListCtrl_GetSelection", (PyCFunction) _wrap_TreeListCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9078 | { (char *)"TreeListCtrl_GetSelections", (PyCFunction) _wrap_TreeListCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9079 | { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9080 | { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9081 | { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9082 | { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9083 | { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9084 | { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9085 | { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9086 | { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9087 | { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9088 | { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9089 | { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9090 | { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9091 | { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9092 | { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9093 | { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9094 | { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9095 | { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9096 | { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9097 | { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9098 | { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9099 | { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9100 | { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9101 | { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9102 | { (char *)"TreeListCtrl_Unselect", (PyCFunction) _wrap_TreeListCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9103 | { (char *)"TreeListCtrl_UnselectAll", (PyCFunction) _wrap_TreeListCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9104 | { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9105 | { (char *)"TreeListCtrl_SelectAll", (PyCFunction) _wrap_TreeListCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9106 | { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9107 | { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9108 | { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9109 | { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9110 | { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9111 | { (char *)"TreeListCtrl_Edit", (PyCFunction) _wrap_TreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9112 | { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9113 | { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9114 | { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction) _wrap_TreeListCtrl_GetHeaderWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9115 | { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction) _wrap_TreeListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9116 | { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL}, | |
6260902d RD |
9117 | { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL}, |
9118 | { (char *)"new_PreStaticPicture", (PyCFunction) _wrap_new_PreStaticPicture, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9119 | { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9120 | { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9121 | { (char *)"StaticPicture_GetBitmap", (PyCFunction) _wrap_StaticPicture_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9122 | { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9123 | { (char *)"StaticPicture_GetIcon", (PyCFunction) _wrap_StaticPicture_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9124 | { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9125 | { (char *)"StaticPicture_GetAlignment", (PyCFunction) _wrap_StaticPicture_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9126 | { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9127 | { (char *)"StaticPicture_GetScale", (PyCFunction) _wrap_StaticPicture_GetScale, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9128 | { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9129 | { (char *)"StaticPicture_GetCustomScale", (PyCFunction) _wrap_StaticPicture_GetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL}, | |
9130 | { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL}, | |
c32bde28 | 9131 | { NULL, NULL, 0, NULL } |
44127b65 RD |
9132 | }; |
9133 | ||
9134 | ||
9135 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
9136 | ||
9137 | static void *_p_wxPyValidatorTo_p_wxValidator(void *x) { | |
9138 | return (void *)((wxValidator *) ((wxPyValidator *) x)); | |
9139 | } | |
9140 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { | |
9141 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
9142 | } | |
9143 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { | |
9144 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
9145 | } | |
a2482628 RD |
9146 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
9147 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
9148 | } | |
44127b65 RD |
9149 | static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) { |
9150 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
9151 | } | |
9152 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
9153 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
9154 | } | |
9155 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { | |
9156 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
9157 | } | |
9158 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { | |
9159 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
9160 | } | |
9161 | static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) { | |
9162 | return (void *)((wxPanel *) ((wxEditableListBox *) x)); | |
9163 | } | |
9164 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
9165 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9166 | } | |
9167 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
9168 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
9169 | } | |
9170 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { | |
9171 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
9172 | } | |
7e08d4ef RD |
9173 | static void *_p_wxToolbookTo_p_wxWindow(void *x) { |
9174 | return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x)); | |
9175 | } | |
44127b65 RD |
9176 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { |
9177 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
9178 | } | |
9179 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
9180 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
9181 | } | |
9182 | static void *_p_wxCheckBoxTo_p_wxWindow(void *x) { | |
9183 | return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x)); | |
9184 | } | |
9185 | static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) { | |
9186 | return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x)); | |
9187 | } | |
9188 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) { | |
9189 | return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
9190 | } | |
9191 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
9192 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
9193 | } | |
9194 | static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) { | |
9195 | return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x)); | |
9196 | } | |
8ac8dba0 RD |
9197 | static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) { |
9198 | return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x)); | |
9199 | } | |
7e08d4ef RD |
9200 | static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) { |
9201 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
9202 | } | |
44127b65 RD |
9203 | static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) { |
9204 | return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x)); | |
9205 | } | |
9206 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
9207 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9208 | } | |
9209 | static void *_p_wxStaticLineTo_p_wxWindow(void *x) { | |
9210 | return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x)); | |
9211 | } | |
44127b65 RD |
9212 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
9213 | return (void *)((wxWindow *) ((wxControl *) x)); | |
9214 | } | |
a2482628 RD |
9215 | static void *_p_wxPyControlTo_p_wxWindow(void *x) { |
9216 | return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x)); | |
9217 | } | |
44127b65 RD |
9218 | static void *_p_wxGaugeTo_p_wxWindow(void *x) { |
9219 | return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x)); | |
9220 | } | |
9221 | static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) { | |
9222 | return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x)); | |
9223 | } | |
9224 | static void *_p_wxToggleButtonTo_p_wxWindow(void *x) { | |
9225 | return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x)); | |
9226 | } | |
9227 | static void *_p_wxRadioButtonTo_p_wxWindow(void *x) { | |
9228 | return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x)); | |
9229 | } | |
9230 | static void *_p_wxChoiceTo_p_wxWindow(void *x) { | |
9231 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x)); | |
9232 | } | |
7e08d4ef RD |
9233 | static void *_p_wxTreebookTo_p_wxWindow(void *x) { |
9234 | return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x)); | |
9235 | } | |
44127b65 RD |
9236 | static void *_p_wxListViewTo_p_wxWindow(void *x) { |
9237 | return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x)); | |
9238 | } | |
9239 | static void *_p_wxTextCtrlTo_p_wxWindow(void *x) { | |
9240 | return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x)); | |
9241 | } | |
9242 | static void *_p_wxNotebookTo_p_wxWindow(void *x) { | |
8ac8dba0 | 9243 | return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x)); |
44127b65 RD |
9244 | } |
9245 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
9246 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
9247 | } | |
ae8162c8 | 9248 | static void *_p_wxChoicebookTo_p_wxWindow(void *x) { |
8ac8dba0 | 9249 | return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x)); |
ae8162c8 | 9250 | } |
44127b65 RD |
9251 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { |
9252 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
9253 | } | |
9254 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
9255 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
9256 | } | |
9257 | static void *_p_wxListbookTo_p_wxWindow(void *x) { | |
8ac8dba0 | 9258 | return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x)); |
44127b65 RD |
9259 | } |
9260 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { | |
9261 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
9262 | } | |
9263 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
9264 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
9265 | } | |
9266 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
9267 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
9268 | } | |
9269 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
9270 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
9271 | } | |
c1cb24a4 RD |
9272 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
9273 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
9274 | } | |
44127b65 RD |
9275 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { |
9276 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
9277 | } | |
9278 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
9279 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
9280 | } | |
9281 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { | |
9282 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
9283 | } | |
9284 | static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) { | |
9285 | return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x)); | |
9286 | } | |
9287 | static void *_p_wxSliderTo_p_wxWindow(void *x) { | |
9288 | return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x)); | |
9289 | } | |
9290 | static void *_p_wxStaticBoxTo_p_wxWindow(void *x) { | |
9291 | return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x)); | |
9292 | } | |
8ac8dba0 RD |
9293 | static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) { |
9294 | return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x)); | |
9295 | } | |
44127b65 RD |
9296 | static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) { |
9297 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
9298 | } | |
9299 | static void *_p_wxListBoxTo_p_wxWindow(void *x) { | |
9300 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x)); | |
9301 | } | |
9302 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
9303 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
9304 | } | |
9305 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
9306 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
9307 | } | |
9308 | static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) { | |
9309 | return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x)); | |
9310 | } | |
44127b65 RD |
9311 | static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) { |
9312 | return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x)); | |
9313 | } | |
9314 | static void *_p_wxSpinButtonTo_p_wxWindow(void *x) { | |
9315 | return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x)); | |
9316 | } | |
9317 | static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) { | |
9318 | return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x)); | |
9319 | } | |
9320 | static void *_p_wxButtonTo_p_wxWindow(void *x) { | |
9321 | return (void *)((wxWindow *) (wxControl *) ((wxButton *) x)); | |
9322 | } | |
9323 | static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) { | |
9324 | return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
9325 | } | |
9326 | static void *_p_wxRadioBoxTo_p_wxWindow(void *x) { | |
9327 | return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x)); | |
9328 | } | |
9329 | static void *_p_wxScrollBarTo_p_wxWindow(void *x) { | |
9330 | return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x)); | |
9331 | } | |
9332 | static void *_p_wxComboBoxTo_p_wxWindow(void *x) { | |
9333 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x)); | |
9334 | } | |
9335 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
9336 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
9337 | } | |
9338 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
9339 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
9340 | } | |
9341 | static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) { | |
9342 | return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x)); | |
9343 | } | |
9344 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
9345 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
9346 | } | |
9347 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
9348 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
9349 | } | |
6260902d RD |
9350 | static void *_p_wxStaticPictureTo_p_wxWindow(void *x) { |
9351 | return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x)); | |
9352 | } | |
a2482628 RD |
9353 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
9354 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
9355 | } | |
c1cb24a4 RD |
9356 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
9357 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
9358 | } | |
44127b65 RD |
9359 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { |
9360 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
9361 | } | |
9362 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
9363 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
9364 | } | |
9365 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
9366 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
9367 | } | |
9368 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
9369 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
9370 | } | |
9371 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
9372 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
9373 | } | |
9374 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
9375 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
9376 | } | |
9377 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
9378 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
9379 | } | |
9380 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
9381 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
9382 | } | |
9383 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
9384 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
9385 | } | |
9386 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
9387 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
9388 | } | |
44127b65 RD |
9389 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { |
9390 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
9391 | } | |
9392 | static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) { | |
9393 | return (void *)((wxWindow *) ((wxDynamicSashWindow *) x)); | |
9394 | } | |
9395 | static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) { | |
9396 | return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x)); | |
9397 | } | |
9398 | static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) { | |
9399 | return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
9400 | } | |
9401 | static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) { | |
9402 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
9403 | } | |
44127b65 RD |
9404 | static void *_p_wxDialogTo_p_wxWindow(void *x) { |
9405 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
9406 | } | |
9407 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
9408 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
9409 | } | |
9410 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
9411 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
9412 | } | |
9413 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
9414 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
9415 | } | |
9416 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
9417 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
9418 | } | |
9419 | static void *_p_wxStaticTextTo_p_wxWindow(void *x) { | |
9420 | return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x)); | |
9421 | } | |
9422 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
9423 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
9424 | } | |
9425 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
9426 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
9427 | } | |
53aa7709 RD |
9428 | static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) { |
9429 | return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x)); | |
9430 | } | |
44127b65 RD |
9431 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { |
9432 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
9433 | } | |
9434 | static void *_p_wxToolBarTo_p_wxWindow(void *x) { | |
9435 | return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x)); | |
9436 | } | |
9437 | static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) { | |
9438 | return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
9439 | } | |
a2482628 RD |
9440 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
9441 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
9442 | } | |
44127b65 RD |
9443 | static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) { |
9444 | return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
9445 | } | |
9446 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
9447 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9448 | } | |
8ac8dba0 RD |
9449 | static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) { |
9450 | return (void *)((wxControl *) ((wxBookCtrlBase *) x)); | |
44127b65 RD |
9451 | } |
9452 | static void *_p_wxToolBarTo_p_wxControl(void *x) { | |
9453 | return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x)); | |
9454 | } | |
9455 | static void *_p_wxToggleButtonTo_p_wxControl(void *x) { | |
9456 | return (void *)((wxControl *) ((wxToggleButton *) x)); | |
9457 | } | |
9458 | static void *_p_wxRadioButtonTo_p_wxControl(void *x) { | |
9459 | return (void *)((wxControl *) ((wxRadioButton *) x)); | |
9460 | } | |
9461 | static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) { | |
9462 | return (void *)((wxControl *) ((wxLEDNumberCtrl *) x)); | |
9463 | } | |
7e08d4ef RD |
9464 | static void *_p_wxToolbookTo_p_wxControl(void *x) { |
9465 | return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x)); | |
44127b65 RD |
9466 | } |
9467 | static void *_p_wxToolBarBaseTo_p_wxControl(void *x) { | |
9468 | return (void *)((wxControl *) ((wxToolBarBase *) x)); | |
9469 | } | |
9470 | static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) { | |
9471 | return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
9472 | } | |
9473 | static void *_p_wxPyListCtrlTo_p_wxControl(void *x) { | |
9474 | return (void *)((wxControl *) ((wxPyListCtrl *) x)); | |
9475 | } | |
9476 | static void *_p_wxComboBoxTo_p_wxControl(void *x) { | |
9477 | return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x)); | |
9478 | } | |
7e08d4ef RD |
9479 | static void *_p_wxPyControlTo_p_wxControl(void *x) { |
9480 | return (void *)((wxControl *) ((wxPyControl *) x)); | |
9481 | } | |
44127b65 RD |
9482 | static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) { |
9483 | return (void *)((wxControl *) ((wxPyTreeListCtrl *) x)); | |
9484 | } | |
9485 | static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) { | |
9486 | return (void *)((wxControl *) ((wxGenericDirCtrl *) x)); | |
9487 | } | |
9488 | static void *_p_wxScrollBarTo_p_wxControl(void *x) { | |
9489 | return (void *)((wxControl *) ((wxScrollBar *) x)); | |
9490 | } | |
9491 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
9492 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
9493 | } | |
9494 | static void *_p_wxGaugeTo_p_wxControl(void *x) { | |
9495 | return (void *)((wxControl *) ((wxGauge *) x)); | |
9496 | } | |
9497 | static void *_p_wxStaticLineTo_p_wxControl(void *x) { | |
9498 | return (void *)((wxControl *) ((wxStaticLine *) x)); | |
9499 | } | |
ae8162c8 | 9500 | static void *_p_wxChoicebookTo_p_wxControl(void *x) { |
8ac8dba0 | 9501 | return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x)); |
ae8162c8 | 9502 | } |
44127b65 | 9503 | static void *_p_wxListbookTo_p_wxControl(void *x) { |
8ac8dba0 | 9504 | return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x)); |
44127b65 | 9505 | } |
44127b65 RD |
9506 | static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) { |
9507 | return (void *)((wxControl *) ((wxPyTreeCtrl *) x)); | |
9508 | } | |
ae8162c8 RD |
9509 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) { |
9510 | return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
9511 | } | |
44127b65 RD |
9512 | static void *_p_wxCheckBoxTo_p_wxControl(void *x) { |
9513 | return (void *)((wxControl *) ((wxCheckBox *) x)); | |
9514 | } | |
9515 | static void *_p_wxRadioBoxTo_p_wxControl(void *x) { | |
9516 | return (void *)((wxControl *) ((wxRadioBox *) x)); | |
9517 | } | |
9518 | static void *_p_wxChoiceTo_p_wxControl(void *x) { | |
9519 | return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x)); | |
9520 | } | |
9521 | static void *_p_wxListBoxTo_p_wxControl(void *x) { | |
9522 | return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x)); | |
9523 | } | |
9524 | static void *_p_wxCheckListBoxTo_p_wxControl(void *x) { | |
9525 | return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
9526 | } | |
9527 | static void *_p_wxListViewTo_p_wxControl(void *x) { | |
9528 | return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x)); | |
9529 | } | |
9530 | static void *_p_wxNotebookTo_p_wxControl(void *x) { | |
8ac8dba0 | 9531 | return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x)); |
44127b65 RD |
9532 | } |
9533 | static void *_p_wxStaticBitmapTo_p_wxControl(void *x) { | |
9534 | return (void *)((wxControl *) ((wxStaticBitmap *) x)); | |
9535 | } | |
9536 | static void *_p_wxSpinCtrlTo_p_wxControl(void *x) { | |
9537 | return (void *)((wxControl *) ((wxSpinCtrl *) x)); | |
9538 | } | |
9539 | static void *_p_wxStaticTextTo_p_wxControl(void *x) { | |
9540 | return (void *)((wxControl *) ((wxStaticText *) x)); | |
9541 | } | |
9542 | static void *_p_wxStaticBoxTo_p_wxControl(void *x) { | |
9543 | return (void *)((wxControl *) ((wxStaticBox *) x)); | |
9544 | } | |
9545 | static void *_p_wxSliderTo_p_wxControl(void *x) { | |
9546 | return (void *)((wxControl *) ((wxSlider *) x)); | |
9547 | } | |
7e08d4ef RD |
9548 | static void *_p_wxTreebookTo_p_wxControl(void *x) { |
9549 | return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x)); | |
44127b65 RD |
9550 | } |
9551 | static void *_p_wxSpinButtonTo_p_wxControl(void *x) { | |
9552 | return (void *)((wxControl *) ((wxSpinButton *) x)); | |
9553 | } | |
9554 | static void *_p_wxButtonTo_p_wxControl(void *x) { | |
9555 | return (void *)((wxControl *) ((wxButton *) x)); | |
9556 | } | |
9557 | static void *_p_wxBitmapButtonTo_p_wxControl(void *x) { | |
9558 | return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x)); | |
9559 | } | |
7e08d4ef RD |
9560 | static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) { |
9561 | return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
9562 | } | |
53aa7709 RD |
9563 | static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) { |
9564 | return (void *)((wxControl *) ((wxDatePickerCtrl *) x)); | |
9565 | } | |
6260902d RD |
9566 | static void *_p_wxStaticPictureTo_p_wxControl(void *x) { |
9567 | return (void *)((wxControl *) ((wxStaticPicture *) x)); | |
9568 | } | |
44127b65 RD |
9569 | static void *_p_wxTextCtrlTo_p_wxControl(void *x) { |
9570 | return (void *)((wxControl *) ((wxTextCtrl *) x)); | |
9571 | } | |
4cf4100f RD |
9572 | static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) { |
9573 | return (void *)((wxPyListCtrl *) ((wxListView *) x)); | |
9574 | } | |
44127b65 RD |
9575 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
9576 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
9577 | } | |
9578 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
9579 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
9580 | } | |
9581 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
9582 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
9583 | } | |
9584 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
9585 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
9586 | } | |
9587 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
9588 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
9589 | } | |
8ac8dba0 RD |
9590 | static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) { |
9591 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x)); | |
9592 | } | |
44127b65 RD |
9593 | static void *_p_wxTreeEventTo_p_wxEvent(void *x) { |
9594 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x)); | |
9595 | } | |
9596 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
9597 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
9598 | } | |
9599 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
9600 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
9601 | } | |
9602 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { | |
9603 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
9604 | } | |
9605 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
9606 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
9607 | } | |
9608 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
9609 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
9610 | } | |
9611 | static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) { | |
9612 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x)); | |
9613 | } | |
44127b65 RD |
9614 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
9615 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
9616 | } | |
9617 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { | |
9618 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
9619 | } | |
9620 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { | |
9621 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
9622 | } | |
9623 | static void *_p_wxListEventTo_p_wxEvent(void *x) { | |
9624 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x)); | |
9625 | } | |
9626 | static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) { | |
9627 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x)); | |
9628 | } | |
9629 | static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) { | |
9630 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x)); | |
9631 | } | |
9632 | static void *_p_wxNotebookEventTo_p_wxEvent(void *x) { | |
8ac8dba0 | 9633 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x)); |
44127b65 RD |
9634 | } |
9635 | static void *_p_wxListbookEventTo_p_wxEvent(void *x) { | |
8ac8dba0 | 9636 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x)); |
44127b65 | 9637 | } |
ae8162c8 | 9638 | static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) { |
8ac8dba0 | 9639 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x)); |
ae8162c8 | 9640 | } |
7e08d4ef RD |
9641 | static void *_p_wxTreebookEventTo_p_wxEvent(void *x) { |
9642 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x)); | |
9643 | } | |
9644 | static void *_p_wxToolbookEventTo_p_wxEvent(void *x) { | |
9645 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x)); | |
9646 | } | |
44127b65 RD |
9647 | static void *_p_wxHelpEventTo_p_wxEvent(void *x) { |
9648 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x)); | |
9649 | } | |
9650 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
9651 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
9652 | } | |
9653 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
9654 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
9655 | } | |
9656 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
9657 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
9658 | } | |
9659 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
9660 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
9661 | } | |
9662 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
9663 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
9664 | } | |
9665 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
9666 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
9667 | } | |
9668 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
9669 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
9670 | } | |
9671 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
9672 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
9673 | } | |
53aa7709 RD |
9674 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { |
9675 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
9676 | } | |
44127b65 RD |
9677 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
9678 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
9679 | } | |
9680 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
9681 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
9682 | } | |
9683 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { | |
9684 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
9685 | } | |
9686 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
9687 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
9688 | } | |
9689 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
9690 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
9691 | } | |
9692 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
9693 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
9694 | } | |
9695 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
9696 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
9697 | } | |
9698 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { | |
9699 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
9700 | } | |
9701 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
9702 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
9703 | } | |
9704 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
9705 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
9706 | } | |
9707 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
9708 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
9709 | } | |
9710 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
9711 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
9712 | } | |
9713 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
9714 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
9715 | } | |
9716 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
9717 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
9718 | } | |
9719 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
9720 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
9721 | } | |
9722 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
9723 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
9724 | } | |
9725 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
9726 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
9727 | } | |
9728 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
9729 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
9730 | } | |
9731 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
9732 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
9733 | } | |
9734 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
9735 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
9736 | } | |
83448d71 RD |
9737 | static void *_p_wxSpinEventTo_p_wxEvent(void *x) { |
9738 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x)); | |
9739 | } | |
44127b65 RD |
9740 | static void *_p_wxScrollBarTo_p_wxObject(void *x) { |
9741 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x)); | |
9742 | } | |
9743 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
9744 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
9745 | } | |
9746 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { | |
9747 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
9748 | } | |
9749 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
9750 | return (void *)((wxObject *) ((wxEvent *) x)); | |
9751 | } | |
44127b65 RD |
9752 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { |
9753 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
9754 | } | |
9755 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
9756 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
9757 | } | |
9758 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
9759 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
9760 | } | |
9761 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
9762 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
9763 | } | |
9764 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
9765 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
9766 | } | |
9767 | static void *_p_wxToolBarBaseTo_p_wxObject(void *x) { | |
9768 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x)); | |
9769 | } | |
9770 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
9771 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
9772 | } | |
9773 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
9774 | return (void *)((wxObject *) ((wxImage *) x)); | |
9775 | } | |
9776 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
9777 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
9778 | } | |
9779 | static void *_p_wxStaticBitmapTo_p_wxObject(void *x) { | |
9780 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x)); | |
9781 | } | |
9782 | static void *_p_wxGenericDragImageTo_p_wxObject(void *x) { | |
9783 | return (void *)((wxObject *) ((wxGenericDragImage *) x)); | |
9784 | } | |
9785 | static void *_p_wxComboBoxTo_p_wxObject(void *x) { | |
9786 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x)); | |
9787 | } | |
84f85550 RD |
9788 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
9789 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
44127b65 RD |
9790 | } |
9791 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
9792 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
9793 | } | |
9794 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
9795 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
9796 | } | |
7e08d4ef RD |
9797 | static void *_p_wxTreebookTo_p_wxObject(void *x) { |
9798 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x)); | |
9799 | } | |
44127b65 | 9800 | static void *_p_wxNotebookTo_p_wxObject(void *x) { |
8ac8dba0 | 9801 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x)); |
44127b65 RD |
9802 | } |
9803 | static void *_p_wxListItemTo_p_wxObject(void *x) { | |
9804 | return (void *)((wxObject *) ((wxListItem *) x)); | |
9805 | } | |
ae8162c8 | 9806 | static void *_p_wxChoicebookTo_p_wxObject(void *x) { |
8ac8dba0 RD |
9807 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x)); |
9808 | } | |
9809 | static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) { | |
9810 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x)); | |
ae8162c8 | 9811 | } |
44127b65 RD |
9812 | static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) { |
9813 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x)); | |
9814 | } | |
9815 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) { | |
9816 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
9817 | } | |
9818 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
9819 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
9820 | } | |
9821 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
9822 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
9823 | } | |
9824 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
9825 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
9826 | } | |
9827 | static void *_p_wxStaticLineTo_p_wxObject(void *x) { | |
9828 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x)); | |
9829 | } | |
9830 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
9831 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
9832 | } | |
9833 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
9834 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
9835 | } | |
9836 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
9837 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
9838 | } | |
9839 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
9840 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
9841 | } | |
9842 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
9843 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
9844 | } | |
53aa7709 RD |
9845 | static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) { |
9846 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x)); | |
9847 | } | |
44127b65 RD |
9848 | static void *_p_wxTreeEventTo_p_wxObject(void *x) { |
9849 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x)); | |
9850 | } | |
44127b65 RD |
9851 | static void *_p_wxTextUrlEventTo_p_wxObject(void *x) { |
9852 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x)); | |
9853 | } | |
9854 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
9855 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
9856 | } | |
9857 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
9858 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
9859 | } | |
9860 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
9861 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
9862 | } | |
9863 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
9864 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
9865 | } | |
9866 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
9867 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
9868 | } | |
9869 | static void *_p_wxRadioBoxTo_p_wxObject(void *x) { | |
9870 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x)); | |
9871 | } | |
9872 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
9873 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
9874 | } | |
9875 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
9876 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
9877 | } | |
9878 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
9879 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
9880 | } | |
9881 | static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) { | |
9882 | return (void *)((wxObject *) ((wxTreeListColumnInfo *) x)); | |
9883 | } | |
9884 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
9885 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
9886 | } | |
9887 | static void *_p_wxPyControlTo_p_wxObject(void *x) { | |
9888 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x)); | |
9889 | } | |
9890 | static void *_p_wxContextHelpTo_p_wxObject(void *x) { | |
9891 | return (void *)((wxObject *) ((wxContextHelp *) x)); | |
9892 | } | |
9893 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
9894 | return (void *)((wxObject *) ((wxColourData *) x)); | |
9895 | } | |
9896 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
9897 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
9898 | } | |
9899 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
9900 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
9901 | } | |
9902 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
9903 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
9904 | } | |
9905 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
9906 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
9907 | } | |
9908 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
9909 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
9910 | } | |
9911 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
9912 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
9913 | } | |
9914 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
9915 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
9916 | } | |
9917 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
9918 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
9919 | } | |
53aa7709 RD |
9920 | static void *_p_wxDateEventTo_p_wxObject(void *x) { |
9921 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
9922 | } | |
44127b65 RD |
9923 | static void *_p_wxStaticTextTo_p_wxObject(void *x) { |
9924 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x)); | |
9925 | } | |
9926 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
9927 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
9928 | } | |
9929 | static void *_p_wxListEventTo_p_wxObject(void *x) { | |
9930 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x)); | |
9931 | } | |
9932 | static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) { | |
9933 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x)); | |
9934 | } | |
9935 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
9936 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
9937 | } | |
9938 | static void *_p_wxGaugeTo_p_wxObject(void *x) { | |
9939 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x)); | |
9940 | } | |
9941 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
9942 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
9943 | } | |
51b83b37 RD |
9944 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
9945 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
9946 | } | |
44127b65 RD |
9947 | static void *_p_wxChoiceTo_p_wxObject(void *x) { |
9948 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x)); | |
9949 | } | |
9950 | static void *_p_wxSpinButtonTo_p_wxObject(void *x) { | |
9951 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x)); | |
9952 | } | |
9953 | static void *_p_wxBitmapButtonTo_p_wxObject(void *x) { | |
9954 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x)); | |
9955 | } | |
9956 | static void *_p_wxButtonTo_p_wxObject(void *x) { | |
9957 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x)); | |
9958 | } | |
9959 | static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) { | |
9960 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
9961 | } | |
9962 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
9963 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
9964 | } | |
9965 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
9966 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
9967 | } | |
9968 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
9969 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
9970 | } | |
9971 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
9972 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
9973 | } | |
9974 | static void *_p_wxCheckListBoxTo_p_wxObject(void *x) { | |
9975 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
9976 | } | |
9977 | static void *_p_wxListBoxTo_p_wxObject(void *x) { | |
9978 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x)); | |
9979 | } | |
9980 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { | |
9981 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
9982 | } | |
9983 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
9984 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
9985 | } | |
9986 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
9987 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
9988 | } | |
9989 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
9990 | return (void *)((wxObject *) ((wxFontData *) x)); | |
9991 | } | |
9992 | static void *_p_wxEditableListBoxTo_p_wxObject(void *x) { | |
9993 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x)); | |
9994 | } | |
9995 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
9996 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
9997 | } | |
9998 | static void *_p_wxListbookTo_p_wxObject(void *x) { | |
8ac8dba0 | 9999 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x)); |
44127b65 RD |
10000 | } |
10001 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
10002 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
10003 | } | |
10004 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
10005 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
10006 | } | |
10007 | static void *_p_wxStaticBoxTo_p_wxObject(void *x) { | |
10008 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x)); | |
10009 | } | |
10010 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
10011 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
10012 | } | |
10013 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
10014 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
10015 | } | |
10016 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
10017 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
10018 | } | |
10019 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
10020 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
10021 | } | |
10022 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
10023 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
10024 | } | |
10025 | static void *_p_wxListViewTo_p_wxObject(void *x) { | |
10026 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x)); | |
10027 | } | |
10028 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
10029 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
10030 | } | |
10031 | static void *_p_wxPyListCtrlTo_p_wxObject(void *x) { | |
10032 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x)); | |
10033 | } | |
10034 | static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) { | |
10035 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
10036 | } | |
10037 | static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) { | |
10038 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x)); | |
10039 | } | |
10040 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
10041 | return (void *)((wxObject *) ((wxSizer *) x)); | |
10042 | } | |
10043 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
10044 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
10045 | } | |
10046 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
10047 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
10048 | } | |
10049 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
10050 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
10051 | } | |
10052 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
10053 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
10054 | } | |
10055 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
10056 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
10057 | } | |
10058 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
10059 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
10060 | } | |
10061 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { | |
10062 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
10063 | } | |
10064 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
10065 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
10066 | } | |
10067 | static void *_p_wxTextCtrlTo_p_wxObject(void *x) { | |
10068 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x)); | |
10069 | } | |
10070 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
10071 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
10072 | } | |
10073 | static void *_p_wxToggleButtonTo_p_wxObject(void *x) { | |
10074 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x)); | |
10075 | } | |
10076 | static void *_p_wxRadioButtonTo_p_wxObject(void *x) { | |
10077 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x)); | |
10078 | } | |
10079 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
10080 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
10081 | } | |
10082 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
10083 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
10084 | } | |
10085 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { | |
c1cb24a4 | 10086 | return (void *)((wxObject *) ((wxPrintDialog *) x)); |
44127b65 RD |
10087 | } |
10088 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
8ac8dba0 | 10089 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); |
44127b65 RD |
10090 | } |
10091 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
10092 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
10093 | } | |
10094 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
10095 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
10096 | } | |
10097 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
10098 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
10099 | } | |
10100 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
10101 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
10102 | } | |
10103 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
10104 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
10105 | } | |
10106 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
10107 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
10108 | } | |
10109 | static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) { | |
10110 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x)); | |
10111 | } | |
10112 | static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) { | |
10113 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x)); | |
10114 | } | |
6260902d RD |
10115 | static void *_p_wxStaticPictureTo_p_wxObject(void *x) { |
10116 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x)); | |
10117 | } | |
44127b65 RD |
10118 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
10119 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
10120 | } | |
10121 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
10122 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
10123 | } | |
9d7dfdff RD |
10124 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { |
10125 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
10126 | } | |
44127b65 RD |
10127 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { |
10128 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
10129 | } | |
9d7dfdff RD |
10130 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { |
10131 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
10132 | } | |
44127b65 RD |
10133 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { |
10134 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
10135 | } | |
10136 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
10137 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
10138 | } | |
10139 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
10140 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
10141 | } | |
10142 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
10143 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
10144 | } | |
10145 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
10146 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
10147 | } | |
10148 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
10149 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
10150 | } | |
10151 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
10152 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
10153 | } | |
10154 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
10155 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
10156 | } | |
10157 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
10158 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
10159 | } | |
44127b65 RD |
10160 | static void *_p_wxShowEventTo_p_wxObject(void *x) { |
10161 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
10162 | } | |
a2482628 RD |
10163 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
10164 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
10165 | } | |
44127b65 RD |
10166 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { |
10167 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
10168 | } | |
10169 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { | |
10170 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
10171 | } | |
10172 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
10173 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
10174 | } | |
10175 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
10176 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
10177 | } | |
10178 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
10179 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
10180 | } | |
10181 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
10182 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
10183 | } | |
10184 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
10185 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
10186 | } | |
10187 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
10188 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
10189 | } | |
10190 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
10191 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
10192 | } | |
10193 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
10194 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
10195 | } | |
44127b65 RD |
10196 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
10197 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
10198 | } | |
41f1cec7 RD |
10199 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
10200 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
10201 | } | |
44127b65 RD |
10202 | static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) { |
10203 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x)); | |
10204 | } | |
10205 | static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) { | |
10206 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x)); | |
10207 | } | |
10208 | static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) { | |
10209 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
10210 | } | |
10211 | static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) { | |
10212 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
10213 | } | |
10214 | static void *_p_wxSpinCtrlTo_p_wxObject(void *x) { | |
10215 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x)); | |
10216 | } | |
44127b65 | 10217 | static void *_p_wxNotebookEventTo_p_wxObject(void *x) { |
8ac8dba0 | 10218 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x)); |
44127b65 | 10219 | } |
83448d71 | 10220 | static void *_p_wxListbookEventTo_p_wxObject(void *x) { |
8ac8dba0 | 10221 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x)); |
83448d71 | 10222 | } |
ae8162c8 | 10223 | static void *_p_wxChoicebookEventTo_p_wxObject(void *x) { |
8ac8dba0 | 10224 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x)); |
ae8162c8 | 10225 | } |
7e08d4ef RD |
10226 | static void *_p_wxTreebookEventTo_p_wxObject(void *x) { |
10227 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x)); | |
10228 | } | |
10229 | static void *_p_wxToolbookEventTo_p_wxObject(void *x) { | |
10230 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x)); | |
10231 | } | |
44127b65 RD |
10232 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { |
10233 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
10234 | } | |
10235 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
10236 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
10237 | } | |
10238 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
10239 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
10240 | } | |
c1cb24a4 RD |
10241 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
10242 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
10243 | } | |
44127b65 RD |
10244 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { |
10245 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
10246 | } | |
10247 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
10248 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
10249 | } | |
10250 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
10251 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
10252 | } | |
10253 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
10254 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
10255 | } | |
10256 | static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) { | |
10257 | return (void *)((wxObject *) ((wxToolBarToolBase *) x)); | |
10258 | } | |
10259 | static void *_p_wxSliderTo_p_wxObject(void *x) { | |
10260 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x)); | |
10261 | } | |
10262 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { | |
10263 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
10264 | } | |
53aa7709 RD |
10265 | static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) { |
10266 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x)); | |
10267 | } | |
44127b65 RD |
10268 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { |
10269 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
10270 | } | |
10271 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
10272 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
10273 | } | |
10274 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
10275 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
10276 | } | |
10277 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
10278 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
10279 | } | |
10280 | static void *_p_wxCheckBoxTo_p_wxObject(void *x) { | |
10281 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x)); | |
10282 | } | |
10283 | static void *_p_wxHelpEventTo_p_wxObject(void *x) { | |
10284 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x)); | |
10285 | } | |
10286 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
10287 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
10288 | } | |
83448d71 RD |
10289 | static void *_p_wxSpinEventTo_p_wxObject(void *x) { |
10290 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x)); | |
10291 | } | |
44127b65 RD |
10292 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { |
10293 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
10294 | } | |
10295 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
10296 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
10297 | } | |
10298 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
10299 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
10300 | } | |
10301 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
10302 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
10303 | } | |
10304 | static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) { | |
10305 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x)); | |
10306 | } | |
10307 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
10308 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
10309 | } | |
10310 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
10311 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
10312 | } | |
7e08d4ef RD |
10313 | static void *_p_wxToolbookTo_p_wxObject(void *x) { |
10314 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x)); | |
10315 | } | |
44127b65 RD |
10316 | static void *_p_wxToolBarTo_p_wxObject(void *x) { |
10317 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x)); | |
10318 | } | |
10319 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
10320 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
10321 | } | |
10322 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
10323 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
10324 | } | |
10325 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
10326 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
10327 | } | |
10328 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
10329 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
10330 | } | |
10331 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
10332 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
10333 | } | |
10334 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
10335 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
10336 | } | |
7e08d4ef RD |
10337 | static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) { |
10338 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x)); | |
10339 | } | |
44127b65 RD |
10340 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { |
10341 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
10342 | } | |
10343 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
10344 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
10345 | } | |
10346 | static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) { | |
10347 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x)); | |
10348 | } | |
10349 | static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) { | |
10350 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x)); | |
10351 | } | |
10352 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) { | |
10353 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
10354 | } | |
10355 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
10356 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
10357 | } | |
84f85550 RD |
10358 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { |
10359 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
44127b65 RD |
10360 | } |
10361 | static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) { | |
10362 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x)); | |
10363 | } | |
10364 | static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) { | |
10365 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x)); | |
10366 | } | |
10367 | static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) { | |
10368 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
10369 | } | |
10370 | static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) { | |
10371 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x)); | |
10372 | } | |
10373 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
10374 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
10375 | } | |
10376 | static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) { | |
10377 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x)); | |
10378 | } | |
10379 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
10380 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
10381 | } | |
10382 | static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) { | |
10383 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x)); | |
10384 | } | |
10385 | static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) { | |
10386 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x)); | |
10387 | } | |
44127b65 RD |
10388 | static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) { |
10389 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x)); | |
10390 | } | |
10391 | static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) { | |
10392 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x)); | |
10393 | } | |
7e08d4ef RD |
10394 | static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) { |
10395 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x)); | |
10396 | } | |
44127b65 RD |
10397 | static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) { |
10398 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x)); | |
10399 | } | |
7e08d4ef RD |
10400 | static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) { |
10401 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x)); | |
10402 | } | |
44127b65 RD |
10403 | static void *_p_wxListViewTo_p_wxEvtHandler(void *x) { |
10404 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x)); | |
10405 | } | |
10406 | static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) { | |
10407 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x)); | |
10408 | } | |
10409 | static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) { | |
8ac8dba0 | 10410 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x)); |
44127b65 RD |
10411 | } |
10412 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { | |
10413 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
10414 | } | |
ae8162c8 | 10415 | static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) { |
8ac8dba0 | 10416 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x)); |
ae8162c8 | 10417 | } |
44127b65 RD |
10418 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { |
10419 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
10420 | } | |
10421 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
10422 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
10423 | } | |
10424 | static void *_p_wxListbookTo_p_wxEvtHandler(void *x) { | |
8ac8dba0 | 10425 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x)); |
44127b65 RD |
10426 | } |
10427 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { | |
10428 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
10429 | } | |
10430 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
10431 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
10432 | } | |
10433 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
10434 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
10435 | } | |
10436 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { | |
10437 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
10438 | } | |
10439 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
10440 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
10441 | } | |
10442 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { | |
10443 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
10444 | } | |
10445 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { | |
10446 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
10447 | } | |
c1cb24a4 RD |
10448 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
10449 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
10450 | } | |
44127b65 RD |
10451 | static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) { |
10452 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x)); | |
10453 | } | |
10454 | static void *_p_wxSliderTo_p_wxEvtHandler(void *x) { | |
10455 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x)); | |
10456 | } | |
10457 | static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) { | |
10458 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x)); | |
10459 | } | |
8ac8dba0 RD |
10460 | static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) { |
10461 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x)); | |
10462 | } | |
44127b65 RD |
10463 | static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) { |
10464 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
10465 | } | |
10466 | static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) { | |
10467 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x)); | |
10468 | } | |
10469 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
10470 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
10471 | } | |
10472 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
10473 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
10474 | } | |
10475 | static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) { | |
10476 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x)); | |
10477 | } | |
44127b65 RD |
10478 | static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) { |
10479 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x)); | |
10480 | } | |
10481 | static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) { | |
10482 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x)); | |
10483 | } | |
10484 | static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) { | |
10485 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x)); | |
10486 | } | |
10487 | static void *_p_wxButtonTo_p_wxEvtHandler(void *x) { | |
10488 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x)); | |
10489 | } | |
10490 | static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) { | |
10491 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
10492 | } | |
10493 | static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) { | |
10494 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x)); | |
10495 | } | |
10496 | static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) { | |
10497 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x)); | |
10498 | } | |
10499 | static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) { | |
10500 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x)); | |
10501 | } | |
10502 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
10503 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
10504 | } | |
10505 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
10506 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
10507 | } | |
10508 | static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) { | |
10509 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x)); | |
10510 | } | |
10511 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
10512 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
10513 | } | |
10514 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
10515 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
10516 | } | |
6260902d RD |
10517 | static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) { |
10518 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x)); | |
10519 | } | |
a2482628 RD |
10520 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { |
10521 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
10522 | } | |
44127b65 RD |
10523 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { |
10524 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
10525 | } | |
10526 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
10527 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
10528 | } | |
10529 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
10530 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
10531 | } | |
10532 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
10533 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
10534 | } | |
10535 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
10536 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
10537 | } | |
10538 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
10539 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
10540 | } | |
10541 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
10542 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
10543 | } | |
10544 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
10545 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
10546 | } | |
10547 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
10548 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
10549 | } | |
10550 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
10551 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
10552 | } | |
10553 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
10554 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
10555 | } | |
10556 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
10557 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
10558 | } | |
10559 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
10560 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
10561 | } | |
10562 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
10563 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
10564 | } | |
10565 | static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) { | |
10566 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x)); | |
10567 | } | |
10568 | static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) { | |
10569 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x)); | |
10570 | } | |
10571 | static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) { | |
10572 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
10573 | } | |
10574 | static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) { | |
10575 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
10576 | } | |
c1cb24a4 RD |
10577 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { |
10578 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
10579 | } | |
44127b65 RD |
10580 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { |
10581 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
10582 | } | |
10583 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
10584 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
10585 | } | |
10586 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
10587 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
10588 | } | |
44127b65 RD |
10589 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { |
10590 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
10591 | } | |
10592 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
10593 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
10594 | } | |
10595 | static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) { | |
10596 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x)); | |
10597 | } | |
10598 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
10599 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
10600 | } | |
10601 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
10602 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
10603 | } | |
53aa7709 RD |
10604 | static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) { |
10605 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x)); | |
10606 | } | |
44127b65 RD |
10607 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { |
10608 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
10609 | } | |
10610 | static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) { | |
10611 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x)); | |
10612 | } | |
10613 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
10614 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
10615 | } | |
10616 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
10617 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
10618 | } | |
10619 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) { | |
10620 | return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
10621 | } | |
10622 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
10623 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
10624 | } | |
10625 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
10626 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
10627 | } | |
10628 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { | |
10629 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
10630 | } | |
44127b65 RD |
10631 | static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) { |
10632 | return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x)); | |
10633 | } | |
10634 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
10635 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
10636 | } | |
10637 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
10638 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
10639 | } | |
10640 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
10641 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
10642 | } | |
10643 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
10644 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
10645 | } | |
10646 | static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) { | |
8ac8dba0 | 10647 | return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x)); |
44127b65 RD |
10648 | } |
10649 | static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) { | |
8ac8dba0 | 10650 | return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x)); |
44127b65 | 10651 | } |
ae8162c8 | 10652 | static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) { |
8ac8dba0 | 10653 | return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x)); |
ae8162c8 | 10654 | } |
7e08d4ef RD |
10655 | static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) { |
10656 | return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x)); | |
10657 | } | |
10658 | static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) { | |
10659 | return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x)); | |
10660 | } | |
53aa7709 RD |
10661 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { |
10662 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
10663 | } | |
44127b65 RD |
10664 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { |
10665 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
10666 | } | |
10667 | static void *_p_wxListEventTo_p_wxCommandEvent(void *x) { | |
10668 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x)); | |
10669 | } | |
10670 | static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) { | |
10671 | return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x)); | |
10672 | } | |
8ac8dba0 RD |
10673 | static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) { |
10674 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x)); | |
10675 | } | |
44127b65 RD |
10676 | static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) { |
10677 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x)); | |
10678 | } | |
83448d71 RD |
10679 | static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) { |
10680 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x)); | |
10681 | } | |
44127b65 RD |
10682 | static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) { |
10683 | return (void *)((wxCommandEvent *) ((wxHelpEvent *) x)); | |
10684 | } | |
10685 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
10686 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
10687 | } | |
10688 | static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) { | |
10689 | return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x)); | |
10690 | } | |
10691 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
10692 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
10693 | } | |
10694 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
10695 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
10696 | } | |
7449af73 RD |
10697 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, 0}; |
10698 | static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, 0}; | |
10699 | static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, 0}; | |
10700 | static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, 0}; | |
10701 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, 0}; | |
10702 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, 0}; | |
10703 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, 0}; | |
10704 | static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, 0}; | |
10705 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, 0}; | |
10706 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, 0}; | |
10707 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, 0}; | |
10708 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0}; | |
10709 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0}; | |
10710 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0}; | |
10711 | static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0}; | |
10712 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0}; | |
10713 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0}; | |
10714 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0}; | |
10715 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0}; | |
10716 | static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0}; | |
10717 | static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0}; | |
10718 | static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0}; | |
7e08d4ef RD |
10719 | static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0}; |
10720 | static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0}; | |
7449af73 RD |
10721 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0}; |
10722 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0}; | |
10723 | static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0}; | |
10724 | static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0}; | |
10725 | static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0}; | |
10726 | static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0}; | |
10727 | static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0}; | |
10728 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0}; | |
10729 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0}; | |
10730 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0}; | |
10731 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, 0}; | |
10732 | static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0}; | |
10733 | static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0}; | |
10734 | static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0}; | |
10735 | static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0}; | |
7e08d4ef | 10736 | static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0}; |
7449af73 RD |
10737 | static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0}; |
10738 | static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0}; | |
10739 | static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0}; | |
10740 | static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0}; | |
10741 | static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0}; | |
10742 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0}; | |
10743 | static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0}; | |
10744 | static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0}; | |
10745 | static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0}; | |
10746 | static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0}; | |
10747 | static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0}; | |
10748 | static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0}; | |
10749 | static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0}; | |
10750 | static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0}; | |
10751 | static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0}; | |
10752 | static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0}; | |
10753 | static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0}; | |
10754 | static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0}; | |
10755 | static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0}; | |
10756 | static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0}; | |
10757 | static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0}; | |
10758 | static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0}; | |
7e08d4ef | 10759 | static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0}; |
7449af73 RD |
10760 | static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0}; |
10761 | static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0}; | |
10762 | static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0}; | |
7e08d4ef | 10763 | static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0}; |
7449af73 RD |
10764 | static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0}; |
10765 | static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0}; | |
10766 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0}; | |
10767 | static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, 0}; | |
10768 | static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, 0}; | |
10769 | static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, 0}; | |
10770 | static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, 0}; | |
10771 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, 0}; | |
10772 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0}; | |
10773 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0}; | |
10774 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0}; | |
10775 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0}; | |
10776 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0}; | |
10777 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0}; | |
10778 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0}; | |
10779 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0}; | |
10780 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0}; | |
10781 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0}; | |
10782 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0}; | |
10783 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0}; | |
10784 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0}; | |
10785 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0}; | |
10786 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0}; | |
10787 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0}; | |
10788 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0}; | |
10789 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0}; | |
10790 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0}; | |
10791 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0}; | |
10792 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0}; | |
10793 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0}; | |
10794 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0}; | |
10795 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0}; | |
10796 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0}; | |
10797 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0}; | |
10798 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0}; | |
10799 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0}; | |
10800 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0}; | |
10801 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, 0}; | |
10802 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0}; | |
10803 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0}; | |
10804 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0}; | |
10805 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0}; | |
10806 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0}; | |
10807 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0}; | |
10808 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0}; | |
10809 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0}; | |
10810 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0}; | |
7449af73 RD |
10811 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0}; |
10812 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0}; | |
10813 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0}; | |
7e08d4ef RD |
10814 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0}; |
10815 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0}; | |
7449af73 RD |
10816 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0}; |
10817 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0}; | |
10818 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0}; | |
10819 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0}; | |
10820 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0}; | |
10821 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0}; | |
10822 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0}; | |
10823 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0}; | |
10824 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0}; | |
7449af73 RD |
10825 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0}; |
10826 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0}; | |
10827 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0}; | |
10828 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0}; | |
10829 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0}; | |
7e08d4ef | 10830 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0}; |
7449af73 RD |
10831 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0}; |
10832 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0}; | |
10833 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0}; | |
10834 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0}; | |
10835 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0}; | |
10836 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0}; | |
10837 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0}; | |
10838 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0}; | |
10839 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0}; | |
10840 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0}; | |
10841 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0}; | |
10842 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0}; | |
10843 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0}; | |
10844 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, 0}; | |
10845 | static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, 0}; | |
10846 | static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, 0}; | |
10847 | static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, 0}; | |
10848 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, 0}; | |
10849 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0}; | |
10850 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0}; | |
10851 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0}; | |
10852 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0}; | |
10853 | static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0}; | |
10854 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0}; | |
10855 | static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0}; | |
10856 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0}; | |
10857 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0}; | |
10858 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0}; | |
10859 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0}; | |
10860 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0}; | |
10861 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0}; | |
10862 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0}; | |
10863 | static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0}; | |
10864 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0}; | |
10865 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0}; | |
10866 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0}; | |
10867 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0}; | |
10868 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0}; | |
10869 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0}; | |
10870 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0}; | |
10871 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0}; | |
10872 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0}; | |
10873 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0}; | |
10874 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0}; | |
10875 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0}; | |
10876 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0}; | |
10877 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0}; | |
10878 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0}; | |
10879 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0}; | |
10880 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0}; | |
10881 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0}; | |
7449af73 RD |
10882 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0}; |
10883 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0}; | |
10884 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0}; | |
7e08d4ef RD |
10885 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0}; |
10886 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0}; | |
10887 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0}; | |
10888 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0}; | |
7449af73 RD |
10889 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0}; |
10890 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0}; | |
10891 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0}; | |
10892 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0}; | |
10893 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0}; | |
10894 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0}; | |
10895 | static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0}; | |
10896 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, 0}; | |
10897 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, 0}; | |
10898 | static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, 0}; | |
10899 | static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, 0}; | |
10900 | static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, 0}; | |
10901 | static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, 0}; | |
10902 | static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, 0}; | |
10903 | static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, 0}; | |
10904 | static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, 0}; | |
10905 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, 0}; | |
10906 | static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, 0}; | |
10907 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, 0}; | |
10908 | static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, 0}; | |
10909 | static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, 0}; | |
10910 | static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, 0}; | |
10911 | static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, 0}; | |
10912 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, 0}; | |
10913 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, 0}; | |
10914 | static swig_type_info _swigt__ptrdiff_t = {"_ptrdiff_t", "ptrdiff_t", 0, 0, 0}; | |
10915 | static swig_type_info _swigt__std__ptrdiff_t = {"_std__ptrdiff_t", "std::ptrdiff_t", 0, 0, 0}; | |
10916 | static swig_type_info _swigt__unsigned_int = {"_unsigned_int", "unsigned int|std::size_t", 0, 0, 0}; | |
10917 | ||
10918 | static swig_type_info *swig_type_initial[] = { | |
10919 | &_swigt__p_char, | |
10920 | &_swigt__p_float, | |
10921 | &_swigt__p_form_ops_t, | |
10922 | &_swigt__p_int, | |
10923 | &_swigt__p_unsigned_char, | |
10924 | &_swigt__p_unsigned_int, | |
10925 | &_swigt__p_unsigned_long, | |
10926 | &_swigt__p_wxANIHandler, | |
10927 | &_swigt__p_wxAcceleratorTable, | |
10928 | &_swigt__p_wxActivateEvent, | |
10929 | &_swigt__p_wxArrayString, | |
10930 | &_swigt__p_wxBMPHandler, | |
10931 | &_swigt__p_wxBitmap, | |
10932 | &_swigt__p_wxBitmapButton, | |
10933 | &_swigt__p_wxBookCtrlBase, | |
10934 | &_swigt__p_wxBookCtrlBaseEvent, | |
10935 | &_swigt__p_wxBoxSizer, | |
10936 | &_swigt__p_wxButton, | |
10937 | &_swigt__p_wxCURHandler, | |
10938 | &_swigt__p_wxCalculateLayoutEvent, | |
10939 | &_swigt__p_wxCheckBox, | |
10940 | &_swigt__p_wxCheckListBox, | |
10941 | &_swigt__p_wxChildFocusEvent, | |
10942 | &_swigt__p_wxChoice, | |
10943 | &_swigt__p_wxChoicebook, | |
10944 | &_swigt__p_wxChoicebookEvent, | |
10945 | &_swigt__p_wxCloseEvent, | |
10946 | &_swigt__p_wxColour, | |
10947 | &_swigt__p_wxColourData, | |
10948 | &_swigt__p_wxColourDialog, | |
10949 | &_swigt__p_wxComboBox, | |
10950 | &_swigt__p_wxCommandEvent, | |
10951 | &_swigt__p_wxContextHelp, | |
10952 | &_swigt__p_wxContextHelpButton, | |
10953 | &_swigt__p_wxContextMenuEvent, | |
10954 | &_swigt__p_wxControl, | |
10955 | &_swigt__p_wxControlWithItems, | |
10956 | &_swigt__p_wxDateEvent, | |
10957 | &_swigt__p_wxDatePickerCtrl, | |
10958 | &_swigt__p_wxDialog, | |
10959 | &_swigt__p_wxDirDialog, | |
10960 | &_swigt__p_wxDirFilterListCtrl, | |
10961 | &_swigt__p_wxDisplayChangedEvent, | |
10962 | &_swigt__p_wxDropFilesEvent, | |
10963 | &_swigt__p_wxDuplexMode, | |
10964 | &_swigt__p_wxDynamicSashSplitEvent, | |
10965 | &_swigt__p_wxDynamicSashUnifyEvent, | |
10966 | &_swigt__p_wxDynamicSashWindow, | |
10967 | &_swigt__p_wxEditableListBox, | |
10968 | &_swigt__p_wxEraseEvent, | |
10969 | &_swigt__p_wxEvent, | |
10970 | &_swigt__p_wxEvtHandler, | |
10971 | &_swigt__p_wxFSFile, | |
10972 | &_swigt__p_wxFileDialog, | |
10973 | &_swigt__p_wxFileSystem, | |
10974 | &_swigt__p_wxFindDialogEvent, | |
10975 | &_swigt__p_wxFindReplaceData, | |
10976 | &_swigt__p_wxFindReplaceDialog, | |
10977 | &_swigt__p_wxFlexGridSizer, | |
10978 | &_swigt__p_wxFocusEvent, | |
10979 | &_swigt__p_wxFont, | |
10980 | &_swigt__p_wxFontData, | |
10981 | &_swigt__p_wxFontDialog, | |
10982 | &_swigt__p_wxFrame, | |
10983 | &_swigt__p_wxGBSizerItem, | |
10984 | &_swigt__p_wxGIFHandler, | |
10985 | &_swigt__p_wxGauge, | |
10986 | &_swigt__p_wxGenericDirCtrl, | |
10987 | &_swigt__p_wxGenericDragImage, | |
10988 | &_swigt__p_wxGridBagSizer, | |
10989 | &_swigt__p_wxGridSizer, | |
10990 | &_swigt__p_wxHelpEvent, | |
10991 | &_swigt__p_wxICOHandler, | |
10992 | &_swigt__p_wxIcon, | |
10993 | &_swigt__p_wxIconizeEvent, | |
10994 | &_swigt__p_wxIdleEvent, | |
10995 | &_swigt__p_wxImage, | |
10996 | &_swigt__p_wxImageHandler, | |
10997 | &_swigt__p_wxImageList, | |
10998 | &_swigt__p_wxIndividualLayoutConstraint, | |
10999 | &_swigt__p_wxInitDialogEvent, | |
11000 | &_swigt__p_wxJPEGHandler, | |
11001 | &_swigt__p_wxKeyEvent, | |
11002 | &_swigt__p_wxLEDNumberCtrl, | |
11003 | &_swigt__p_wxLayoutAlgorithm, | |
11004 | &_swigt__p_wxLayoutConstraints, | |
11005 | &_swigt__p_wxListBox, | |
11006 | &_swigt__p_wxListEvent, | |
11007 | &_swigt__p_wxListItem, | |
11008 | &_swigt__p_wxListView, | |
11009 | &_swigt__p_wxListbook, | |
11010 | &_swigt__p_wxListbookEvent, | |
11011 | &_swigt__p_wxMDIChildFrame, | |
11012 | &_swigt__p_wxMDIClientWindow, | |
11013 | &_swigt__p_wxMDIParentFrame, | |
11014 | &_swigt__p_wxMaximizeEvent, | |
11015 | &_swigt__p_wxMenu, | |
11016 | &_swigt__p_wxMenuBar, | |
11017 | &_swigt__p_wxMenuEvent, | |
11018 | &_swigt__p_wxMenuItem, | |
11019 | &_swigt__p_wxMessageDialog, | |
11020 | &_swigt__p_wxMiniFrame, | |
11021 | &_swigt__p_wxMouseCaptureChangedEvent, | |
11022 | &_swigt__p_wxMouseEvent, | |
11023 | &_swigt__p_wxMoveEvent, | |
11024 | &_swigt__p_wxMultiChoiceDialog, | |
11025 | &_swigt__p_wxNavigationKeyEvent, | |
11026 | &_swigt__p_wxNcPaintEvent, | |
11027 | &_swigt__p_wxNotebook, | |
11028 | &_swigt__p_wxNotebookEvent, | |
11029 | &_swigt__p_wxNotifyEvent, | |
11030 | &_swigt__p_wxObject, | |
11031 | &_swigt__p_wxPCXHandler, | |
11032 | &_swigt__p_wxPNGHandler, | |
11033 | &_swigt__p_wxPNMHandler, | |
11034 | &_swigt__p_wxPageSetupDialog, | |
11035 | &_swigt__p_wxPageSetupDialogData, | |
11036 | &_swigt__p_wxPaintEvent, | |
11037 | &_swigt__p_wxPaletteChangedEvent, | |
11038 | &_swigt__p_wxPanel, | |
11039 | &_swigt__p_wxPaperSize, | |
11040 | &_swigt__p_wxPasswordEntryDialog, | |
11041 | &_swigt__p_wxPopupWindow, | |
11042 | &_swigt__p_wxPreviewCanvas, | |
11043 | &_swigt__p_wxPreviewControlBar, | |
11044 | &_swigt__p_wxPreviewFrame, | |
11045 | &_swigt__p_wxPrintData, | |
11046 | &_swigt__p_wxPrintDialog, | |
11047 | &_swigt__p_wxPrintDialogData, | |
11048 | &_swigt__p_wxPrintPreview, | |
11049 | &_swigt__p_wxPrinter, | |
11050 | &_swigt__p_wxProgressDialog, | |
11051 | &_swigt__p_wxPyApp, | |
11052 | &_swigt__p_wxPyCommandEvent, | |
11053 | &_swigt__p_wxPyControl, | |
11054 | &_swigt__p_wxPyEvent, | |
11055 | &_swigt__p_wxPyHtmlListBox, | |
11056 | &_swigt__p_wxPyImageHandler, | |
11057 | &_swigt__p_wxPyListCtrl, | |
11058 | &_swigt__p_wxPyPanel, | |
11059 | &_swigt__p_wxPyPopupTransientWindow, | |
11060 | &_swigt__p_wxPyPreviewControlBar, | |
11061 | &_swigt__p_wxPyPreviewFrame, | |
11062 | &_swigt__p_wxPyPrintPreview, | |
11063 | &_swigt__p_wxPyPrintout, | |
11064 | &_swigt__p_wxPyScrolledWindow, | |
11065 | &_swigt__p_wxPySizer, | |
11066 | &_swigt__p_wxPyTaskBarIcon, | |
11067 | &_swigt__p_wxPyTreeCompanionWindow, | |
11068 | &_swigt__p_wxPyTreeCtrl, | |
11069 | &_swigt__p_wxPyTreeItemData, | |
11070 | &_swigt__p_wxPyTreeListCtrl, | |
11071 | &_swigt__p_wxPyVListBox, | |
11072 | &_swigt__p_wxPyVScrolledWindow, | |
11073 | &_swigt__p_wxPyValidator, | |
11074 | &_swigt__p_wxPyWindow, | |
11075 | &_swigt__p_wxQueryLayoutInfoEvent, | |
11076 | &_swigt__p_wxQueryNewPaletteEvent, | |
11077 | &_swigt__p_wxRadioBox, | |
11078 | &_swigt__p_wxRadioButton, | |
11079 | &_swigt__p_wxRemotelyScrolledTreeCtrl, | |
11080 | &_swigt__p_wxSashEvent, | |
11081 | &_swigt__p_wxSashLayoutWindow, | |
11082 | &_swigt__p_wxSashWindow, | |
11083 | &_swigt__p_wxScrollBar, | |
11084 | &_swigt__p_wxScrollEvent, | |
11085 | &_swigt__p_wxScrollWinEvent, | |
11086 | &_swigt__p_wxScrolledWindow, | |
11087 | &_swigt__p_wxSetCursorEvent, | |
11088 | &_swigt__p_wxShowEvent, | |
11089 | &_swigt__p_wxSingleChoiceDialog, | |
11090 | &_swigt__p_wxSizeEvent, | |
11091 | &_swigt__p_wxSizer, | |
11092 | &_swigt__p_wxSizerItem, | |
11093 | &_swigt__p_wxSlider, | |
11094 | &_swigt__p_wxSpinButton, | |
11095 | &_swigt__p_wxSpinCtrl, | |
11096 | &_swigt__p_wxSpinEvent, | |
11097 | &_swigt__p_wxSplashScreen, | |
11098 | &_swigt__p_wxSplashScreenWindow, | |
11099 | &_swigt__p_wxSplitterEvent, | |
11100 | &_swigt__p_wxSplitterScrolledWindow, | |
11101 | &_swigt__p_wxSplitterWindow, | |
11102 | &_swigt__p_wxStaticBitmap, | |
11103 | &_swigt__p_wxStaticBox, | |
11104 | &_swigt__p_wxStaticBoxSizer, | |
11105 | &_swigt__p_wxStaticLine, | |
11106 | &_swigt__p_wxStaticPicture, | |
11107 | &_swigt__p_wxStaticText, | |
11108 | &_swigt__p_wxStatusBar, | |
11109 | &_swigt__p_wxStdDialogButtonSizer, | |
11110 | &_swigt__p_wxSysColourChangedEvent, | |
11111 | &_swigt__p_wxTIFFHandler, | |
11112 | &_swigt__p_wxTaskBarIconEvent, | |
11113 | &_swigt__p_wxTextCtrl, | |
11114 | &_swigt__p_wxTextEntryDialog, | |
11115 | &_swigt__p_wxTextUrlEvent, | |
11116 | &_swigt__p_wxThinSplitterWindow, | |
11117 | &_swigt__p_wxTipWindow, | |
11118 | &_swigt__p_wxToggleButton, | |
11119 | &_swigt__p_wxToolBar, | |
11120 | &_swigt__p_wxToolBarBase, | |
11121 | &_swigt__p_wxToolBarToolBase, | |
7e08d4ef RD |
11122 | &_swigt__p_wxToolbook, |
11123 | &_swigt__p_wxToolbookEvent, | |
7449af73 RD |
11124 | &_swigt__p_wxTopLevelWindow, |
11125 | &_swigt__p_wxTreeEvent, | |
11126 | &_swigt__p_wxTreeItemId, | |
11127 | &_swigt__p_wxTreeListColumnInfo, | |
7e08d4ef RD |
11128 | &_swigt__p_wxTreebook, |
11129 | &_swigt__p_wxTreebookEvent, | |
7449af73 RD |
11130 | &_swigt__p_wxUpdateUIEvent, |
11131 | &_swigt__p_wxValidator, | |
11132 | &_swigt__p_wxWindow, | |
11133 | &_swigt__p_wxWindowCreateEvent, | |
11134 | &_swigt__p_wxWindowDestroyEvent, | |
11135 | &_swigt__p_wxXPMHandler, | |
11136 | &_swigt__ptrdiff_t, | |
11137 | &_swigt__std__ptrdiff_t, | |
11138 | &_swigt__unsigned_int, | |
11139 | }; | |
11140 | ||
11141 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
11142 | static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}}; | |
11143 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; | |
11144 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
11145 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; | |
11146 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
11147 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
11148 | static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; | |
11149 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
11150 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
11151 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11152 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11153 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11154 | static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11155 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11156 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11157 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11158 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11159 | static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11160 | static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11161 | static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
7e08d4ef RD |
11162 | static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}}; |
11163 | static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
7449af73 RD |
11164 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; |
11165 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11166 | static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11167 | static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11168 | static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11169 | static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11170 | static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11171 | static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11172 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11173 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
7e08d4ef | 11174 | static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
11175 | static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}}; |
11176 | static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}}; | |
11177 | static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}}; | |
11178 | static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}}; | |
7e08d4ef | 11179 | static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
11180 | static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}}; |
11181 | static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}}; | |
11182 | static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
11183 | static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}}; | |
11184 | static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
11185 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
11186 | static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}}; | |
11187 | static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}}; | |
11188 | static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}}; | |
11189 | static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}}; | |
11190 | static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}}; | |
11191 | static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}}; | |
11192 | static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}}; | |
11193 | static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
11194 | static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
11195 | static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}}; | |
11196 | static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}}; | |
11197 | static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
11198 | static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
11199 | static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}}; | |
11200 | static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}}; | |
11201 | static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}}; | |
7e08d4ef | 11202 | static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
11203 | static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}}; |
11204 | static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}}; | |
11205 | static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}}; | |
7e08d4ef | 11206 | static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
11207 | static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
11208 | static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
7e08d4ef | 11209 | static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
11210 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; |
11211 | static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11212 | static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11213 | static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
11214 | static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
11215 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11216 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11217 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11218 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11219 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11220 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11221 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11222 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11223 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11224 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11225 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11226 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11227 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11228 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11229 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11230 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11231 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11232 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11233 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11234 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11235 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11236 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11237 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11238 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11239 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11240 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11241 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11242 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
11243 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
7e08d4ef | 11244 | static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
11245 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; |
11246 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
11247 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
11248 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
11249 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
11250 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
11251 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
11252 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
11253 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; | |
7449af73 RD |
11254 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; |
11255 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
11256 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
7e08d4ef RD |
11257 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; |
11258 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
7449af73 RD |
11259 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
11260 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
11261 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
11262 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
11263 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
11264 | static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
11265 | static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
11266 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
11267 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
7449af73 RD |
11268 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; |
11269 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
11270 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
11271 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
11272 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
7e08d4ef | 11273 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
11274 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; |
11275 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
11276 | static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
11277 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
11278 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; | |
11279 | static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
11280 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
11281 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
11282 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
11283 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
11284 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
11285 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
11286 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
7e08d4ef | 11287 | static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
11288 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; |
11289 | static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
11290 | static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}}; | |
11291 | static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
11292 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
11293 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
11294 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
11295 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
11296 | static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}}; | |
11297 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
11298 | static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}}; | |
11299 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
11300 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
11301 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
11302 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
11303 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
11304 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
11305 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; | |
11306 | static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}}; | |
11307 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
11308 | static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
11309 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
11310 | static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
11311 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
11312 | static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
11313 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
11314 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
11315 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; | |
11316 | static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
11317 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
11318 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
11319 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
11320 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
11321 | static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
11322 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; | |
11323 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
11324 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
7449af73 RD |
11325 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; |
11326 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
11327 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
7e08d4ef RD |
11328 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; |
11329 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
11330 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
11331 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
7449af73 RD |
11332 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; |
11333 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
11334 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
11335 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
11336 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
11337 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
11338 | static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}}; | |
7e08d4ef | 11339 | static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeListColumnInfo, _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
11340 | static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}}; |
11341 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; | |
11342 | static swig_cast_info _swigc__p_wxPyListCtrl[] = { {&_swigt__p_wxPyListCtrl, 0, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxPyListCtrl, 0, 0},{0, 0, 0, 0}}; | |
11343 | static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
11344 | static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl, 0, 0},{0, 0, 0, 0}}; | |
11345 | static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}}; | |
11346 | static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
11347 | static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
11348 | static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}}; | |
11349 | static swig_cast_info _swigc__p_wxScrolledWindow[] = { {&_swigt__p_wxScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}}; | |
11350 | static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
11351 | static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxSplitterWindow, 0, 0},{0, 0, 0, 0}}; | |
11352 | static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}}; | |
11353 | static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
11354 | static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}}; | |
11355 | static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
11356 | static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}}; | |
7e08d4ef | 11357 | static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}}; |
7449af73 RD |
11358 | static swig_cast_info _swigc__ptrdiff_t[] = { {&_swigt__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; |
11359 | static swig_cast_info _swigc__std__ptrdiff_t[] = { {&_swigt__std__ptrdiff_t, 0, 0, 0},{0, 0, 0, 0}}; | |
11360 | static swig_cast_info _swigc__unsigned_int[] = { {&_swigt__unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
11361 | ||
11362 | static swig_cast_info *swig_cast_initial[] = { | |
11363 | _swigc__p_char, | |
11364 | _swigc__p_float, | |
11365 | _swigc__p_form_ops_t, | |
11366 | _swigc__p_int, | |
11367 | _swigc__p_unsigned_char, | |
11368 | _swigc__p_unsigned_int, | |
11369 | _swigc__p_unsigned_long, | |
11370 | _swigc__p_wxANIHandler, | |
11371 | _swigc__p_wxAcceleratorTable, | |
11372 | _swigc__p_wxActivateEvent, | |
11373 | _swigc__p_wxArrayString, | |
11374 | _swigc__p_wxBMPHandler, | |
11375 | _swigc__p_wxBitmap, | |
11376 | _swigc__p_wxBitmapButton, | |
11377 | _swigc__p_wxBookCtrlBase, | |
11378 | _swigc__p_wxBookCtrlBaseEvent, | |
11379 | _swigc__p_wxBoxSizer, | |
11380 | _swigc__p_wxButton, | |
11381 | _swigc__p_wxCURHandler, | |
11382 | _swigc__p_wxCalculateLayoutEvent, | |
11383 | _swigc__p_wxCheckBox, | |
11384 | _swigc__p_wxCheckListBox, | |
11385 | _swigc__p_wxChildFocusEvent, | |
11386 | _swigc__p_wxChoice, | |
11387 | _swigc__p_wxChoicebook, | |
11388 | _swigc__p_wxChoicebookEvent, | |
11389 | _swigc__p_wxCloseEvent, | |
11390 | _swigc__p_wxColour, | |
11391 | _swigc__p_wxColourData, | |
11392 | _swigc__p_wxColourDialog, | |
11393 | _swigc__p_wxComboBox, | |
11394 | _swigc__p_wxCommandEvent, | |
11395 | _swigc__p_wxContextHelp, | |
11396 | _swigc__p_wxContextHelpButton, | |
11397 | _swigc__p_wxContextMenuEvent, | |
11398 | _swigc__p_wxControl, | |
11399 | _swigc__p_wxControlWithItems, | |
11400 | _swigc__p_wxDateEvent, | |
11401 | _swigc__p_wxDatePickerCtrl, | |
11402 | _swigc__p_wxDialog, | |
11403 | _swigc__p_wxDirDialog, | |
11404 | _swigc__p_wxDirFilterListCtrl, | |
11405 | _swigc__p_wxDisplayChangedEvent, | |
11406 | _swigc__p_wxDropFilesEvent, | |
11407 | _swigc__p_wxDuplexMode, | |
11408 | _swigc__p_wxDynamicSashSplitEvent, | |
11409 | _swigc__p_wxDynamicSashUnifyEvent, | |
11410 | _swigc__p_wxDynamicSashWindow, | |
11411 | _swigc__p_wxEditableListBox, | |
11412 | _swigc__p_wxEraseEvent, | |
11413 | _swigc__p_wxEvent, | |
11414 | _swigc__p_wxEvtHandler, | |
11415 | _swigc__p_wxFSFile, | |
11416 | _swigc__p_wxFileDialog, | |
11417 | _swigc__p_wxFileSystem, | |
11418 | _swigc__p_wxFindDialogEvent, | |
11419 | _swigc__p_wxFindReplaceData, | |
11420 | _swigc__p_wxFindReplaceDialog, | |
11421 | _swigc__p_wxFlexGridSizer, | |
11422 | _swigc__p_wxFocusEvent, | |
11423 | _swigc__p_wxFont, | |
11424 | _swigc__p_wxFontData, | |
11425 | _swigc__p_wxFontDialog, | |
11426 | _swigc__p_wxFrame, | |
11427 | _swigc__p_wxGBSizerItem, | |
11428 | _swigc__p_wxGIFHandler, | |
11429 | _swigc__p_wxGauge, | |
11430 | _swigc__p_wxGenericDirCtrl, | |
11431 | _swigc__p_wxGenericDragImage, | |
11432 | _swigc__p_wxGridBagSizer, | |
11433 | _swigc__p_wxGridSizer, | |
11434 | _swigc__p_wxHelpEvent, | |
11435 | _swigc__p_wxICOHandler, | |
11436 | _swigc__p_wxIcon, | |
11437 | _swigc__p_wxIconizeEvent, | |
11438 | _swigc__p_wxIdleEvent, | |
11439 | _swigc__p_wxImage, | |
11440 | _swigc__p_wxImageHandler, | |
11441 | _swigc__p_wxImageList, | |
11442 | _swigc__p_wxIndividualLayoutConstraint, | |
11443 | _swigc__p_wxInitDialogEvent, | |
11444 | _swigc__p_wxJPEGHandler, | |
11445 | _swigc__p_wxKeyEvent, | |
11446 | _swigc__p_wxLEDNumberCtrl, | |
11447 | _swigc__p_wxLayoutAlgorithm, | |
11448 | _swigc__p_wxLayoutConstraints, | |
11449 | _swigc__p_wxListBox, | |
11450 | _swigc__p_wxListEvent, | |
11451 | _swigc__p_wxListItem, | |
11452 | _swigc__p_wxListView, | |
11453 | _swigc__p_wxListbook, | |
11454 | _swigc__p_wxListbookEvent, | |
11455 | _swigc__p_wxMDIChildFrame, | |
11456 | _swigc__p_wxMDIClientWindow, | |
11457 | _swigc__p_wxMDIParentFrame, | |
11458 | _swigc__p_wxMaximizeEvent, | |
11459 | _swigc__p_wxMenu, | |
11460 | _swigc__p_wxMenuBar, | |
11461 | _swigc__p_wxMenuEvent, | |
11462 | _swigc__p_wxMenuItem, | |
11463 | _swigc__p_wxMessageDialog, | |
11464 | _swigc__p_wxMiniFrame, | |
11465 | _swigc__p_wxMouseCaptureChangedEvent, | |
11466 | _swigc__p_wxMouseEvent, | |
11467 | _swigc__p_wxMoveEvent, | |
11468 | _swigc__p_wxMultiChoiceDialog, | |
11469 | _swigc__p_wxNavigationKeyEvent, | |
11470 | _swigc__p_wxNcPaintEvent, | |
11471 | _swigc__p_wxNotebook, | |
11472 | _swigc__p_wxNotebookEvent, | |
11473 | _swigc__p_wxNotifyEvent, | |
11474 | _swigc__p_wxObject, | |
11475 | _swigc__p_wxPCXHandler, | |
11476 | _swigc__p_wxPNGHandler, | |
11477 | _swigc__p_wxPNMHandler, | |
11478 | _swigc__p_wxPageSetupDialog, | |
11479 | _swigc__p_wxPageSetupDialogData, | |
11480 | _swigc__p_wxPaintEvent, | |
11481 | _swigc__p_wxPaletteChangedEvent, | |
11482 | _swigc__p_wxPanel, | |
11483 | _swigc__p_wxPaperSize, | |
11484 | _swigc__p_wxPasswordEntryDialog, | |
11485 | _swigc__p_wxPopupWindow, | |
11486 | _swigc__p_wxPreviewCanvas, | |
11487 | _swigc__p_wxPreviewControlBar, | |
11488 | _swigc__p_wxPreviewFrame, | |
11489 | _swigc__p_wxPrintData, | |
11490 | _swigc__p_wxPrintDialog, | |
11491 | _swigc__p_wxPrintDialogData, | |
11492 | _swigc__p_wxPrintPreview, | |
11493 | _swigc__p_wxPrinter, | |
11494 | _swigc__p_wxProgressDialog, | |
11495 | _swigc__p_wxPyApp, | |
11496 | _swigc__p_wxPyCommandEvent, | |
11497 | _swigc__p_wxPyControl, | |
11498 | _swigc__p_wxPyEvent, | |
11499 | _swigc__p_wxPyHtmlListBox, | |
11500 | _swigc__p_wxPyImageHandler, | |
11501 | _swigc__p_wxPyListCtrl, | |
11502 | _swigc__p_wxPyPanel, | |
11503 | _swigc__p_wxPyPopupTransientWindow, | |
11504 | _swigc__p_wxPyPreviewControlBar, | |
11505 | _swigc__p_wxPyPreviewFrame, | |
11506 | _swigc__p_wxPyPrintPreview, | |
11507 | _swigc__p_wxPyPrintout, | |
11508 | _swigc__p_wxPyScrolledWindow, | |
11509 | _swigc__p_wxPySizer, | |
11510 | _swigc__p_wxPyTaskBarIcon, | |
11511 | _swigc__p_wxPyTreeCompanionWindow, | |
11512 | _swigc__p_wxPyTreeCtrl, | |
11513 | _swigc__p_wxPyTreeItemData, | |
11514 | _swigc__p_wxPyTreeListCtrl, | |
11515 | _swigc__p_wxPyVListBox, | |
11516 | _swigc__p_wxPyVScrolledWindow, | |
11517 | _swigc__p_wxPyValidator, | |
11518 | _swigc__p_wxPyWindow, | |
11519 | _swigc__p_wxQueryLayoutInfoEvent, | |
11520 | _swigc__p_wxQueryNewPaletteEvent, | |
11521 | _swigc__p_wxRadioBox, | |
11522 | _swigc__p_wxRadioButton, | |
11523 | _swigc__p_wxRemotelyScrolledTreeCtrl, | |
11524 | _swigc__p_wxSashEvent, | |
11525 | _swigc__p_wxSashLayoutWindow, | |
11526 | _swigc__p_wxSashWindow, | |
11527 | _swigc__p_wxScrollBar, | |
11528 | _swigc__p_wxScrollEvent, | |
11529 | _swigc__p_wxScrollWinEvent, | |
11530 | _swigc__p_wxScrolledWindow, | |
11531 | _swigc__p_wxSetCursorEvent, | |
11532 | _swigc__p_wxShowEvent, | |
11533 | _swigc__p_wxSingleChoiceDialog, | |
11534 | _swigc__p_wxSizeEvent, | |
11535 | _swigc__p_wxSizer, | |
11536 | _swigc__p_wxSizerItem, | |
11537 | _swigc__p_wxSlider, | |
11538 | _swigc__p_wxSpinButton, | |
11539 | _swigc__p_wxSpinCtrl, | |
11540 | _swigc__p_wxSpinEvent, | |
11541 | _swigc__p_wxSplashScreen, | |
11542 | _swigc__p_wxSplashScreenWindow, | |
11543 | _swigc__p_wxSplitterEvent, | |
11544 | _swigc__p_wxSplitterScrolledWindow, | |
11545 | _swigc__p_wxSplitterWindow, | |
11546 | _swigc__p_wxStaticBitmap, | |
11547 | _swigc__p_wxStaticBox, | |
11548 | _swigc__p_wxStaticBoxSizer, | |
11549 | _swigc__p_wxStaticLine, | |
11550 | _swigc__p_wxStaticPicture, | |
11551 | _swigc__p_wxStaticText, | |
11552 | _swigc__p_wxStatusBar, | |
11553 | _swigc__p_wxStdDialogButtonSizer, | |
11554 | _swigc__p_wxSysColourChangedEvent, | |
11555 | _swigc__p_wxTIFFHandler, | |
11556 | _swigc__p_wxTaskBarIconEvent, | |
11557 | _swigc__p_wxTextCtrl, | |
11558 | _swigc__p_wxTextEntryDialog, | |
11559 | _swigc__p_wxTextUrlEvent, | |
11560 | _swigc__p_wxThinSplitterWindow, | |
11561 | _swigc__p_wxTipWindow, | |
11562 | _swigc__p_wxToggleButton, | |
11563 | _swigc__p_wxToolBar, | |
11564 | _swigc__p_wxToolBarBase, | |
11565 | _swigc__p_wxToolBarToolBase, | |
7e08d4ef RD |
11566 | _swigc__p_wxToolbook, |
11567 | _swigc__p_wxToolbookEvent, | |
7449af73 RD |
11568 | _swigc__p_wxTopLevelWindow, |
11569 | _swigc__p_wxTreeEvent, | |
11570 | _swigc__p_wxTreeItemId, | |
11571 | _swigc__p_wxTreeListColumnInfo, | |
7e08d4ef RD |
11572 | _swigc__p_wxTreebook, |
11573 | _swigc__p_wxTreebookEvent, | |
7449af73 RD |
11574 | _swigc__p_wxUpdateUIEvent, |
11575 | _swigc__p_wxValidator, | |
11576 | _swigc__p_wxWindow, | |
11577 | _swigc__p_wxWindowCreateEvent, | |
11578 | _swigc__p_wxWindowDestroyEvent, | |
11579 | _swigc__p_wxXPMHandler, | |
11580 | _swigc__ptrdiff_t, | |
11581 | _swigc__std__ptrdiff_t, | |
11582 | _swigc__unsigned_int, | |
44127b65 RD |
11583 | }; |
11584 | ||
11585 | ||
11586 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
11587 | ||
11588 | static swig_const_info swig_const_table[] = { | |
c32bde28 | 11589 | {0, 0, 0, 0.0, 0, 0}}; |
44127b65 RD |
11590 | |
11591 | #ifdef __cplusplus | |
11592 | } | |
11593 | #endif | |
7449af73 RD |
11594 | /************************************************************************* |
11595 | * Type initialization: | |
11596 | * This problem is tough by the requirement that no dynamic | |
11597 | * memory is used. Also, since swig_type_info structures store pointers to | |
11598 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
11599 | * to swig_type_info structures, we need some lookup code at initialization. | |
11600 | * The idea is that swig generates all the structures that are needed. | |
11601 | * The runtime then collects these partially filled structures. | |
11602 | * The SWIG_InitializeModule function takes these initial arrays out of | |
11603 | * swig_module, and does all the lookup, filling in the swig_module.types | |
11604 | * array with the correct data and linking the correct swig_cast_info | |
11605 | * structures together. | |
11606 | ||
11607 | * The generated swig_type_info structures are assigned staticly to an initial | |
11608 | * array. We just loop though that array, and handle each type individually. | |
11609 | * First we lookup if this type has been already loaded, and if so, use the | |
11610 | * loaded structure instead of the generated one. Then we have to fill in the | |
11611 | * cast linked list. The cast data is initially stored in something like a | |
11612 | * two-dimensional array. Each row corresponds to a type (there are the same | |
11613 | * number of rows as there are in the swig_type_initial array). Each entry in | |
11614 | * a column is one of the swig_cast_info structures for that type. | |
11615 | * The cast_initial array is actually an array of arrays, because each row has | |
11616 | * a variable number of columns. So to actually build the cast linked list, | |
11617 | * we find the array of casts associated with the type, and loop through it | |
11618 | * adding the casts to the list. The one last trick we need to do is making | |
11619 | * sure the type pointer in the swig_cast_info struct is correct. | |
11620 | ||
11621 | * First off, we lookup the cast->type name to see if it is already loaded. | |
11622 | * There are three cases to handle: | |
11623 | * 1) If the cast->type has already been loaded AND the type we are adding | |
11624 | * casting info to has not been loaded (it is in this module), THEN we | |
11625 | * replace the cast->type pointer with the type pointer that has already | |
11626 | * been loaded. | |
11627 | * 2) If BOTH types (the one we are adding casting info to, and the | |
11628 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
11629 | * the previous module so we just ignore it. | |
11630 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
11631 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
11632 | * be correct. | |
11633 | **/ | |
11634 | ||
11635 | #ifdef __cplusplus | |
11636 | extern "C" { | |
11637 | #if 0 | |
11638 | } /* c-mode */ | |
11639 | #endif | |
11640 | #endif | |
11641 | ||
11642 | #if 0 | |
11643 | #define SWIGRUNTIME_DEBUG | |
11644 | #endif | |
11645 | ||
11646 | SWIGRUNTIME void | |
11647 | SWIG_InitializeModule(void *clientdata) { | |
11648 | size_t i; | |
11649 | swig_module_info *module_head; | |
11650 | static int init_run = 0; | |
11651 | ||
11652 | clientdata = clientdata; | |
11653 | ||
11654 | if (init_run) return; | |
11655 | init_run = 1; | |
11656 | ||
11657 | /* Initialize the swig_module */ | |
11658 | swig_module.type_initial = swig_type_initial; | |
11659 | swig_module.cast_initial = swig_cast_initial; | |
11660 | ||
11661 | /* Try and load any already created modules */ | |
11662 | module_head = SWIG_GetModule(clientdata); | |
11663 | if (module_head) { | |
11664 | swig_module.next = module_head->next; | |
11665 | module_head->next = &swig_module; | |
11666 | } else { | |
11667 | /* This is the first module loaded */ | |
11668 | swig_module.next = &swig_module; | |
11669 | SWIG_SetModule(clientdata, &swig_module); | |
11670 | } | |
11671 | ||
11672 | /* Now work on filling in swig_module.types */ | |
11673 | #ifdef SWIGRUNTIME_DEBUG | |
11674 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); | |
11675 | #endif | |
11676 | for (i = 0; i < swig_module.size; ++i) { | |
11677 | swig_type_info *type = 0; | |
11678 | swig_type_info *ret; | |
11679 | swig_cast_info *cast; | |
11680 | ||
11681 | #ifdef SWIGRUNTIME_DEBUG | |
11682 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
11683 | #endif | |
11684 | ||
11685 | /* if there is another module already loaded */ | |
11686 | if (swig_module.next != &swig_module) { | |
11687 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
11688 | } | |
11689 | if (type) { | |
11690 | /* Overwrite clientdata field */ | |
11691 | #ifdef SWIGRUNTIME_DEBUG | |
11692 | printf("SWIG_InitializeModule: found type %s\n", type->name); | |
11693 | #endif | |
11694 | if (swig_module.type_initial[i]->clientdata) { | |
11695 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
11696 | #ifdef SWIGRUNTIME_DEBUG | |
11697 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); | |
11698 | #endif | |
11699 | } | |
11700 | } else { | |
11701 | type = swig_module.type_initial[i]; | |
11702 | } | |
11703 | ||
11704 | /* Insert casting types */ | |
11705 | cast = swig_module.cast_initial[i]; | |
11706 | while (cast->type) { | |
11707 | /* Don't need to add information already in the list */ | |
11708 | ret = 0; | |
11709 | #ifdef SWIGRUNTIME_DEBUG | |
11710 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); | |
11711 | #endif | |
11712 | if (swig_module.next != &swig_module) { | |
11713 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
11714 | #ifdef SWIGRUNTIME_DEBUG | |
11715 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); | |
11716 | #endif | |
11717 | } | |
11718 | if (ret) { | |
11719 | if (type == swig_module.type_initial[i]) { | |
11720 | #ifdef SWIGRUNTIME_DEBUG | |
11721 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); | |
11722 | #endif | |
11723 | cast->type = ret; | |
11724 | ret = 0; | |
11725 | } else { | |
11726 | /* Check for casting already in the list */ | |
11727 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
11728 | #ifdef SWIGRUNTIME_DEBUG | |
11729 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); | |
11730 | #endif | |
11731 | if (!ocast) ret = 0; | |
11732 | } | |
11733 | } | |
11734 | ||
11735 | if (!ret) { | |
11736 | #ifdef SWIGRUNTIME_DEBUG | |
11737 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); | |
11738 | #endif | |
11739 | if (type->cast) { | |
11740 | type->cast->prev = cast; | |
11741 | cast->next = type->cast; | |
11742 | } | |
11743 | type->cast = cast; | |
11744 | } | |
11745 | cast++; | |
11746 | } | |
11747 | /* Set entry in modules->types array equal to the type */ | |
11748 | swig_module.types[i] = type; | |
11749 | } | |
11750 | swig_module.types[i] = 0; | |
11751 | ||
11752 | #ifdef SWIGRUNTIME_DEBUG | |
11753 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
11754 | for (i = 0; i < swig_module.size; ++i) { | |
11755 | int j = 0; | |
11756 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
11757 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
11758 | while (cast->type) { | |
11759 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
11760 | cast++; | |
11761 | ++j; | |
11762 | } | |
11763 | printf("---- Total casts: %d\n",j); | |
11764 | } | |
11765 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
11766 | #endif | |
11767 | } | |
11768 | ||
11769 | /* This function will propagate the clientdata field of type to | |
11770 | * any new swig_type_info structures that have been added into the list | |
11771 | * of equivalent types. It is like calling | |
11772 | * SWIG_TypeClientData(type, clientdata) a second time. | |
11773 | */ | |
11774 | SWIGRUNTIME void | |
11775 | SWIG_PropagateClientData(void) { | |
11776 | size_t i; | |
11777 | swig_cast_info *equiv; | |
11778 | static int init_run = 0; | |
11779 | ||
11780 | if (init_run) return; | |
11781 | init_run = 1; | |
11782 | ||
11783 | for (i = 0; i < swig_module.size; i++) { | |
11784 | if (swig_module.types[i]->clientdata) { | |
11785 | equiv = swig_module.types[i]->cast; | |
11786 | while (equiv) { | |
11787 | if (!equiv->converter) { | |
11788 | if (equiv->type && !equiv->type->clientdata) | |
11789 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
11790 | } | |
11791 | equiv = equiv->next; | |
11792 | } | |
11793 | } | |
11794 | } | |
11795 | } | |
11796 | ||
11797 | #ifdef __cplusplus | |
11798 | #if 0 | |
11799 | { | |
11800 | /* c-mode */ | |
11801 | #endif | |
11802 | } | |
11803 | #endif | |
11804 | ||
44127b65 | 11805 | |
093d3ff1 RD |
11806 | |
11807 | #ifdef __cplusplus | |
11808 | extern "C" { | |
11809 | #endif | |
11810 | ||
11811 | /* Python-specific SWIG API */ | |
11812 | #define SWIG_newvarlink() SWIG_Python_newvarlink() | |
11813 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
11814 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
11815 | ||
11816 | /* ----------------------------------------------------------------------------- | |
11817 | * global variable support code. | |
11818 | * ----------------------------------------------------------------------------- */ | |
11819 | ||
11820 | typedef struct swig_globalvar { | |
11821 | char *name; /* Name of global variable */ | |
7449af73 | 11822 | PyObject *(*get_attr)(void); /* Return the current value */ |
093d3ff1 RD |
11823 | int (*set_attr)(PyObject *); /* Set the value */ |
11824 | struct swig_globalvar *next; | |
11825 | } swig_globalvar; | |
11826 | ||
11827 | typedef struct swig_varlinkobject { | |
11828 | PyObject_HEAD | |
11829 | swig_globalvar *vars; | |
11830 | } swig_varlinkobject; | |
11831 | ||
7449af73 | 11832 | SWIGINTERN PyObject * |
093d3ff1 RD |
11833 | swig_varlink_repr(swig_varlinkobject *v) { |
11834 | v = v; | |
11835 | return PyString_FromString("<Swig global variables>"); | |
11836 | } | |
11837 | ||
7449af73 | 11838 | SWIGINTERN int |
093d3ff1 RD |
11839 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) { |
11840 | swig_globalvar *var; | |
11841 | flags = flags; | |
11842 | fprintf(fp,"Swig global variables { "); | |
11843 | for (var = v->vars; var; var=var->next) { | |
11844 | fprintf(fp,"%s", var->name); | |
11845 | if (var->next) fprintf(fp,", "); | |
11846 | } | |
11847 | fprintf(fp," }\n"); | |
11848 | return 0; | |
11849 | } | |
11850 | ||
7449af73 | 11851 | SWIGINTERN PyObject * |
093d3ff1 RD |
11852 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { |
11853 | swig_globalvar *var = v->vars; | |
11854 | while (var) { | |
11855 | if (strcmp(var->name,n) == 0) { | |
11856 | return (*var->get_attr)(); | |
11857 | } | |
11858 | var = var->next; | |
11859 | } | |
11860 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
11861 | return NULL; | |
11862 | } | |
11863 | ||
7449af73 | 11864 | SWIGINTERN int |
093d3ff1 RD |
11865 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { |
11866 | swig_globalvar *var = v->vars; | |
11867 | while (var) { | |
11868 | if (strcmp(var->name,n) == 0) { | |
11869 | return (*var->set_attr)(p); | |
11870 | } | |
11871 | var = var->next; | |
11872 | } | |
11873 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
11874 | return 1; | |
11875 | } | |
11876 | ||
7449af73 RD |
11877 | SWIGINTERN PyTypeObject* |
11878 | swig_varlink_type(void) { | |
11879 | static char varlink__doc__[] = "Swig var link object"; | |
11880 | static PyTypeObject varlink_type | |
11881 | #if !defined(__cplusplus) | |
11882 | ; | |
11883 | static int type_init = 0; | |
11884 | if (!type_init) { | |
11885 | PyTypeObject tmp | |
11886 | #endif | |
11887 | = { | |
11888 | PyObject_HEAD_INIT(&PyType_Type) | |
11889 | 0, /* Number of items in variable part (ob_size) */ | |
11890 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
11891 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
11892 | 0, /* Itemsize (tp_itemsize) */ | |
11893 | 0, /* Deallocator (tp_dealloc) */ | |
11894 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
11895 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
11896 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
11897 | 0, /* tp_compare */ | |
11898 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
11899 | 0, /* tp_as_number */ | |
11900 | 0, /* tp_as_sequence */ | |
11901 | 0, /* tp_as_mapping */ | |
11902 | 0, /* tp_hash */ | |
11903 | 0, /* tp_call */ | |
11904 | 0, /* tp_str */ | |
11905 | 0, /* tp_getattro */ | |
11906 | 0, /* tp_setattro */ | |
11907 | 0, /* tp_as_buffer */ | |
11908 | 0, /* tp_flags */ | |
11909 | varlink__doc__, /* tp_doc */ | |
093d3ff1 | 11910 | #if PY_VERSION_HEX >= 0x02000000 |
7449af73 RD |
11911 | 0, /* tp_traverse */ |
11912 | 0, /* tp_clear */ | |
093d3ff1 RD |
11913 | #endif |
11914 | #if PY_VERSION_HEX >= 0x02010000 | |
7449af73 RD |
11915 | 0, /* tp_richcompare */ |
11916 | 0, /* tp_weaklistoffset */ | |
093d3ff1 RD |
11917 | #endif |
11918 | #if PY_VERSION_HEX >= 0x02020000 | |
7449af73 | 11919 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ |
093d3ff1 RD |
11920 | #endif |
11921 | #if PY_VERSION_HEX >= 0x02030000 | |
7449af73 | 11922 | 0, /* tp_del */ |
093d3ff1 RD |
11923 | #endif |
11924 | #ifdef COUNT_ALLOCS | |
7449af73 | 11925 | 0,0,0,0 /* tp_alloc -> tp_next */ |
093d3ff1 | 11926 | #endif |
7449af73 RD |
11927 | }; |
11928 | #if !defined(__cplusplus) | |
11929 | varlink_type = tmp; | |
11930 | type_init = 1; | |
11931 | } | |
11932 | #endif | |
11933 | return &varlink_type; | |
11934 | } | |
093d3ff1 RD |
11935 | |
11936 | /* Create a variable linking object for use later */ | |
7449af73 | 11937 | SWIGINTERN PyObject * |
093d3ff1 | 11938 | SWIG_Python_newvarlink(void) { |
7449af73 RD |
11939 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); |
11940 | if (result) { | |
11941 | result->vars = 0; | |
11942 | } | |
093d3ff1 RD |
11943 | return ((PyObject*) result); |
11944 | } | |
11945 | ||
7449af73 | 11946 | SWIGINTERN void |
093d3ff1 | 11947 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { |
7449af73 RD |
11948 | swig_varlinkobject *v = (swig_varlinkobject *) p; |
11949 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
11950 | if (gv) { | |
11951 | size_t size = strlen(name)+1; | |
11952 | gv->name = (char *)malloc(size); | |
11953 | if (gv->name) { | |
11954 | strncpy(gv->name,name,size); | |
11955 | gv->get_attr = get_attr; | |
11956 | gv->set_attr = set_attr; | |
11957 | gv->next = v->vars; | |
11958 | } | |
11959 | } | |
093d3ff1 RD |
11960 | v->vars = gv; |
11961 | } | |
11962 | ||
11963 | /* ----------------------------------------------------------------------------- | |
11964 | * constants/methods manipulation | |
11965 | * ----------------------------------------------------------------------------- */ | |
11966 | ||
11967 | /* Install Constants */ | |
7449af73 | 11968 | SWIGINTERN void |
093d3ff1 RD |
11969 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { |
11970 | PyObject *obj = 0; | |
11971 | size_t i; | |
7449af73 | 11972 | for (i = 0; constants[i].type; ++i) { |
093d3ff1 RD |
11973 | switch(constants[i].type) { |
11974 | case SWIG_PY_INT: | |
11975 | obj = PyInt_FromLong(constants[i].lvalue); | |
11976 | break; | |
11977 | case SWIG_PY_FLOAT: | |
11978 | obj = PyFloat_FromDouble(constants[i].dvalue); | |
11979 | break; | |
11980 | case SWIG_PY_STRING: | |
11981 | if (constants[i].pvalue) { | |
11982 | obj = PyString_FromString((char *) constants[i].pvalue); | |
11983 | } else { | |
11984 | Py_INCREF(Py_None); | |
11985 | obj = Py_None; | |
11986 | } | |
11987 | break; | |
11988 | case SWIG_PY_POINTER: | |
11989 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
11990 | break; | |
11991 | case SWIG_PY_BINARY: | |
11992 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
11993 | break; | |
11994 | default: | |
11995 | obj = 0; | |
11996 | break; | |
11997 | } | |
11998 | if (obj) { | |
11999 | PyDict_SetItemString(d,constants[i].name,obj); | |
12000 | Py_DECREF(obj); | |
12001 | } | |
12002 | } | |
12003 | } | |
12004 | ||
12005 | /* -----------------------------------------------------------------------------*/ | |
12006 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
12007 | /* -----------------------------------------------------------------------------*/ | |
12008 | ||
7449af73 | 12009 | SWIGINTERN void |
093d3ff1 RD |
12010 | SWIG_Python_FixMethods(PyMethodDef *methods, |
12011 | swig_const_info *const_table, | |
12012 | swig_type_info **types, | |
12013 | swig_type_info **types_initial) { | |
12014 | size_t i; | |
12015 | for (i = 0; methods[i].ml_name; ++i) { | |
12016 | char *c = methods[i].ml_doc; | |
12017 | if (c && (c = strstr(c, "swig_ptr: "))) { | |
12018 | int j; | |
12019 | swig_const_info *ci = 0; | |
12020 | char *name = c + 10; | |
7449af73 | 12021 | for (j = 0; const_table[j].type; ++j) { |
093d3ff1 RD |
12022 | if (strncmp(const_table[j].name, name, |
12023 | strlen(const_table[j].name)) == 0) { | |
12024 | ci = &(const_table[j]); | |
12025 | break; | |
12026 | } | |
12027 | } | |
12028 | if (ci) { | |
12029 | size_t shift = (ci->ptype) - types; | |
12030 | swig_type_info *ty = types_initial[shift]; | |
12031 | size_t ldoc = (c - methods[i].ml_doc); | |
12032 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
12033 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
7449af73 RD |
12034 | if (ndoc) { |
12035 | char *buff = ndoc; | |
12036 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
12037 | if (ptr) { | |
12038 | strncpy(buff, methods[i].ml_doc, ldoc); | |
12039 | buff += ldoc; | |
12040 | strncpy(buff, "swig_ptr: ", 10); | |
12041 | buff += 10; | |
12042 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
12043 | methods[i].ml_doc = ndoc; | |
12044 | } | |
12045 | } | |
093d3ff1 RD |
12046 | } |
12047 | } | |
12048 | } | |
12049 | } | |
12050 | ||
12051 | /* -----------------------------------------------------------------------------* | |
12052 | * Initialize type list | |
12053 | * -----------------------------------------------------------------------------*/ | |
12054 | ||
093d3ff1 RD |
12055 | #ifdef __cplusplus |
12056 | } | |
12057 | #endif | |
12058 | ||
12059 | /* -----------------------------------------------------------------------------* | |
12060 | * Partial Init method | |
12061 | * -----------------------------------------------------------------------------*/ | |
12062 | ||
44127b65 RD |
12063 | #ifdef __cplusplus |
12064 | extern "C" | |
12065 | #endif | |
7449af73 | 12066 | SWIGEXPORT void SWIG_init(void) { |
44127b65 | 12067 | static PyObject *SWIG_globals = 0; |
44127b65 | 12068 | PyObject *m, *d; |
44127b65 | 12069 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); |
093d3ff1 RD |
12070 | |
12071 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
7449af73 | 12072 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); |
093d3ff1 | 12073 | |
44127b65 RD |
12074 | m = Py_InitModule((char *) SWIG_name, SwigMethods); |
12075 | d = PyModule_GetDict(m); | |
12076 | ||
7449af73 | 12077 | SWIG_InitializeModule(0); |
44127b65 RD |
12078 | SWIG_InstallConstants(d,swig_const_table); |
12079 | ||
d03fd34d RD |
12080 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); |
12081 | SWIG_addvarlink(SWIG_globals,(char*)"DynamicSashNameStr",_wrap_DynamicSashNameStr_get, _wrap_DynamicSashNameStr_set); | |
12082 | SWIG_addvarlink(SWIG_globals,(char*)"EditableListBoxNameStr",_wrap_EditableListBoxNameStr_get, _wrap_EditableListBoxNameStr_set); | |
12083 | SWIG_addvarlink(SWIG_globals,(char*)"TreeListCtrlNameStr",_wrap_TreeListCtrlNameStr_get, _wrap_TreeListCtrlNameStr_set); | |
6260902d | 12084 | SWIG_addvarlink(SWIG_globals,(char*)"StaticPictureNameStr",_wrap_StaticPictureNameStr_get, _wrap_StaticPictureNameStr_set); |
093d3ff1 | 12085 | { |
7449af73 | 12086 | PyDict_SetItemString(d,"DS_MANAGE_SCROLLBARS", SWIG_From_int(static_cast<int >(wxDS_MANAGE_SCROLLBARS))); |
093d3ff1 RD |
12087 | } |
12088 | { | |
7449af73 | 12089 | PyDict_SetItemString(d,"DS_DRAG_CORNER", SWIG_From_int(static_cast<int >(wxDS_DRAG_CORNER))); |
093d3ff1 | 12090 | } |
396fb509 RD |
12091 | PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT)); |
12092 | PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY)); | |
093d3ff1 | 12093 | { |
7449af73 | 12094 | PyDict_SetItemString(d,"EL_ALLOW_NEW", SWIG_From_int(static_cast<int >(wxEL_ALLOW_NEW))); |
093d3ff1 RD |
12095 | } |
12096 | { | |
7449af73 | 12097 | PyDict_SetItemString(d,"EL_ALLOW_EDIT", SWIG_From_int(static_cast<int >(wxEL_ALLOW_EDIT))); |
093d3ff1 RD |
12098 | } |
12099 | { | |
7449af73 | 12100 | PyDict_SetItemString(d,"EL_ALLOW_DELETE", SWIG_From_int(static_cast<int >(wxEL_ALLOW_DELETE))); |
093d3ff1 RD |
12101 | } |
12102 | { | |
7449af73 | 12103 | PyDict_SetItemString(d,"LED_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxLED_ALIGN_LEFT))); |
093d3ff1 RD |
12104 | } |
12105 | { | |
7449af73 | 12106 | PyDict_SetItemString(d,"LED_ALIGN_RIGHT", SWIG_From_int(static_cast<int >(wxLED_ALIGN_RIGHT))); |
093d3ff1 RD |
12107 | } |
12108 | { | |
7449af73 | 12109 | PyDict_SetItemString(d,"LED_ALIGN_CENTER", SWIG_From_int(static_cast<int >(wxLED_ALIGN_CENTER))); |
093d3ff1 RD |
12110 | } |
12111 | { | |
7449af73 | 12112 | PyDict_SetItemString(d,"LED_ALIGN_MASK", SWIG_From_int(static_cast<int >(wxLED_ALIGN_MASK))); |
093d3ff1 RD |
12113 | } |
12114 | { | |
7449af73 | 12115 | PyDict_SetItemString(d,"LED_DRAW_FADED", SWIG_From_int(static_cast<int >(wxLED_DRAW_FADED))); |
093d3ff1 RD |
12116 | } |
12117 | { | |
7449af73 | 12118 | PyDict_SetItemString(d,"TL_ALIGN_LEFT", SWIG_From_int(static_cast<int >(wxTL_ALIGN_LEFT))); |
093d3ff1 RD |
12119 | } |
12120 | { | |
7449af73 | 12121 | PyDict_SetItemString(d,"TL_ALIGN_RIGHT", SWIG_From_int(static_cast<int >(wxTL_ALIGN_RIGHT))); |
093d3ff1 RD |
12122 | } |
12123 | { | |
7449af73 | 12124 | PyDict_SetItemString(d,"TL_ALIGN_CENTER", SWIG_From_int(static_cast<int >(wxTL_ALIGN_CENTER))); |
093d3ff1 RD |
12125 | } |
12126 | { | |
7449af73 | 12127 | PyDict_SetItemString(d,"TREE_HITTEST_ONITEMCOLUMN", SWIG_From_int(static_cast<int >(wxTREE_HITTEST_ONITEMCOLUMN))); |
093d3ff1 RD |
12128 | } |
12129 | { | |
7449af73 | 12130 | PyDict_SetItemString(d,"TL_SEARCH_VISIBLE", SWIG_From_int(static_cast<int >(wxTL_SEARCH_VISIBLE))); |
093d3ff1 RD |
12131 | } |
12132 | { | |
7449af73 | 12133 | PyDict_SetItemString(d,"TL_SEARCH_LEVEL", SWIG_From_int(static_cast<int >(wxTL_SEARCH_LEVEL))); |
093d3ff1 RD |
12134 | } |
12135 | { | |
7449af73 | 12136 | PyDict_SetItemString(d,"TL_SEARCH_FULL", SWIG_From_int(static_cast<int >(wxTL_SEARCH_FULL))); |
093d3ff1 RD |
12137 | } |
12138 | { | |
7449af73 | 12139 | PyDict_SetItemString(d,"TL_SEARCH_PARTIAL", SWIG_From_int(static_cast<int >(wxTL_SEARCH_PARTIAL))); |
093d3ff1 RD |
12140 | } |
12141 | { | |
7449af73 | 12142 | PyDict_SetItemString(d,"TL_SEARCH_NOCASE", SWIG_From_int(static_cast<int >(wxTL_SEARCH_NOCASE))); |
093d3ff1 RD |
12143 | } |
12144 | { | |
7449af73 | 12145 | PyDict_SetItemString(d,"TR_DONT_ADJUST_MAC", SWIG_From_int(static_cast<int >(wxTR_DONT_ADJUST_MAC))); |
093d3ff1 | 12146 | } |
6260902d | 12147 | { |
7449af73 | 12148 | PyDict_SetItemString(d,"SCALE_HORIZONTAL", SWIG_From_int(static_cast<int >(wxSCALE_HORIZONTAL))); |
6260902d RD |
12149 | } |
12150 | { | |
7449af73 | 12151 | PyDict_SetItemString(d,"SCALE_VERTICAL", SWIG_From_int(static_cast<int >(wxSCALE_VERTICAL))); |
6260902d RD |
12152 | } |
12153 | { | |
7449af73 | 12154 | PyDict_SetItemString(d,"SCALE_UNIFORM", SWIG_From_int(static_cast<int >(wxSCALE_UNIFORM))); |
6260902d RD |
12155 | } |
12156 | { | |
7449af73 | 12157 | PyDict_SetItemString(d,"SCALE_CUSTOM", SWIG_From_int(static_cast<int >(wxSCALE_CUSTOM))); |
6260902d | 12158 | } |
44127b65 RD |
12159 | |
12160 | ||
12161 | wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow"); | |
12162 | wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl"); | |
12163 | ||
12164 | } | |
12165 |