]>
Commit | Line | Data |
---|---|---|
44127b65 RD |
1 | /* ---------------------------------------------------------------------------- |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
0085ce49 | 3 | * Version 1.3.29 |
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 | |
0085ce49 | 12 | #define SWIG_PYTHON_DIRECTOR_NO_VTABLE |
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); | |
3004cfd8 | 27 | }; |
44127b65 RD |
28 | #endif |
29 | ||
0085ce49 | 30 | /* ----------------------------------------------------------------------------- |
32fe5131 RD |
31 | * This section contains generic SWIG labels for method/variable |
32 | * declarations/attributes, and other compiler dependent labels. | |
0085ce49 | 33 | * ----------------------------------------------------------------------------- */ |
44127b65 | 34 | |
32fe5131 RD |
35 | /* template workaround for compilers that cannot correctly implement the C++ standard */ |
36 | #ifndef SWIGTEMPLATEDISAMBIGUATOR | |
0085ce49 RD |
37 | # if defined(__SUNPRO_CC) |
38 | # if (__SUNPRO_CC <= 0x560) | |
39 | # define SWIGTEMPLATEDISAMBIGUATOR template | |
40 | # else | |
41 | # define SWIGTEMPLATEDISAMBIGUATOR | |
42 | # endif | |
43 | # else | |
44 | # define SWIGTEMPLATEDISAMBIGUATOR | |
45 | # endif | |
3004cfd8 | 46 | #endif |
44127b65 | 47 | |
32fe5131 RD |
48 | /* inline attribute */ |
49 | #ifndef SWIGINLINE | |
50 | # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) | |
51 | # define SWIGINLINE inline | |
52 | # else | |
53 | # define SWIGINLINE | |
54 | # endif | |
55 | #endif | |
56 | ||
57 | /* attribute recognised by some compilers to avoid 'unused' warnings */ | |
58 | #ifndef SWIGUNUSED | |
0085ce49 RD |
59 | # if defined(__GNUC__) |
60 | # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) | |
61 | # define SWIGUNUSED __attribute__ ((__unused__)) | |
62 | # else | |
63 | # define SWIGUNUSED | |
64 | # endif | |
65 | # elif defined(__ICC) | |
66 | # define SWIGUNUSED __attribute__ ((__unused__)) | |
32fe5131 RD |
67 | # else |
68 | # define SWIGUNUSED | |
69 | # endif | |
70 | #endif | |
71 | ||
0085ce49 RD |
72 | #ifndef SWIGUNUSEDPARM |
73 | # ifdef __cplusplus | |
74 | # define SWIGUNUSEDPARM(p) | |
75 | # else | |
76 | # define SWIGUNUSEDPARM(p) p SWIGUNUSED | |
77 | # endif | |
78 | #endif | |
79 | ||
32fe5131 RD |
80 | /* internal SWIG method */ |
81 | #ifndef SWIGINTERN | |
82 | # define SWIGINTERN static SWIGUNUSED | |
83 | #endif | |
84 | ||
85 | /* internal inline SWIG method */ | |
86 | #ifndef SWIGINTERNINLINE | |
87 | # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE | |
88 | #endif | |
89 | ||
0085ce49 RD |
90 | /* exporting methods */ |
91 | #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) | |
92 | # ifndef GCC_HASCLASSVISIBILITY | |
93 | # define GCC_HASCLASSVISIBILITY | |
94 | # endif | |
95 | #endif | |
96 | ||
32fe5131 RD |
97 | #ifndef SWIGEXPORT |
98 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
99 | # if defined(STATIC_LINKED) | |
100 | # define SWIGEXPORT | |
101 | # else | |
102 | # define SWIGEXPORT __declspec(dllexport) | |
103 | # endif | |
104 | # else | |
0085ce49 RD |
105 | # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) |
106 | # define SWIGEXPORT __attribute__ ((visibility("default"))) | |
107 | # else | |
108 | # define SWIGEXPORT | |
109 | # endif | |
32fe5131 RD |
110 | # endif |
111 | #endif | |
112 | ||
113 | /* calling conventions for Windows */ | |
114 | #ifndef SWIGSTDCALL | |
115 | # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
116 | # define SWIGSTDCALL __stdcall | |
117 | # else | |
118 | # define SWIGSTDCALL | |
119 | # endif | |
120 | #endif | |
121 | ||
0085ce49 RD |
122 | /* Deal with Microsoft's attempt at deprecating C standard runtime functions */ |
123 | #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) | |
124 | # define _CRT_SECURE_NO_DEPRECATE | |
125 | #endif | |
32fe5131 | 126 | |
c9c7117a | 127 | |
0085ce49 | 128 | /* Python.h has to appear first */ |
3004cfd8 | 129 | #include <Python.h> |
44127b65 | 130 | |
0085ce49 | 131 | /* ----------------------------------------------------------------------------- |
3004cfd8 | 132 | * swigrun.swg |
44127b65 | 133 | * |
0085ce49 RD |
134 | * This file contains generic CAPI SWIG runtime support for pointer |
135 | * type checking. | |
136 | * ----------------------------------------------------------------------------- */ | |
44127b65 | 137 | |
3004cfd8 RD |
138 | /* This should only be incremented when either the layout of swig_type_info changes, |
139 | or for whatever reason, the runtime changes incompatibly */ | |
32fe5131 | 140 | #define SWIG_RUNTIME_VERSION "2" |
44127b65 | 141 | |
3004cfd8 RD |
142 | /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ |
143 | #ifdef SWIG_TYPE_TABLE | |
32fe5131 RD |
144 | # define SWIG_QUOTE_STRING(x) #x |
145 | # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x) | |
146 | # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE) | |
44127b65 | 147 | #else |
32fe5131 | 148 | # define SWIG_TYPE_TABLE_NAME |
3004cfd8 RD |
149 | #endif |
150 | ||
151 | /* | |
152 | You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for | |
153 | creating a static or dynamic library from the swig runtime code. | |
154 | In 99.9% of the cases, swig just needs to declare them as 'static'. | |
155 | ||
156 | But only do this if is strictly necessary, ie, if you have problems | |
157 | with your compiler or so. | |
158 | */ | |
32fe5131 | 159 | |
3004cfd8 | 160 | #ifndef SWIGRUNTIME |
32fe5131 | 161 | # define SWIGRUNTIME SWIGINTERN |
3004cfd8 | 162 | #endif |
32fe5131 | 163 | |
3004cfd8 | 164 | #ifndef SWIGRUNTIMEINLINE |
32fe5131 | 165 | # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE |
44127b65 RD |
166 | #endif |
167 | ||
0085ce49 RD |
168 | /* Generic buffer size */ |
169 | #ifndef SWIG_BUFFER_SIZE | |
170 | # define SWIG_BUFFER_SIZE 1024 | |
171 | #endif | |
172 | ||
173 | /* Flags for pointer conversions */ | |
174 | #define SWIG_POINTER_DISOWN 0x1 | |
175 | ||
176 | /* Flags for new pointer objects */ | |
177 | #define SWIG_POINTER_OWN 0x1 | |
178 | ||
179 | ||
180 | /* | |
181 | Flags/methods for returning states. | |
182 | ||
183 | The swig conversion methods, as ConvertPtr, return and integer | |
184 | that tells if the conversion was successful or not. And if not, | |
185 | an error code can be returned (see swigerrors.swg for the codes). | |
186 | ||
187 | Use the following macros/flags to set or process the returning | |
188 | states. | |
189 | ||
190 | In old swig versions, you usually write code as: | |
191 | ||
192 | if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) { | |
193 | // success code | |
194 | } else { | |
195 | //fail code | |
196 | } | |
197 | ||
198 | Now you can be more explicit as: | |
199 | ||
200 | int res = SWIG_ConvertPtr(obj,vptr,ty.flags); | |
201 | if (SWIG_IsOK(res)) { | |
202 | // success code | |
203 | } else { | |
204 | // fail code | |
205 | } | |
206 | ||
207 | that seems to be the same, but now you can also do | |
208 | ||
209 | Type *ptr; | |
210 | int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags); | |
211 | if (SWIG_IsOK(res)) { | |
212 | // success code | |
213 | if (SWIG_IsNewObj(res) { | |
214 | ... | |
215 | delete *ptr; | |
216 | } else { | |
217 | ... | |
218 | } | |
219 | } else { | |
220 | // fail code | |
221 | } | |
222 | ||
223 | I.e., now SWIG_ConvertPtr can return new objects and you can | |
224 | identify the case and take care of the deallocation. Of course that | |
225 | requires also to SWIG_ConvertPtr to return new result values, as | |
226 | ||
227 | int SWIG_ConvertPtr(obj, ptr,...) { | |
228 | if (<obj is ok>) { | |
229 | if (<need new object>) { | |
230 | *ptr = <ptr to new allocated object>; | |
231 | return SWIG_NEWOBJ; | |
232 | } else { | |
233 | *ptr = <ptr to old object>; | |
234 | return SWIG_OLDOBJ; | |
235 | } | |
236 | } else { | |
237 | return SWIG_BADOBJ; | |
238 | } | |
239 | } | |
240 | ||
241 | Of course, returning the plain '0(success)/-1(fail)' still works, but you can be | |
242 | more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the | |
243 | swig errors code. | |
244 | ||
245 | Finally, if the SWIG_CASTRANK_MODE is enabled, the result code | |
246 | allows to return the 'cast rank', for example, if you have this | |
247 | ||
248 | int food(double) | |
249 | int fooi(int); | |
250 | ||
251 | and you call | |
252 | ||
253 | food(1) // cast rank '1' (1 -> 1.0) | |
254 | fooi(1) // cast rank '0' | |
255 | ||
256 | just use the SWIG_AddCast()/SWIG_CheckState() | |
257 | ||
258 | ||
259 | */ | |
260 | #define SWIG_OK (0) | |
261 | #define SWIG_ERROR (-1) | |
262 | #define SWIG_IsOK(r) (r >= 0) | |
263 | #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError) | |
264 | ||
265 | /* The CastRankLimit says how many bits are used for the cast rank */ | |
266 | #define SWIG_CASTRANKLIMIT (1 << 8) | |
267 | /* The NewMask denotes the object was created (using new/malloc) */ | |
268 | #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1) | |
269 | /* The TmpMask is for in/out typemaps that use temporal objects */ | |
270 | #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1) | |
271 | /* Simple returning values */ | |
272 | #define SWIG_BADOBJ (SWIG_ERROR) | |
273 | #define SWIG_OLDOBJ (SWIG_OK) | |
274 | #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK) | |
275 | #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK) | |
276 | /* Check, add and del mask methods */ | |
277 | #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r) | |
278 | #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r) | |
279 | #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK)) | |
280 | #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r) | |
281 | #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r) | |
282 | #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK)) | |
283 | ||
284 | ||
285 | /* Cast-Rank Mode */ | |
286 | #if defined(SWIG_CASTRANK_MODE) | |
287 | # ifndef SWIG_TypeRank | |
288 | # define SWIG_TypeRank unsigned long | |
289 | # endif | |
290 | # ifndef SWIG_MAXCASTRANK /* Default cast allowed */ | |
291 | # define SWIG_MAXCASTRANK (2) | |
292 | # endif | |
293 | # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1) | |
294 | # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK) | |
295 | SWIGINTERNINLINE int SWIG_AddCast(int r) { | |
296 | return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r; | |
297 | } | |
298 | SWIGINTERNINLINE int SWIG_CheckState(int r) { | |
299 | return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0; | |
300 | } | |
301 | #else /* no cast-rank mode */ | |
302 | # define SWIG_AddCast | |
303 | # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0) | |
304 | #endif | |
305 | ||
306 | ||
307 | ||
308 | ||
32fe5131 RD |
309 | #include <string.h> |
310 | ||
44127b65 RD |
311 | #ifdef __cplusplus |
312 | extern "C" { | |
313 | #endif | |
314 | ||
315 | typedef void *(*swig_converter_func)(void *); | |
316 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
317 | ||
32fe5131 | 318 | /* Structure to store inforomation on one type */ |
44127b65 | 319 | typedef struct swig_type_info { |
32fe5131 RD |
320 | const char *name; /* mangled name of this type */ |
321 | const char *str; /* human readable name of this type */ | |
322 | swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ | |
323 | struct swig_cast_info *cast; /* linked list of types that can cast into this type */ | |
324 | void *clientdata; /* language specific type data */ | |
0085ce49 | 325 | int owndata; /* flag if the structure owns the clientdata */ |
44127b65 RD |
326 | } swig_type_info; |
327 | ||
32fe5131 RD |
328 | /* Structure to store a type and conversion function used for casting */ |
329 | typedef struct swig_cast_info { | |
330 | swig_type_info *type; /* pointer to type that is equivalent to this type */ | |
331 | swig_converter_func converter; /* function to cast the void pointers */ | |
332 | struct swig_cast_info *next; /* pointer to next cast in linked list */ | |
333 | struct swig_cast_info *prev; /* pointer to the previous cast */ | |
334 | } swig_cast_info; | |
335 | ||
336 | /* Structure used to store module information | |
337 | * Each module generates one structure like this, and the runtime collects | |
338 | * all of these structures and stores them in a circularly linked list.*/ | |
339 | typedef struct swig_module_info { | |
340 | swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */ | |
341 | size_t size; /* Number of types in this module */ | |
342 | struct swig_module_info *next; /* Pointer to next element in circularly linked list */ | |
343 | swig_type_info **type_initial; /* Array of initially generated type structures */ | |
344 | swig_cast_info **cast_initial; /* Array of initially generated casting structures */ | |
345 | void *clientdata; /* Language specific module data */ | |
346 | } swig_module_info; | |
347 | ||
3004cfd8 RD |
348 | /* |
349 | Compare two type names skipping the space characters, therefore | |
350 | "char*" == "char *" and "Class<int>" == "Class<int >", etc. | |
351 | ||
352 | Return 0 when the two name types are equivalent, as in | |
353 | strncmp, but skipping ' '. | |
354 | */ | |
355 | SWIGRUNTIME int | |
356 | SWIG_TypeNameComp(const char *f1, const char *l1, | |
357 | const char *f2, const char *l2) { | |
358 | for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) { | |
359 | while ((*f1 == ' ') && (f1 != l1)) ++f1; | |
360 | while ((*f2 == ' ') && (f2 != l2)) ++f2; | |
0085ce49 | 361 | if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; |
3004cfd8 RD |
362 | } |
363 | return (l1 - f1) - (l2 - f2); | |
364 | } | |
365 | ||
366 | /* | |
367 | Check type equivalence in a name list like <name1>|<name2>|... | |
32fe5131 | 368 | Return 0 if not equal, 1 if equal |
3004cfd8 RD |
369 | */ |
370 | SWIGRUNTIME int | |
371 | SWIG_TypeEquiv(const char *nb, const char *tb) { | |
372 | int equiv = 0; | |
373 | const char* te = tb + strlen(tb); | |
374 | const char* ne = nb; | |
375 | while (!equiv && *ne) { | |
376 | for (nb = ne; *ne; ++ne) { | |
377 | if (*ne == '|') break; | |
378 | } | |
32fe5131 | 379 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; |
3004cfd8 RD |
380 | if (*ne) ++ne; |
381 | } | |
382 | return equiv; | |
383 | } | |
384 | ||
385 | /* | |
32fe5131 RD |
386 | Check type equivalence in a name list like <name1>|<name2>|... |
387 | Return 0 if equal, -1 if nb < tb, 1 if nb > tb | |
3004cfd8 | 388 | */ |
32fe5131 RD |
389 | SWIGRUNTIME int |
390 | SWIG_TypeCompare(const char *nb, const char *tb) { | |
391 | int equiv = 0; | |
392 | const char* te = tb + strlen(tb); | |
393 | const char* ne = nb; | |
394 | while (!equiv && *ne) { | |
395 | for (nb = ne; *ne; ++ne) { | |
396 | if (*ne == '|') break; | |
3004cfd8 | 397 | } |
32fe5131 RD |
398 | equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; |
399 | if (*ne) ++ne; | |
3004cfd8 | 400 | } |
32fe5131 | 401 | return equiv; |
3004cfd8 RD |
402 | } |
403 | ||
32fe5131 RD |
404 | |
405 | /* think of this as a c++ template<> or a scheme macro */ | |
406 | #define SWIG_TypeCheck_Template(comparison, ty) \ | |
407 | if (ty) { \ | |
408 | swig_cast_info *iter = ty->cast; \ | |
409 | while (iter) { \ | |
410 | if (comparison) { \ | |
411 | if (iter == ty->cast) return iter; \ | |
412 | /* Move iter to the top of the linked list */ \ | |
413 | iter->prev->next = iter->next; \ | |
414 | if (iter->next) \ | |
415 | iter->next->prev = iter->prev; \ | |
416 | iter->next = ty->cast; \ | |
417 | iter->prev = 0; \ | |
418 | if (ty->cast) ty->cast->prev = iter; \ | |
419 | ty->cast = iter; \ | |
420 | return iter; \ | |
421 | } \ | |
422 | iter = iter->next; \ | |
423 | } \ | |
424 | } \ | |
425 | return 0 | |
426 | ||
3004cfd8 RD |
427 | /* |
428 | Check the typename | |
429 | */ | |
32fe5131 | 430 | SWIGRUNTIME swig_cast_info * |
3004cfd8 | 431 | SWIG_TypeCheck(const char *c, swig_type_info *ty) { |
32fe5131 RD |
432 | SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty); |
433 | } | |
434 | ||
435 | /* Same as previous function, except strcmp is replaced with a pointer comparison */ | |
436 | SWIGRUNTIME swig_cast_info * | |
437 | SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) { | |
438 | SWIG_TypeCheck_Template(iter->type == from, into); | |
3004cfd8 | 439 | } |
44127b65 | 440 | |
3004cfd8 RD |
441 | /* |
442 | Cast a pointer up an inheritance hierarchy | |
443 | */ | |
444 | SWIGRUNTIMEINLINE void * | |
32fe5131 | 445 | SWIG_TypeCast(swig_cast_info *ty, void *ptr) { |
3004cfd8 RD |
446 | return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr); |
447 | } | |
448 | ||
449 | /* | |
450 | Dynamic pointer casting. Down an inheritance hierarchy | |
451 | */ | |
452 | SWIGRUNTIME swig_type_info * | |
453 | SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) { | |
454 | swig_type_info *lastty = ty; | |
455 | if (!ty || !ty->dcast) return ty; | |
456 | while (ty && (ty->dcast)) { | |
457 | ty = (*ty->dcast)(ptr); | |
458 | if (ty) lastty = ty; | |
459 | } | |
460 | return lastty; | |
461 | } | |
462 | ||
463 | /* | |
464 | Return the name associated with this type | |
465 | */ | |
466 | SWIGRUNTIMEINLINE const char * | |
467 | SWIG_TypeName(const swig_type_info *ty) { | |
468 | return ty->name; | |
469 | } | |
470 | ||
471 | /* | |
472 | Return the pretty name associated with this type, | |
473 | that is an unmangled type name in a form presentable to the user. | |
474 | */ | |
475 | SWIGRUNTIME const char * | |
476 | SWIG_TypePrettyName(const swig_type_info *type) { | |
477 | /* The "str" field contains the equivalent pretty names of the | |
478 | type, separated by vertical-bar characters. We choose | |
479 | to print the last name, as it is often (?) the most | |
480 | specific. */ | |
0085ce49 | 481 | if (!type) return NULL; |
3004cfd8 RD |
482 | if (type->str != NULL) { |
483 | const char *last_name = type->str; | |
484 | const char *s; | |
485 | for (s = type->str; *s; s++) | |
486 | if (*s == '|') last_name = s+1; | |
487 | return last_name; | |
488 | } | |
489 | else | |
490 | return type->name; | |
491 | } | |
492 | ||
3004cfd8 RD |
493 | /* |
494 | Set the clientdata field for a type | |
495 | */ | |
496 | SWIGRUNTIME void | |
32fe5131 RD |
497 | SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { |
498 | swig_cast_info *cast = ti->cast; | |
3004cfd8 RD |
499 | /* if (ti->clientdata == clientdata) return; */ |
500 | ti->clientdata = clientdata; | |
32fe5131 RD |
501 | |
502 | while (cast) { | |
503 | if (!cast->converter) { | |
504 | swig_type_info *tc = cast->type; | |
505 | if (!tc->clientdata) { | |
506 | SWIG_TypeClientData(tc, clientdata); | |
3004cfd8 | 507 | } |
32fe5131 RD |
508 | } |
509 | cast = cast->next; | |
510 | } | |
511 | } | |
0085ce49 RD |
512 | SWIGRUNTIME void |
513 | SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) { | |
514 | SWIG_TypeClientData(ti, clientdata); | |
515 | ti->owndata = 1; | |
516 | } | |
517 | ||
32fe5131 RD |
518 | /* |
519 | Search for a swig_type_info structure only by mangled name | |
520 | Search is a O(log #types) | |
521 | ||
522 | We start searching at module start, and finish searching when start == end. | |
523 | Note: if start == end at the beginning of the function, we go all the way around | |
524 | the circular list. | |
525 | */ | |
526 | SWIGRUNTIME swig_type_info * | |
527 | SWIG_MangledTypeQueryModule(swig_module_info *start, | |
528 | swig_module_info *end, | |
529 | const char *name) { | |
530 | swig_module_info *iter = start; | |
531 | do { | |
532 | if (iter->size) { | |
533 | register size_t l = 0; | |
534 | register size_t r = iter->size - 1; | |
535 | do { | |
536 | /* since l+r >= 0, we can (>> 1) instead (/ 2) */ | |
537 | register size_t i = (l + r) >> 1; | |
538 | const char *iname = iter->types[i]->name; | |
539 | if (iname) { | |
540 | register int compare = strcmp(name, iname); | |
541 | if (compare == 0) { | |
542 | return iter->types[i]; | |
543 | } else if (compare < 0) { | |
544 | if (i) { | |
545 | r = i - 1; | |
546 | } else { | |
547 | break; | |
548 | } | |
549 | } else if (compare > 0) { | |
550 | l = i + 1; | |
551 | } | |
552 | } else { | |
553 | break; /* should never happen */ | |
554 | } | |
555 | } while (l <= r); | |
3004cfd8 | 556 | } |
32fe5131 RD |
557 | iter = iter->next; |
558 | } while (iter != end); | |
559 | return 0; | |
560 | } | |
561 | ||
562 | /* | |
563 | Search for a swig_type_info structure for either a mangled name or a human readable name. | |
564 | It first searches the mangled names of the types, which is a O(log #types) | |
565 | If a type is not found it then searches the human readable names, which is O(#types). | |
566 | ||
567 | We start searching at module start, and finish searching when start == end. | |
568 | Note: if start == end at the beginning of the function, we go all the way around | |
569 | the circular list. | |
570 | */ | |
571 | SWIGRUNTIME swig_type_info * | |
572 | SWIG_TypeQueryModule(swig_module_info *start, | |
573 | swig_module_info *end, | |
574 | const char *name) { | |
575 | /* STEP 1: Search the name field using binary search */ | |
576 | swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name); | |
577 | if (ret) { | |
578 | return ret; | |
579 | } else { | |
580 | /* STEP 2: If the type hasn't been found, do a complete search | |
581 | of the str field (the human readable name) */ | |
582 | swig_module_info *iter = start; | |
583 | do { | |
584 | register size_t i = 0; | |
585 | for (; i < iter->size; ++i) { | |
586 | if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name))) | |
587 | return iter->types[i]; | |
588 | } | |
589 | iter = iter->next; | |
590 | } while (iter != end); | |
3004cfd8 | 591 | } |
32fe5131 RD |
592 | |
593 | /* neither found a match */ | |
594 | return 0; | |
3004cfd8 RD |
595 | } |
596 | ||
597 | /* | |
598 | Pack binary data into a string | |
599 | */ | |
600 | SWIGRUNTIME char * | |
601 | SWIG_PackData(char *c, void *ptr, size_t sz) { | |
32fe5131 RD |
602 | static const char hex[17] = "0123456789abcdef"; |
603 | register const unsigned char *u = (unsigned char *) ptr; | |
604 | register const unsigned char *eu = u + sz; | |
3004cfd8 | 605 | for (; u != eu; ++u) { |
32fe5131 | 606 | register unsigned char uu = *u; |
3004cfd8 RD |
607 | *(c++) = hex[(uu & 0xf0) >> 4]; |
608 | *(c++) = hex[uu & 0xf]; | |
609 | } | |
610 | return c; | |
611 | } | |
612 | ||
613 | /* | |
614 | Unpack binary data from a string | |
615 | */ | |
616 | SWIGRUNTIME const char * | |
617 | SWIG_UnpackData(const char *c, void *ptr, size_t sz) { | |
618 | register unsigned char *u = (unsigned char *) ptr; | |
32fe5131 | 619 | register const unsigned char *eu = u + sz; |
3004cfd8 | 620 | for (; u != eu; ++u) { |
32fe5131 | 621 | register char d = *(c++); |
0085ce49 | 622 | register unsigned char uu; |
3004cfd8 RD |
623 | if ((d >= '0') && (d <= '9')) |
624 | uu = ((d - '0') << 4); | |
625 | else if ((d >= 'a') && (d <= 'f')) | |
626 | uu = ((d - ('a'-10)) << 4); | |
627 | else | |
628 | return (char *) 0; | |
629 | d = *(c++); | |
630 | if ((d >= '0') && (d <= '9')) | |
631 | uu |= (d - '0'); | |
632 | else if ((d >= 'a') && (d <= 'f')) | |
633 | uu |= (d - ('a'-10)); | |
634 | else | |
635 | return (char *) 0; | |
636 | *u = uu; | |
637 | } | |
638 | return c; | |
639 | } | |
640 | ||
3004cfd8 RD |
641 | /* |
642 | Pack 'void *' into a string buffer. | |
643 | */ | |
644 | SWIGRUNTIME char * | |
645 | SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) { | |
646 | char *r = buff; | |
647 | if ((2*sizeof(void *) + 2) > bsz) return 0; | |
648 | *(r++) = '_'; | |
649 | r = SWIG_PackData(r,&ptr,sizeof(void *)); | |
650 | if (strlen(name) + 1 > (bsz - (r - buff))) return 0; | |
651 | strcpy(r,name); | |
652 | return buff; | |
653 | } | |
654 | ||
655 | SWIGRUNTIME const char * | |
656 | SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) { | |
657 | if (*c != '_') { | |
658 | if (strcmp(c,"NULL") == 0) { | |
659 | *ptr = (void *) 0; | |
660 | return name; | |
661 | } else { | |
662 | return 0; | |
663 | } | |
664 | } | |
665 | return SWIG_UnpackData(++c,ptr,sizeof(void *)); | |
666 | } | |
667 | ||
668 | SWIGRUNTIME char * | |
669 | SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) { | |
670 | char *r = buff; | |
671 | size_t lname = (name ? strlen(name) : 0); | |
672 | if ((2*sz + 2 + lname) > bsz) return 0; | |
673 | *(r++) = '_'; | |
674 | r = SWIG_PackData(r,ptr,sz); | |
675 | if (lname) { | |
676 | strncpy(r,name,lname+1); | |
677 | } else { | |
678 | *r = 0; | |
679 | } | |
680 | return buff; | |
681 | } | |
682 | ||
683 | SWIGRUNTIME const char * | |
684 | SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { | |
685 | if (*c != '_') { | |
686 | if (strcmp(c,"NULL") == 0) { | |
687 | memset(ptr,0,sz); | |
688 | return name; | |
689 | } else { | |
690 | return 0; | |
691 | } | |
692 | } | |
693 | return SWIG_UnpackData(++c,ptr,sz); | |
694 | } | |
44127b65 RD |
695 | |
696 | #ifdef __cplusplus | |
697 | } | |
44127b65 RD |
698 | #endif |
699 | ||
0085ce49 RD |
700 | /* Errors in SWIG */ |
701 | #define SWIG_UnknownError -1 | |
702 | #define SWIG_IOError -2 | |
703 | #define SWIG_RuntimeError -3 | |
704 | #define SWIG_IndexError -4 | |
705 | #define SWIG_TypeError -5 | |
706 | #define SWIG_DivisionByZero -6 | |
707 | #define SWIG_OverflowError -7 | |
708 | #define SWIG_SyntaxError -8 | |
709 | #define SWIG_ValueError -9 | |
710 | #define SWIG_SystemError -10 | |
711 | #define SWIG_AttributeError -11 | |
712 | #define SWIG_MemoryError -12 | |
713 | #define SWIG_NullReferenceError -13 | |
3004cfd8 | 714 | |
0085ce49 RD |
715 | |
716 | ||
717 | /* Python.h has to appear first */ | |
718 | #include <Python.h> | |
719 | ||
720 | /* Add PyOS_snprintf for old Pythons */ | |
721 | #if PY_VERSION_HEX < 0x02020000 | |
722 | # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM) | |
723 | # define PyOS_snprintf _snprintf | |
724 | # else | |
725 | # define PyOS_snprintf snprintf | |
726 | # endif | |
727 | #endif | |
728 | ||
729 | /* A crude PyString_FromFormat implementation for old Pythons */ | |
730 | #if PY_VERSION_HEX < 0x02020000 | |
731 | ||
732 | #ifndef SWIG_PYBUFFER_SIZE | |
733 | # define SWIG_PYBUFFER_SIZE 1024 | |
734 | #endif | |
735 | ||
736 | static PyObject * | |
737 | PyString_FromFormat(const char *fmt, ...) { | |
738 | va_list ap; | |
739 | char buf[SWIG_PYBUFFER_SIZE * 2]; | |
740 | int res; | |
741 | va_start(ap, fmt); | |
742 | res = vsnprintf(buf, sizeof(buf), fmt, ap); | |
743 | va_end(ap); | |
744 | return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf); | |
745 | } | |
746 | #endif | |
747 | ||
748 | /* Add PyObject_Del for old Pythons */ | |
749 | #if PY_VERSION_HEX < 0x01060000 | |
750 | # define PyObject_Del(op) PyMem_DEL((op)) | |
751 | #endif | |
752 | #ifndef PyObject_DEL | |
753 | # define PyObject_DEL PyObject_Del | |
754 | #endif | |
755 | ||
756 | /* A crude PyExc_StopIteration exception for old Pythons */ | |
757 | #if PY_VERSION_HEX < 0x02020000 | |
758 | # ifndef PyExc_StopIteration | |
759 | # define PyExc_StopIteration PyExc_RuntimeError | |
760 | # endif | |
761 | # ifndef PyObject_GenericGetAttr | |
762 | # define PyObject_GenericGetAttr 0 | |
763 | # endif | |
3004cfd8 | 764 | #endif |
0085ce49 RD |
765 | /* Py_NotImplemented is defined in 2.1 and up. */ |
766 | #if PY_VERSION_HEX < 0x02010000 | |
767 | # ifndef Py_NotImplemented | |
768 | # define Py_NotImplemented PyExc_RuntimeError | |
769 | # endif | |
770 | #endif | |
771 | ||
772 | ||
773 | /* A crude PyString_AsStringAndSize implementation for old Pythons */ | |
774 | #if PY_VERSION_HEX < 0x02010000 | |
775 | # ifndef PyString_AsStringAndSize | |
776 | # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;} | |
777 | # endif | |
778 | #endif | |
779 | ||
780 | /* PySequence_Size for old Pythons */ | |
781 | #if PY_VERSION_HEX < 0x02000000 | |
782 | # ifndef PySequence_Size | |
783 | # define PySequence_Size PySequence_Length | |
784 | # endif | |
785 | #endif | |
786 | ||
787 | ||
788 | /* PyBool_FromLong for old Pythons */ | |
789 | #if PY_VERSION_HEX < 0x02030000 | |
790 | static | |
791 | PyObject *PyBool_FromLong(long ok) | |
792 | { | |
793 | PyObject *result = ok ? Py_True : Py_False; | |
794 | Py_INCREF(result); | |
795 | return result; | |
796 | } | |
797 | #endif | |
798 | ||
3004cfd8 RD |
799 | |
800 | /* ----------------------------------------------------------------------------- | |
0085ce49 | 801 | * error manipulation |
3004cfd8 RD |
802 | * ----------------------------------------------------------------------------- */ |
803 | ||
0085ce49 RD |
804 | SWIGRUNTIME PyObject* |
805 | SWIG_Python_ErrorType(int code) { | |
806 | PyObject* type = 0; | |
807 | switch(code) { | |
808 | case SWIG_MemoryError: | |
809 | type = PyExc_MemoryError; | |
810 | break; | |
811 | case SWIG_IOError: | |
812 | type = PyExc_IOError; | |
813 | break; | |
814 | case SWIG_RuntimeError: | |
815 | type = PyExc_RuntimeError; | |
816 | break; | |
817 | case SWIG_IndexError: | |
818 | type = PyExc_IndexError; | |
819 | break; | |
820 | case SWIG_TypeError: | |
821 | type = PyExc_TypeError; | |
822 | break; | |
823 | case SWIG_DivisionByZero: | |
824 | type = PyExc_ZeroDivisionError; | |
825 | break; | |
826 | case SWIG_OverflowError: | |
827 | type = PyExc_OverflowError; | |
828 | break; | |
829 | case SWIG_SyntaxError: | |
830 | type = PyExc_SyntaxError; | |
831 | break; | |
832 | case SWIG_ValueError: | |
833 | type = PyExc_ValueError; | |
834 | break; | |
835 | case SWIG_SystemError: | |
836 | type = PyExc_SystemError; | |
837 | break; | |
838 | case SWIG_AttributeError: | |
839 | type = PyExc_AttributeError; | |
840 | break; | |
841 | default: | |
842 | type = PyExc_RuntimeError; | |
843 | } | |
844 | return type; | |
845 | } | |
3004cfd8 | 846 | |
0085ce49 RD |
847 | |
848 | SWIGRUNTIME void | |
849 | SWIG_Python_AddErrorMsg(const char* mesg) | |
850 | { | |
851 | PyObject *type = 0; | |
852 | PyObject *value = 0; | |
853 | PyObject *traceback = 0; | |
854 | ||
855 | if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback); | |
856 | if (value) { | |
857 | PyObject *old_str = PyObject_Str(value); | |
858 | PyErr_Clear(); | |
859 | Py_XINCREF(type); | |
860 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
861 | Py_DECREF(old_str); | |
862 | Py_DECREF(value); | |
863 | } else { | |
864 | PyErr_Format(PyExc_RuntimeError, mesg); | |
865 | } | |
866 | } | |
867 | ||
868 | ||
869 | ||
870 | #if defined(SWIG_PYTHON_NO_THREADS) | |
871 | # if defined(SWIG_PYTHON_THREADS) | |
872 | # undef SWIG_PYTHON_THREADS | |
873 | # endif | |
874 | #endif | |
875 | #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */ | |
876 | # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL) | |
877 | # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */ | |
878 | # define SWIG_PYTHON_USE_GIL | |
879 | # endif | |
880 | # endif | |
881 | # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */ | |
882 | # ifndef SWIG_PYTHON_INITIALIZE_THREADS | |
883 | # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads() | |
884 | # endif | |
885 | # ifdef __cplusplus /* C++ code */ | |
886 | class SWIG_Python_Thread_Block { | |
887 | bool status; | |
888 | PyGILState_STATE state; | |
889 | public: | |
890 | void end() { if (status) { PyGILState_Release(state); status = false;} } | |
891 | SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {} | |
892 | ~SWIG_Python_Thread_Block() { end(); } | |
893 | }; | |
894 | class SWIG_Python_Thread_Allow { | |
895 | bool status; | |
896 | PyThreadState *save; | |
897 | public: | |
898 | void end() { if (status) { PyEval_RestoreThread(save); status = false; }} | |
899 | SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {} | |
900 | ~SWIG_Python_Thread_Allow() { end(); } | |
901 | }; | |
902 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block | |
903 | # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end() | |
904 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow | |
905 | # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end() | |
906 | # else /* C code */ | |
907 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure() | |
908 | # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block) | |
909 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread() | |
910 | # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow) | |
911 | # endif | |
912 | # else /* Old thread way, not implemented, user must provide it */ | |
913 | # if !defined(SWIG_PYTHON_INITIALIZE_THREADS) | |
914 | # define SWIG_PYTHON_INITIALIZE_THREADS | |
915 | # endif | |
916 | # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK) | |
917 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK | |
918 | # endif | |
919 | # if !defined(SWIG_PYTHON_THREAD_END_BLOCK) | |
920 | # define SWIG_PYTHON_THREAD_END_BLOCK | |
921 | # endif | |
922 | # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW) | |
923 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW | |
924 | # endif | |
925 | # if !defined(SWIG_PYTHON_THREAD_END_ALLOW) | |
926 | # define SWIG_PYTHON_THREAD_END_ALLOW | |
927 | # endif | |
928 | # endif | |
929 | #else /* No thread support */ | |
930 | # define SWIG_PYTHON_INITIALIZE_THREADS | |
931 | # define SWIG_PYTHON_THREAD_BEGIN_BLOCK | |
932 | # define SWIG_PYTHON_THREAD_END_BLOCK | |
933 | # define SWIG_PYTHON_THREAD_BEGIN_ALLOW | |
934 | # define SWIG_PYTHON_THREAD_END_ALLOW | |
3004cfd8 RD |
935 | #endif |
936 | ||
0085ce49 RD |
937 | /* ----------------------------------------------------------------------------- |
938 | * Python API portion that goes into the runtime | |
939 | * ----------------------------------------------------------------------------- */ | |
3004cfd8 | 940 | |
0085ce49 RD |
941 | #ifdef __cplusplus |
942 | extern "C" { | |
943 | #if 0 | |
944 | } /* cc-mode */ | |
945 | #endif | |
946 | #endif | |
3004cfd8 RD |
947 | |
948 | /* ----------------------------------------------------------------------------- | |
949 | * Constant declarations | |
950 | * ----------------------------------------------------------------------------- */ | |
951 | ||
952 | /* Constant Types */ | |
44127b65 RD |
953 | #define SWIG_PY_POINTER 4 |
954 | #define SWIG_PY_BINARY 5 | |
955 | ||
44127b65 RD |
956 | /* Constant information structure */ |
957 | typedef struct swig_const_info { | |
0085ce49 RD |
958 | int type; |
959 | char *name; | |
960 | long lvalue; | |
961 | double dvalue; | |
962 | void *pvalue; | |
963 | swig_type_info **ptype; | |
44127b65 RD |
964 | } swig_const_info; |
965 | ||
3004cfd8 | 966 | #ifdef __cplusplus |
0085ce49 RD |
967 | #if 0 |
968 | { /* cc-mode */ | |
969 | #endif | |
3004cfd8 RD |
970 | } |
971 | #endif | |
972 | ||
973 | ||
0085ce49 RD |
974 | /* ----------------------------------------------------------------------------- |
975 | * See the LICENSE file for information on copyright, usage and redistribution | |
976 | * of SWIG, and the README file for authors - http://www.swig.org/release.html. | |
977 | * | |
3004cfd8 RD |
978 | * pyrun.swg |
979 | * | |
0085ce49 RD |
980 | * This file contains the runtime support for Python modules |
981 | * and includes code for managing global variables and pointer | |
982 | * type checking. | |
3004cfd8 | 983 | * |
0085ce49 | 984 | * ----------------------------------------------------------------------------- */ |
3004cfd8 | 985 | |
44127b65 | 986 | /* Common SWIG API */ |
44127b65 | 987 | |
d1a49b78 RD |
988 | #if PY_VERSION_HEX < 0x02050000 |
989 | typedef int Py_ssize_t; | |
990 | #endif | |
991 | ||
0085ce49 RD |
992 | /* for raw pointers */ |
993 | #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0) | |
994 | #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags) | |
995 | #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own) | |
996 | #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags) | |
997 | #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty) | |
998 | #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src) | |
999 | #define swig_owntype int | |
44127b65 | 1000 | |
0085ce49 RD |
1001 | /* for raw packed data */ |
1002 | #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) | |
1003 | #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
44127b65 | 1004 | |
0085ce49 RD |
1005 | /* for class or struct pointers */ |
1006 | #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags) | |
1007 | #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags) | |
44127b65 | 1008 | |
0085ce49 RD |
1009 | /* for C or C++ function pointers */ |
1010 | #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type) | |
1011 | #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0) | |
44127b65 | 1012 | |
0085ce49 RD |
1013 | /* for C++ member pointers, ie, member methods */ |
1014 | #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty) | |
1015 | #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type) | |
32fe5131 | 1016 | |
3004cfd8 | 1017 | |
0085ce49 | 1018 | /* Runtime API */ |
3004cfd8 | 1019 | |
0085ce49 RD |
1020 | #define SWIG_GetModule(clientdata) SWIG_Python_GetModule() |
1021 | #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer) | |
1022 | #define SWIG_NewClientData(obj) PySwigClientData_New(obj) | |
32fe5131 | 1023 | |
0085ce49 RD |
1024 | #define SWIG_SetErrorObj SWIG_Python_SetErrorObj |
1025 | #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg | |
1026 | #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code) | |
1027 | #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg) | |
1028 | #define SWIG_fail goto fail | |
32fe5131 | 1029 | |
3004cfd8 | 1030 | |
0085ce49 | 1031 | /* Runtime API implementation */ |
3004cfd8 | 1032 | |
0085ce49 | 1033 | /* Error manipulation */ |
3004cfd8 | 1034 | |
0085ce49 RD |
1035 | SWIGINTERN void |
1036 | SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) { | |
1037 | SWIG_PYTHON_THREAD_BEGIN_BLOCK; | |
1038 | PyErr_SetObject(errtype, obj); | |
1039 | Py_DECREF(obj); | |
1040 | SWIG_PYTHON_THREAD_END_BLOCK; | |
3004cfd8 RD |
1041 | } |
1042 | ||
0085ce49 RD |
1043 | SWIGINTERN void |
1044 | SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) { | |
1045 | SWIG_PYTHON_THREAD_BEGIN_BLOCK; | |
1046 | PyErr_SetString(errtype, (char *) msg); | |
1047 | SWIG_PYTHON_THREAD_END_BLOCK; | |
3004cfd8 RD |
1048 | } |
1049 | ||
0085ce49 | 1050 | #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) |
32fe5131 | 1051 | |
0085ce49 | 1052 | /* Set a constant value */ |
3004cfd8 | 1053 | |
0085ce49 RD |
1054 | SWIGINTERN void |
1055 | SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) { | |
1056 | PyDict_SetItemString(d, (char*) name, obj); | |
1057 | Py_DECREF(obj); | |
3004cfd8 RD |
1058 | } |
1059 | ||
0085ce49 | 1060 | /* Append a value to the result obj */ |
3004cfd8 | 1061 | |
0085ce49 RD |
1062 | SWIGINTERN PyObject* |
1063 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { | |
1064 | #if !defined(SWIG_PYTHON_OUTPUT_TUPLE) | |
1065 | if (!result) { | |
1066 | result = obj; | |
1067 | } else if (result == Py_None) { | |
1068 | Py_DECREF(result); | |
1069 | result = obj; | |
1070 | } else { | |
1071 | if (!PyList_Check(result)) { | |
1072 | PyObject *o2 = result; | |
1073 | result = PyList_New(1); | |
1074 | PyList_SetItem(result, 0, o2); | |
1075 | } | |
1076 | PyList_Append(result,obj); | |
1077 | Py_DECREF(obj); | |
1078 | } | |
1079 | return result; | |
1080 | #else | |
1081 | PyObject* o2; | |
1082 | PyObject* o3; | |
1083 | if (!result) { | |
1084 | result = obj; | |
1085 | } else if (result == Py_None) { | |
1086 | Py_DECREF(result); | |
1087 | result = obj; | |
3004cfd8 | 1088 | } else { |
0085ce49 RD |
1089 | if (!PyTuple_Check(result)) { |
1090 | o2 = result; | |
1091 | result = PyTuple_New(1); | |
1092 | PyTuple_SET_ITEM(result, 0, o2); | |
1093 | } | |
1094 | o3 = PyTuple_New(1); | |
1095 | PyTuple_SET_ITEM(o3, 0, obj); | |
1096 | o2 = result; | |
1097 | result = PySequence_Concat(o2, o3); | |
1098 | Py_DECREF(o2); | |
1099 | Py_DECREF(o3); | |
3004cfd8 | 1100 | } |
0085ce49 RD |
1101 | return result; |
1102 | #endif | |
3004cfd8 RD |
1103 | } |
1104 | ||
0085ce49 | 1105 | /* Unpack the argument tuple */ |
3004cfd8 | 1106 | |
0085ce49 RD |
1107 | SWIGINTERN int |
1108 | SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs) | |
1109 | { | |
1110 | if (!args) { | |
1111 | if (!min && !max) { | |
1112 | return 1; | |
1113 | } else { | |
1114 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none", | |
1115 | name, (min == max ? "" : "at least "), min); | |
1116 | return 0; | |
1117 | } | |
1118 | } | |
1119 | if (!PyTuple_Check(args)) { | |
1120 | PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple"); | |
1121 | return 0; | |
1122 | } else { | |
1123 | register int l = PyTuple_GET_SIZE(args); | |
1124 | if (l < min) { | |
1125 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", | |
1126 | name, (min == max ? "" : "at least "), min, l); | |
1127 | return 0; | |
1128 | } else if (l > max) { | |
1129 | PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d", | |
1130 | name, (min == max ? "" : "at most "), max, l); | |
1131 | return 0; | |
1132 | } else { | |
1133 | register int i; | |
1134 | for (i = 0; i < l; ++i) { | |
1135 | objs[i] = PyTuple_GET_ITEM(args, i); | |
1136 | } | |
1137 | for (; l < max; ++l) { | |
1138 | objs[l] = 0; | |
1139 | } | |
1140 | return i + 1; | |
1141 | } | |
1142 | } | |
1143 | } | |
1144 | ||
1145 | /* A functor is a function object with one single object argument */ | |
1146 | #if PY_VERSION_HEX >= 0x02020000 | |
1147 | #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL); | |
1148 | #else | |
1149 | #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj); | |
1150 | #endif | |
1151 | ||
1152 | /* | |
1153 | Helper for static pointer initialization for both C and C++ code, for example | |
1154 | static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...); | |
1155 | */ | |
1156 | #ifdef __cplusplus | |
1157 | #define SWIG_STATIC_POINTER(var) var | |
1158 | #else | |
1159 | #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var | |
1160 | #endif | |
1161 | ||
1162 | /* ----------------------------------------------------------------------------- | |
1163 | * Pointer declarations | |
1164 | * ----------------------------------------------------------------------------- */ | |
1165 | ||
1166 | /* Flags for new pointer objects */ | |
1167 | #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1) | |
1168 | #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN) | |
1169 | ||
1170 | #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1) | |
1171 | ||
1172 | #ifdef __cplusplus | |
1173 | extern "C" { | |
1174 | #if 0 | |
1175 | } /* cc-mode */ | |
1176 | #endif | |
1177 | #endif | |
1178 | ||
1179 | /* How to access Py_None */ | |
1180 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
1181 | # ifndef SWIG_PYTHON_NO_BUILD_NONE | |
1182 | # ifndef SWIG_PYTHON_BUILD_NONE | |
1183 | # define SWIG_PYTHON_BUILD_NONE | |
1184 | # endif | |
1185 | # endif | |
1186 | #endif | |
1187 | ||
1188 | #ifdef SWIG_PYTHON_BUILD_NONE | |
1189 | # ifdef Py_None | |
1190 | # undef Py_None | |
1191 | # define Py_None SWIG_Py_None() | |
1192 | # endif | |
1193 | SWIGRUNTIMEINLINE PyObject * | |
1194 | _SWIG_Py_None(void) | |
1195 | { | |
1196 | PyObject *none = Py_BuildValue(""); | |
1197 | Py_DECREF(none); | |
1198 | return none; | |
1199 | } | |
1200 | SWIGRUNTIME PyObject * | |
1201 | SWIG_Py_None(void) | |
1202 | { | |
1203 | static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None(); | |
1204 | return none; | |
1205 | } | |
1206 | #endif | |
1207 | ||
1208 | /* The python void return value */ | |
1209 | ||
1210 | SWIGRUNTIMEINLINE PyObject * | |
1211 | SWIG_Py_Void(void) | |
1212 | { | |
1213 | PyObject *none = Py_None; | |
1214 | Py_INCREF(none); | |
1215 | return none; | |
1216 | } | |
1217 | ||
1218 | /* PySwigClientData */ | |
1219 | ||
1220 | typedef struct { | |
1221 | PyObject *klass; | |
1222 | PyObject *newraw; | |
1223 | PyObject *newargs; | |
1224 | PyObject *destroy; | |
1225 | int delargs; | |
1226 | int implicitconv; | |
1227 | } PySwigClientData; | |
1228 | ||
1229 | SWIGRUNTIMEINLINE int | |
1230 | SWIG_Python_CheckImplicit(swig_type_info *ty) | |
1231 | { | |
1232 | PySwigClientData *data = (PySwigClientData *)ty->clientdata; | |
1233 | return data ? data->implicitconv : 0; | |
1234 | } | |
1235 | ||
1236 | SWIGRUNTIMEINLINE PyObject * | |
1237 | SWIG_Python_ExceptionType(swig_type_info *desc) { | |
1238 | PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0; | |
1239 | PyObject *klass = data ? data->klass : 0; | |
1240 | return (klass ? klass : PyExc_RuntimeError); | |
1241 | } | |
1242 | ||
1243 | ||
1244 | SWIGRUNTIME PySwigClientData * | |
1245 | PySwigClientData_New(PyObject* obj) | |
1246 | { | |
1247 | if (!obj) { | |
1248 | return 0; | |
1249 | } else { | |
1250 | PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData)); | |
1251 | /* the klass element */ | |
1252 | data->klass = obj; | |
1253 | Py_INCREF(data->klass); | |
1254 | /* the newraw method and newargs arguments used to create a new raw instance */ | |
1255 | if (PyClass_Check(obj)) { | |
1256 | data->newraw = 0; | |
1257 | data->newargs = obj; | |
1258 | Py_INCREF(obj); | |
1259 | } else { | |
1260 | #if (PY_VERSION_HEX < 0x02020000) | |
1261 | data->newraw = 0; | |
1262 | #else | |
1263 | data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__"); | |
1264 | #endif | |
1265 | if (data->newraw) { | |
1266 | Py_INCREF(data->newraw); | |
1267 | data->newargs = PyTuple_New(1); | |
1268 | PyTuple_SetItem(data->newargs, 0, obj); | |
1269 | } else { | |
1270 | data->newargs = obj; | |
1271 | } | |
1272 | Py_INCREF(data->newargs); | |
1273 | } | |
1274 | /* the destroy method, aka as the C++ delete method */ | |
1275 | data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__"); | |
1276 | if (PyErr_Occurred()) { | |
1277 | PyErr_Clear(); | |
1278 | data->destroy = 0; | |
1279 | } | |
1280 | if (data->destroy) { | |
1281 | int flags; | |
1282 | Py_INCREF(data->destroy); | |
1283 | flags = PyCFunction_GET_FLAGS(data->destroy); | |
1284 | #ifdef METH_O | |
1285 | data->delargs = !(flags & (METH_O)); | |
1286 | #else | |
1287 | data->delargs = 0; | |
1288 | #endif | |
1289 | } else { | |
1290 | data->delargs = 0; | |
1291 | } | |
1292 | data->implicitconv = 0; | |
1293 | return data; | |
1294 | } | |
1295 | } | |
1296 | ||
1297 | SWIGRUNTIME void | |
1298 | PySwigClientData_Del(PySwigClientData* data) | |
1299 | { | |
1300 | Py_XDECREF(data->newraw); | |
1301 | Py_XDECREF(data->newargs); | |
1302 | Py_XDECREF(data->destroy); | |
1303 | } | |
1304 | ||
1305 | /* =============== PySwigObject =====================*/ | |
1306 | ||
1307 | typedef struct { | |
1308 | PyObject_HEAD | |
1309 | void *ptr; | |
1310 | swig_type_info *ty; | |
1311 | int own; | |
1312 | PyObject *next; | |
1313 | } PySwigObject; | |
1314 | ||
1315 | SWIGRUNTIME PyObject * | |
1316 | PySwigObject_long(PySwigObject *v) | |
1317 | { | |
1318 | return PyLong_FromVoidPtr(v->ptr); | |
1319 | } | |
1320 | ||
1321 | SWIGRUNTIME PyObject * | |
1322 | PySwigObject_format(const char* fmt, PySwigObject *v) | |
1323 | { | |
1324 | PyObject *res = NULL; | |
1325 | PyObject *args = PyTuple_New(1); | |
1326 | if (args) { | |
1327 | if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) { | |
1328 | PyObject *ofmt = PyString_FromString(fmt); | |
1329 | if (ofmt) { | |
1330 | res = PyString_Format(ofmt,args); | |
1331 | Py_DECREF(ofmt); | |
1332 | } | |
1333 | Py_DECREF(args); | |
1334 | } | |
1335 | } | |
1336 | return res; | |
1337 | } | |
1338 | ||
1339 | SWIGRUNTIME PyObject * | |
1340 | PySwigObject_oct(PySwigObject *v) | |
1341 | { | |
1342 | return PySwigObject_format("%o",v); | |
1343 | } | |
1344 | ||
1345 | SWIGRUNTIME PyObject * | |
1346 | PySwigObject_hex(PySwigObject *v) | |
1347 | { | |
1348 | return PySwigObject_format("%x",v); | |
1349 | } | |
1350 | ||
1351 | SWIGRUNTIME PyObject * | |
1352 | #ifdef METH_NOARGS | |
1353 | PySwigObject_repr(PySwigObject *v) | |
1354 | #else | |
1355 | PySwigObject_repr(PySwigObject *v, PyObject *args) | |
1356 | #endif | |
1357 | { | |
1358 | const char *name = SWIG_TypePrettyName(v->ty); | |
1359 | PyObject *hex = PySwigObject_hex(v); | |
1360 | PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex)); | |
1361 | Py_DECREF(hex); | |
1362 | if (v->next) { | |
1363 | #ifdef METH_NOARGS | |
1364 | PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next); | |
1365 | #else | |
1366 | PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args); | |
1367 | #endif | |
1368 | PyString_ConcatAndDel(&repr,nrep); | |
1369 | } | |
1370 | return repr; | |
1371 | } | |
1372 | ||
1373 | SWIGRUNTIME int | |
1374 | PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) | |
1375 | { | |
1376 | #ifdef METH_NOARGS | |
1377 | PyObject *repr = PySwigObject_repr(v); | |
1378 | #else | |
1379 | PyObject *repr = PySwigObject_repr(v, NULL); | |
1380 | #endif | |
1381 | if (repr) { | |
1382 | fputs(PyString_AsString(repr), fp); | |
1383 | Py_DECREF(repr); | |
1384 | return 0; | |
1385 | } else { | |
1386 | return 1; | |
1387 | } | |
1388 | } | |
1389 | ||
1390 | SWIGRUNTIME PyObject * | |
1391 | PySwigObject_str(PySwigObject *v) | |
1392 | { | |
1393 | char result[SWIG_BUFFER_SIZE]; | |
1394 | return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ? | |
1395 | PyString_FromString(result) : 0; | |
1396 | } | |
1397 | ||
1398 | SWIGRUNTIME int | |
1399 | PySwigObject_compare(PySwigObject *v, PySwigObject *w) | |
1400 | { | |
1401 | void *i = v->ptr; | |
1402 | void *j = w->ptr; | |
1403 | return (i < j) ? -1 : ((i > j) ? 1 : 0); | |
1404 | } | |
1405 | ||
1406 | SWIGRUNTIME PyTypeObject* _PySwigObject_type(void); | |
1407 | ||
1408 | SWIGRUNTIME PyTypeObject* | |
1409 | PySwigObject_type(void) { | |
1410 | static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type(); | |
1411 | return type; | |
1412 | } | |
1413 | ||
1414 | SWIGRUNTIMEINLINE int | |
1415 | PySwigObject_Check(PyObject *op) { | |
1416 | return ((op)->ob_type == PySwigObject_type()) | |
1417 | || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0); | |
1418 | } | |
1419 | ||
1420 | SWIGRUNTIME PyObject * | |
1421 | PySwigObject_New(void *ptr, swig_type_info *ty, int own); | |
1422 | ||
1423 | SWIGRUNTIME void | |
1424 | PySwigObject_dealloc(PyObject *v) | |
1425 | { | |
1426 | PySwigObject *sobj = (PySwigObject *) v; | |
1427 | PyObject *next = sobj->next; | |
1428 | if (sobj->own) { | |
1429 | swig_type_info *ty = sobj->ty; | |
1430 | PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; | |
1431 | PyObject *destroy = data ? data->destroy : 0; | |
1432 | if (destroy) { | |
1433 | /* destroy is always a VARARGS method */ | |
1434 | PyObject *res; | |
1435 | if (data->delargs) { | |
1436 | /* we need to create a temporal object to carry the destroy operation */ | |
1437 | PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0); | |
1438 | res = SWIG_Python_CallFunctor(destroy, tmp); | |
1439 | Py_DECREF(tmp); | |
1440 | } else { | |
1441 | PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); | |
1442 | PyObject *mself = PyCFunction_GET_SELF(destroy); | |
1443 | res = ((*meth)(mself, v)); | |
1444 | } | |
1445 | Py_XDECREF(res); | |
1446 | } else { | |
1447 | const char *name = SWIG_TypePrettyName(ty); | |
1448 | #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) | |
1449 | printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name); | |
1450 | #endif | |
1451 | } | |
1452 | } | |
1453 | Py_XDECREF(next); | |
1454 | PyObject_DEL(v); | |
1455 | } | |
1456 | ||
1457 | SWIGRUNTIME PyObject* | |
1458 | PySwigObject_append(PyObject* v, PyObject* next) | |
1459 | { | |
1460 | PySwigObject *sobj = (PySwigObject *) v; | |
1461 | #ifndef METH_O | |
1462 | PyObject *tmp = 0; | |
1463 | if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL; | |
1464 | next = tmp; | |
1465 | #endif | |
1466 | if (!PySwigObject_Check(next)) { | |
1467 | return NULL; | |
1468 | } | |
1469 | sobj->next = next; | |
1470 | Py_INCREF(next); | |
1471 | return SWIG_Py_Void(); | |
1472 | } | |
1473 | ||
1474 | SWIGRUNTIME PyObject* | |
1475 | #ifdef METH_NOARGS | |
1476 | PySwigObject_next(PyObject* v) | |
1477 | #else | |
1478 | PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1479 | #endif | |
1480 | { | |
1481 | PySwigObject *sobj = (PySwigObject *) v; | |
1482 | if (sobj->next) { | |
1483 | Py_INCREF(sobj->next); | |
1484 | return sobj->next; | |
1485 | } else { | |
1486 | return SWIG_Py_Void(); | |
1487 | } | |
1488 | } | |
1489 | ||
1490 | SWIGINTERN PyObject* | |
1491 | #ifdef METH_NOARGS | |
1492 | PySwigObject_disown(PyObject *v) | |
1493 | #else | |
1494 | PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1495 | #endif | |
1496 | { | |
1497 | PySwigObject *sobj = (PySwigObject *)v; | |
1498 | sobj->own = 0; | |
1499 | return SWIG_Py_Void(); | |
1500 | } | |
1501 | ||
1502 | SWIGINTERN PyObject* | |
1503 | #ifdef METH_NOARGS | |
1504 | PySwigObject_acquire(PyObject *v) | |
1505 | #else | |
1506 | PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) | |
1507 | #endif | |
1508 | { | |
1509 | PySwigObject *sobj = (PySwigObject *)v; | |
1510 | sobj->own = SWIG_POINTER_OWN; | |
1511 | return SWIG_Py_Void(); | |
1512 | } | |
1513 | ||
1514 | SWIGINTERN PyObject* | |
1515 | PySwigObject_own(PyObject *v, PyObject *args) | |
1516 | { | |
1517 | PyObject *val = 0; | |
1518 | #if (PY_VERSION_HEX < 0x02020000) | |
1519 | if (!PyArg_ParseTuple(args,(char *)"|O:own",&val)) | |
1520 | #else | |
1521 | if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val)) | |
1522 | #endif | |
1523 | { | |
1524 | return NULL; | |
1525 | } | |
1526 | else | |
1527 | { | |
1528 | PySwigObject *sobj = (PySwigObject *)v; | |
1529 | PyObject *obj = PyBool_FromLong(sobj->own); | |
1530 | if (val) { | |
1531 | #ifdef METH_NOARGS | |
1532 | if (PyObject_IsTrue(val)) { | |
1533 | PySwigObject_acquire(v); | |
1534 | } else { | |
1535 | PySwigObject_disown(v); | |
1536 | } | |
1537 | #else | |
1538 | if (PyObject_IsTrue(val)) { | |
1539 | PySwigObject_acquire(v,args); | |
1540 | } else { | |
1541 | PySwigObject_disown(v,args); | |
1542 | } | |
1543 | #endif | |
1544 | } | |
1545 | return obj; | |
1546 | } | |
1547 | } | |
1548 | ||
1549 | #ifdef METH_O | |
1550 | static PyMethodDef | |
1551 | swigobject_methods[] = { | |
1552 | {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"}, | |
1553 | {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"}, | |
1554 | {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, | |
1555 | {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"}, | |
1556 | {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"}, | |
1557 | {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"}, | |
1558 | {0, 0, 0, 0} | |
1559 | }; | |
1560 | #else | |
1561 | static PyMethodDef | |
1562 | swigobject_methods[] = { | |
1563 | {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"}, | |
1564 | {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"}, | |
1565 | {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"}, | |
1566 | {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"}, | |
1567 | {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"}, | |
1568 | {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"}, | |
1569 | {0, 0, 0, 0} | |
1570 | }; | |
1571 | #endif | |
1572 | ||
1573 | #if PY_VERSION_HEX < 0x02020000 | |
1574 | SWIGINTERN PyObject * | |
1575 | PySwigObject_getattr(PySwigObject *sobj,char *name) | |
1576 | { | |
1577 | return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name); | |
1578 | } | |
1579 | #endif | |
1580 | ||
1581 | SWIGRUNTIME PyTypeObject* | |
1582 | _PySwigObject_type(void) { | |
1583 | static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer"; | |
1584 | ||
1585 | static PyNumberMethods PySwigObject_as_number = { | |
1586 | (binaryfunc)0, /*nb_add*/ | |
1587 | (binaryfunc)0, /*nb_subtract*/ | |
1588 | (binaryfunc)0, /*nb_multiply*/ | |
1589 | (binaryfunc)0, /*nb_divide*/ | |
1590 | (binaryfunc)0, /*nb_remainder*/ | |
3004cfd8 RD |
1591 | (binaryfunc)0, /*nb_divmod*/ |
1592 | (ternaryfunc)0,/*nb_power*/ | |
1593 | (unaryfunc)0, /*nb_negative*/ | |
1594 | (unaryfunc)0, /*nb_positive*/ | |
1595 | (unaryfunc)0, /*nb_absolute*/ | |
1596 | (inquiry)0, /*nb_nonzero*/ | |
1597 | 0, /*nb_invert*/ | |
1598 | 0, /*nb_lshift*/ | |
1599 | 0, /*nb_rshift*/ | |
1600 | 0, /*nb_and*/ | |
1601 | 0, /*nb_xor*/ | |
1602 | 0, /*nb_or*/ | |
1603 | (coercion)0, /*nb_coerce*/ | |
1604 | (unaryfunc)PySwigObject_long, /*nb_int*/ | |
1605 | (unaryfunc)PySwigObject_long, /*nb_long*/ | |
1606 | (unaryfunc)0, /*nb_float*/ | |
1607 | (unaryfunc)PySwigObject_oct, /*nb_oct*/ | |
1608 | (unaryfunc)PySwigObject_hex, /*nb_hex*/ | |
32fe5131 | 1609 | #if PY_VERSION_HEX >= 0x02020000 |
3004cfd8 | 1610 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ |
32fe5131 RD |
1611 | #elif PY_VERSION_HEX >= 0x02000000 |
1612 | 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ | |
3004cfd8 RD |
1613 | #endif |
1614 | }; | |
1615 | ||
0085ce49 | 1616 | static PyTypeObject pyswigobject_type; |
32fe5131 | 1617 | static int type_init = 0; |
3004cfd8 | 1618 | if (!type_init) { |
0085ce49 RD |
1619 | const PyTypeObject tmp |
1620 | = { | |
1621 | PyObject_HEAD_INIT(NULL) | |
1622 | 0, /* ob_size */ | |
1623 | (char *)"PySwigObject", /* tp_name */ | |
1624 | sizeof(PySwigObject), /* tp_basicsize */ | |
1625 | 0, /* tp_itemsize */ | |
1626 | (destructor)PySwigObject_dealloc, /* tp_dealloc */ | |
1627 | (printfunc)PySwigObject_print, /* tp_print */ | |
1628 | #if PY_VERSION_HEX < 0x02020000 | |
1629 | (getattrfunc)PySwigObject_getattr, /* tp_getattr */ | |
1630 | #else | |
1631 | (getattrfunc)0, /* tp_getattr */ | |
3004cfd8 | 1632 | #endif |
0085ce49 RD |
1633 | (setattrfunc)0, /* tp_setattr */ |
1634 | (cmpfunc)PySwigObject_compare, /* tp_compare */ | |
1635 | (reprfunc)PySwigObject_repr, /* tp_repr */ | |
1636 | &PySwigObject_as_number, /* tp_as_number */ | |
1637 | 0, /* tp_as_sequence */ | |
1638 | 0, /* tp_as_mapping */ | |
1639 | (hashfunc)0, /* tp_hash */ | |
1640 | (ternaryfunc)0, /* tp_call */ | |
1641 | (reprfunc)PySwigObject_str, /* tp_str */ | |
1642 | PyObject_GenericGetAttr, /* tp_getattro */ | |
1643 | 0, /* tp_setattro */ | |
1644 | 0, /* tp_as_buffer */ | |
1645 | Py_TPFLAGS_DEFAULT, /* tp_flags */ | |
1646 | swigobject_doc, /* tp_doc */ | |
1647 | 0, /* tp_traverse */ | |
1648 | 0, /* tp_clear */ | |
1649 | 0, /* tp_richcompare */ | |
1650 | 0, /* tp_weaklistoffset */ | |
3004cfd8 | 1651 | #if PY_VERSION_HEX >= 0x02020000 |
0085ce49 RD |
1652 | 0, /* tp_iter */ |
1653 | 0, /* tp_iternext */ | |
1654 | swigobject_methods, /* tp_methods */ | |
1655 | 0, /* tp_members */ | |
1656 | 0, /* tp_getset */ | |
1657 | 0, /* tp_base */ | |
1658 | 0, /* tp_dict */ | |
1659 | 0, /* tp_descr_get */ | |
1660 | 0, /* tp_descr_set */ | |
1661 | 0, /* tp_dictoffset */ | |
1662 | 0, /* tp_init */ | |
1663 | 0, /* tp_alloc */ | |
1664 | 0, /* tp_new */ | |
1665 | 0, /* tp_free */ | |
1666 | 0, /* tp_is_gc */ | |
1667 | 0, /* tp_bases */ | |
1668 | 0, /* tp_mro */ | |
1669 | 0, /* tp_cache */ | |
1670 | 0, /* tp_subclasses */ | |
1671 | 0, /* tp_weaklist */ | |
3004cfd8 RD |
1672 | #endif |
1673 | #if PY_VERSION_HEX >= 0x02030000 | |
0085ce49 | 1674 | 0, /* tp_del */ |
3004cfd8 RD |
1675 | #endif |
1676 | #ifdef COUNT_ALLOCS | |
0085ce49 | 1677 | 0,0,0,0 /* tp_alloc -> tp_next */ |
44127b65 | 1678 | #endif |
0085ce49 | 1679 | }; |
32fe5131 | 1680 | pyswigobject_type = tmp; |
0085ce49 | 1681 | pyswigobject_type.ob_type = &PyType_Type; |
3004cfd8 RD |
1682 | type_init = 1; |
1683 | } | |
32fe5131 | 1684 | return &pyswigobject_type; |
3004cfd8 | 1685 | } |
c32bde28 | 1686 | |
3004cfd8 | 1687 | SWIGRUNTIME PyObject * |
0085ce49 | 1688 | PySwigObject_New(void *ptr, swig_type_info *ty, int own) |
3004cfd8 | 1689 | { |
0085ce49 RD |
1690 | PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type()); |
1691 | if (sobj) { | |
1692 | sobj->ptr = ptr; | |
1693 | sobj->ty = ty; | |
1694 | sobj->own = own; | |
1695 | sobj->next = 0; | |
32fe5131 | 1696 | } |
0085ce49 | 1697 | return (PyObject *)sobj; |
3004cfd8 | 1698 | } |
44127b65 | 1699 | |
3004cfd8 RD |
1700 | /* ----------------------------------------------------------------------------- |
1701 | * Implements a simple Swig Packed type, and use it instead of string | |
1702 | * ----------------------------------------------------------------------------- */ | |
44127b65 | 1703 | |
3004cfd8 RD |
1704 | typedef struct { |
1705 | PyObject_HEAD | |
1706 | void *pack; | |
0085ce49 | 1707 | swig_type_info *ty; |
3004cfd8 RD |
1708 | size_t size; |
1709 | } PySwigPacked; | |
44127b65 | 1710 | |
3004cfd8 | 1711 | SWIGRUNTIME int |
0085ce49 | 1712 | PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags)) |
3004cfd8 RD |
1713 | { |
1714 | char result[SWIG_BUFFER_SIZE]; | |
1715 | fputs("<Swig Packed ", fp); | |
1716 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
1717 | fputs("at ", fp); | |
1718 | fputs(result, fp); | |
1719 | } | |
0085ce49 | 1720 | fputs(v->ty->name,fp); |
3004cfd8 RD |
1721 | fputs(">", fp); |
1722 | return 0; | |
1723 | } | |
1724 | ||
1725 | SWIGRUNTIME PyObject * | |
1726 | PySwigPacked_repr(PySwigPacked *v) | |
1727 | { | |
1728 | char result[SWIG_BUFFER_SIZE]; | |
1729 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) { | |
0085ce49 | 1730 | return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name); |
3004cfd8 | 1731 | } else { |
0085ce49 | 1732 | return PyString_FromFormat("<Swig Packed %s>", v->ty->name); |
3004cfd8 RD |
1733 | } |
1734 | } | |
c32bde28 | 1735 | |
3004cfd8 RD |
1736 | SWIGRUNTIME PyObject * |
1737 | PySwigPacked_str(PySwigPacked *v) | |
1738 | { | |
1739 | char result[SWIG_BUFFER_SIZE]; | |
1740 | if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){ | |
0085ce49 | 1741 | return PyString_FromFormat("%s%s", result, v->ty->name); |
3004cfd8 | 1742 | } else { |
0085ce49 | 1743 | return PyString_FromString(v->ty->name); |
3004cfd8 RD |
1744 | } |
1745 | } | |
1746 | ||
1747 | SWIGRUNTIME int | |
1748 | PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) | |
1749 | { | |
0085ce49 RD |
1750 | size_t i = v->size; |
1751 | size_t j = w->size; | |
1752 | int s = (i < j) ? -1 : ((i > j) ? 1 : 0); | |
1753 | return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size); | |
3004cfd8 RD |
1754 | } |
1755 | ||
0085ce49 | 1756 | SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void); |
3004cfd8 RD |
1757 | |
1758 | SWIGRUNTIME PyTypeObject* | |
32fe5131 | 1759 | PySwigPacked_type(void) { |
0085ce49 RD |
1760 | static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type(); |
1761 | return type; | |
1762 | } | |
1763 | ||
1764 | SWIGRUNTIMEINLINE int | |
1765 | PySwigPacked_Check(PyObject *op) { | |
1766 | return ((op)->ob_type == _PySwigPacked_type()) | |
1767 | || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0); | |
1768 | } | |
1769 | ||
1770 | SWIGRUNTIME void | |
1771 | PySwigPacked_dealloc(PyObject *v) | |
1772 | { | |
1773 | if (PySwigPacked_Check(v)) { | |
1774 | PySwigPacked *sobj = (PySwigPacked *) v; | |
1775 | free(sobj->pack); | |
1776 | } | |
1777 | PyObject_DEL(v); | |
1778 | } | |
1779 | ||
1780 | SWIGRUNTIME PyTypeObject* | |
1781 | _PySwigPacked_type(void) { | |
1782 | static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer"; | |
1783 | static PyTypeObject pyswigpacked_type; | |
1784 | static int type_init = 0; | |
1785 | if (!type_init) { | |
1786 | const PyTypeObject tmp | |
1787 | = { | |
1788 | PyObject_HEAD_INIT(NULL) | |
1789 | 0, /* ob_size */ | |
1790 | (char *)"PySwigPacked", /* tp_name */ | |
1791 | sizeof(PySwigPacked), /* tp_basicsize */ | |
1792 | 0, /* tp_itemsize */ | |
1793 | (destructor)PySwigPacked_dealloc, /* tp_dealloc */ | |
1794 | (printfunc)PySwigPacked_print, /* tp_print */ | |
1795 | (getattrfunc)0, /* tp_getattr */ | |
1796 | (setattrfunc)0, /* tp_setattr */ | |
1797 | (cmpfunc)PySwigPacked_compare, /* tp_compare */ | |
1798 | (reprfunc)PySwigPacked_repr, /* tp_repr */ | |
1799 | 0, /* tp_as_number */ | |
1800 | 0, /* tp_as_sequence */ | |
1801 | 0, /* tp_as_mapping */ | |
1802 | (hashfunc)0, /* tp_hash */ | |
1803 | (ternaryfunc)0, /* tp_call */ | |
1804 | (reprfunc)PySwigPacked_str, /* tp_str */ | |
1805 | PyObject_GenericGetAttr, /* tp_getattro */ | |
1806 | 0, /* tp_setattro */ | |
1807 | 0, /* tp_as_buffer */ | |
1808 | Py_TPFLAGS_DEFAULT, /* tp_flags */ | |
1809 | swigpacked_doc, /* tp_doc */ | |
1810 | 0, /* tp_traverse */ | |
1811 | 0, /* tp_clear */ | |
1812 | 0, /* tp_richcompare */ | |
1813 | 0, /* tp_weaklistoffset */ | |
1814 | #if PY_VERSION_HEX >= 0x02020000 | |
1815 | 0, /* tp_iter */ | |
1816 | 0, /* tp_iternext */ | |
1817 | 0, /* tp_methods */ | |
1818 | 0, /* tp_members */ | |
1819 | 0, /* tp_getset */ | |
1820 | 0, /* tp_base */ | |
1821 | 0, /* tp_dict */ | |
1822 | 0, /* tp_descr_get */ | |
1823 | 0, /* tp_descr_set */ | |
1824 | 0, /* tp_dictoffset */ | |
1825 | 0, /* tp_init */ | |
1826 | 0, /* tp_alloc */ | |
1827 | 0, /* tp_new */ | |
1828 | 0, /* tp_free */ | |
1829 | 0, /* tp_is_gc */ | |
1830 | 0, /* tp_bases */ | |
1831 | 0, /* tp_mro */ | |
1832 | 0, /* tp_cache */ | |
1833 | 0, /* tp_subclasses */ | |
1834 | 0, /* tp_weaklist */ | |
3004cfd8 RD |
1835 | #endif |
1836 | #if PY_VERSION_HEX >= 0x02030000 | |
0085ce49 | 1837 | 0, /* tp_del */ |
3004cfd8 RD |
1838 | #endif |
1839 | #ifdef COUNT_ALLOCS | |
0085ce49 | 1840 | 0,0,0,0 /* tp_alloc -> tp_next */ |
3004cfd8 | 1841 | #endif |
0085ce49 | 1842 | }; |
32fe5131 | 1843 | pyswigpacked_type = tmp; |
0085ce49 | 1844 | pyswigpacked_type.ob_type = &PyType_Type; |
3004cfd8 RD |
1845 | type_init = 1; |
1846 | } | |
32fe5131 | 1847 | return &pyswigpacked_type; |
3004cfd8 RD |
1848 | } |
1849 | ||
1850 | SWIGRUNTIME PyObject * | |
0085ce49 | 1851 | PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty) |
3004cfd8 | 1852 | { |
0085ce49 RD |
1853 | PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type()); |
1854 | if (sobj) { | |
3004cfd8 | 1855 | void *pack = malloc(size); |
32fe5131 RD |
1856 | if (pack) { |
1857 | memcpy(pack, ptr, size); | |
0085ce49 RD |
1858 | sobj->pack = pack; |
1859 | sobj->ty = ty; | |
1860 | sobj->size = size; | |
1861 | } else { | |
1862 | PyObject_DEL((PyObject *) sobj); | |
1863 | sobj = 0; | |
32fe5131 | 1864 | } |
3004cfd8 | 1865 | } |
0085ce49 | 1866 | return (PyObject *) sobj; |
3004cfd8 RD |
1867 | } |
1868 | ||
0085ce49 | 1869 | SWIGRUNTIME swig_type_info * |
3004cfd8 RD |
1870 | PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) |
1871 | { | |
0085ce49 RD |
1872 | if (PySwigPacked_Check(obj)) { |
1873 | PySwigPacked *sobj = (PySwigPacked *)obj; | |
1874 | if (sobj->size != size) return 0; | |
1875 | memcpy(ptr, sobj->pack, size); | |
1876 | return sobj->ty; | |
1877 | } else { | |
1878 | return 0; | |
1879 | } | |
3004cfd8 RD |
1880 | } |
1881 | ||
3004cfd8 | 1882 | /* ----------------------------------------------------------------------------- |
0085ce49 | 1883 | * pointers/data manipulation |
3004cfd8 RD |
1884 | * ----------------------------------------------------------------------------- */ |
1885 | ||
0085ce49 RD |
1886 | SWIGRUNTIMEINLINE PyObject * |
1887 | _SWIG_This(void) | |
1888 | { | |
1889 | return PyString_FromString("this"); | |
1890 | } | |
3004cfd8 | 1891 | |
0085ce49 RD |
1892 | SWIGRUNTIME PyObject * |
1893 | SWIG_This(void) | |
1894 | { | |
1895 | static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This(); | |
1896 | return swig_this; | |
1897 | } | |
3004cfd8 | 1898 | |
0085ce49 | 1899 | /* #define SWIG_PYTHON_SLOW_GETSET_THIS */ |
3004cfd8 | 1900 | |
0085ce49 RD |
1901 | SWIGRUNTIME PySwigObject * |
1902 | SWIG_Python_GetSwigThis(PyObject *pyobj) | |
3004cfd8 | 1903 | { |
0085ce49 RD |
1904 | if (PySwigObject_Check(pyobj)) { |
1905 | return (PySwigObject *) pyobj; | |
1906 | } else { | |
1907 | PyObject *obj = 0; | |
1908 | #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000)) | |
1909 | if (PyInstance_Check(pyobj)) { | |
1910 | obj = _PyInstance_Lookup(pyobj, SWIG_This()); | |
1911 | } else { | |
1912 | PyObject **dictptr = _PyObject_GetDictPtr(pyobj); | |
1913 | if (dictptr != NULL) { | |
1914 | PyObject *dict = *dictptr; | |
1915 | obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0; | |
1916 | } else { | |
1917 | #ifdef PyWeakref_CheckProxy | |
1918 | if (PyWeakref_CheckProxy(pyobj)) { | |
1919 | PyObject *wobj = PyWeakref_GET_OBJECT(pyobj); | |
1920 | return wobj ? SWIG_Python_GetSwigThis(wobj) : 0; | |
1921 | } | |
1922 | #endif | |
1923 | obj = PyObject_GetAttr(pyobj,SWIG_This()); | |
1924 | if (obj) { | |
1925 | Py_DECREF(obj); | |
3004cfd8 | 1926 | } else { |
0085ce49 RD |
1927 | if (PyErr_Occurred()) PyErr_Clear(); |
1928 | return 0; | |
3004cfd8 | 1929 | } |
3004cfd8 | 1930 | } |
0085ce49 RD |
1931 | } |
1932 | #else | |
1933 | obj = PyObject_GetAttr(pyobj,SWIG_This()); | |
1934 | if (obj) { | |
1935 | Py_DECREF(obj); | |
1936 | } else { | |
1937 | if (PyErr_Occurred()) PyErr_Clear(); | |
1938 | return 0; | |
1939 | } | |
1940 | #endif | |
1941 | if (obj && !PySwigObject_Check(obj)) { | |
1942 | /* a PyObject is called 'this', try to get the 'real this' | |
1943 | PySwigObject from it */ | |
1944 | return SWIG_Python_GetSwigThis(obj); | |
1945 | } | |
1946 | return (PySwigObject *)obj; | |
3004cfd8 RD |
1947 | } |
1948 | } | |
1949 | ||
0085ce49 RD |
1950 | /* Acquire a pointer value */ |
1951 | ||
1952 | SWIGRUNTIME int | |
1953 | SWIG_Python_AcquirePtr(PyObject *obj, int own) { | |
1954 | if (own) { | |
1955 | PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); | |
1956 | if (sobj) { | |
1957 | int oldown = sobj->own; | |
1958 | sobj->own = own; | |
1959 | return oldown; | |
1960 | } | |
3004cfd8 | 1961 | } |
0085ce49 | 1962 | return 0; |
3004cfd8 RD |
1963 | } |
1964 | ||
0085ce49 RD |
1965 | /* Convert a pointer value */ |
1966 | ||
3004cfd8 | 1967 | SWIGRUNTIME int |
0085ce49 RD |
1968 | SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) { |
1969 | if (!obj) return SWIG_ERROR; | |
1970 | if (obj == Py_None) { | |
1971 | if (ptr) *ptr = 0; | |
1972 | return SWIG_OK; | |
1973 | } else { | |
1974 | PySwigObject *sobj = SWIG_Python_GetSwigThis(obj); | |
1975 | while (sobj) { | |
1976 | void *vptr = sobj->ptr; | |
1977 | if (ty) { | |
1978 | swig_type_info *to = sobj->ty; | |
1979 | if (to == ty) { | |
1980 | /* no type cast needed */ | |
1981 | if (ptr) *ptr = vptr; | |
1982 | break; | |
1983 | } else { | |
1984 | swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); | |
1985 | if (!tc) { | |
1986 | sobj = (PySwigObject *)sobj->next; | |
1987 | } else { | |
1988 | if (ptr) *ptr = SWIG_TypeCast(tc,vptr); | |
1989 | break; | |
1990 | } | |
1991 | } | |
3004cfd8 | 1992 | } else { |
0085ce49 RD |
1993 | if (ptr) *ptr = vptr; |
1994 | break; | |
3004cfd8 | 1995 | } |
3004cfd8 | 1996 | } |
0085ce49 RD |
1997 | if (sobj) { |
1998 | if (own) *own = sobj->own; | |
1999 | if (flags & SWIG_POINTER_DISOWN) { | |
2000 | sobj->own = 0; | |
2001 | } | |
2002 | return SWIG_OK; | |
2003 | } else { | |
2004 | int res = SWIG_ERROR; | |
2005 | if (flags & SWIG_POINTER_IMPLICIT_CONV) { | |
2006 | PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0; | |
2007 | if (data && !data->implicitconv) { | |
2008 | PyObject *klass = data->klass; | |
2009 | if (klass) { | |
2010 | PyObject *impconv; | |
2011 | data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/ | |
2012 | impconv = SWIG_Python_CallFunctor(klass, obj); | |
2013 | data->implicitconv = 0; | |
2014 | if (PyErr_Occurred()) { | |
2015 | PyErr_Clear(); | |
2016 | impconv = 0; | |
2017 | } | |
2018 | if (impconv) { | |
2019 | PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv); | |
2020 | if (iobj) { | |
2021 | void *vptr; | |
2022 | res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0); | |
2023 | if (SWIG_IsOK(res)) { | |
2024 | if (ptr) { | |
2025 | *ptr = vptr; | |
2026 | /* transfer the ownership to 'ptr' */ | |
2027 | iobj->own = 0; | |
2028 | res = SWIG_AddCast(res); | |
2029 | res = SWIG_AddNewMask(res); | |
2030 | } else { | |
2031 | res = SWIG_AddCast(res); | |
2032 | } | |
2033 | } | |
2034 | } | |
2035 | Py_DECREF(impconv); | |
2036 | } | |
2037 | } | |
2038 | } | |
2039 | } | |
2040 | return res; | |
2041 | } | |
3004cfd8 RD |
2042 | } |
2043 | } | |
2044 | ||
0085ce49 RD |
2045 | /* Convert a function ptr value */ |
2046 | ||
3004cfd8 | 2047 | SWIGRUNTIME int |
0085ce49 RD |
2048 | SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) { |
2049 | if (!PyCFunction_Check(obj)) { | |
2050 | return SWIG_ConvertPtr(obj, ptr, ty, 0); | |
3004cfd8 | 2051 | } else { |
0085ce49 RD |
2052 | void *vptr = 0; |
2053 | ||
2054 | /* here we get the method pointer for callbacks */ | |
d1a49b78 | 2055 | const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); |
0085ce49 RD |
2056 | const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0; |
2057 | if (desc) { | |
2058 | desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0; | |
2059 | if (!desc) return SWIG_ERROR; | |
2060 | } | |
2061 | if (ty) { | |
2062 | swig_cast_info *tc = SWIG_TypeCheck(desc,ty); | |
2063 | if (!tc) return SWIG_ERROR; | |
2064 | *ptr = SWIG_TypeCast(tc,vptr); | |
2065 | } else { | |
2066 | *ptr = vptr; | |
2067 | } | |
2068 | return SWIG_OK; | |
3004cfd8 RD |
2069 | } |
2070 | } | |
2071 | ||
0085ce49 | 2072 | /* Convert a packed value value */ |
3004cfd8 | 2073 | |
3004cfd8 | 2074 | SWIGRUNTIME int |
0085ce49 RD |
2075 | SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) { |
2076 | swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz); | |
2077 | if (!to) return SWIG_ERROR; | |
2078 | if (ty) { | |
2079 | if (to != ty) { | |
2080 | /* check type cast? */ | |
2081 | swig_cast_info *tc = SWIG_TypeCheck(to->name,ty); | |
2082 | if (!tc) return SWIG_ERROR; | |
2083 | } | |
3004cfd8 | 2084 | } |
0085ce49 RD |
2085 | return SWIG_OK; |
2086 | } | |
3004cfd8 | 2087 | |
0085ce49 RD |
2088 | /* ----------------------------------------------------------------------------- |
2089 | * Create a new pointer object | |
2090 | * ----------------------------------------------------------------------------- */ | |
3004cfd8 | 2091 | |
0085ce49 RD |
2092 | /* |
2093 | Create a new instance object, whitout calling __init__, and set the | |
2094 | 'this' attribute. | |
2095 | */ | |
3004cfd8 | 2096 | |
0085ce49 RD |
2097 | SWIGRUNTIME PyObject* |
2098 | SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this) | |
2099 | { | |
2100 | #if (PY_VERSION_HEX >= 0x02020000) | |
2101 | PyObject *inst = 0; | |
2102 | PyObject *newraw = data->newraw; | |
2103 | if (newraw) { | |
2104 | inst = PyObject_Call(newraw, data->newargs, NULL); | |
2105 | if (inst) { | |
2106 | #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS) | |
2107 | PyObject **dictptr = _PyObject_GetDictPtr(inst); | |
2108 | if (dictptr != NULL) { | |
2109 | PyObject *dict = *dictptr; | |
2110 | if (dict == NULL) { | |
2111 | dict = PyDict_New(); | |
2112 | *dictptr = dict; | |
2113 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2114 | } | |
3004cfd8 | 2115 | } |
0085ce49 RD |
2116 | #else |
2117 | PyObject *key = SWIG_This(); | |
2118 | PyObject_SetAttr(inst, key, swig_this); | |
2119 | #endif | |
3004cfd8 | 2120 | } |
0085ce49 RD |
2121 | } else { |
2122 | PyObject *dict = PyDict_New(); | |
2123 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2124 | inst = PyInstance_NewRaw(data->newargs, dict); | |
2125 | Py_DECREF(dict); | |
3004cfd8 | 2126 | } |
0085ce49 RD |
2127 | return inst; |
2128 | #else | |
2129 | #if (PY_VERSION_HEX >= 0x02010000) | |
2130 | PyObject *inst; | |
2131 | PyObject *dict = PyDict_New(); | |
2132 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2133 | inst = PyInstance_NewRaw(data->newargs, dict); | |
2134 | Py_DECREF(dict); | |
2135 | return (PyObject *) inst; | |
2136 | #else | |
2137 | PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type); | |
2138 | if (inst == NULL) { | |
2139 | return NULL; | |
3004cfd8 | 2140 | } |
0085ce49 RD |
2141 | inst->in_class = (PyClassObject *)data->newargs; |
2142 | Py_INCREF(inst->in_class); | |
2143 | inst->in_dict = PyDict_New(); | |
2144 | if (inst->in_dict == NULL) { | |
2145 | Py_DECREF(inst); | |
2146 | return NULL; | |
3004cfd8 | 2147 | } |
0085ce49 RD |
2148 | #ifdef Py_TPFLAGS_HAVE_WEAKREFS |
2149 | inst->in_weakreflist = NULL; | |
2150 | #endif | |
2151 | #ifdef Py_TPFLAGS_GC | |
2152 | PyObject_GC_Init(inst); | |
2153 | #endif | |
2154 | PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this); | |
2155 | return (PyObject *) inst; | |
2156 | #endif | |
2157 | #endif | |
3004cfd8 RD |
2158 | } |
2159 | ||
0085ce49 RD |
2160 | SWIGRUNTIME void |
2161 | SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this) | |
2162 | { | |
2163 | PyObject *dict; | |
2164 | #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS) | |
2165 | PyObject **dictptr = _PyObject_GetDictPtr(inst); | |
2166 | if (dictptr != NULL) { | |
2167 | dict = *dictptr; | |
2168 | if (dict == NULL) { | |
2169 | dict = PyDict_New(); | |
2170 | *dictptr = dict; | |
2171 | } | |
2172 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2173 | return; | |
2174 | } | |
3004cfd8 | 2175 | #endif |
0085ce49 RD |
2176 | dict = PyObject_GetAttrString(inst, "__dict__"); |
2177 | PyDict_SetItem(dict, SWIG_This(), swig_this); | |
2178 | Py_DECREF(dict); | |
2179 | } | |
3004cfd8 | 2180 | |
0085ce49 RD |
2181 | |
2182 | SWIGINTERN PyObject * | |
2183 | SWIG_Python_InitShadowInstance(PyObject *args) { | |
2184 | PyObject *obj[2]; | |
2185 | if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) { | |
2186 | return NULL; | |
2187 | } else { | |
2188 | PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]); | |
2189 | if (sthis) { | |
2190 | PySwigObject_append((PyObject*) sthis, obj[1]); | |
3004cfd8 | 2191 | } else { |
0085ce49 | 2192 | SWIG_Python_SetSwigThis(obj[0], obj[1]); |
3004cfd8 | 2193 | } |
0085ce49 | 2194 | return SWIG_Py_Void(); |
3004cfd8 | 2195 | } |
0085ce49 RD |
2196 | } |
2197 | ||
2198 | /* Create a new pointer object */ | |
3004cfd8 | 2199 | |
3004cfd8 | 2200 | SWIGRUNTIME PyObject * |
0085ce49 | 2201 | SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) { |
3004cfd8 | 2202 | if (!ptr) { |
0085ce49 RD |
2203 | return SWIG_Py_Void(); |
2204 | } else { | |
2205 | int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0; | |
2206 | PyObject *robj = PySwigObject_New(ptr, type, own); | |
2207 | PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0; | |
2208 | if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) { | |
2209 | PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj); | |
2210 | if (inst) { | |
2211 | Py_DECREF(robj); | |
2212 | robj = inst; | |
3004cfd8 | 2213 | } |
3004cfd8 | 2214 | } |
0085ce49 | 2215 | return robj; |
3004cfd8 | 2216 | } |
3004cfd8 RD |
2217 | } |
2218 | ||
0085ce49 RD |
2219 | /* Create a new packed object */ |
2220 | ||
2221 | SWIGRUNTIMEINLINE PyObject * | |
3004cfd8 | 2222 | SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { |
0085ce49 | 2223 | return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void(); |
3004cfd8 RD |
2224 | } |
2225 | ||
2226 | /* -----------------------------------------------------------------------------* | |
2227 | * Get type list | |
2228 | * -----------------------------------------------------------------------------*/ | |
2229 | ||
2230 | #ifdef SWIG_LINK_RUNTIME | |
2231 | void *SWIG_ReturnGlobalTypeList(void *); | |
2232 | #endif | |
2233 | ||
32fe5131 RD |
2234 | SWIGRUNTIME swig_module_info * |
2235 | SWIG_Python_GetModule(void) { | |
3004cfd8 RD |
2236 | static void *type_pointer = (void *)0; |
2237 | /* first check if module already created */ | |
2238 | if (!type_pointer) { | |
2239 | #ifdef SWIG_LINK_RUNTIME | |
2240 | type_pointer = SWIG_ReturnGlobalTypeList((void *)0); | |
2241 | #else | |
2242 | type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
2243 | (char*)"type_pointer" SWIG_TYPE_TABLE_NAME); | |
2244 | if (PyErr_Occurred()) { | |
2245 | PyErr_Clear(); | |
2246 | type_pointer = (void *)0; | |
2247 | } | |
3004cfd8 | 2248 | #endif |
32fe5131 RD |
2249 | } |
2250 | return (swig_module_info *) type_pointer; | |
3004cfd8 RD |
2251 | } |
2252 | ||
32fe5131 RD |
2253 | #if PY_MAJOR_VERSION < 2 |
2254 | /* PyModule_AddObject function was introduced in Python 2.0. The following function | |
0085ce49 | 2255 | is copied out of Python/modsupport.c in python version 2.3.4 */ |
32fe5131 RD |
2256 | SWIGINTERN int |
2257 | PyModule_AddObject(PyObject *m, char *name, PyObject *o) | |
2258 | { | |
2259 | PyObject *dict; | |
2260 | if (!PyModule_Check(m)) { | |
2261 | PyErr_SetString(PyExc_TypeError, | |
2262 | "PyModule_AddObject() needs module as first arg"); | |
0085ce49 | 2263 | return SWIG_ERROR; |
32fe5131 RD |
2264 | } |
2265 | if (!o) { | |
2266 | PyErr_SetString(PyExc_TypeError, | |
2267 | "PyModule_AddObject() needs non-NULL value"); | |
0085ce49 | 2268 | return SWIG_ERROR; |
32fe5131 RD |
2269 | } |
2270 | ||
2271 | dict = PyModule_GetDict(m); | |
2272 | if (dict == NULL) { | |
2273 | /* Internal error -- modules must have a dict! */ | |
2274 | PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__", | |
2275 | PyModule_GetName(m)); | |
0085ce49 | 2276 | return SWIG_ERROR; |
32fe5131 RD |
2277 | } |
2278 | if (PyDict_SetItemString(dict, name, o)) | |
0085ce49 | 2279 | return SWIG_ERROR; |
32fe5131 | 2280 | Py_DECREF(o); |
0085ce49 | 2281 | return SWIG_OK; |
3004cfd8 | 2282 | } |
32fe5131 | 2283 | #endif |
3004cfd8 | 2284 | |
0085ce49 RD |
2285 | SWIGRUNTIME void |
2286 | SWIG_Python_DestroyModule(void *vptr) | |
2287 | { | |
2288 | swig_module_info *swig_module = (swig_module_info *) vptr; | |
2289 | swig_type_info **types = swig_module->types; | |
2290 | size_t i; | |
2291 | for (i =0; i < swig_module->size; ++i) { | |
2292 | swig_type_info *ty = types[i]; | |
2293 | if (ty->owndata) { | |
2294 | PySwigClientData *data = (PySwigClientData *) ty->clientdata; | |
2295 | if (data) PySwigClientData_Del(data); | |
2296 | } | |
2297 | } | |
2298 | Py_DECREF(SWIG_This()); | |
2299 | } | |
2300 | ||
32fe5131 RD |
2301 | SWIGRUNTIME void |
2302 | SWIG_Python_SetModule(swig_module_info *swig_module) { | |
2303 | static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */ | |
2304 | ||
2305 | PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION, | |
2306 | swig_empty_runtime_method_table); | |
0085ce49 | 2307 | PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule); |
32fe5131 RD |
2308 | if (pointer && module) { |
2309 | PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); | |
0085ce49 RD |
2310 | } else { |
2311 | Py_XDECREF(pointer); | |
32fe5131 RD |
2312 | } |
2313 | } | |
994141e6 | 2314 | |
0085ce49 RD |
2315 | /* The python cached type query */ |
2316 | SWIGRUNTIME PyObject * | |
2317 | SWIG_Python_TypeCache() { | |
2318 | static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New(); | |
2319 | return cache; | |
3004cfd8 | 2320 | } |
15afbcd0 | 2321 | |
0085ce49 RD |
2322 | SWIGRUNTIME swig_type_info * |
2323 | SWIG_Python_TypeQuery(const char *type) | |
2324 | { | |
2325 | PyObject *cache = SWIG_Python_TypeCache(); | |
2326 | PyObject *key = PyString_FromString(type); | |
2327 | PyObject *obj = PyDict_GetItem(cache, key); | |
2328 | swig_type_info *descriptor; | |
2329 | if (obj) { | |
2330 | descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj); | |
2331 | } else { | |
2332 | swig_module_info *swig_module = SWIG_Python_GetModule(); | |
2333 | descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type); | |
2334 | if (descriptor) { | |
2335 | obj = PyCObject_FromVoidPtr(descriptor, NULL); | |
2336 | PyDict_SetItem(cache, key, obj); | |
2337 | Py_DECREF(obj); | |
2338 | } | |
2339 | } | |
2340 | Py_DECREF(key); | |
2341 | return descriptor; | |
2342 | } | |
2343 | ||
2344 | /* | |
2345 | For backward compatibility only | |
2346 | */ | |
2347 | #define SWIG_POINTER_EXCEPTION 0 | |
2348 | #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg) | |
2349 | #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
2350 | ||
2351 | SWIGRUNTIME int | |
2352 | SWIG_Python_AddErrMesg(const char* mesg, int infront) | |
2353 | { | |
2354 | if (PyErr_Occurred()) { | |
2355 | PyObject *type = 0; | |
2356 | PyObject *value = 0; | |
2357 | PyObject *traceback = 0; | |
2358 | PyErr_Fetch(&type, &value, &traceback); | |
2359 | if (value) { | |
2360 | PyObject *old_str = PyObject_Str(value); | |
2361 | Py_XINCREF(type); | |
2362 | PyErr_Clear(); | |
2363 | if (infront) { | |
2364 | PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str)); | |
2365 | } else { | |
2366 | PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg); | |
2367 | } | |
2368 | Py_DECREF(old_str); | |
2369 | } | |
2370 | return 1; | |
2371 | } else { | |
2372 | return 0; | |
2373 | } | |
2374 | } | |
2375 | ||
2376 | SWIGRUNTIME int | |
2377 | SWIG_Python_ArgFail(int argnum) | |
2378 | { | |
2379 | if (PyErr_Occurred()) { | |
2380 | /* add information about failing argument */ | |
2381 | char mesg[256]; | |
2382 | PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum); | |
2383 | return SWIG_Python_AddErrMesg(mesg, 1); | |
2384 | } else { | |
2385 | return 0; | |
2386 | } | |
2387 | } | |
2388 | ||
2389 | SWIGRUNTIMEINLINE const char * | |
2390 | PySwigObject_GetDesc(PyObject *self) | |
2391 | { | |
2392 | PySwigObject *v = (PySwigObject *)self; | |
2393 | swig_type_info *ty = v ? v->ty : 0; | |
2394 | return ty ? ty->str : (char*)""; | |
2395 | } | |
2396 | ||
2397 | SWIGRUNTIME void | |
2398 | SWIG_Python_TypeError(const char *type, PyObject *obj) | |
2399 | { | |
2400 | if (type) { | |
2401 | #if defined(SWIG_COBJECT_TYPES) | |
2402 | if (obj && PySwigObject_Check(obj)) { | |
2403 | const char *otype = (const char *) PySwigObject_GetDesc(obj); | |
2404 | if (otype) { | |
2405 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received", | |
2406 | type, otype); | |
2407 | return; | |
2408 | } | |
2409 | } else | |
2410 | #endif | |
2411 | { | |
2412 | const char *otype = (obj ? obj->ob_type->tp_name : 0); | |
2413 | if (otype) { | |
2414 | PyObject *str = PyObject_Str(obj); | |
2415 | const char *cstr = str ? PyString_AsString(str) : 0; | |
2416 | if (cstr) { | |
2417 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received", | |
2418 | type, otype, cstr); | |
2419 | } else { | |
2420 | PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", | |
2421 | type, otype); | |
2422 | } | |
2423 | Py_XDECREF(str); | |
2424 | return; | |
2425 | } | |
2426 | } | |
2427 | PyErr_Format(PyExc_TypeError, "a '%s' is expected", type); | |
2428 | } else { | |
2429 | PyErr_Format(PyExc_TypeError, "unexpected type is received"); | |
2430 | } | |
2431 | } | |
2432 | ||
2433 | ||
2434 | /* Convert a pointer value, signal an exception on a type mismatch */ | |
2435 | SWIGRUNTIME void * | |
2436 | SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) { | |
2437 | void *result; | |
2438 | if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) { | |
2439 | PyErr_Clear(); | |
2440 | if (flags & SWIG_POINTER_EXCEPTION) { | |
2441 | SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj); | |
2442 | SWIG_Python_ArgFail(argnum); | |
2443 | } | |
2444 | } | |
2445 | return result; | |
2446 | } | |
2447 | ||
2448 | ||
2449 | #ifdef __cplusplus | |
2450 | #if 0 | |
2451 | { /* cc-mode */ | |
2452 | #endif | |
2453 | } | |
2454 | #endif | |
2455 | ||
2456 | ||
2457 | ||
2458 | #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) | |
2459 | ||
2460 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else | |
2461 | ||
2462 | ||
2463 | ||
2464 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
2465 | ||
2466 | #define SWIGTYPE_p_char swig_types[0] | |
2467 | #define SWIGTYPE_p_float swig_types[1] | |
32fe5131 RD |
2468 | #define SWIGTYPE_p_form_ops_t swig_types[2] |
2469 | #define SWIGTYPE_p_int swig_types[3] | |
2470 | #define SWIGTYPE_p_unsigned_char swig_types[4] | |
2471 | #define SWIGTYPE_p_unsigned_int swig_types[5] | |
2472 | #define SWIGTYPE_p_unsigned_long swig_types[6] | |
2473 | #define SWIGTYPE_p_wxANIHandler swig_types[7] | |
2474 | #define SWIGTYPE_p_wxAcceleratorTable swig_types[8] | |
2475 | #define SWIGTYPE_p_wxActivateEvent swig_types[9] | |
2476 | #define SWIGTYPE_p_wxArrayString swig_types[10] | |
2477 | #define SWIGTYPE_p_wxBMPHandler swig_types[11] | |
2478 | #define SWIGTYPE_p_wxBitmap swig_types[12] | |
2479 | #define SWIGTYPE_p_wxBitmapButton swig_types[13] | |
2480 | #define SWIGTYPE_p_wxBookCtrlBase swig_types[14] | |
2481 | #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[15] | |
2482 | #define SWIGTYPE_p_wxBoxSizer swig_types[16] | |
2483 | #define SWIGTYPE_p_wxButton swig_types[17] | |
2484 | #define SWIGTYPE_p_wxCURHandler swig_types[18] | |
2485 | #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[19] | |
2486 | #define SWIGTYPE_p_wxCheckBox swig_types[20] | |
2487 | #define SWIGTYPE_p_wxCheckListBox swig_types[21] | |
2488 | #define SWIGTYPE_p_wxChildFocusEvent swig_types[22] | |
2489 | #define SWIGTYPE_p_wxChoice swig_types[23] | |
2490 | #define SWIGTYPE_p_wxChoicebook swig_types[24] | |
2491 | #define SWIGTYPE_p_wxChoicebookEvent swig_types[25] | |
2131d850 RD |
2492 | #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26] |
2493 | #define SWIGTYPE_p_wxCloseEvent swig_types[27] | |
f9bf356b RD |
2494 | #define SWIGTYPE_p_wxCollapsiblePane swig_types[28] |
2495 | #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[29] | |
2496 | #define SWIGTYPE_p_wxColour swig_types[30] | |
2497 | #define SWIGTYPE_p_wxColourData swig_types[31] | |
2498 | #define SWIGTYPE_p_wxColourDialog swig_types[32] | |
2499 | #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33] | |
2500 | #define SWIGTYPE_p_wxColourPickerEvent swig_types[34] | |
2501 | #define SWIGTYPE_p_wxComboBox swig_types[35] | |
2502 | #define SWIGTYPE_p_wxCommandEvent swig_types[36] | |
2503 | #define SWIGTYPE_p_wxContextHelp swig_types[37] | |
2504 | #define SWIGTYPE_p_wxContextHelpButton swig_types[38] | |
2505 | #define SWIGTYPE_p_wxContextMenuEvent swig_types[39] | |
2506 | #define SWIGTYPE_p_wxControl swig_types[40] | |
2507 | #define SWIGTYPE_p_wxControlWithItems swig_types[41] | |
2508 | #define SWIGTYPE_p_wxDateEvent swig_types[42] | |
2509 | #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43] | |
2510 | #define SWIGTYPE_p_wxDialog swig_types[44] | |
2511 | #define SWIGTYPE_p_wxDirDialog swig_types[45] | |
2512 | #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[46] | |
2513 | #define SWIGTYPE_p_wxDirPickerCtrl swig_types[47] | |
2514 | #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[48] | |
2515 | #define SWIGTYPE_p_wxDropFilesEvent swig_types[49] | |
2516 | #define SWIGTYPE_p_wxDuplexMode swig_types[50] | |
2517 | #define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[51] | |
2518 | #define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[52] | |
2519 | #define SWIGTYPE_p_wxDynamicSashWindow swig_types[53] | |
2520 | #define SWIGTYPE_p_wxEditableListBox swig_types[54] | |
2521 | #define SWIGTYPE_p_wxEraseEvent swig_types[55] | |
2522 | #define SWIGTYPE_p_wxEvent swig_types[56] | |
4976f996 RD |
2523 | #define SWIGTYPE_p_wxEventBlocker swig_types[57] |
2524 | #define SWIGTYPE_p_wxEvtHandler swig_types[58] | |
2525 | #define SWIGTYPE_p_wxFSFile swig_types[59] | |
2526 | #define SWIGTYPE_p_wxFileDialog swig_types[60] | |
2527 | #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[61] | |
2528 | #define SWIGTYPE_p_wxFilePickerCtrl swig_types[62] | |
2529 | #define SWIGTYPE_p_wxFileSystem swig_types[63] | |
2530 | #define SWIGTYPE_p_wxFindDialogEvent swig_types[64] | |
2531 | #define SWIGTYPE_p_wxFindReplaceData swig_types[65] | |
2532 | #define SWIGTYPE_p_wxFindReplaceDialog swig_types[66] | |
2533 | #define SWIGTYPE_p_wxFlexGridSizer swig_types[67] | |
2534 | #define SWIGTYPE_p_wxFocusEvent swig_types[68] | |
2535 | #define SWIGTYPE_p_wxFont swig_types[69] | |
2536 | #define SWIGTYPE_p_wxFontData swig_types[70] | |
2537 | #define SWIGTYPE_p_wxFontDialog swig_types[71] | |
2538 | #define SWIGTYPE_p_wxFontPickerCtrl swig_types[72] | |
2539 | #define SWIGTYPE_p_wxFontPickerEvent swig_types[73] | |
2540 | #define SWIGTYPE_p_wxFrame swig_types[74] | |
2541 | #define SWIGTYPE_p_wxGBSizerItem swig_types[75] | |
2542 | #define SWIGTYPE_p_wxGIFHandler swig_types[76] | |
2543 | #define SWIGTYPE_p_wxGauge swig_types[77] | |
2544 | #define SWIGTYPE_p_wxGenericDirCtrl swig_types[78] | |
2545 | #define SWIGTYPE_p_wxGenericDragImage swig_types[79] | |
2546 | #define SWIGTYPE_p_wxGridBagSizer swig_types[80] | |
2547 | #define SWIGTYPE_p_wxGridSizer swig_types[81] | |
2548 | #define SWIGTYPE_p_wxHelpEvent swig_types[82] | |
2549 | #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[83] | |
2550 | #define SWIGTYPE_p_wxHyperlinkEvent swig_types[84] | |
2551 | #define SWIGTYPE_p_wxICOHandler swig_types[85] | |
2552 | #define SWIGTYPE_p_wxIcon swig_types[86] | |
2553 | #define SWIGTYPE_p_wxIconizeEvent swig_types[87] | |
2554 | #define SWIGTYPE_p_wxIdleEvent swig_types[88] | |
2555 | #define SWIGTYPE_p_wxImage swig_types[89] | |
2556 | #define SWIGTYPE_p_wxImageHandler swig_types[90] | |
2557 | #define SWIGTYPE_p_wxImageList swig_types[91] | |
2558 | #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[92] | |
2559 | #define SWIGTYPE_p_wxInitDialogEvent swig_types[93] | |
2560 | #define SWIGTYPE_p_wxJPEGHandler swig_types[94] | |
2561 | #define SWIGTYPE_p_wxKeyEvent swig_types[95] | |
2562 | #define SWIGTYPE_p_wxLEDNumberCtrl swig_types[96] | |
2563 | #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[97] | |
2564 | #define SWIGTYPE_p_wxLayoutConstraints swig_types[98] | |
2565 | #define SWIGTYPE_p_wxListBox swig_types[99] | |
2566 | #define SWIGTYPE_p_wxListEvent swig_types[100] | |
2567 | #define SWIGTYPE_p_wxListItem swig_types[101] | |
2568 | #define SWIGTYPE_p_wxListView swig_types[102] | |
2569 | #define SWIGTYPE_p_wxListbook swig_types[103] | |
2570 | #define SWIGTYPE_p_wxListbookEvent swig_types[104] | |
2571 | #define SWIGTYPE_p_wxMDIChildFrame swig_types[105] | |
2572 | #define SWIGTYPE_p_wxMDIClientWindow swig_types[106] | |
2573 | #define SWIGTYPE_p_wxMDIParentFrame swig_types[107] | |
2574 | #define SWIGTYPE_p_wxMaximizeEvent swig_types[108] | |
2575 | #define SWIGTYPE_p_wxMenu swig_types[109] | |
2576 | #define SWIGTYPE_p_wxMenuBar swig_types[110] | |
2577 | #define SWIGTYPE_p_wxMenuEvent swig_types[111] | |
2578 | #define SWIGTYPE_p_wxMenuItem swig_types[112] | |
2579 | #define SWIGTYPE_p_wxMessageDialog swig_types[113] | |
2580 | #define SWIGTYPE_p_wxMiniFrame swig_types[114] | |
2581 | #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[115] | |
2582 | #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[116] | |
2583 | #define SWIGTYPE_p_wxMouseEvent swig_types[117] | |
2584 | #define SWIGTYPE_p_wxMoveEvent swig_types[118] | |
2585 | #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[119] | |
2586 | #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[120] | |
2587 | #define SWIGTYPE_p_wxNcPaintEvent swig_types[121] | |
2588 | #define SWIGTYPE_p_wxNotebook swig_types[122] | |
2589 | #define SWIGTYPE_p_wxNotebookEvent swig_types[123] | |
2590 | #define SWIGTYPE_p_wxNotifyEvent swig_types[124] | |
2591 | #define SWIGTYPE_p_wxNumberEntryDialog swig_types[125] | |
2592 | #define SWIGTYPE_p_wxObject swig_types[126] | |
2593 | #define SWIGTYPE_p_wxPCXHandler swig_types[127] | |
2594 | #define SWIGTYPE_p_wxPNGHandler swig_types[128] | |
2595 | #define SWIGTYPE_p_wxPNMHandler swig_types[129] | |
2596 | #define SWIGTYPE_p_wxPageSetupDialog swig_types[130] | |
2597 | #define SWIGTYPE_p_wxPageSetupDialogData swig_types[131] | |
2598 | #define SWIGTYPE_p_wxPaintEvent swig_types[132] | |
2599 | #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[133] | |
2600 | #define SWIGTYPE_p_wxPanel swig_types[134] | |
2601 | #define SWIGTYPE_p_wxPaperSize swig_types[135] | |
2602 | #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[136] | |
2603 | #define SWIGTYPE_p_wxPickerBase swig_types[137] | |
2604 | #define SWIGTYPE_p_wxPopupWindow swig_types[138] | |
2605 | #define SWIGTYPE_p_wxPreviewCanvas swig_types[139] | |
2606 | #define SWIGTYPE_p_wxPreviewControlBar swig_types[140] | |
2607 | #define SWIGTYPE_p_wxPreviewFrame swig_types[141] | |
2608 | #define SWIGTYPE_p_wxPrintData swig_types[142] | |
2609 | #define SWIGTYPE_p_wxPrintDialog swig_types[143] | |
2610 | #define SWIGTYPE_p_wxPrintDialogData swig_types[144] | |
2611 | #define SWIGTYPE_p_wxPrintPreview swig_types[145] | |
2612 | #define SWIGTYPE_p_wxPrinter swig_types[146] | |
2613 | #define SWIGTYPE_p_wxProgressDialog swig_types[147] | |
2614 | #define SWIGTYPE_p_wxPyApp swig_types[148] | |
2615 | #define SWIGTYPE_p_wxPyCommandEvent swig_types[149] | |
2616 | #define SWIGTYPE_p_wxPyControl swig_types[150] | |
2617 | #define SWIGTYPE_p_wxPyEvent swig_types[151] | |
da9714b5 RD |
2618 | #define SWIGTYPE_p_wxPyHScrolledWindow swig_types[152] |
2619 | #define SWIGTYPE_p_wxPyHVScrolledWindow swig_types[153] | |
2620 | #define SWIGTYPE_p_wxPyHtmlListBox swig_types[154] | |
2621 | #define SWIGTYPE_p_wxPyImageHandler swig_types[155] | |
2622 | #define SWIGTYPE_p_wxPyListCtrl swig_types[156] | |
2623 | #define SWIGTYPE_p_wxPyPanel swig_types[157] | |
2624 | #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[158] | |
2625 | #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[159] | |
2626 | #define SWIGTYPE_p_wxPyPreviewFrame swig_types[160] | |
2627 | #define SWIGTYPE_p_wxPyPrintPreview swig_types[161] | |
2628 | #define SWIGTYPE_p_wxPyPrintout swig_types[162] | |
2629 | #define SWIGTYPE_p_wxPyScrolledWindow swig_types[163] | |
2630 | #define SWIGTYPE_p_wxPySizer swig_types[164] | |
2631 | #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[165] | |
2632 | #define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[166] | |
2633 | #define SWIGTYPE_p_wxPyTreeCtrl swig_types[167] | |
2634 | #define SWIGTYPE_p_wxPyTreeItemData swig_types[168] | |
2635 | #define SWIGTYPE_p_wxPyTreeListCtrl swig_types[169] | |
2636 | #define SWIGTYPE_p_wxPyVListBox swig_types[170] | |
2637 | #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[171] | |
2638 | #define SWIGTYPE_p_wxPyValidator swig_types[172] | |
2639 | #define SWIGTYPE_p_wxPyWindow swig_types[173] | |
2640 | #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[174] | |
2641 | #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[175] | |
2642 | #define SWIGTYPE_p_wxRadioBox swig_types[176] | |
2643 | #define SWIGTYPE_p_wxRadioButton swig_types[177] | |
2644 | #define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[178] | |
2645 | #define SWIGTYPE_p_wxSashEvent swig_types[179] | |
2646 | #define SWIGTYPE_p_wxSashLayoutWindow swig_types[180] | |
2647 | #define SWIGTYPE_p_wxSashWindow swig_types[181] | |
2648 | #define SWIGTYPE_p_wxScrollBar swig_types[182] | |
2649 | #define SWIGTYPE_p_wxScrollEvent swig_types[183] | |
2650 | #define SWIGTYPE_p_wxScrollWinEvent swig_types[184] | |
2651 | #define SWIGTYPE_p_wxScrolledWindow swig_types[185] | |
2652 | #define SWIGTYPE_p_wxSearchCtrl swig_types[186] | |
2653 | #define SWIGTYPE_p_wxSetCursorEvent swig_types[187] | |
2654 | #define SWIGTYPE_p_wxShowEvent swig_types[188] | |
2655 | #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[189] | |
2656 | #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[190] | |
2657 | #define SWIGTYPE_p_wxSizeEvent swig_types[191] | |
2658 | #define SWIGTYPE_p_wxSizer swig_types[192] | |
2659 | #define SWIGTYPE_p_wxSizerItem swig_types[193] | |
2660 | #define SWIGTYPE_p_wxSlider swig_types[194] | |
2661 | #define SWIGTYPE_p_wxSpinButton swig_types[195] | |
2662 | #define SWIGTYPE_p_wxSpinCtrl swig_types[196] | |
2663 | #define SWIGTYPE_p_wxSpinEvent swig_types[197] | |
2664 | #define SWIGTYPE_p_wxSplashScreen swig_types[198] | |
2665 | #define SWIGTYPE_p_wxSplashScreenWindow swig_types[199] | |
2666 | #define SWIGTYPE_p_wxSplitterEvent swig_types[200] | |
2667 | #define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[201] | |
2668 | #define SWIGTYPE_p_wxSplitterWindow swig_types[202] | |
2669 | #define SWIGTYPE_p_wxStaticBitmap swig_types[203] | |
2670 | #define SWIGTYPE_p_wxStaticBox swig_types[204] | |
2671 | #define SWIGTYPE_p_wxStaticBoxSizer swig_types[205] | |
2672 | #define SWIGTYPE_p_wxStaticLine swig_types[206] | |
2673 | #define SWIGTYPE_p_wxStaticPicture swig_types[207] | |
2674 | #define SWIGTYPE_p_wxStaticText swig_types[208] | |
2675 | #define SWIGTYPE_p_wxStatusBar swig_types[209] | |
2676 | #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[210] | |
2677 | #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[211] | |
2678 | #define SWIGTYPE_p_wxTGAHandler swig_types[212] | |
2679 | #define SWIGTYPE_p_wxTIFFHandler swig_types[213] | |
2680 | #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[214] | |
2681 | #define SWIGTYPE_p_wxTextCtrl swig_types[215] | |
2682 | #define SWIGTYPE_p_wxTextEntryDialog swig_types[216] | |
2683 | #define SWIGTYPE_p_wxTextUrlEvent swig_types[217] | |
2684 | #define SWIGTYPE_p_wxThinSplitterWindow swig_types[218] | |
2685 | #define SWIGTYPE_p_wxTipWindow swig_types[219] | |
2686 | #define SWIGTYPE_p_wxToggleButton swig_types[220] | |
2687 | #define SWIGTYPE_p_wxToolBar swig_types[221] | |
2688 | #define SWIGTYPE_p_wxToolBarBase swig_types[222] | |
2689 | #define SWIGTYPE_p_wxToolBarToolBase swig_types[223] | |
2690 | #define SWIGTYPE_p_wxToolbook swig_types[224] | |
2691 | #define SWIGTYPE_p_wxToolbookEvent swig_types[225] | |
2692 | #define SWIGTYPE_p_wxTopLevelWindow swig_types[226] | |
2693 | #define SWIGTYPE_p_wxTreeEvent swig_types[227] | |
2694 | #define SWIGTYPE_p_wxTreeItemId swig_types[228] | |
2695 | #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[229] | |
2696 | #define SWIGTYPE_p_wxTreebook swig_types[230] | |
2697 | #define SWIGTYPE_p_wxTreebookEvent swig_types[231] | |
2698 | #define SWIGTYPE_p_wxUpdateUIEvent swig_types[232] | |
2699 | #define SWIGTYPE_p_wxValidator swig_types[233] | |
2700 | #define SWIGTYPE_p_wxWindow swig_types[234] | |
2701 | #define SWIGTYPE_p_wxWindowCreateEvent swig_types[235] | |
2702 | #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[236] | |
2703 | #define SWIGTYPE_p_wxXPMHandler swig_types[237] | |
2704 | static swig_type_info *swig_types[239]; | |
2705 | static swig_module_info swig_module = {swig_types, 238, 0, 0, 0, 0}; | |
32fe5131 RD |
2706 | #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) |
2707 | #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) | |
994141e6 | 2708 | |
3004cfd8 | 2709 | /* -------- TYPES TABLE (END) -------- */ |
994141e6 | 2710 | |
0085ce49 RD |
2711 | #if (PY_VERSION_HEX <= 0x02000000) |
2712 | # if !defined(SWIG_PYTHON_CLASSIC) | |
2713 | # error "This python version requires to use swig with the '-classic' option" | |
2714 | # endif | |
2715 | #endif | |
2716 | #if (PY_VERSION_HEX <= 0x02020000) | |
2717 | # error "This python version requires to use swig with the '-nomodern' option" | |
2718 | #endif | |
2719 | #if (PY_VERSION_HEX <= 0x02020000) | |
2720 | # error "This python version requires to use swig with the '-nomodernargs' option" | |
2721 | #endif | |
2722 | #ifndef METH_O | |
2723 | # error "This python version requires to use swig with the '-nofastunpack' option" | |
2724 | #endif | |
994141e6 | 2725 | |
3004cfd8 RD |
2726 | /*----------------------------------------------- |
2727 | @(target):= _gizmos.so | |
2728 | ------------------------------------------------*/ | |
2729 | #define SWIG_init init_gizmos | |
2730 | ||
2731 | #define SWIG_name "_gizmos" | |
994141e6 | 2732 | |
0085ce49 RD |
2733 | #define SWIGVERSION 0x010329 |
2734 | ||
2735 | ||
2736 | #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) | |
2737 | #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) | |
2738 | ||
2739 | ||
2740 | #include <stdexcept> | |
2741 | ||
2742 | ||
2743 | namespace swig { | |
2744 | class PyObject_ptr { | |
2745 | protected: | |
2746 | PyObject *_obj; | |
2747 | ||
2748 | public: | |
2749 | PyObject_ptr() :_obj(0) | |
2750 | { | |
2751 | } | |
2752 | ||
2753 | PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) | |
2754 | { | |
2755 | Py_XINCREF(_obj); | |
2756 | } | |
2757 | ||
2758 | PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) | |
2759 | { | |
2760 | if (initial_ref) Py_XINCREF(_obj); | |
2761 | } | |
2762 | ||
2763 | PyObject_ptr & operator=(const PyObject_ptr& item) | |
2764 | { | |
2765 | Py_XINCREF(item._obj); | |
2766 | Py_XDECREF(_obj); | |
2767 | _obj = item._obj; | |
2768 | return *this; | |
2769 | } | |
2770 | ||
2771 | ~PyObject_ptr() | |
2772 | { | |
2773 | Py_XDECREF(_obj); | |
2774 | } | |
2775 | ||
2776 | operator PyObject *() const | |
2777 | { | |
2778 | return _obj; | |
2779 | } | |
2780 | ||
2781 | PyObject *operator->() const | |
2782 | { | |
2783 | return _obj; | |
2784 | } | |
2785 | }; | |
2786 | } | |
2787 | ||
2788 | ||
2789 | namespace swig { | |
2790 | struct PyObject_var : PyObject_ptr { | |
2791 | PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } | |
2792 | ||
2793 | PyObject_var & operator = (PyObject* obj) | |
2794 | { | |
2795 | Py_XDECREF(_obj); | |
2796 | _obj = obj; | |
2797 | return *this; | |
2798 | } | |
2799 | }; | |
2800 | } | |
2801 | ||
2802 | ||
44127b65 RD |
2803 | #include "wx/wxPython/wxPython.h" |
2804 | #include "wx/wxPython/pyclasses.h" | |
28eab81f | 2805 | |
44127b65 | 2806 | #include <wx/gizmos/dynamicsash.h> |
da9714b5 | 2807 | //#include <wx/gizmos/editlbox.h> |
44127b65 RD |
2808 | #include <wx/gizmos/splittree.h> |
2809 | #include <wx/gizmos/ledctrl.h> | |
6260902d | 2810 | #include <wx/gizmos/statpict.h> |
44127b65 RD |
2811 | |
2812 | #include <wx/listctrl.h> | |
2813 | #include <wx/treectrl.h> | |
2814 | #include <wx/imaglist.h> | |
da9714b5 | 2815 | #include <wx/editlbox.h> |
44127b65 | 2816 | |
b2dc1044 RD |
2817 | static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow")); |
2818 | static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox")); | |
6260902d | 2819 | static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr); |
b2dc1044 | 2820 | static const wxString wxPyEmptyString(wxEmptyString); |
994141e6 | 2821 | |
0085ce49 | 2822 | #define SWIG_From_long PyInt_FromLong |
3004cfd8 RD |
2823 | |
2824 | ||
0085ce49 RD |
2825 | SWIGINTERNINLINE PyObject * |
2826 | SWIG_From_int (int value) | |
2827 | { | |
2828 | return SWIG_From_long (value); | |
2829 | } | |
15afbcd0 RD |
2830 | |
2831 | ||
0085ce49 RD |
2832 | #include <limits.h> |
2833 | #ifndef LLONG_MIN | |
2834 | # define LLONG_MIN LONG_LONG_MIN | |
2835 | #endif | |
2836 | #ifndef LLONG_MAX | |
2837 | # define LLONG_MAX LONG_LONG_MAX | |
2838 | #endif | |
2839 | #ifndef ULLONG_MAX | |
2840 | # define ULLONG_MAX ULONG_LONG_MAX | |
2841 | #endif | |
15afbcd0 RD |
2842 | |
2843 | ||
3004cfd8 | 2844 | SWIGINTERN int |
0085ce49 | 2845 | SWIG_AsVal_long (PyObject* obj, long* val) |
15afbcd0 | 2846 | { |
c32bde28 RD |
2847 | if (PyNumber_Check(obj)) { |
2848 | if (val) *val = PyInt_AsLong(obj); | |
0085ce49 | 2849 | return SWIG_OK; |
c32bde28 | 2850 | } |
0085ce49 | 2851 | return SWIG_TypeError; |
15afbcd0 RD |
2852 | } |
2853 | ||
2854 | ||
3004cfd8 | 2855 | SWIGINTERN int |
0085ce49 RD |
2856 | SWIG_AsVal_int (PyObject * obj, int *val) |
2857 | { | |
c32bde28 | 2858 | long v; |
0085ce49 RD |
2859 | int res = SWIG_AsVal_long (obj, &v); |
2860 | if (SWIG_IsOK(res)) { | |
2861 | if ((v < INT_MIN || v > INT_MAX)) { | |
2862 | return SWIG_OverflowError; | |
c32bde28 | 2863 | } else { |
0085ce49 | 2864 | if (val) *val = static_cast< int >(v); |
c32bde28 | 2865 | } |
0085ce49 RD |
2866 | } |
2867 | return res; | |
994141e6 RD |
2868 | } |
2869 | ||
0085ce49 | 2870 | SWIGINTERN PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){ |
44127b65 RD |
2871 | wxArrayString strings; |
2872 | self->GetStrings(strings); | |
2873 | return wxArrayString2PyList_helper(strings); | |
2874 | } | |
2875 | ||
2876 | typedef wxTreeCtrl wxPyTreeCtrl; | |
2877 | ||
2878 | ||
2879 | class wxPyTreeCompanionWindow: public wxTreeCompanionWindow | |
2880 | { | |
2881 | public: | |
2882 | wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1, | |
2883 | const wxPoint& pos = wxDefaultPosition, | |
2884 | const wxSize& size = wxDefaultSize, | |
2885 | long style = 0) | |
2886 | : wxTreeCompanionWindow(parent, id, pos, size, style) {} | |
2887 | ||
2888 | ||
2889 | virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) { | |
2890 | bool found; | |
5a446332 | 2891 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
44127b65 | 2892 | if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) { |
412d302d | 2893 | PyObject* dcobj = wxPyMake_wxObject(&dc,false); |
ae8162c8 RD |
2894 | PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false); |
2895 | PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false); | |
44127b65 RD |
2896 | wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj)); |
2897 | Py_DECREF(dcobj); | |
2898 | Py_DECREF(idobj); | |
2899 | Py_DECREF(recobj); | |
2900 | } | |
4f89f6a3 | 2901 | wxPyEndBlockThreads(blocked); |
44127b65 RD |
2902 | if (! found) |
2903 | wxTreeCompanionWindow::DrawItem(dc, id, rect); | |
2904 | } | |
2905 | ||
2906 | PYPRIVATE; | |
2907 | }; | |
2908 | ||
994141e6 | 2909 | |
3004cfd8 | 2910 | SWIGINTERN int |
0085ce49 | 2911 | SWIG_AsVal_bool (PyObject *obj, bool *val) |
c32bde28 | 2912 | { |
c32bde28 RD |
2913 | if (obj == Py_True) { |
2914 | if (val) *val = true; | |
0085ce49 RD |
2915 | return SWIG_OK; |
2916 | } else if (obj == Py_False) { | |
c32bde28 | 2917 | if (val) *val = false; |
0085ce49 | 2918 | return SWIG_OK; |
3004cfd8 | 2919 | } else { |
0085ce49 RD |
2920 | long v = 0; |
2921 | int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0)); | |
2922 | if (SWIG_IsOK(res) && val) *val = v ? true : false; | |
2923 | return res; | |
c32bde28 | 2924 | } |
c32bde28 | 2925 | } |
994141e6 | 2926 | |
c32bde28 | 2927 | |
33d6fd3b RD |
2928 | #include "wx/treelistctrl.h" |
2929 | #include "wx/wxPython/pytree.h" | |
2930 | ||
2931 | ||
2932 | static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl")); | |
2933 | ||
2934 | SWIGINTERNINLINE PyObject* | |
2935 | SWIG_From_unsigned_SS_long (unsigned long value) | |
2936 | { | |
2937 | return (value > LONG_MAX) ? | |
2938 | PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); | |
2939 | } | |
2940 | ||
2941 | ||
2942 | SWIGINTERNINLINE PyObject * | |
2943 | SWIG_From_size_t (size_t value) | |
2944 | { | |
2945 | return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); | |
2946 | } | |
2947 | ||
2948 | ||
3004cfd8 | 2949 | SWIGINTERN int |
0085ce49 | 2950 | SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) |
15afbcd0 | 2951 | { |
c32bde28 RD |
2952 | long v = 0; |
2953 | if (SWIG_AsVal_long(obj, &v) && v < 0) { | |
0085ce49 | 2954 | return SWIG_TypeError; |
c32bde28 RD |
2955 | } |
2956 | else if (val) | |
2957 | *val = (unsigned long)v; | |
0085ce49 | 2958 | return SWIG_OK; |
15afbcd0 RD |
2959 | } |
2960 | ||
2961 | ||
32fe5131 | 2962 | SWIGINTERNINLINE int |
0085ce49 | 2963 | SWIG_AsVal_size_t (PyObject * obj, size_t *val) |
15afbcd0 | 2964 | { |
0085ce49 RD |
2965 | unsigned long v; |
2966 | int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); | |
2967 | if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); | |
2968 | return res; | |
15afbcd0 RD |
2969 | } |
2970 | ||
44127b65 RD |
2971 | // C++ version of Python aware control |
2972 | class wxPyTreeListCtrl : public wxTreeListCtrl { | |
2973 | DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl); | |
2974 | public: | |
2975 | wxPyTreeListCtrl() : wxTreeListCtrl() {} | |
2976 | wxPyTreeListCtrl(wxWindow *parent, wxWindowID id, | |
2977 | const wxPoint& pos, | |
2978 | const wxSize& size, | |
2979 | long style, | |
2980 | const wxValidator &validator, | |
2981 | const wxString& name) : | |
2982 | wxTreeListCtrl(parent, id, pos, size, style, validator, name) {} | |
2983 | ||
33d6fd3b RD |
2984 | virtual int OnCompareItems(const wxTreeItemId& item1, |
2985 | const wxTreeItemId& item2) { | |
44127b65 RD |
2986 | int rval = 0; |
2987 | bool found; | |
5a446332 | 2988 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
44127b65 RD |
2989 | if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) { |
2990 | PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0); | |
2991 | PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0); | |
2992 | rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2)); | |
2993 | Py_DECREF(o1); | |
2994 | Py_DECREF(o2); | |
2995 | } | |
4f89f6a3 | 2996 | wxPyEndBlockThreads(blocked); |
44127b65 RD |
2997 | if (! found) |
2998 | rval = wxTreeListCtrl::OnCompareItems(item1, item2); | |
2999 | return rval; | |
3000 | } | |
33d6fd3b RD |
3001 | |
3002 | virtual wxString OnGetItemText( wxTreeItemData* item, long column ) const { | |
3003 | wxString rval; | |
3004 | bool found; | |
3005 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3006 | if ((found = wxPyCBH_findCallback(m_myInst, "OnGetItemText"))) { | |
3007 | PyObject* ro; | |
3008 | PyObject* itemo = wxPyConstructObject((void*)&item, wxT("wxTreeItemId"), 0); | |
3009 | ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(Oi)", itemo, column)); | |
3010 | Py_DECREF(itemo); | |
3011 | if (ro) { | |
3012 | rval = Py2wxString(ro); | |
3013 | Py_DECREF(ro); | |
3014 | } | |
3015 | } | |
3016 | wxPyEndBlockThreads(blocked); | |
3017 | if (! found) | |
3018 | rval = wxTreeListCtrl::OnGetItemText(item, column); | |
3019 | return rval; | |
3020 | } | |
3021 | ||
44127b65 RD |
3022 | PYPRIVATE; |
3023 | }; | |
3024 | ||
3025 | IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl) | |
3026 | ||
3027 | ||
994141e6 | 3028 | |
0085ce49 RD |
3029 | SWIGINTERNINLINE PyObject * |
3030 | SWIG_From_unsigned_SS_int (unsigned int value) | |
3031 | { | |
3032 | return SWIG_From_unsigned_SS_long (value); | |
3033 | } | |
15afbcd0 RD |
3034 | |
3035 | ||
0085ce49 RD |
3036 | SWIGINTERN int |
3037 | SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val) | |
15afbcd0 | 3038 | { |
c32bde28 | 3039 | unsigned long v; |
0085ce49 RD |
3040 | int res = SWIG_AsVal_unsigned_SS_long (obj, &v); |
3041 | if (SWIG_IsOK(res)) { | |
3042 | if ((v > UINT_MAX)) { | |
3043 | return SWIG_OverflowError; | |
3044 | } else { | |
3045 | if (val) *val = static_cast< unsigned int >(v); | |
c32bde28 | 3046 | } |
0085ce49 RD |
3047 | } |
3048 | return res; | |
994141e6 RD |
3049 | } |
3050 | ||
0085ce49 | 3051 | SWIGINTERN wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){ |
44127b65 RD |
3052 | if (column < 0) column = self->GetMainColumn(); |
3053 | return self->GetItemText(item, column); | |
3054 | } | |
0085ce49 | 3055 | SWIGINTERN int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){ |
44127b65 RD |
3056 | if (column < 0) column = self->GetMainColumn(); |
3057 | return self->GetItemImage(item, column, which); | |
3058 | } | |
0085ce49 | 3059 | SWIGINTERN void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){ |
44127b65 RD |
3060 | if (column < 0) column = self->GetMainColumn(); |
3061 | self->SetItemText(item, column, text); | |
3062 | } | |
0085ce49 | 3063 | SWIGINTERN void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){ |
44127b65 RD |
3064 | if (column < 0) column = self->GetMainColumn(); |
3065 | self->SetItemImage(item, column, image, which); | |
3066 | } | |
0085ce49 | 3067 | SWIGINTERN wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){ |
44127b65 RD |
3068 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); |
3069 | if (data == NULL) { | |
3070 | data = new wxPyTreeItemData(); | |
3071 | data->SetId(item); // set the id | |
3072 | self->SetItemData(item, data); | |
3073 | } | |
3074 | return data; | |
3075 | } | |
0085ce49 | 3076 | SWIGINTERN void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){ |
44127b65 RD |
3077 | data->SetId(item); // set the id |
3078 | self->SetItemData(item, data); | |
3079 | } | |
0085ce49 | 3080 | SWIGINTERN PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){ |
44127b65 RD |
3081 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); |
3082 | if (data == NULL) { | |
3083 | data = new wxPyTreeItemData(); | |
3084 | data->SetId(item); // set the id | |
3085 | self->SetItemData(item, data); | |
3086 | } | |
3087 | return data->GetData(); | |
3088 | } | |
0085ce49 | 3089 | SWIGINTERN void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){ |
44127b65 RD |
3090 | wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); |
3091 | if (data == NULL) { | |
3092 | data = new wxPyTreeItemData(obj); | |
3093 | data->SetId(item); // set the id | |
3094 | self->SetItemData(item, data); | |
3095 | } else | |
3096 | data->SetData(obj); | |
3097 | } | |
0085ce49 | 3098 | SWIGINTERN PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){ |
5a446332 | 3099 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
44127b65 RD |
3100 | PyObject* rval = PyList_New(0); |
3101 | wxArrayTreeItemIds array; | |
3102 | size_t num, x; | |
3103 | num = self->GetSelections(array); | |
3104 | for (x=0; x < num; x++) { | |
3105 | wxTreeItemId *tii = new wxTreeItemId(array.Item(x)); | |
ae8162c8 | 3106 | PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true); |
44127b65 | 3107 | PyList_Append(rval, item); |
e9d6f3a4 | 3108 | Py_DECREF(item); |
44127b65 | 3109 | } |
4f89f6a3 | 3110 | wxPyEndBlockThreads(blocked); |
44127b65 RD |
3111 | return rval; |
3112 | } | |
0085ce49 | 3113 | SWIGINTERN PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){ |
28eab81f | 3114 | void* cookie = 0; |
823f0cfe | 3115 | wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie)); |
5a446332 | 3116 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
44127b65 | 3117 | PyObject* tup = PyTuple_New(2); |
ae8162c8 | 3118 | PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true)); |
28eab81f | 3119 | PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void"))); |
4f89f6a3 | 3120 | wxPyEndBlockThreads(blocked); |
44127b65 RD |
3121 | return tup; |
3122 | } | |
0085ce49 | 3123 | SWIGINTERN PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){ |
823f0cfe | 3124 | wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie)); |
5a446332 | 3125 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
44127b65 | 3126 | PyObject* tup = PyTuple_New(2); |
ae8162c8 | 3127 | PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true)); |
28eab81f | 3128 | PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void"))); |
4f89f6a3 | 3129 | wxPyEndBlockThreads(blocked); |
44127b65 RD |
3130 | return tup; |
3131 | } | |
33d6fd3b RD |
3132 | SWIGINTERN PyObject *wxPyTreeListCtrl_GetLastChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){ |
3133 | void* cookie = 0; | |
3134 | wxTreeItemId* ritem = new wxTreeItemId(self->GetLastChild(item, cookie)); | |
3135 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3136 | PyObject* tup = PyTuple_New(2); | |
3137 | PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true)); | |
3138 | PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void"))); | |
3139 | wxPyEndBlockThreads(blocked); | |
3140 | return tup; | |
3141 | } | |
3142 | SWIGINTERN PyObject *wxPyTreeListCtrl_GetPrevChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){ | |
3143 | wxTreeItemId* ritem = new wxTreeItemId(self->GetPrevChild(item, cookie)); | |
3144 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); | |
3145 | PyObject* tup = PyTuple_New(2); | |
3146 | PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true)); | |
3147 | PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void"))); | |
3148 | wxPyEndBlockThreads(blocked); | |
3149 | return tup; | |
3150 | } | |
0085ce49 | 3151 | SWIGINTERN PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){ |
44127b65 RD |
3152 | wxRect rect; |
3153 | if (self->GetBoundingRect(item, rect, textOnly)) { | |
5a446332 | 3154 | wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
44127b65 RD |
3155 | wxRect* r = new wxRect(rect); |
3156 | PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1); | |
4f89f6a3 | 3157 | wxPyEndBlockThreads(blocked); |
44127b65 RD |
3158 | return val; |
3159 | } | |
3160 | else { | |
3161 | RETURN_NONE(); | |
3162 | } | |
3163 | } | |
33d6fd3b RD |
3164 | SWIGINTERN void wxPyTreeListCtrl_EditLabel(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){ |
3165 | if (column < 0) column = self->GetMainColumn(); | |
3166 | self->EditLabel(item, column); | |
3167 | } | |
6260902d RD |
3168 | |
3169 | #include <float.h> | |
6260902d RD |
3170 | |
3171 | ||
3172 | SWIGINTERN int | |
0085ce49 | 3173 | SWIG_AsVal_double (PyObject *obj, double* val) |
6260902d RD |
3174 | { |
3175 | if (PyNumber_Check(obj)) { | |
3176 | if (val) *val = PyFloat_AsDouble(obj); | |
0085ce49 | 3177 | return SWIG_OK; |
6260902d | 3178 | } |
0085ce49 | 3179 | return SWIG_TypeError; |
6260902d RD |
3180 | } |
3181 | ||
3182 | ||
3183 | SWIGINTERN int | |
0085ce49 | 3184 | SWIG_AsVal_float (PyObject * obj, float *val) |
6260902d | 3185 | { |
6260902d | 3186 | double v; |
0085ce49 RD |
3187 | int res = SWIG_AsVal_double (obj, &v); |
3188 | if (SWIG_IsOK(res)) { | |
3189 | if ((v < -FLT_MAX || v > FLT_MAX)) { | |
3190 | return SWIG_OverflowError; | |
6260902d | 3191 | } else { |
0085ce49 | 3192 | if (val) *val = static_cast< float >(v); |
6260902d | 3193 | } |
0085ce49 RD |
3194 | } |
3195 | return res; | |
6260902d RD |
3196 | } |
3197 | ||
6260902d | 3198 | |
0085ce49 | 3199 | #define SWIG_From_double PyFloat_FromDouble |
6260902d | 3200 | |
6260902d | 3201 | |
0085ce49 RD |
3202 | SWIGINTERNINLINE PyObject * |
3203 | SWIG_From_float (float value) | |
3204 | { | |
3205 | return SWIG_From_double (value); | |
3206 | } | |
6260902d | 3207 | |
44127b65 RD |
3208 | #ifdef __cplusplus |
3209 | extern "C" { | |
3210 | #endif | |
0085ce49 RD |
3211 | SWIGINTERN int DynamicSashNameStr_set(PyObject *) { |
3212 | SWIG_Error(SWIG_AttributeError,"Variable DynamicSashNameStr is read-only."); | |
3213 | return 1; | |
b2dc1044 RD |
3214 | } |
3215 | ||
3216 | ||
0085ce49 RD |
3217 | SWIGINTERN PyObject *DynamicSashNameStr_get(void) { |
3218 | PyObject *pyobj = 0; | |
3219 | ||
3220 | { | |
b2dc1044 | 3221 | #if wxUSE_UNICODE |
0085ce49 | 3222 | pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len()); |
b2dc1044 | 3223 | #else |
0085ce49 | 3224 | pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len()); |
b2dc1044 | 3225 | #endif |
0085ce49 RD |
3226 | } |
3227 | return pyobj; | |
b2dc1044 RD |
3228 | } |
3229 | ||
3230 | ||
0085ce49 RD |
3231 | SWIGINTERN int EditableListBoxNameStr_set(PyObject *) { |
3232 | SWIG_Error(SWIG_AttributeError,"Variable EditableListBoxNameStr is read-only."); | |
3233 | return 1; | |
b2dc1044 RD |
3234 | } |
3235 | ||
3236 | ||
0085ce49 RD |
3237 | SWIGINTERN PyObject *EditableListBoxNameStr_get(void) { |
3238 | PyObject *pyobj = 0; | |
3239 | ||
3240 | { | |
b2dc1044 | 3241 | #if wxUSE_UNICODE |
0085ce49 | 3242 | pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len()); |
b2dc1044 | 3243 | #else |
0085ce49 | 3244 | pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len()); |
b2dc1044 | 3245 | #endif |
0085ce49 RD |
3246 | } |
3247 | return pyobj; | |
b2dc1044 RD |
3248 | } |
3249 | ||
3250 | ||
0085ce49 RD |
3251 | SWIGINTERN int StaticPictureNameStr_set(PyObject *) { |
3252 | SWIG_Error(SWIG_AttributeError,"Variable StaticPictureNameStr is read-only."); | |
3253 | return 1; | |
6260902d RD |
3254 | } |
3255 | ||
3256 | ||
0085ce49 RD |
3257 | SWIGINTERN PyObject *StaticPictureNameStr_get(void) { |
3258 | PyObject *pyobj = 0; | |
3259 | ||
3260 | { | |
6260902d | 3261 | #if wxUSE_UNICODE |
0085ce49 | 3262 | pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len()); |
6260902d | 3263 | #else |
0085ce49 | 3264 | pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len()); |
6260902d | 3265 | #endif |
0085ce49 RD |
3266 | } |
3267 | return pyobj; | |
6260902d RD |
3268 | } |
3269 | ||
3270 | ||
0085ce49 RD |
3271 | SWIGINTERN PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
3272 | PyObject *resultobj = 0; | |
3273 | wxObject *arg1 = (wxObject *) 0 ; | |
3274 | wxDynamicSashSplitEvent *result = 0 ; | |
3275 | void *argp1 = 0 ; | |
3276 | int res1 = 0 ; | |
3277 | PyObject * obj0 = 0 ; | |
3278 | char * kwnames[] = { | |
3279 | (char *) "target", NULL | |
3280 | }; | |
3281 | ||
3282 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) SWIG_fail; | |
3283 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 ); | |
3284 | if (!SWIG_IsOK(res1)) { | |
3285 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashSplitEvent" "', expected argument " "1"" of type '" "wxObject *""'"); | |
3286 | } | |
3287 | arg1 = reinterpret_cast< wxObject * >(argp1); | |
3288 | { | |
3289 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3290 | result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1); | |
3291 | wxPyEndAllowThreads(__tstate); | |
3292 | if (PyErr_Occurred()) SWIG_fail; | |
3293 | } | |
3294 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_POINTER_NEW | 0 ); | |
3295 | return resultobj; | |
3296 | fail: | |
3297 | return NULL; | |
44127b65 RD |
3298 | } |
3299 | ||
3300 | ||
0085ce49 RD |
3301 | SWIGINTERN PyObject *DynamicSashSplitEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3302 | PyObject *obj; | |
3303 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
3304 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_NewClientData(obj)); | |
3305 | return SWIG_Py_Void(); | |
44127b65 RD |
3306 | } |
3307 | ||
0085ce49 RD |
3308 | SWIGINTERN PyObject *DynamicSashSplitEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3309 | return SWIG_Python_InitShadowInstance(args); | |
3310 | } | |
44127b65 | 3311 | |
0085ce49 RD |
3312 | SWIGINTERN PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
3313 | PyObject *resultobj = 0; | |
3314 | wxObject *arg1 = (wxObject *) 0 ; | |
3315 | wxDynamicSashUnifyEvent *result = 0 ; | |
3316 | void *argp1 = 0 ; | |
3317 | int res1 = 0 ; | |
3318 | PyObject * obj0 = 0 ; | |
3319 | char * kwnames[] = { | |
3320 | (char *) "target", NULL | |
3321 | }; | |
3322 | ||
3323 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) SWIG_fail; | |
3324 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 ); | |
3325 | if (!SWIG_IsOK(res1)) { | |
3326 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashUnifyEvent" "', expected argument " "1"" of type '" "wxObject *""'"); | |
3327 | } | |
3328 | arg1 = reinterpret_cast< wxObject * >(argp1); | |
3329 | { | |
3330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3331 | result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1); | |
3332 | wxPyEndAllowThreads(__tstate); | |
3333 | if (PyErr_Occurred()) SWIG_fail; | |
3334 | } | |
3335 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_POINTER_NEW | 0 ); | |
3336 | return resultobj; | |
3337 | fail: | |
3338 | return NULL; | |
3339 | } | |
3340 | ||
3341 | ||
3342 | SWIGINTERN PyObject *DynamicSashUnifyEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3343 | PyObject *obj; | |
3344 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
3345 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_NewClientData(obj)); | |
3346 | return SWIG_Py_Void(); | |
3347 | } | |
3348 | ||
3349 | SWIGINTERN PyObject *DynamicSashUnifyEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3350 | return SWIG_Python_InitShadowInstance(args); | |
3351 | } | |
3352 | ||
3353 | SWIGINTERN PyObject *_wrap_new_DynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3354 | PyObject *resultobj = 0; | |
3355 | wxWindow *arg1 = (wxWindow *) 0 ; | |
3356 | int arg2 = (int) -1 ; | |
3357 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
3358 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
3359 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
3360 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
3361 | long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ; | |
3362 | wxString const &arg6_defvalue = wxPyDynamicSashNameStr ; | |
3363 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
3364 | wxDynamicSashWindow *result = 0 ; | |
3365 | void *argp1 = 0 ; | |
3366 | int res1 = 0 ; | |
3367 | int val2 ; | |
3368 | int ecode2 = 0 ; | |
3369 | wxPoint temp3 ; | |
3370 | wxSize temp4 ; | |
3371 | long val5 ; | |
3372 | int ecode5 = 0 ; | |
3373 | bool temp6 = false ; | |
3374 | PyObject * obj0 = 0 ; | |
3375 | PyObject * obj1 = 0 ; | |
3376 | PyObject * obj2 = 0 ; | |
3377 | PyObject * obj3 = 0 ; | |
3378 | PyObject * obj4 = 0 ; | |
3379 | PyObject * obj5 = 0 ; | |
3380 | char * kwnames[] = { | |
3381 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3382 | }; | |
3383 | ||
3384 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
3385 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
3386 | if (!SWIG_IsOK(res1)) { | |
3387 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
3388 | } | |
3389 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
3390 | if (obj1) { | |
3391 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
3392 | if (!SWIG_IsOK(ecode2)) { | |
3393 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DynamicSashWindow" "', expected argument " "2"" of type '" "int""'"); | |
3394 | } | |
3395 | arg2 = static_cast< int >(val2); | |
3396 | } | |
3397 | if (obj2) { | |
44127b65 | 3398 | { |
0085ce49 RD |
3399 | arg3 = &temp3; |
3400 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
44127b65 | 3401 | } |
0085ce49 RD |
3402 | } |
3403 | if (obj3) { | |
44127b65 | 3404 | { |
0085ce49 RD |
3405 | arg4 = &temp4; |
3406 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
44127b65 | 3407 | } |
0085ce49 RD |
3408 | } |
3409 | if (obj4) { | |
3410 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
3411 | if (!SWIG_IsOK(ecode5)) { | |
3412 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DynamicSashWindow" "', expected argument " "5"" of type '" "long""'"); | |
3413 | } | |
3414 | arg5 = static_cast< long >(val5); | |
3415 | } | |
3416 | if (obj5) { | |
44127b65 | 3417 | { |
0085ce49 RD |
3418 | arg6 = wxString_in_helper(obj5); |
3419 | if (arg6 == NULL) SWIG_fail; | |
3420 | temp6 = true; | |
44127b65 | 3421 | } |
0085ce49 RD |
3422 | } |
3423 | { | |
3424 | if (!wxPyCheckForApp()) SWIG_fail; | |
3425 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3426 | result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); | |
3427 | wxPyEndAllowThreads(__tstate); | |
3428 | if (PyErr_Occurred()) SWIG_fail; | |
3429 | } | |
3430 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_NEW | 0 ); | |
3431 | { | |
3432 | if (temp6) | |
3433 | delete arg6; | |
3434 | } | |
3435 | return resultobj; | |
3436 | fail: | |
3437 | { | |
3438 | if (temp6) | |
3439 | delete arg6; | |
3440 | } | |
3441 | return NULL; | |
44127b65 RD |
3442 | } |
3443 | ||
3444 | ||
0085ce49 RD |
3445 | SWIGINTERN PyObject *_wrap_new_PreDynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3446 | PyObject *resultobj = 0; | |
3447 | wxDynamicSashWindow *result = 0 ; | |
3448 | ||
3449 | if (!SWIG_Python_UnpackTuple(args,"new_PreDynamicSashWindow",0,0,0)) SWIG_fail; | |
3450 | { | |
3451 | if (!wxPyCheckForApp()) SWIG_fail; | |
3452 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3453 | result = (wxDynamicSashWindow *)new wxDynamicSashWindow(); | |
3454 | wxPyEndAllowThreads(__tstate); | |
3455 | if (PyErr_Occurred()) SWIG_fail; | |
3456 | } | |
3457 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_OWN | 0 ); | |
3458 | return resultobj; | |
3459 | fail: | |
3460 | return NULL; | |
3461 | } | |
3462 | ||
3463 | ||
3464 | SWIGINTERN PyObject *_wrap_DynamicSashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3465 | PyObject *resultobj = 0; | |
3466 | wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; | |
3467 | wxWindow *arg2 = (wxWindow *) 0 ; | |
3468 | int arg3 = (int) -1 ; | |
3469 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
3470 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3471 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3472 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3473 | long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ; | |
3474 | wxString const &arg7_defvalue = wxPyDynamicSashNameStr ; | |
3475 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3476 | bool result; | |
3477 | void *argp1 = 0 ; | |
3478 | int res1 = 0 ; | |
3479 | void *argp2 = 0 ; | |
3480 | int res2 = 0 ; | |
3481 | int val3 ; | |
3482 | int ecode3 = 0 ; | |
3483 | wxPoint temp4 ; | |
3484 | wxSize temp5 ; | |
3485 | long val6 ; | |
3486 | int ecode6 = 0 ; | |
3487 | bool temp7 = false ; | |
3488 | PyObject * obj0 = 0 ; | |
3489 | PyObject * obj1 = 0 ; | |
3490 | PyObject * obj2 = 0 ; | |
3491 | PyObject * obj3 = 0 ; | |
3492 | PyObject * obj4 = 0 ; | |
3493 | PyObject * obj5 = 0 ; | |
3494 | PyObject * obj6 = 0 ; | |
3495 | char * kwnames[] = { | |
3496 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3497 | }; | |
3498 | ||
3499 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
3500 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 ); | |
3501 | if (!SWIG_IsOK(res1)) { | |
3502 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_Create" "', expected argument " "1"" of type '" "wxDynamicSashWindow *""'"); | |
3503 | } | |
3504 | arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1); | |
3505 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
3506 | if (!SWIG_IsOK(res2)) { | |
3507 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
3508 | } | |
3509 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
3510 | if (obj2) { | |
3511 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
3512 | if (!SWIG_IsOK(ecode3)) { | |
3513 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DynamicSashWindow_Create" "', expected argument " "3"" of type '" "int""'"); | |
3514 | } | |
3515 | arg3 = static_cast< int >(val3); | |
3516 | } | |
3517 | if (obj3) { | |
44127b65 | 3518 | { |
0085ce49 RD |
3519 | arg4 = &temp4; |
3520 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
44127b65 | 3521 | } |
0085ce49 RD |
3522 | } |
3523 | if (obj4) { | |
3524 | { | |
3525 | arg5 = &temp5; | |
3526 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
994141e6 | 3527 | } |
0085ce49 RD |
3528 | } |
3529 | if (obj5) { | |
3530 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
3531 | if (!SWIG_IsOK(ecode6)) { | |
3532 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DynamicSashWindow_Create" "', expected argument " "6"" of type '" "long""'"); | |
3533 | } | |
3534 | arg6 = static_cast< long >(val6); | |
3535 | } | |
3536 | if (obj6) { | |
3537 | { | |
3538 | arg7 = wxString_in_helper(obj6); | |
3539 | if (arg7 == NULL) SWIG_fail; | |
3540 | temp7 = true; | |
44127b65 | 3541 | } |
0085ce49 RD |
3542 | } |
3543 | { | |
3544 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3545 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3546 | wxPyEndAllowThreads(__tstate); | |
3547 | if (PyErr_Occurred()) SWIG_fail; | |
3548 | } | |
3549 | { | |
3550 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
3551 | } | |
3552 | { | |
3553 | if (temp7) | |
3554 | delete arg7; | |
3555 | } | |
3556 | return resultobj; | |
3557 | fail: | |
3558 | { | |
3559 | if (temp7) | |
3560 | delete arg7; | |
3561 | } | |
3562 | return NULL; | |
3563 | } | |
3564 | ||
3565 | ||
3566 | SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3567 | PyObject *resultobj = 0; | |
3568 | wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; | |
3569 | wxWindow *arg2 = (wxWindow *) 0 ; | |
3570 | wxScrollBar *result = 0 ; | |
3571 | void *argp1 = 0 ; | |
3572 | int res1 = 0 ; | |
3573 | void *argp2 = 0 ; | |
3574 | int res2 = 0 ; | |
3575 | PyObject * obj0 = 0 ; | |
3576 | PyObject * obj1 = 0 ; | |
3577 | char * kwnames[] = { | |
3578 | (char *) "self",(char *) "child", NULL | |
3579 | }; | |
3580 | ||
3581 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail; | |
3582 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 ); | |
3583 | if (!SWIG_IsOK(res1)) { | |
3584 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'"); | |
3585 | } | |
3586 | arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1); | |
3587 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
3588 | if (!SWIG_IsOK(res2)) { | |
3589 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'"); | |
3590 | } | |
3591 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
3592 | { | |
3593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3594 | result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2); | |
3595 | wxPyEndAllowThreads(__tstate); | |
3596 | if (PyErr_Occurred()) SWIG_fail; | |
3597 | } | |
3598 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 ); | |
3599 | return resultobj; | |
3600 | fail: | |
3601 | return NULL; | |
3602 | } | |
3603 | ||
3604 | ||
3605 | SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3606 | PyObject *resultobj = 0; | |
3607 | wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; | |
3608 | wxWindow *arg2 = (wxWindow *) 0 ; | |
3609 | wxScrollBar *result = 0 ; | |
3610 | void *argp1 = 0 ; | |
3611 | int res1 = 0 ; | |
3612 | void *argp2 = 0 ; | |
3613 | int res2 = 0 ; | |
3614 | PyObject * obj0 = 0 ; | |
3615 | PyObject * obj1 = 0 ; | |
3616 | char * kwnames[] = { | |
3617 | (char *) "self",(char *) "child", NULL | |
3618 | }; | |
3619 | ||
3620 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail; | |
3621 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 ); | |
3622 | if (!SWIG_IsOK(res1)) { | |
3623 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'"); | |
3624 | } | |
3625 | arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1); | |
3626 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
3627 | if (!SWIG_IsOK(res2)) { | |
3628 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'"); | |
3629 | } | |
3630 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
3631 | { | |
3632 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3633 | result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2); | |
3634 | wxPyEndAllowThreads(__tstate); | |
3635 | if (PyErr_Occurred()) SWIG_fail; | |
3636 | } | |
3637 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 ); | |
3638 | return resultobj; | |
3639 | fail: | |
3640 | return NULL; | |
3641 | } | |
3642 | ||
3643 | ||
3644 | SWIGINTERN PyObject *DynamicSashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3645 | PyObject *obj; | |
3646 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
3647 | SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashWindow, SWIG_NewClientData(obj)); | |
3648 | return SWIG_Py_Void(); | |
3649 | } | |
3650 | ||
3651 | SWIGINTERN PyObject *DynamicSashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
3652 | return SWIG_Python_InitShadowInstance(args); | |
3653 | } | |
3654 | ||
3655 | SWIGINTERN PyObject *_wrap_new_EditableListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
3656 | PyObject *resultobj = 0; | |
3657 | wxWindow *arg1 = (wxWindow *) 0 ; | |
3658 | int arg2 = (int) -1 ; | |
3659 | wxString const &arg3_defvalue = wxPyEmptyString ; | |
3660 | wxString *arg3 = (wxString *) &arg3_defvalue ; | |
3661 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
3662 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
3663 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
3664 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
3665 | long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ; | |
3666 | wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ; | |
3667 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
3668 | wxEditableListBox *result = 0 ; | |
3669 | void *argp1 = 0 ; | |
3670 | int res1 = 0 ; | |
3671 | int val2 ; | |
3672 | int ecode2 = 0 ; | |
3673 | bool temp3 = false ; | |
3674 | wxPoint temp4 ; | |
3675 | wxSize temp5 ; | |
3676 | long val6 ; | |
3677 | int ecode6 = 0 ; | |
3678 | bool temp7 = false ; | |
3679 | PyObject * obj0 = 0 ; | |
3680 | PyObject * obj1 = 0 ; | |
3681 | PyObject * obj2 = 0 ; | |
3682 | PyObject * obj3 = 0 ; | |
3683 | PyObject * obj4 = 0 ; | |
3684 | PyObject * obj5 = 0 ; | |
3685 | PyObject * obj6 = 0 ; | |
3686 | char * kwnames[] = { | |
3687 | (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
3688 | }; | |
3689 | ||
3690 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
3691 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
3692 | if (!SWIG_IsOK(res1)) { | |
3693 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_EditableListBox" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
3694 | } | |
3695 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
3696 | if (obj1) { | |
3697 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
3698 | if (!SWIG_IsOK(ecode2)) { | |
3699 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_EditableListBox" "', expected argument " "2"" of type '" "int""'"); | |
3700 | } | |
3701 | arg2 = static_cast< int >(val2); | |
3702 | } | |
3703 | if (obj2) { | |
44127b65 | 3704 | { |
0085ce49 RD |
3705 | arg3 = wxString_in_helper(obj2); |
3706 | if (arg3 == NULL) SWIG_fail; | |
3707 | temp3 = true; | |
44127b65 | 3708 | } |
0085ce49 RD |
3709 | } |
3710 | if (obj3) { | |
4f89f6a3 | 3711 | { |
0085ce49 RD |
3712 | arg4 = &temp4; |
3713 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
4f89f6a3 | 3714 | } |
0085ce49 RD |
3715 | } |
3716 | if (obj4) { | |
44127b65 | 3717 | { |
0085ce49 RD |
3718 | arg5 = &temp5; |
3719 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
44127b65 | 3720 | } |
0085ce49 RD |
3721 | } |
3722 | if (obj5) { | |
3723 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
3724 | if (!SWIG_IsOK(ecode6)) { | |
3725 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EditableListBox" "', expected argument " "6"" of type '" "long""'"); | |
3726 | } | |
3727 | arg6 = static_cast< long >(val6); | |
3728 | } | |
3729 | if (obj6) { | |
44127b65 | 3730 | { |
0085ce49 RD |
3731 | arg7 = wxString_in_helper(obj6); |
3732 | if (arg7 == NULL) SWIG_fail; | |
3733 | temp7 = true; | |
44127b65 | 3734 | } |
0085ce49 RD |
3735 | } |
3736 | { | |
3737 | if (!wxPyCheckForApp()) SWIG_fail; | |
3738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3739 | result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
3740 | wxPyEndAllowThreads(__tstate); | |
3741 | if (PyErr_Occurred()) SWIG_fail; | |
3742 | } | |
3743 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_NEW | 0 ); | |
3744 | { | |
3745 | if (temp3) | |
3746 | delete arg3; | |
3747 | } | |
3748 | { | |
3749 | if (temp7) | |
3750 | delete arg7; | |
3751 | } | |
3752 | return resultobj; | |
3753 | fail: | |
3754 | { | |
3755 | if (temp3) | |
3756 | delete arg3; | |
3757 | } | |
3758 | { | |
3759 | if (temp7) | |
3760 | delete arg7; | |
3761 | } | |
3762 | return NULL; | |
44127b65 RD |
3763 | } |
3764 | ||
3765 | ||
0085ce49 RD |
3766 | SWIGINTERN PyObject *_wrap_EditableListBox_SetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
3767 | PyObject *resultobj = 0; | |
3768 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
3769 | wxArrayString *arg2 = 0 ; | |
3770 | void *argp1 = 0 ; | |
3771 | int res1 = 0 ; | |
3772 | bool temp2 = false ; | |
3773 | PyObject * obj0 = 0 ; | |
3774 | PyObject * obj1 = 0 ; | |
3775 | char * kwnames[] = { | |
3776 | (char *) "self",(char *) "strings", NULL | |
3777 | }; | |
3778 | ||
3779 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) SWIG_fail; | |
3780 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 ); | |
3781 | if (!SWIG_IsOK(res1)) { | |
3782 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_SetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); | |
3783 | } | |
3784 | arg1 = reinterpret_cast< wxEditableListBox * >(argp1); | |
3785 | { | |
3786 | if (! PySequence_Check(obj1)) { | |
3787 | PyErr_SetString(PyExc_TypeError, "Sequence of strings expected."); | |
3788 | SWIG_fail; | |
3789 | } | |
3790 | arg2 = new wxArrayString; | |
3791 | temp2 = true; | |
3792 | int i, len=PySequence_Length(obj1); | |
3793 | for (i=0; i<len; i++) { | |
3794 | PyObject* item = PySequence_GetItem(obj1, i); | |
3795 | wxString* s = wxString_in_helper(item); | |
3796 | if (PyErr_Occurred()) SWIG_fail; | |
3797 | arg2->Add(*s); | |
3798 | delete s; | |
3799 | Py_DECREF(item); | |
44127b65 | 3800 | } |
0085ce49 RD |
3801 | } |
3802 | { | |
3803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3804 | (arg1)->SetStrings((wxArrayString const &)*arg2); | |
3805 | wxPyEndAllowThreads(__tstate); | |
3806 | if (PyErr_Occurred()) SWIG_fail; | |
3807 | } | |
3808 | resultobj = SWIG_Py_Void(); | |
3809 | { | |
3810 | if (temp2) delete arg2; | |
3811 | } | |
3812 | return resultobj; | |
3813 | fail: | |
3814 | { | |
3815 | if (temp2) delete arg2; | |
3816 | } | |
3817 | return NULL; | |
44127b65 RD |
3818 | } |
3819 | ||
3820 | ||
0085ce49 RD |
3821 | SWIGINTERN PyObject *_wrap_EditableListBox_GetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3822 | PyObject *resultobj = 0; | |
3823 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
3824 | PyObject *result = 0 ; | |
3825 | void *argp1 = 0 ; | |
3826 | int res1 = 0 ; | |
3827 | PyObject *swig_obj[1] ; | |
3828 | ||
3829 | if (!args) SWIG_fail; | |
3830 | swig_obj[0] = args; | |
3831 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 ); | |
3832 | if (!SWIG_IsOK(res1)) { | |
3833 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); | |
3834 | } | |
3835 | arg1 = reinterpret_cast< wxEditableListBox * >(argp1); | |
3836 | { | |
3837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3838 | result = (PyObject *)wxEditableListBox_GetStrings(arg1); | |
3839 | wxPyEndAllowThreads(__tstate); | |
3840 | if (PyErr_Occurred()) SWIG_fail; | |
3841 | } | |
3842 | resultobj = result; | |
3843 | return resultobj; | |
3844 | fail: | |
3845 | return NULL; | |
44127b65 RD |
3846 | } |
3847 | ||
3848 | ||
0085ce49 RD |
3849 | SWIGINTERN PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3850 | PyObject *resultobj = 0; | |
3851 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
3852 | wxPyListCtrl *result = 0 ; | |
3853 | void *argp1 = 0 ; | |
3854 | int res1 = 0 ; | |
3855 | PyObject *swig_obj[1] ; | |
3856 | ||
3857 | if (!args) SWIG_fail; | |
3858 | swig_obj[0] = args; | |
3859 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 ); | |
3860 | if (!SWIG_IsOK(res1)) { | |
3861 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetListCtrl" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); | |
3862 | } | |
3863 | arg1 = reinterpret_cast< wxEditableListBox * >(argp1); | |
3864 | { | |
3865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3866 | result = (wxPyListCtrl *)(arg1)->GetListCtrl(); | |
3867 | wxPyEndAllowThreads(__tstate); | |
3868 | if (PyErr_Occurred()) SWIG_fail; | |
3869 | } | |
3ecece7e RD |
3870 | { |
3871 | resultobj = wxPyMake_wxObject((wxObject*)result, (bool)0); | |
3872 | } | |
0085ce49 RD |
3873 | return resultobj; |
3874 | fail: | |
3875 | return NULL; | |
44127b65 RD |
3876 | } |
3877 | ||
3878 | ||
0085ce49 RD |
3879 | SWIGINTERN PyObject *_wrap_EditableListBox_GetDelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3880 | PyObject *resultobj = 0; | |
3881 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
3882 | wxBitmapButton *result = 0 ; | |
3883 | void *argp1 = 0 ; | |
3884 | int res1 = 0 ; | |
3885 | PyObject *swig_obj[1] ; | |
3886 | ||
3887 | if (!args) SWIG_fail; | |
3888 | swig_obj[0] = args; | |
3889 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 ); | |
3890 | if (!SWIG_IsOK(res1)) { | |
3891 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDelButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); | |
3892 | } | |
3893 | arg1 = reinterpret_cast< wxEditableListBox * >(argp1); | |
3894 | { | |
3895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3896 | result = (wxBitmapButton *)(arg1)->GetDelButton(); | |
3897 | wxPyEndAllowThreads(__tstate); | |
3898 | if (PyErr_Occurred()) SWIG_fail; | |
3899 | } | |
3900 | { | |
3901 | resultobj = wxPyMake_wxObject(result, 0); | |
3902 | } | |
3903 | return resultobj; | |
3904 | fail: | |
3905 | return NULL; | |
44127b65 RD |
3906 | } |
3907 | ||
3908 | ||
0085ce49 RD |
3909 | SWIGINTERN PyObject *_wrap_EditableListBox_GetNewButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3910 | PyObject *resultobj = 0; | |
3911 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
3912 | wxBitmapButton *result = 0 ; | |
3913 | void *argp1 = 0 ; | |
3914 | int res1 = 0 ; | |
3915 | PyObject *swig_obj[1] ; | |
3916 | ||
3917 | if (!args) SWIG_fail; | |
3918 | swig_obj[0] = args; | |
3919 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 ); | |
3920 | if (!SWIG_IsOK(res1)) { | |
3921 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetNewButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); | |
3922 | } | |
3923 | arg1 = reinterpret_cast< wxEditableListBox * >(argp1); | |
3924 | { | |
3925 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3926 | result = (wxBitmapButton *)(arg1)->GetNewButton(); | |
3927 | wxPyEndAllowThreads(__tstate); | |
3928 | if (PyErr_Occurred()) SWIG_fail; | |
3929 | } | |
3930 | { | |
3931 | resultobj = wxPyMake_wxObject(result, 0); | |
3932 | } | |
3933 | return resultobj; | |
3934 | fail: | |
3935 | return NULL; | |
44127b65 RD |
3936 | } |
3937 | ||
3938 | ||
0085ce49 RD |
3939 | SWIGINTERN PyObject *_wrap_EditableListBox_GetUpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3940 | PyObject *resultobj = 0; | |
3941 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
3942 | wxBitmapButton *result = 0 ; | |
3943 | void *argp1 = 0 ; | |
3944 | int res1 = 0 ; | |
3945 | PyObject *swig_obj[1] ; | |
3946 | ||
3947 | if (!args) SWIG_fail; | |
3948 | swig_obj[0] = args; | |
3949 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 ); | |
3950 | if (!SWIG_IsOK(res1)) { | |
3951 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetUpButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); | |
3952 | } | |
3953 | arg1 = reinterpret_cast< wxEditableListBox * >(argp1); | |
3954 | { | |
3955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3956 | result = (wxBitmapButton *)(arg1)->GetUpButton(); | |
3957 | wxPyEndAllowThreads(__tstate); | |
3958 | if (PyErr_Occurred()) SWIG_fail; | |
3959 | } | |
3960 | { | |
3961 | resultobj = wxPyMake_wxObject(result, 0); | |
3962 | } | |
3963 | return resultobj; | |
3964 | fail: | |
3965 | return NULL; | |
44127b65 RD |
3966 | } |
3967 | ||
3968 | ||
0085ce49 RD |
3969 | SWIGINTERN PyObject *_wrap_EditableListBox_GetDownButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
3970 | PyObject *resultobj = 0; | |
3971 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
3972 | wxBitmapButton *result = 0 ; | |
3973 | void *argp1 = 0 ; | |
3974 | int res1 = 0 ; | |
3975 | PyObject *swig_obj[1] ; | |
3976 | ||
3977 | if (!args) SWIG_fail; | |
3978 | swig_obj[0] = args; | |
3979 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 ); | |
3980 | if (!SWIG_IsOK(res1)) { | |
3981 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDownButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); | |
3982 | } | |
3983 | arg1 = reinterpret_cast< wxEditableListBox * >(argp1); | |
3984 | { | |
3985 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
3986 | result = (wxBitmapButton *)(arg1)->GetDownButton(); | |
3987 | wxPyEndAllowThreads(__tstate); | |
3988 | if (PyErr_Occurred()) SWIG_fail; | |
3989 | } | |
3990 | { | |
3991 | resultobj = wxPyMake_wxObject(result, 0); | |
3992 | } | |
3993 | return resultobj; | |
3994 | fail: | |
3995 | return NULL; | |
44127b65 RD |
3996 | } |
3997 | ||
3998 | ||
0085ce49 RD |
3999 | SWIGINTERN PyObject *_wrap_EditableListBox_GetEditButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4000 | PyObject *resultobj = 0; | |
4001 | wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; | |
4002 | wxBitmapButton *result = 0 ; | |
4003 | void *argp1 = 0 ; | |
4004 | int res1 = 0 ; | |
4005 | PyObject *swig_obj[1] ; | |
4006 | ||
4007 | if (!args) SWIG_fail; | |
4008 | swig_obj[0] = args; | |
4009 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 ); | |
4010 | if (!SWIG_IsOK(res1)) { | |
4011 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetEditButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); | |
4012 | } | |
4013 | arg1 = reinterpret_cast< wxEditableListBox * >(argp1); | |
4014 | { | |
4015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4016 | result = (wxBitmapButton *)(arg1)->GetEditButton(); | |
4017 | wxPyEndAllowThreads(__tstate); | |
4018 | if (PyErr_Occurred()) SWIG_fail; | |
4019 | } | |
4020 | { | |
4021 | resultobj = wxPyMake_wxObject(result, 0); | |
4022 | } | |
4023 | return resultobj; | |
4024 | fail: | |
4025 | return NULL; | |
4026 | } | |
4027 | ||
4028 | ||
4029 | SWIGINTERN PyObject *EditableListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4030 | PyObject *obj; | |
4031 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
4032 | SWIG_TypeNewClientData(SWIGTYPE_p_wxEditableListBox, SWIG_NewClientData(obj)); | |
4033 | return SWIG_Py_Void(); | |
4034 | } | |
4035 | ||
4036 | SWIGINTERN PyObject *EditableListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4037 | return SWIG_Python_InitShadowInstance(args); | |
4038 | } | |
4039 | ||
4040 | SWIGINTERN PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4041 | PyObject *resultobj = 0; | |
4042 | wxWindow *arg1 = (wxWindow *) 0 ; | |
4043 | int arg2 ; | |
4044 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
4045 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
4046 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
4047 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
4048 | long arg5 = (long) wxTR_HAS_BUTTONS ; | |
4049 | wxRemotelyScrolledTreeCtrl *result = 0 ; | |
4050 | void *argp1 = 0 ; | |
4051 | int res1 = 0 ; | |
4052 | int val2 ; | |
4053 | int ecode2 = 0 ; | |
4054 | wxPoint temp3 ; | |
4055 | wxSize temp4 ; | |
4056 | long val5 ; | |
4057 | int ecode5 = 0 ; | |
4058 | PyObject * obj0 = 0 ; | |
4059 | PyObject * obj1 = 0 ; | |
4060 | PyObject * obj2 = 0 ; | |
4061 | PyObject * obj3 = 0 ; | |
4062 | PyObject * obj4 = 0 ; | |
4063 | char * kwnames[] = { | |
4064 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4065 | }; | |
4066 | ||
4067 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
4068 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
4069 | if (!SWIG_IsOK(res1)) { | |
4070 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
4071 | } | |
4072 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
4073 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4074 | if (!SWIG_IsOK(ecode2)) { | |
4075 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "2"" of type '" "int""'"); | |
4076 | } | |
4077 | arg2 = static_cast< int >(val2); | |
4078 | if (obj2) { | |
44127b65 | 4079 | { |
0085ce49 RD |
4080 | arg3 = &temp3; |
4081 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
44127b65 | 4082 | } |
0085ce49 RD |
4083 | } |
4084 | if (obj3) { | |
44127b65 | 4085 | { |
0085ce49 RD |
4086 | arg4 = &temp4; |
4087 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
44127b65 | 4088 | } |
0085ce49 RD |
4089 | } |
4090 | if (obj4) { | |
4091 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
4092 | if (!SWIG_IsOK(ecode5)) { | |
4093 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "5"" of type '" "long""'"); | |
4094 | } | |
4095 | arg5 = static_cast< long >(val5); | |
4096 | } | |
4097 | { | |
4098 | if (!wxPyCheckForApp()) SWIG_fail; | |
4099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4100 | result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
4101 | wxPyEndAllowThreads(__tstate); | |
4102 | if (PyErr_Occurred()) SWIG_fail; | |
4103 | } | |
4104 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_NEW | 0 ); | |
4105 | return resultobj; | |
4106 | fail: | |
4107 | return NULL; | |
44127b65 RD |
4108 | } |
4109 | ||
4110 | ||
0085ce49 RD |
4111 | SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4112 | PyObject *resultobj = 0; | |
4113 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
4114 | void *argp1 = 0 ; | |
4115 | int res1 = 0 ; | |
4116 | PyObject *swig_obj[1] ; | |
4117 | ||
4118 | if (!args) SWIG_fail; | |
4119 | swig_obj[0] = args; | |
4120 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 ); | |
4121 | if (!SWIG_IsOK(res1)) { | |
4122 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_HideVScrollbar" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'"); | |
4123 | } | |
4124 | arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1); | |
4125 | { | |
4126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4127 | (arg1)->HideVScrollbar(); | |
4128 | wxPyEndAllowThreads(__tstate); | |
4129 | if (PyErr_Occurred()) SWIG_fail; | |
4130 | } | |
4131 | resultobj = SWIG_Py_Void(); | |
4132 | return resultobj; | |
4133 | fail: | |
4134 | return NULL; | |
44127b65 RD |
4135 | } |
4136 | ||
4137 | ||
0085ce49 RD |
4138 | SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4139 | PyObject *resultobj = 0; | |
4140 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
4141 | void *argp1 = 0 ; | |
4142 | int res1 = 0 ; | |
4143 | PyObject *swig_obj[1] ; | |
4144 | ||
4145 | if (!args) SWIG_fail; | |
4146 | swig_obj[0] = args; | |
4147 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 ); | |
4148 | if (!SWIG_IsOK(res1)) { | |
4149 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'"); | |
4150 | } | |
4151 | arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1); | |
4152 | { | |
4153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4154 | (arg1)->AdjustRemoteScrollbars(); | |
4155 | wxPyEndAllowThreads(__tstate); | |
4156 | if (PyErr_Occurred()) SWIG_fail; | |
4157 | } | |
4158 | resultobj = SWIG_Py_Void(); | |
4159 | return resultobj; | |
4160 | fail: | |
4161 | return NULL; | |
44127b65 RD |
4162 | } |
4163 | ||
4164 | ||
0085ce49 RD |
4165 | SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4166 | PyObject *resultobj = 0; | |
4167 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
4168 | wxScrolledWindow *result = 0 ; | |
4169 | void *argp1 = 0 ; | |
4170 | int res1 = 0 ; | |
4171 | PyObject *swig_obj[1] ; | |
4172 | ||
4173 | if (!args) SWIG_fail; | |
4174 | swig_obj[0] = args; | |
4175 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 ); | |
4176 | if (!SWIG_IsOK(res1)) { | |
4177 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetScrolledWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'"); | |
4178 | } | |
4179 | arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1); | |
4180 | { | |
4181 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4182 | result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow(); | |
4183 | wxPyEndAllowThreads(__tstate); | |
4184 | if (PyErr_Occurred()) SWIG_fail; | |
4185 | } | |
4186 | { | |
4187 | resultobj = wxPyMake_wxObject(result, 0); | |
4188 | } | |
4189 | return resultobj; | |
4190 | fail: | |
4191 | return NULL; | |
4192 | } | |
4193 | ||
4194 | ||
4195 | SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4196 | PyObject *resultobj = 0; | |
4197 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
4198 | int arg2 ; | |
4199 | int arg3 ; | |
4200 | void *argp1 = 0 ; | |
4201 | int res1 = 0 ; | |
4202 | int val2 ; | |
4203 | int ecode2 = 0 ; | |
4204 | int val3 ; | |
4205 | int ecode3 = 0 ; | |
4206 | PyObject * obj0 = 0 ; | |
4207 | PyObject * obj1 = 0 ; | |
4208 | PyObject * obj2 = 0 ; | |
4209 | char * kwnames[] = { | |
4210 | (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL | |
4211 | }; | |
4212 | ||
4213 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
4214 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 ); | |
4215 | if (!SWIG_IsOK(res1)) { | |
4216 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'"); | |
4217 | } | |
4218 | arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1); | |
4219 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4220 | if (!SWIG_IsOK(ecode2)) { | |
4221 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'"); | |
4222 | } | |
4223 | arg2 = static_cast< int >(val2); | |
4224 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
4225 | if (!SWIG_IsOK(ecode3)) { | |
4226 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "3"" of type '" "int""'"); | |
4227 | } | |
4228 | arg3 = static_cast< int >(val3); | |
4229 | { | |
4230 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4231 | (arg1)->ScrollToLine(arg2,arg3); | |
4232 | wxPyEndAllowThreads(__tstate); | |
4233 | if (PyErr_Occurred()) SWIG_fail; | |
4234 | } | |
4235 | resultobj = SWIG_Py_Void(); | |
4236 | return resultobj; | |
4237 | fail: | |
4238 | return NULL; | |
4239 | } | |
4240 | ||
4241 | ||
4242 | SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4243 | PyObject *resultobj = 0; | |
4244 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
4245 | wxWindow *arg2 = (wxWindow *) 0 ; | |
4246 | void *argp1 = 0 ; | |
4247 | int res1 = 0 ; | |
4248 | void *argp2 = 0 ; | |
4249 | int res2 = 0 ; | |
4250 | PyObject * obj0 = 0 ; | |
4251 | PyObject * obj1 = 0 ; | |
4252 | char * kwnames[] = { | |
4253 | (char *) "self",(char *) "companion", NULL | |
4254 | }; | |
4255 | ||
4256 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) SWIG_fail; | |
4257 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 ); | |
4258 | if (!SWIG_IsOK(res1)) { | |
4259 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'"); | |
4260 | } | |
4261 | arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1); | |
4262 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
4263 | if (!SWIG_IsOK(res2)) { | |
4264 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
4265 | } | |
4266 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
4267 | { | |
4268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4269 | (arg1)->SetCompanionWindow(arg2); | |
4270 | wxPyEndAllowThreads(__tstate); | |
4271 | if (PyErr_Occurred()) SWIG_fail; | |
4272 | } | |
4273 | resultobj = SWIG_Py_Void(); | |
4274 | return resultobj; | |
4275 | fail: | |
4276 | return NULL; | |
44127b65 RD |
4277 | } |
4278 | ||
4279 | ||
0085ce49 RD |
4280 | SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4281 | PyObject *resultobj = 0; | |
4282 | wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
4283 | wxWindow *result = 0 ; | |
4284 | void *argp1 = 0 ; | |
4285 | int res1 = 0 ; | |
4286 | PyObject *swig_obj[1] ; | |
4287 | ||
4288 | if (!args) SWIG_fail; | |
4289 | swig_obj[0] = args; | |
4290 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 ); | |
4291 | if (!SWIG_IsOK(res1)) { | |
4292 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'"); | |
4293 | } | |
4294 | arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1); | |
4295 | { | |
4296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4297 | result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow(); | |
4298 | wxPyEndAllowThreads(__tstate); | |
4299 | if (PyErr_Occurred()) SWIG_fail; | |
4300 | } | |
4301 | { | |
4302 | resultobj = wxPyMake_wxObject(result, 0); | |
4303 | } | |
4304 | return resultobj; | |
4305 | fail: | |
4306 | return NULL; | |
4307 | } | |
4308 | ||
4309 | ||
4310 | SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4311 | PyObject *obj; | |
4312 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
4313 | SWIG_TypeNewClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_NewClientData(obj)); | |
4314 | return SWIG_Py_Void(); | |
4315 | } | |
4316 | ||
4317 | SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4318 | return SWIG_Python_InitShadowInstance(args); | |
4319 | } | |
4320 | ||
4321 | SWIGINTERN PyObject *_wrap_new_TreeCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4322 | PyObject *resultobj = 0; | |
4323 | wxWindow *arg1 = (wxWindow *) 0 ; | |
4324 | int arg2 = (int) -1 ; | |
4325 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
4326 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
4327 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
4328 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
4329 | long arg5 = (long) 0 ; | |
4330 | wxPyTreeCompanionWindow *result = 0 ; | |
4331 | void *argp1 = 0 ; | |
4332 | int res1 = 0 ; | |
4333 | int val2 ; | |
4334 | int ecode2 = 0 ; | |
4335 | wxPoint temp3 ; | |
4336 | wxSize temp4 ; | |
4337 | long val5 ; | |
4338 | int ecode5 = 0 ; | |
4339 | PyObject * obj0 = 0 ; | |
4340 | PyObject * obj1 = 0 ; | |
4341 | PyObject * obj2 = 0 ; | |
4342 | PyObject * obj3 = 0 ; | |
4343 | PyObject * obj4 = 0 ; | |
4344 | char * kwnames[] = { | |
4345 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4346 | }; | |
4347 | ||
4348 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
4349 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
4350 | if (!SWIG_IsOK(res1)) { | |
4351 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCompanionWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
4352 | } | |
4353 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
4354 | if (obj1) { | |
4355 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4356 | if (!SWIG_IsOK(ecode2)) { | |
4357 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCompanionWindow" "', expected argument " "2"" of type '" "int""'"); | |
4358 | } | |
4359 | arg2 = static_cast< int >(val2); | |
4360 | } | |
4361 | if (obj2) { | |
44127b65 | 4362 | { |
0085ce49 RD |
4363 | arg3 = &temp3; |
4364 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
44127b65 | 4365 | } |
0085ce49 RD |
4366 | } |
4367 | if (obj3) { | |
44127b65 | 4368 | { |
0085ce49 RD |
4369 | arg4 = &temp4; |
4370 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
44127b65 | 4371 | } |
0085ce49 RD |
4372 | } |
4373 | if (obj4) { | |
4374 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
4375 | if (!SWIG_IsOK(ecode5)) { | |
4376 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCompanionWindow" "', expected argument " "5"" of type '" "long""'"); | |
4377 | } | |
4378 | arg5 = static_cast< long >(val5); | |
4379 | } | |
4380 | { | |
4381 | if (!wxPyCheckForApp()) SWIG_fail; | |
4382 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4383 | result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
4384 | wxPyEndAllowThreads(__tstate); | |
4385 | if (PyErr_Occurred()) SWIG_fail; | |
4386 | } | |
4387 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_NEW | 0 ); | |
4388 | return resultobj; | |
4389 | fail: | |
4390 | return NULL; | |
4391 | } | |
4392 | ||
4393 | ||
4394 | SWIGINTERN PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4395 | PyObject *resultobj = 0; | |
4396 | wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; | |
4397 | PyObject *arg2 = (PyObject *) 0 ; | |
4398 | PyObject *arg3 = (PyObject *) 0 ; | |
4399 | void *argp1 = 0 ; | |
4400 | int res1 = 0 ; | |
4401 | PyObject * obj0 = 0 ; | |
4402 | PyObject * obj1 = 0 ; | |
4403 | PyObject * obj2 = 0 ; | |
4404 | char * kwnames[] = { | |
4405 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
4406 | }; | |
4407 | ||
4408 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
4409 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 ); | |
4410 | if (!SWIG_IsOK(res1)) { | |
4411 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'"); | |
4412 | } | |
4413 | arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1); | |
4414 | arg2 = obj1; | |
4415 | arg3 = obj2; | |
4416 | { | |
4417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4418 | (arg1)->_setCallbackInfo(arg2,arg3); | |
4419 | wxPyEndAllowThreads(__tstate); | |
4420 | if (PyErr_Occurred()) SWIG_fail; | |
4421 | } | |
4422 | resultobj = SWIG_Py_Void(); | |
4423 | return resultobj; | |
4424 | fail: | |
4425 | return NULL; | |
44127b65 RD |
4426 | } |
4427 | ||
4428 | ||
0085ce49 RD |
4429 | SWIGINTERN PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4430 | PyObject *resultobj = 0; | |
4431 | wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; | |
4432 | wxRemotelyScrolledTreeCtrl *result = 0 ; | |
4433 | void *argp1 = 0 ; | |
4434 | int res1 = 0 ; | |
4435 | PyObject *swig_obj[1] ; | |
4436 | ||
4437 | if (!args) SWIG_fail; | |
4438 | swig_obj[0] = args; | |
4439 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 ); | |
4440 | if (!SWIG_IsOK(res1)) { | |
4441 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow const *""'"); | |
4442 | } | |
4443 | arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1); | |
4444 | { | |
4445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4446 | result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl(); | |
4447 | wxPyEndAllowThreads(__tstate); | |
4448 | if (PyErr_Occurred()) SWIG_fail; | |
4449 | } | |
4450 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 ); | |
4451 | return resultobj; | |
4452 | fail: | |
4453 | return NULL; | |
4454 | } | |
4455 | ||
4456 | ||
4457 | SWIGINTERN PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4458 | PyObject *resultobj = 0; | |
4459 | wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; | |
4460 | wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ; | |
4461 | void *argp1 = 0 ; | |
4462 | int res1 = 0 ; | |
4463 | void *argp2 = 0 ; | |
4464 | int res2 = 0 ; | |
4465 | PyObject * obj0 = 0 ; | |
4466 | PyObject * obj1 = 0 ; | |
4467 | char * kwnames[] = { | |
4468 | (char *) "self",(char *) "treeCtrl", NULL | |
4469 | }; | |
4470 | ||
4471 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) SWIG_fail; | |
4472 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 ); | |
4473 | if (!SWIG_IsOK(res1)) { | |
4474 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'"); | |
4475 | } | |
4476 | arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1); | |
4477 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 ); | |
4478 | if (!SWIG_IsOK(res2)) { | |
4479 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "2"" of type '" "wxRemotelyScrolledTreeCtrl *""'"); | |
4480 | } | |
4481 | arg2 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp2); | |
4482 | { | |
4483 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4484 | (arg1)->SetTreeCtrl(arg2); | |
4485 | wxPyEndAllowThreads(__tstate); | |
4486 | if (PyErr_Occurred()) SWIG_fail; | |
4487 | } | |
4488 | resultobj = SWIG_Py_Void(); | |
4489 | return resultobj; | |
4490 | fail: | |
4491 | return NULL; | |
4492 | } | |
4493 | ||
4494 | ||
4495 | SWIGINTERN PyObject *TreeCompanionWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4496 | PyObject *obj; | |
4497 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
4498 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_NewClientData(obj)); | |
4499 | return SWIG_Py_Void(); | |
4500 | } | |
4501 | ||
4502 | SWIGINTERN PyObject *TreeCompanionWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4503 | return SWIG_Python_InitShadowInstance(args); | |
4504 | } | |
4505 | ||
4506 | SWIGINTERN PyObject *_wrap_new_ThinSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4507 | PyObject *resultobj = 0; | |
4508 | wxWindow *arg1 = (wxWindow *) 0 ; | |
4509 | int arg2 = (int) -1 ; | |
4510 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
4511 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
4512 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
4513 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
4514 | long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ; | |
4515 | wxThinSplitterWindow *result = 0 ; | |
4516 | void *argp1 = 0 ; | |
4517 | int res1 = 0 ; | |
4518 | int val2 ; | |
4519 | int ecode2 = 0 ; | |
4520 | wxPoint temp3 ; | |
4521 | wxSize temp4 ; | |
4522 | long val5 ; | |
4523 | int ecode5 = 0 ; | |
4524 | PyObject * obj0 = 0 ; | |
4525 | PyObject * obj1 = 0 ; | |
4526 | PyObject * obj2 = 0 ; | |
4527 | PyObject * obj3 = 0 ; | |
4528 | PyObject * obj4 = 0 ; | |
4529 | char * kwnames[] = { | |
4530 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4531 | }; | |
4532 | ||
4533 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
4534 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
4535 | if (!SWIG_IsOK(res1)) { | |
4536 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ThinSplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
4537 | } | |
4538 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
4539 | if (obj1) { | |
4540 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4541 | if (!SWIG_IsOK(ecode2)) { | |
4542 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ThinSplitterWindow" "', expected argument " "2"" of type '" "int""'"); | |
4543 | } | |
4544 | arg2 = static_cast< int >(val2); | |
4545 | } | |
4546 | if (obj2) { | |
44127b65 | 4547 | { |
0085ce49 RD |
4548 | arg3 = &temp3; |
4549 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
44127b65 | 4550 | } |
0085ce49 RD |
4551 | } |
4552 | if (obj3) { | |
412d302d | 4553 | { |
0085ce49 RD |
4554 | arg4 = &temp4; |
4555 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
412d302d | 4556 | } |
0085ce49 RD |
4557 | } |
4558 | if (obj4) { | |
4559 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
4560 | if (!SWIG_IsOK(ecode5)) { | |
4561 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ThinSplitterWindow" "', expected argument " "5"" of type '" "long""'"); | |
4562 | } | |
4563 | arg5 = static_cast< long >(val5); | |
4564 | } | |
4565 | { | |
4566 | if (!wxPyCheckForApp()) SWIG_fail; | |
4567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4568 | result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
4569 | wxPyEndAllowThreads(__tstate); | |
4570 | if (PyErr_Occurred()) SWIG_fail; | |
4571 | } | |
4572 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxThinSplitterWindow, SWIG_POINTER_NEW | 0 ); | |
4573 | return resultobj; | |
4574 | fail: | |
4575 | return NULL; | |
4576 | } | |
4577 | ||
4578 | ||
4579 | SWIGINTERN PyObject *ThinSplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4580 | PyObject *obj; | |
4581 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
4582 | SWIG_TypeNewClientData(SWIGTYPE_p_wxThinSplitterWindow, SWIG_NewClientData(obj)); | |
4583 | return SWIG_Py_Void(); | |
4584 | } | |
4585 | ||
4586 | SWIGINTERN PyObject *ThinSplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4587 | return SWIG_Python_InitShadowInstance(args); | |
4588 | } | |
4589 | ||
4590 | SWIGINTERN PyObject *_wrap_new_SplitterScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4591 | PyObject *resultobj = 0; | |
4592 | wxWindow *arg1 = (wxWindow *) 0 ; | |
4593 | int arg2 = (int) -1 ; | |
4594 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
4595 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
4596 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
4597 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
4598 | long arg5 = (long) 0 ; | |
4599 | wxSplitterScrolledWindow *result = 0 ; | |
4600 | void *argp1 = 0 ; | |
4601 | int res1 = 0 ; | |
4602 | int val2 ; | |
4603 | int ecode2 = 0 ; | |
4604 | wxPoint temp3 ; | |
4605 | wxSize temp4 ; | |
4606 | long val5 ; | |
4607 | int ecode5 = 0 ; | |
4608 | PyObject * obj0 = 0 ; | |
4609 | PyObject * obj1 = 0 ; | |
4610 | PyObject * obj2 = 0 ; | |
4611 | PyObject * obj3 = 0 ; | |
4612 | PyObject * obj4 = 0 ; | |
4613 | char * kwnames[] = { | |
4614 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4615 | }; | |
4616 | ||
4617 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
4618 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
4619 | if (!SWIG_IsOK(res1)) { | |
4620 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
4621 | } | |
4622 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
4623 | if (obj1) { | |
4624 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4625 | if (!SWIG_IsOK(ecode2)) { | |
4626 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterScrolledWindow" "', expected argument " "2"" of type '" "int""'"); | |
4627 | } | |
4628 | arg2 = static_cast< int >(val2); | |
4629 | } | |
4630 | if (obj2) { | |
3004cfd8 | 4631 | { |
0085ce49 RD |
4632 | arg3 = &temp3; |
4633 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
3004cfd8 | 4634 | } |
0085ce49 RD |
4635 | } |
4636 | if (obj3) { | |
3004cfd8 | 4637 | { |
0085ce49 RD |
4638 | arg4 = &temp4; |
4639 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
3004cfd8 | 4640 | } |
0085ce49 RD |
4641 | } |
4642 | if (obj4) { | |
4643 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
4644 | if (!SWIG_IsOK(ecode5)) { | |
4645 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterScrolledWindow" "', expected argument " "5"" of type '" "long""'"); | |
4646 | } | |
4647 | arg5 = static_cast< long >(val5); | |
4648 | } | |
4649 | { | |
4650 | if (!wxPyCheckForApp()) SWIG_fail; | |
4651 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4652 | result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
4653 | wxPyEndAllowThreads(__tstate); | |
4654 | if (PyErr_Occurred()) SWIG_fail; | |
4655 | } | |
4656 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_POINTER_NEW | 0 ); | |
4657 | return resultobj; | |
4658 | fail: | |
4659 | return NULL; | |
4660 | } | |
4661 | ||
4662 | ||
4663 | SWIGINTERN PyObject *SplitterScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4664 | PyObject *obj; | |
4665 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
4666 | SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_NewClientData(obj)); | |
4667 | return SWIG_Py_Void(); | |
4668 | } | |
4669 | ||
4670 | SWIGINTERN PyObject *SplitterScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
4671 | return SWIG_Python_InitShadowInstance(args); | |
4672 | } | |
4673 | ||
4674 | SWIGINTERN PyObject *_wrap_new_LEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4675 | PyObject *resultobj = 0; | |
4676 | wxWindow *arg1 = (wxWindow *) 0 ; | |
4677 | int arg2 = (int) -1 ; | |
4678 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
4679 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
4680 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
4681 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
4682 | long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ; | |
4683 | wxLEDNumberCtrl *result = 0 ; | |
4684 | void *argp1 = 0 ; | |
4685 | int res1 = 0 ; | |
4686 | int val2 ; | |
4687 | int ecode2 = 0 ; | |
4688 | wxPoint temp3 ; | |
4689 | wxSize temp4 ; | |
4690 | long val5 ; | |
4691 | int ecode5 = 0 ; | |
4692 | PyObject * obj0 = 0 ; | |
4693 | PyObject * obj1 = 0 ; | |
4694 | PyObject * obj2 = 0 ; | |
4695 | PyObject * obj3 = 0 ; | |
4696 | PyObject * obj4 = 0 ; | |
4697 | char * kwnames[] = { | |
4698 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4699 | }; | |
4700 | ||
4701 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
4702 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
4703 | if (!SWIG_IsOK(res1)) { | |
4704 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LEDNumberCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
4705 | } | |
4706 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
4707 | if (obj1) { | |
4708 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4709 | if (!SWIG_IsOK(ecode2)) { | |
4710 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LEDNumberCtrl" "', expected argument " "2"" of type '" "int""'"); | |
4711 | } | |
4712 | arg2 = static_cast< int >(val2); | |
4713 | } | |
4714 | if (obj2) { | |
44127b65 | 4715 | { |
0085ce49 RD |
4716 | arg3 = &temp3; |
4717 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
44127b65 | 4718 | } |
0085ce49 RD |
4719 | } |
4720 | if (obj3) { | |
44127b65 | 4721 | { |
0085ce49 RD |
4722 | arg4 = &temp4; |
4723 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
44127b65 | 4724 | } |
0085ce49 RD |
4725 | } |
4726 | if (obj4) { | |
4727 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
4728 | if (!SWIG_IsOK(ecode5)) { | |
4729 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LEDNumberCtrl" "', expected argument " "5"" of type '" "long""'"); | |
4730 | } | |
4731 | arg5 = static_cast< long >(val5); | |
4732 | } | |
4733 | { | |
4734 | if (!wxPyCheckForApp()) SWIG_fail; | |
4735 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4736 | result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); | |
4737 | wxPyEndAllowThreads(__tstate); | |
4738 | if (PyErr_Occurred()) SWIG_fail; | |
4739 | } | |
4740 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_NEW | 0 ); | |
4741 | return resultobj; | |
4742 | fail: | |
4743 | return NULL; | |
44127b65 RD |
4744 | } |
4745 | ||
4746 | ||
0085ce49 RD |
4747 | SWIGINTERN PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4748 | PyObject *resultobj = 0; | |
4749 | wxLEDNumberCtrl *result = 0 ; | |
4750 | ||
4751 | if (!SWIG_Python_UnpackTuple(args,"new_PreLEDNumberCtrl",0,0,0)) SWIG_fail; | |
4752 | { | |
4753 | if (!wxPyCheckForApp()) SWIG_fail; | |
4754 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4755 | result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(); | |
4756 | wxPyEndAllowThreads(__tstate); | |
4757 | if (PyErr_Occurred()) SWIG_fail; | |
4758 | } | |
4759 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_OWN | 0 ); | |
4760 | return resultobj; | |
4761 | fail: | |
4762 | return NULL; | |
4763 | } | |
4764 | ||
4765 | ||
4766 | SWIGINTERN PyObject *_wrap_LEDNumberCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4767 | PyObject *resultobj = 0; | |
4768 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
4769 | wxWindow *arg2 = (wxWindow *) 0 ; | |
4770 | int arg3 = (int) -1 ; | |
4771 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
4772 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
4773 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
4774 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
4775 | long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ; | |
4776 | bool result; | |
4777 | void *argp1 = 0 ; | |
4778 | int res1 = 0 ; | |
4779 | void *argp2 = 0 ; | |
4780 | int res2 = 0 ; | |
4781 | int val3 ; | |
4782 | int ecode3 = 0 ; | |
4783 | wxPoint temp4 ; | |
4784 | wxSize temp5 ; | |
4785 | long val6 ; | |
4786 | int ecode6 = 0 ; | |
4787 | PyObject * obj0 = 0 ; | |
4788 | PyObject * obj1 = 0 ; | |
4789 | PyObject * obj2 = 0 ; | |
4790 | PyObject * obj3 = 0 ; | |
4791 | PyObject * obj4 = 0 ; | |
4792 | PyObject * obj5 = 0 ; | |
4793 | char * kwnames[] = { | |
4794 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL | |
4795 | }; | |
4796 | ||
4797 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
4798 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 ); | |
4799 | if (!SWIG_IsOK(res1)) { | |
4800 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_Create" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'"); | |
4801 | } | |
4802 | arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1); | |
4803 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
4804 | if (!SWIG_IsOK(res2)) { | |
4805 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LEDNumberCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
4806 | } | |
4807 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
4808 | if (obj2) { | |
4809 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
4810 | if (!SWIG_IsOK(ecode3)) { | |
4811 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_Create" "', expected argument " "3"" of type '" "int""'"); | |
4812 | } | |
4813 | arg3 = static_cast< int >(val3); | |
4814 | } | |
4815 | if (obj3) { | |
44127b65 | 4816 | { |
0085ce49 RD |
4817 | arg4 = &temp4; |
4818 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
44127b65 | 4819 | } |
0085ce49 RD |
4820 | } |
4821 | if (obj4) { | |
44127b65 | 4822 | { |
0085ce49 RD |
4823 | arg5 = &temp5; |
4824 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
44127b65 | 4825 | } |
0085ce49 RD |
4826 | } |
4827 | if (obj5) { | |
4828 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
4829 | if (!SWIG_IsOK(ecode6)) { | |
4830 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LEDNumberCtrl_Create" "', expected argument " "6"" of type '" "long""'"); | |
4831 | } | |
4832 | arg6 = static_cast< long >(val6); | |
4833 | } | |
4834 | { | |
4835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4836 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); | |
4837 | wxPyEndAllowThreads(__tstate); | |
4838 | if (PyErr_Occurred()) SWIG_fail; | |
4839 | } | |
4840 | { | |
4841 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4842 | } | |
4843 | return resultobj; | |
4844 | fail: | |
4845 | return NULL; | |
44127b65 RD |
4846 | } |
4847 | ||
4848 | ||
0085ce49 RD |
4849 | SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4850 | PyObject *resultobj = 0; | |
4851 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
4852 | wxLEDValueAlign result; | |
4853 | void *argp1 = 0 ; | |
4854 | int res1 = 0 ; | |
4855 | PyObject *swig_obj[1] ; | |
4856 | ||
4857 | if (!args) SWIG_fail; | |
4858 | swig_obj[0] = args; | |
4859 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 ); | |
4860 | if (!SWIG_IsOK(res1)) { | |
4861 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'"); | |
4862 | } | |
4863 | arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1); | |
4864 | { | |
4865 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4866 | result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment(); | |
4867 | wxPyEndAllowThreads(__tstate); | |
4868 | if (PyErr_Occurred()) SWIG_fail; | |
4869 | } | |
4870 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
4871 | return resultobj; | |
4872 | fail: | |
4873 | return NULL; | |
44127b65 RD |
4874 | } |
4875 | ||
4876 | ||
0085ce49 RD |
4877 | SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4878 | PyObject *resultobj = 0; | |
4879 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
4880 | bool result; | |
4881 | void *argp1 = 0 ; | |
4882 | int res1 = 0 ; | |
4883 | PyObject *swig_obj[1] ; | |
4884 | ||
4885 | if (!args) SWIG_fail; | |
4886 | swig_obj[0] = args; | |
4887 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 ); | |
4888 | if (!SWIG_IsOK(res1)) { | |
4889 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'"); | |
4890 | } | |
4891 | arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1); | |
4892 | { | |
4893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4894 | result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded(); | |
4895 | wxPyEndAllowThreads(__tstate); | |
4896 | if (PyErr_Occurred()) SWIG_fail; | |
4897 | } | |
4898 | { | |
4899 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
4900 | } | |
4901 | return resultobj; | |
4902 | fail: | |
4903 | return NULL; | |
44127b65 RD |
4904 | } |
4905 | ||
4906 | ||
0085ce49 RD |
4907 | SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
4908 | PyObject *resultobj = 0; | |
4909 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
4910 | wxString *result = 0 ; | |
4911 | void *argp1 = 0 ; | |
4912 | int res1 = 0 ; | |
4913 | PyObject *swig_obj[1] ; | |
4914 | ||
4915 | if (!args) SWIG_fail; | |
4916 | swig_obj[0] = args; | |
4917 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 ); | |
4918 | if (!SWIG_IsOK(res1)) { | |
4919 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'"); | |
4920 | } | |
4921 | arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1); | |
4922 | { | |
4923 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4924 | { | |
4925 | wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue(); | |
4926 | result = (wxString *) &_result_ref; | |
44127b65 | 4927 | } |
0085ce49 RD |
4928 | wxPyEndAllowThreads(__tstate); |
4929 | if (PyErr_Occurred()) SWIG_fail; | |
4930 | } | |
4931 | { | |
4932 | #if wxUSE_UNICODE | |
4933 | resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); | |
4934 | #else | |
4935 | resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); | |
4936 | #endif | |
4937 | } | |
4938 | return resultobj; | |
4939 | fail: | |
4940 | return NULL; | |
4941 | } | |
4942 | ||
4943 | ||
4944 | SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4945 | PyObject *resultobj = 0; | |
4946 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
4947 | wxLEDValueAlign arg2 ; | |
4948 | bool arg3 = (bool) true ; | |
4949 | void *argp1 = 0 ; | |
4950 | int res1 = 0 ; | |
4951 | int val2 ; | |
4952 | int ecode2 = 0 ; | |
4953 | bool val3 ; | |
4954 | int ecode3 = 0 ; | |
4955 | PyObject * obj0 = 0 ; | |
4956 | PyObject * obj1 = 0 ; | |
4957 | PyObject * obj2 = 0 ; | |
4958 | char * kwnames[] = { | |
4959 | (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL | |
4960 | }; | |
4961 | ||
4962 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
4963 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 ); | |
4964 | if (!SWIG_IsOK(res1)) { | |
4965 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'"); | |
4966 | } | |
4967 | arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1); | |
4968 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
4969 | if (!SWIG_IsOK(ecode2)) { | |
4970 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "2"" of type '" "wxLEDValueAlign""'"); | |
4971 | } | |
4972 | arg2 = static_cast< wxLEDValueAlign >(val2); | |
4973 | if (obj2) { | |
4974 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
4975 | if (!SWIG_IsOK(ecode3)) { | |
4976 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "3"" of type '" "bool""'"); | |
4977 | } | |
4978 | arg3 = static_cast< bool >(val3); | |
4979 | } | |
4980 | { | |
4981 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
4982 | (arg1)->SetAlignment(arg2,arg3); | |
4983 | wxPyEndAllowThreads(__tstate); | |
4984 | if (PyErr_Occurred()) SWIG_fail; | |
4985 | } | |
4986 | resultobj = SWIG_Py_Void(); | |
4987 | return resultobj; | |
4988 | fail: | |
4989 | return NULL; | |
4990 | } | |
4991 | ||
4992 | ||
4993 | SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
4994 | PyObject *resultobj = 0; | |
4995 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
4996 | bool arg2 ; | |
4997 | bool arg3 = (bool) true ; | |
4998 | void *argp1 = 0 ; | |
4999 | int res1 = 0 ; | |
5000 | bool val2 ; | |
5001 | int ecode2 = 0 ; | |
5002 | bool val3 ; | |
5003 | int ecode3 = 0 ; | |
5004 | PyObject * obj0 = 0 ; | |
5005 | PyObject * obj1 = 0 ; | |
5006 | PyObject * obj2 = 0 ; | |
5007 | char * kwnames[] = { | |
5008 | (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL | |
5009 | }; | |
5010 | ||
5011 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5012 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 ); | |
5013 | if (!SWIG_IsOK(res1)) { | |
5014 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'"); | |
5015 | } | |
5016 | arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1); | |
5017 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5018 | if (!SWIG_IsOK(ecode2)) { | |
5019 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "2"" of type '" "bool""'"); | |
5020 | } | |
5021 | arg2 = static_cast< bool >(val2); | |
5022 | if (obj2) { | |
5023 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
5024 | if (!SWIG_IsOK(ecode3)) { | |
5025 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "3"" of type '" "bool""'"); | |
5026 | } | |
5027 | arg3 = static_cast< bool >(val3); | |
5028 | } | |
5029 | { | |
5030 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5031 | (arg1)->SetDrawFaded(arg2,arg3); | |
5032 | wxPyEndAllowThreads(__tstate); | |
5033 | if (PyErr_Occurred()) SWIG_fail; | |
5034 | } | |
5035 | resultobj = SWIG_Py_Void(); | |
5036 | return resultobj; | |
5037 | fail: | |
5038 | return NULL; | |
5039 | } | |
5040 | ||
5041 | ||
5042 | SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5043 | PyObject *resultobj = 0; | |
5044 | wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; | |
5045 | wxString *arg2 = 0 ; | |
5046 | bool arg3 = (bool) true ; | |
5047 | void *argp1 = 0 ; | |
5048 | int res1 = 0 ; | |
5049 | bool temp2 = false ; | |
5050 | bool val3 ; | |
5051 | int ecode3 = 0 ; | |
5052 | PyObject * obj0 = 0 ; | |
5053 | PyObject * obj1 = 0 ; | |
5054 | PyObject * obj2 = 0 ; | |
5055 | char * kwnames[] = { | |
5056 | (char *) "self",(char *) "Value",(char *) "Redraw", NULL | |
5057 | }; | |
5058 | ||
5059 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
5060 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 ); | |
5061 | if (!SWIG_IsOK(res1)) { | |
5062 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'"); | |
5063 | } | |
5064 | arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1); | |
5065 | { | |
5066 | arg2 = wxString_in_helper(obj1); | |
5067 | if (arg2 == NULL) SWIG_fail; | |
5068 | temp2 = true; | |
5069 | } | |
5070 | if (obj2) { | |
5071 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
5072 | if (!SWIG_IsOK(ecode3)) { | |
5073 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "3"" of type '" "bool""'"); | |
5074 | } | |
5075 | arg3 = static_cast< bool >(val3); | |
5076 | } | |
5077 | { | |
5078 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5079 | (arg1)->SetValue((wxString const &)*arg2,arg3); | |
5080 | wxPyEndAllowThreads(__tstate); | |
5081 | if (PyErr_Occurred()) SWIG_fail; | |
5082 | } | |
5083 | resultobj = SWIG_Py_Void(); | |
5084 | { | |
5085 | if (temp2) | |
5086 | delete arg2; | |
5087 | } | |
5088 | return resultobj; | |
5089 | fail: | |
5090 | { | |
5091 | if (temp2) | |
5092 | delete arg2; | |
5093 | } | |
5094 | return NULL; | |
5095 | } | |
5096 | ||
5097 | ||
5098 | SWIGINTERN PyObject *LEDNumberCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5099 | PyObject *obj; | |
5100 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5101 | SWIG_TypeNewClientData(SWIGTYPE_p_wxLEDNumberCtrl, SWIG_NewClientData(obj)); | |
5102 | return SWIG_Py_Void(); | |
5103 | } | |
5104 | ||
5105 | SWIGINTERN PyObject *LEDNumberCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5106 | return SWIG_Python_InitShadowInstance(args); | |
5107 | } | |
5108 | ||
33d6fd3b RD |
5109 | SWIGINTERN int TreeListCtrlNameStr_set(PyObject *) { |
5110 | SWIG_Error(SWIG_AttributeError,"Variable TreeListCtrlNameStr is read-only."); | |
5111 | return 1; | |
5112 | } | |
5113 | ||
5114 | ||
5115 | SWIGINTERN PyObject *TreeListCtrlNameStr_get(void) { | |
5116 | PyObject *pyobj = 0; | |
5117 | ||
5118 | { | |
5119 | #if wxUSE_UNICODE | |
5120 | pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len()); | |
5121 | #else | |
5122 | pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len()); | |
5123 | #endif | |
5124 | } | |
5125 | return pyobj; | |
5126 | } | |
5127 | ||
5128 | ||
0085ce49 RD |
5129 | SWIGINTERN PyObject *_wrap_new_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
5130 | PyObject *resultobj = 0; | |
5131 | wxString const &arg1_defvalue = wxPyEmptyString ; | |
5132 | wxString *arg1 = (wxString *) &arg1_defvalue ; | |
33d6fd3b RD |
5133 | int arg2 = (int) DEFAULT_COL_WIDTH ; |
5134 | int arg3 = (int) wxALIGN_LEFT ; | |
5135 | int arg4 = (int) -1 ; | |
5136 | bool arg5 = (bool) true ; | |
5137 | bool arg6 = (bool) false ; | |
0085ce49 RD |
5138 | wxTreeListColumnInfo *result = 0 ; |
5139 | bool temp1 = false ; | |
5140 | int val2 ; | |
5141 | int ecode2 = 0 ; | |
33d6fd3b | 5142 | int val3 ; |
0085ce49 | 5143 | int ecode3 = 0 ; |
33d6fd3b | 5144 | int val4 ; |
0085ce49 | 5145 | int ecode4 = 0 ; |
33d6fd3b | 5146 | bool val5 ; |
0085ce49 | 5147 | int ecode5 = 0 ; |
33d6fd3b RD |
5148 | bool val6 ; |
5149 | int ecode6 = 0 ; | |
0085ce49 RD |
5150 | PyObject * obj0 = 0 ; |
5151 | PyObject * obj1 = 0 ; | |
5152 | PyObject * obj2 = 0 ; | |
5153 | PyObject * obj3 = 0 ; | |
5154 | PyObject * obj4 = 0 ; | |
33d6fd3b | 5155 | PyObject * obj5 = 0 ; |
0085ce49 | 5156 | char * kwnames[] = { |
33d6fd3b | 5157 | (char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL |
0085ce49 RD |
5158 | }; |
5159 | ||
33d6fd3b | 5160 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
0085ce49 | 5161 | if (obj0) { |
44127b65 | 5162 | { |
0085ce49 RD |
5163 | arg1 = wxString_in_helper(obj0); |
5164 | if (arg1 == NULL) SWIG_fail; | |
5165 | temp1 = true; | |
44127b65 | 5166 | } |
0085ce49 RD |
5167 | } |
5168 | if (obj1) { | |
5169 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5170 | if (!SWIG_IsOK(ecode2)) { | |
5171 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListColumnInfo" "', expected argument " "2"" of type '" "int""'"); | |
5172 | } | |
5173 | arg2 = static_cast< int >(val2); | |
5174 | } | |
5175 | if (obj2) { | |
33d6fd3b | 5176 | ecode3 = SWIG_AsVal_int(obj2, &val3); |
0085ce49 | 5177 | if (!SWIG_IsOK(ecode3)) { |
33d6fd3b | 5178 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreeListColumnInfo" "', expected argument " "3"" of type '" "int""'"); |
0085ce49 | 5179 | } |
33d6fd3b | 5180 | arg3 = static_cast< int >(val3); |
0085ce49 RD |
5181 | } |
5182 | if (obj3) { | |
33d6fd3b | 5183 | ecode4 = SWIG_AsVal_int(obj3, &val4); |
0085ce49 | 5184 | if (!SWIG_IsOK(ecode4)) { |
33d6fd3b | 5185 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreeListColumnInfo" "', expected argument " "4"" of type '" "int""'"); |
0085ce49 | 5186 | } |
33d6fd3b | 5187 | arg4 = static_cast< int >(val4); |
0085ce49 RD |
5188 | } |
5189 | if (obj4) { | |
33d6fd3b | 5190 | ecode5 = SWIG_AsVal_bool(obj4, &val5); |
0085ce49 | 5191 | if (!SWIG_IsOK(ecode5)) { |
33d6fd3b RD |
5192 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListColumnInfo" "', expected argument " "5"" of type '" "bool""'"); |
5193 | } | |
5194 | arg5 = static_cast< bool >(val5); | |
5195 | } | |
5196 | if (obj5) { | |
5197 | ecode6 = SWIG_AsVal_bool(obj5, &val6); | |
5198 | if (!SWIG_IsOK(ecode6)) { | |
5199 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TreeListColumnInfo" "', expected argument " "6"" of type '" "bool""'"); | |
0085ce49 | 5200 | } |
33d6fd3b | 5201 | arg6 = static_cast< bool >(val6); |
0085ce49 RD |
5202 | } |
5203 | { | |
5204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 5205 | result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5,arg6); |
0085ce49 RD |
5206 | wxPyEndAllowThreads(__tstate); |
5207 | if (PyErr_Occurred()) SWIG_fail; | |
5208 | } | |
5209 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_NEW | 0 ); | |
5210 | { | |
5211 | if (temp1) | |
5212 | delete arg1; | |
5213 | } | |
5214 | return resultobj; | |
5215 | fail: | |
5216 | { | |
5217 | if (temp1) | |
5218 | delete arg1; | |
5219 | } | |
5220 | return NULL; | |
44127b65 RD |
5221 | } |
5222 | ||
5223 | ||
01f6b6d3 RD |
5224 | SWIGINTERN PyObject *_wrap_delete_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5225 | PyObject *resultobj = 0; | |
5226 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
5227 | void *argp1 = 0 ; | |
5228 | int res1 = 0 ; | |
5229 | PyObject *swig_obj[1] ; | |
5230 | ||
5231 | if (!args) SWIG_fail; | |
5232 | swig_obj[0] = args; | |
5233 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_DISOWN | 0 ); | |
5234 | if (!SWIG_IsOK(res1)) { | |
5235 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeListColumnInfo" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); | |
5236 | } | |
5237 | arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); | |
5238 | { | |
5239 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5240 | delete arg1; | |
5241 | ||
5242 | wxPyEndAllowThreads(__tstate); | |
5243 | if (PyErr_Occurred()) SWIG_fail; | |
5244 | } | |
5245 | resultobj = SWIG_Py_Void(); | |
5246 | return resultobj; | |
5247 | fail: | |
5248 | return NULL; | |
5249 | } | |
5250 | ||
5251 | ||
0085ce49 RD |
5252 | SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5253 | PyObject *resultobj = 0; | |
5254 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
33d6fd3b | 5255 | int result; |
0085ce49 RD |
5256 | void *argp1 = 0 ; |
5257 | int res1 = 0 ; | |
5258 | PyObject *swig_obj[1] ; | |
5259 | ||
5260 | if (!args) SWIG_fail; | |
5261 | swig_obj[0] = args; | |
5262 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); | |
5263 | if (!SWIG_IsOK(res1)) { | |
5264 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); | |
5265 | } | |
5266 | arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); | |
5267 | { | |
5268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 5269 | result = (int)((wxTreeListColumnInfo const *)arg1)->GetAlignment(); |
0085ce49 RD |
5270 | wxPyEndAllowThreads(__tstate); |
5271 | if (PyErr_Occurred()) SWIG_fail; | |
5272 | } | |
5273 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5274 | return resultobj; | |
5275 | fail: | |
5276 | return NULL; | |
44127b65 RD |
5277 | } |
5278 | ||
5279 | ||
0085ce49 RD |
5280 | SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5281 | PyObject *resultobj = 0; | |
5282 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
5283 | wxString result; | |
5284 | void *argp1 = 0 ; | |
5285 | int res1 = 0 ; | |
5286 | PyObject *swig_obj[1] ; | |
5287 | ||
5288 | if (!args) SWIG_fail; | |
5289 | swig_obj[0] = args; | |
5290 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); | |
5291 | if (!SWIG_IsOK(res1)) { | |
5292 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); | |
5293 | } | |
5294 | arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); | |
5295 | { | |
5296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5297 | result = ((wxTreeListColumnInfo const *)arg1)->GetText(); | |
5298 | wxPyEndAllowThreads(__tstate); | |
5299 | if (PyErr_Occurred()) SWIG_fail; | |
5300 | } | |
5301 | { | |
5302 | #if wxUSE_UNICODE | |
5303 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
5304 | #else | |
5305 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
5306 | #endif | |
5307 | } | |
5308 | return resultobj; | |
5309 | fail: | |
5310 | return NULL; | |
44127b65 RD |
5311 | } |
5312 | ||
5313 | ||
0085ce49 RD |
5314 | SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5315 | PyObject *resultobj = 0; | |
5316 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
5317 | int result; | |
5318 | void *argp1 = 0 ; | |
5319 | int res1 = 0 ; | |
5320 | PyObject *swig_obj[1] ; | |
5321 | ||
5322 | if (!args) SWIG_fail; | |
5323 | swig_obj[0] = args; | |
5324 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); | |
5325 | if (!SWIG_IsOK(res1)) { | |
5326 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); | |
5327 | } | |
5328 | arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); | |
5329 | { | |
5330 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5331 | result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage(); | |
5332 | wxPyEndAllowThreads(__tstate); | |
5333 | if (PyErr_Occurred()) SWIG_fail; | |
5334 | } | |
5335 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5336 | return resultobj; | |
5337 | fail: | |
5338 | return NULL; | |
44127b65 RD |
5339 | } |
5340 | ||
5341 | ||
0085ce49 RD |
5342 | SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5343 | PyObject *resultobj = 0; | |
5344 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
5345 | int result; | |
5346 | void *argp1 = 0 ; | |
5347 | int res1 = 0 ; | |
5348 | PyObject *swig_obj[1] ; | |
5349 | ||
5350 | if (!args) SWIG_fail; | |
5351 | swig_obj[0] = args; | |
5352 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); | |
5353 | if (!SWIG_IsOK(res1)) { | |
5354 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); | |
5355 | } | |
5356 | arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); | |
5357 | { | |
5358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5359 | result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage(); | |
5360 | wxPyEndAllowThreads(__tstate); | |
5361 | if (PyErr_Occurred()) SWIG_fail; | |
5362 | } | |
5363 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
5364 | return resultobj; | |
5365 | fail: | |
5366 | return NULL; | |
44127b65 RD |
5367 | } |
5368 | ||
5369 | ||
0085ce49 RD |
5370 | SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5371 | PyObject *resultobj = 0; | |
5372 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
5373 | size_t result; | |
5374 | void *argp1 = 0 ; | |
5375 | int res1 = 0 ; | |
5376 | PyObject *swig_obj[1] ; | |
5377 | ||
5378 | if (!args) SWIG_fail; | |
5379 | swig_obj[0] = args; | |
5380 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); | |
5381 | if (!SWIG_IsOK(res1)) { | |
5382 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); | |
5383 | } | |
5384 | arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); | |
5385 | { | |
5386 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5387 | result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth(); | |
5388 | wxPyEndAllowThreads(__tstate); | |
5389 | if (PyErr_Occurred()) SWIG_fail; | |
5390 | } | |
5391 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
5392 | return resultobj; | |
5393 | fail: | |
5394 | return NULL; | |
5395 | } | |
5396 | ||
5397 | ||
33d6fd3b | 5398 | SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
0085ce49 RD |
5399 | PyObject *resultobj = 0; |
5400 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
33d6fd3b | 5401 | bool result; |
0085ce49 RD |
5402 | void *argp1 = 0 ; |
5403 | int res1 = 0 ; | |
33d6fd3b | 5404 | PyObject *swig_obj[1] ; |
0085ce49 | 5405 | |
33d6fd3b RD |
5406 | if (!args) SWIG_fail; |
5407 | swig_obj[0] = args; | |
5408 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); | |
0085ce49 | 5409 | if (!SWIG_IsOK(res1)) { |
33d6fd3b | 5410 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); |
0085ce49 RD |
5411 | } |
5412 | arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); | |
0085ce49 RD |
5413 | { |
5414 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 5415 | result = (bool)((wxTreeListColumnInfo const *)arg1)->IsEditable(); |
0085ce49 RD |
5416 | wxPyEndAllowThreads(__tstate); |
5417 | if (PyErr_Occurred()) SWIG_fail; | |
5418 | } | |
33d6fd3b RD |
5419 | { |
5420 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5421 | } | |
5422 | return resultobj; | |
5423 | fail: | |
5424 | return NULL; | |
5425 | } | |
5426 | ||
5427 | ||
5428 | SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5429 | PyObject *resultobj = 0; | |
5430 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
5431 | bool result; | |
5432 | void *argp1 = 0 ; | |
5433 | int res1 = 0 ; | |
5434 | PyObject *swig_obj[1] ; | |
5435 | ||
5436 | if (!args) SWIG_fail; | |
5437 | swig_obj[0] = args; | |
5438 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); | |
5439 | if (!SWIG_IsOK(res1)) { | |
5440 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); | |
5441 | } | |
5442 | arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); | |
5443 | { | |
5444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5445 | result = (bool)((wxTreeListColumnInfo const *)arg1)->IsShown(); | |
5446 | wxPyEndAllowThreads(__tstate); | |
5447 | if (PyErr_Occurred()) SWIG_fail; | |
5448 | } | |
5449 | { | |
5450 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5451 | } | |
0085ce49 RD |
5452 | return resultobj; |
5453 | fail: | |
5454 | return NULL; | |
5455 | } | |
5456 | ||
5457 | ||
5458 | SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5459 | PyObject *resultobj = 0; | |
5460 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
33d6fd3b | 5461 | int arg2 ; |
0085ce49 RD |
5462 | void *argp1 = 0 ; |
5463 | int res1 = 0 ; | |
5464 | int val2 ; | |
5465 | int ecode2 = 0 ; | |
5466 | PyObject * obj0 = 0 ; | |
5467 | PyObject * obj1 = 0 ; | |
5468 | char * kwnames[] = { | |
5469 | (char *) "self",(char *) "alignment", NULL | |
5470 | }; | |
5471 | ||
5472 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail; | |
5473 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); | |
5474 | if (!SWIG_IsOK(res1)) { | |
5475 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); | |
5476 | } | |
5477 | arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); | |
5478 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5479 | if (!SWIG_IsOK(ecode2)) { | |
33d6fd3b | 5480 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "2"" of type '" "int""'"); |
0085ce49 | 5481 | } |
33d6fd3b | 5482 | arg2 = static_cast< int >(val2); |
0085ce49 RD |
5483 | { |
5484 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5485 | (arg1)->SetAlignment(arg2); | |
5486 | wxPyEndAllowThreads(__tstate); | |
5487 | if (PyErr_Occurred()) SWIG_fail; | |
5488 | } | |
5489 | resultobj = SWIG_Py_Void(); | |
5490 | return resultobj; | |
5491 | fail: | |
5492 | return NULL; | |
5493 | } | |
5494 | ||
5495 | ||
5496 | SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5497 | PyObject *resultobj = 0; | |
5498 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
5499 | wxString *arg2 = 0 ; | |
5500 | void *argp1 = 0 ; | |
5501 | int res1 = 0 ; | |
5502 | bool temp2 = false ; | |
5503 | PyObject * obj0 = 0 ; | |
5504 | PyObject * obj1 = 0 ; | |
5505 | char * kwnames[] = { | |
5506 | (char *) "self",(char *) "text", NULL | |
5507 | }; | |
5508 | ||
5509 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) SWIG_fail; | |
5510 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); | |
5511 | if (!SWIG_IsOK(res1)) { | |
5512 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); | |
5513 | } | |
5514 | arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); | |
5515 | { | |
5516 | arg2 = wxString_in_helper(obj1); | |
5517 | if (arg2 == NULL) SWIG_fail; | |
5518 | temp2 = true; | |
5519 | } | |
5520 | { | |
5521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5522 | (arg1)->SetText((wxString const &)*arg2); | |
5523 | wxPyEndAllowThreads(__tstate); | |
5524 | if (PyErr_Occurred()) SWIG_fail; | |
5525 | } | |
5526 | resultobj = SWIG_Py_Void(); | |
5527 | { | |
5528 | if (temp2) | |
5529 | delete arg2; | |
5530 | } | |
5531 | return resultobj; | |
5532 | fail: | |
5533 | { | |
5534 | if (temp2) | |
5535 | delete arg2; | |
5536 | } | |
5537 | return NULL; | |
5538 | } | |
5539 | ||
5540 | ||
5541 | SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5542 | PyObject *resultobj = 0; | |
5543 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
5544 | int arg2 ; | |
5545 | void *argp1 = 0 ; | |
5546 | int res1 = 0 ; | |
5547 | int val2 ; | |
5548 | int ecode2 = 0 ; | |
5549 | PyObject * obj0 = 0 ; | |
5550 | PyObject * obj1 = 0 ; | |
5551 | char * kwnames[] = { | |
5552 | (char *) "self",(char *) "image", NULL | |
5553 | }; | |
5554 | ||
5555 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) SWIG_fail; | |
5556 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); | |
5557 | if (!SWIG_IsOK(res1)) { | |
5558 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); | |
5559 | } | |
5560 | arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); | |
5561 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5562 | if (!SWIG_IsOK(ecode2)) { | |
5563 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "2"" of type '" "int""'"); | |
5564 | } | |
5565 | arg2 = static_cast< int >(val2); | |
5566 | { | |
5567 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5568 | (arg1)->SetImage(arg2); | |
5569 | wxPyEndAllowThreads(__tstate); | |
5570 | if (PyErr_Occurred()) SWIG_fail; | |
5571 | } | |
5572 | resultobj = SWIG_Py_Void(); | |
5573 | return resultobj; | |
5574 | fail: | |
5575 | return NULL; | |
5576 | } | |
5577 | ||
5578 | ||
5579 | SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5580 | PyObject *resultobj = 0; | |
5581 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
5582 | int arg2 ; | |
5583 | void *argp1 = 0 ; | |
5584 | int res1 = 0 ; | |
5585 | int val2 ; | |
5586 | int ecode2 = 0 ; | |
5587 | PyObject * obj0 = 0 ; | |
5588 | PyObject * obj1 = 0 ; | |
5589 | char * kwnames[] = { | |
5590 | (char *) "self",(char *) "image", NULL | |
5591 | }; | |
5592 | ||
5593 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) SWIG_fail; | |
5594 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); | |
5595 | if (!SWIG_IsOK(res1)) { | |
5596 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); | |
5597 | } | |
5598 | arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); | |
5599 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5600 | if (!SWIG_IsOK(ecode2)) { | |
5601 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "2"" of type '" "int""'"); | |
5602 | } | |
5603 | arg2 = static_cast< int >(val2); | |
5604 | { | |
5605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5606 | (arg1)->SetSelectedImage(arg2); | |
5607 | wxPyEndAllowThreads(__tstate); | |
5608 | if (PyErr_Occurred()) SWIG_fail; | |
5609 | } | |
5610 | resultobj = SWIG_Py_Void(); | |
5611 | return resultobj; | |
5612 | fail: | |
5613 | return NULL; | |
5614 | } | |
5615 | ||
5616 | ||
5617 | SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5618 | PyObject *resultobj = 0; | |
5619 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
5620 | size_t arg2 ; | |
5621 | void *argp1 = 0 ; | |
5622 | int res1 = 0 ; | |
5623 | size_t val2 ; | |
5624 | int ecode2 = 0 ; | |
5625 | PyObject * obj0 = 0 ; | |
5626 | PyObject * obj1 = 0 ; | |
5627 | char * kwnames[] = { | |
5628 | (char *) "self",(char *) "with", NULL | |
5629 | }; | |
5630 | ||
5631 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail; | |
5632 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); | |
5633 | if (!SWIG_IsOK(res1)) { | |
5634 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); | |
5635 | } | |
5636 | arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); | |
5637 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
5638 | if (!SWIG_IsOK(ecode2)) { | |
5639 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "2"" of type '" "size_t""'"); | |
5640 | } | |
5641 | arg2 = static_cast< size_t >(val2); | |
5642 | { | |
5643 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5644 | (arg1)->SetWidth(arg2); | |
5645 | wxPyEndAllowThreads(__tstate); | |
5646 | if (PyErr_Occurred()) SWIG_fail; | |
5647 | } | |
5648 | resultobj = SWIG_Py_Void(); | |
5649 | return resultobj; | |
5650 | fail: | |
5651 | return NULL; | |
5652 | } | |
5653 | ||
5654 | ||
33d6fd3b | 5655 | SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 | 5656 | PyObject *resultobj = 0; |
33d6fd3b RD |
5657 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
5658 | bool arg2 ; | |
0085ce49 RD |
5659 | void *argp1 = 0 ; |
5660 | int res1 = 0 ; | |
33d6fd3b | 5661 | bool val2 ; |
0085ce49 | 5662 | int ecode2 = 0 ; |
0085ce49 RD |
5663 | PyObject * obj0 = 0 ; |
5664 | PyObject * obj1 = 0 ; | |
0085ce49 | 5665 | char * kwnames[] = { |
33d6fd3b | 5666 | (char *) "self",(char *) "edit", NULL |
0085ce49 RD |
5667 | }; |
5668 | ||
33d6fd3b RD |
5669 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail; |
5670 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); | |
5671 | if (!SWIG_IsOK(res1)) { | |
5672 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); | |
5673 | } | |
5674 | arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); | |
5675 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5676 | if (!SWIG_IsOK(ecode2)) { | |
5677 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "2"" of type '" "bool""'"); | |
5678 | } | |
5679 | arg2 = static_cast< bool >(val2); | |
5680 | { | |
5681 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5682 | (arg1)->SetEditable(arg2); | |
5683 | wxPyEndAllowThreads(__tstate); | |
5684 | if (PyErr_Occurred()) SWIG_fail; | |
5685 | } | |
5686 | resultobj = SWIG_Py_Void(); | |
5687 | return resultobj; | |
5688 | fail: | |
5689 | return NULL; | |
5690 | } | |
5691 | ||
5692 | ||
5693 | SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5694 | PyObject *resultobj = 0; | |
5695 | wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; | |
5696 | bool arg2 ; | |
5697 | void *argp1 = 0 ; | |
5698 | int res1 = 0 ; | |
5699 | bool val2 ; | |
5700 | int ecode2 = 0 ; | |
5701 | PyObject * obj0 = 0 ; | |
5702 | PyObject * obj1 = 0 ; | |
5703 | char * kwnames[] = { | |
5704 | (char *) "self",(char *) "shown", NULL | |
5705 | }; | |
5706 | ||
5707 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) SWIG_fail; | |
5708 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); | |
5709 | if (!SWIG_IsOK(res1)) { | |
5710 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); | |
5711 | } | |
5712 | arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); | |
5713 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
5714 | if (!SWIG_IsOK(ecode2)) { | |
5715 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "2"" of type '" "bool""'"); | |
5716 | } | |
5717 | arg2 = static_cast< bool >(val2); | |
5718 | { | |
5719 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5720 | (arg1)->SetShown(arg2); | |
5721 | wxPyEndAllowThreads(__tstate); | |
5722 | if (PyErr_Occurred()) SWIG_fail; | |
5723 | } | |
5724 | resultobj = SWIG_Py_Void(); | |
5725 | return resultobj; | |
5726 | fail: | |
5727 | return NULL; | |
5728 | } | |
5729 | ||
5730 | ||
5731 | SWIGINTERN PyObject *TreeListColumnInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5732 | PyObject *obj; | |
5733 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
5734 | SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeListColumnInfo, SWIG_NewClientData(obj)); | |
5735 | return SWIG_Py_Void(); | |
5736 | } | |
5737 | ||
5738 | SWIGINTERN PyObject *TreeListColumnInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
5739 | return SWIG_Python_InitShadowInstance(args); | |
5740 | } | |
5741 | ||
5742 | SWIGINTERN PyObject *_wrap_new_TreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5743 | PyObject *resultobj = 0; | |
5744 | wxWindow *arg1 = (wxWindow *) 0 ; | |
5745 | int arg2 = (int) -1 ; | |
5746 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
5747 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
5748 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
5749 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
5750 | long arg5 = (long) wxTR_DEFAULT_STYLE ; | |
5751 | wxValidator const &arg6_defvalue = wxDefaultValidator ; | |
5752 | wxValidator *arg6 = (wxValidator *) &arg6_defvalue ; | |
5753 | wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ; | |
5754 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
5755 | wxPyTreeListCtrl *result = 0 ; | |
5756 | void *argp1 = 0 ; | |
5757 | int res1 = 0 ; | |
5758 | int val2 ; | |
5759 | int ecode2 = 0 ; | |
5760 | wxPoint temp3 ; | |
5761 | wxSize temp4 ; | |
5762 | long val5 ; | |
5763 | int ecode5 = 0 ; | |
5764 | void *argp6 = 0 ; | |
5765 | int res6 = 0 ; | |
5766 | bool temp7 = false ; | |
5767 | PyObject * obj0 = 0 ; | |
5768 | PyObject * obj1 = 0 ; | |
5769 | PyObject * obj2 = 0 ; | |
5770 | PyObject * obj3 = 0 ; | |
5771 | PyObject * obj4 = 0 ; | |
5772 | PyObject * obj5 = 0 ; | |
5773 | PyObject * obj6 = 0 ; | |
5774 | char * kwnames[] = { | |
5775 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL | |
5776 | }; | |
5777 | ||
5778 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
5779 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
0085ce49 RD |
5780 | if (!SWIG_IsOK(res1)) { |
5781 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
5782 | } | |
5783 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
5784 | if (obj1) { | |
5785 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
5786 | if (!SWIG_IsOK(ecode2)) { | |
5787 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListCtrl" "', expected argument " "2"" of type '" "int""'"); | |
5788 | } | |
5789 | arg2 = static_cast< int >(val2); | |
5790 | } | |
5791 | if (obj2) { | |
44127b65 | 5792 | { |
0085ce49 RD |
5793 | arg3 = &temp3; |
5794 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
44127b65 | 5795 | } |
0085ce49 RD |
5796 | } |
5797 | if (obj3) { | |
44127b65 | 5798 | { |
0085ce49 RD |
5799 | arg4 = &temp4; |
5800 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
44127b65 | 5801 | } |
0085ce49 RD |
5802 | } |
5803 | if (obj4) { | |
5804 | ecode5 = SWIG_AsVal_long(obj4, &val5); | |
5805 | if (!SWIG_IsOK(ecode5)) { | |
5806 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListCtrl" "', expected argument " "5"" of type '" "long""'"); | |
5807 | } | |
5808 | arg5 = static_cast< long >(val5); | |
5809 | } | |
5810 | if (obj5) { | |
5811 | res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0); | |
5812 | if (!SWIG_IsOK(res6)) { | |
5813 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'"); | |
5814 | } | |
5815 | if (!argp6) { | |
5816 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'"); | |
5817 | } | |
5818 | arg6 = reinterpret_cast< wxValidator * >(argp6); | |
5819 | } | |
5820 | if (obj6) { | |
4f89f6a3 | 5821 | { |
0085ce49 RD |
5822 | arg7 = wxString_in_helper(obj6); |
5823 | if (arg7 == NULL) SWIG_fail; | |
5824 | temp7 = true; | |
4f89f6a3 | 5825 | } |
0085ce49 RD |
5826 | } |
5827 | { | |
5828 | if (!wxPyCheckForApp()) SWIG_fail; | |
5829 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5830 | result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7); | |
5831 | wxPyEndAllowThreads(__tstate); | |
5832 | if (PyErr_Occurred()) SWIG_fail; | |
5833 | } | |
5834 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_NEW | 0 ); | |
5835 | { | |
5836 | if (temp7) | |
5837 | delete arg7; | |
5838 | } | |
5839 | return resultobj; | |
5840 | fail: | |
5841 | { | |
5842 | if (temp7) | |
5843 | delete arg7; | |
5844 | } | |
5845 | return NULL; | |
44127b65 RD |
5846 | } |
5847 | ||
5848 | ||
0085ce49 RD |
5849 | SWIGINTERN PyObject *_wrap_new_PreTreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
5850 | PyObject *resultobj = 0; | |
5851 | wxPyTreeListCtrl *result = 0 ; | |
5852 | ||
5853 | if (!SWIG_Python_UnpackTuple(args,"new_PreTreeListCtrl",0,0,0)) SWIG_fail; | |
5854 | { | |
5855 | if (!wxPyCheckForApp()) SWIG_fail; | |
5856 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5857 | result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(); | |
5858 | wxPyEndAllowThreads(__tstate); | |
5859 | if (PyErr_Occurred()) SWIG_fail; | |
5860 | } | |
5861 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_OWN | 0 ); | |
5862 | return resultobj; | |
5863 | fail: | |
5864 | return NULL; | |
5865 | } | |
5866 | ||
5867 | ||
5868 | SWIGINTERN PyObject *_wrap_TreeListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5869 | PyObject *resultobj = 0; | |
5870 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5871 | wxWindow *arg2 = (wxWindow *) 0 ; | |
5872 | int arg3 = (int) -1 ; | |
5873 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
5874 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
5875 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
5876 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
5877 | long arg6 = (long) wxTR_DEFAULT_STYLE ; | |
5878 | wxValidator const &arg7_defvalue = wxDefaultValidator ; | |
5879 | wxValidator *arg7 = (wxValidator *) &arg7_defvalue ; | |
5880 | wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ; | |
5881 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
5882 | bool result; | |
5883 | void *argp1 = 0 ; | |
5884 | int res1 = 0 ; | |
5885 | void *argp2 = 0 ; | |
5886 | int res2 = 0 ; | |
5887 | int val3 ; | |
5888 | int ecode3 = 0 ; | |
5889 | wxPoint temp4 ; | |
5890 | wxSize temp5 ; | |
5891 | long val6 ; | |
5892 | int ecode6 = 0 ; | |
5893 | void *argp7 = 0 ; | |
5894 | int res7 = 0 ; | |
5895 | bool temp8 = false ; | |
5896 | PyObject * obj0 = 0 ; | |
5897 | PyObject * obj1 = 0 ; | |
5898 | PyObject * obj2 = 0 ; | |
5899 | PyObject * obj3 = 0 ; | |
5900 | PyObject * obj4 = 0 ; | |
5901 | PyObject * obj5 = 0 ; | |
5902 | PyObject * obj6 = 0 ; | |
5903 | PyObject * obj7 = 0 ; | |
5904 | char * kwnames[] = { | |
5905 | (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL | |
5906 | }; | |
5907 | ||
5908 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; | |
5909 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
5910 | if (!SWIG_IsOK(res1)) { | |
5911 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
5912 | } | |
5913 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
5914 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
5915 | if (!SWIG_IsOK(res2)) { | |
5916 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
5917 | } | |
5918 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
5919 | if (obj2) { | |
5920 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
5921 | if (!SWIG_IsOK(ecode3)) { | |
5922 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_Create" "', expected argument " "3"" of type '" "int""'"); | |
5923 | } | |
5924 | arg3 = static_cast< int >(val3); | |
5925 | } | |
5926 | if (obj3) { | |
44127b65 | 5927 | { |
0085ce49 RD |
5928 | arg4 = &temp4; |
5929 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
44127b65 | 5930 | } |
0085ce49 RD |
5931 | } |
5932 | if (obj4) { | |
cc6dd355 | 5933 | { |
0085ce49 RD |
5934 | arg5 = &temp5; |
5935 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
cc6dd355 | 5936 | } |
0085ce49 RD |
5937 | } |
5938 | if (obj5) { | |
5939 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
5940 | if (!SWIG_IsOK(ecode6)) { | |
5941 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_Create" "', expected argument " "6"" of type '" "long""'"); | |
5942 | } | |
5943 | arg6 = static_cast< long >(val6); | |
5944 | } | |
5945 | if (obj6) { | |
5946 | res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0); | |
5947 | if (!SWIG_IsOK(res7)) { | |
5948 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'"); | |
3004cfd8 | 5949 | } |
0085ce49 RD |
5950 | if (!argp7) { |
5951 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'"); | |
44127b65 | 5952 | } |
0085ce49 RD |
5953 | arg7 = reinterpret_cast< wxValidator * >(argp7); |
5954 | } | |
5955 | if (obj7) { | |
44127b65 | 5956 | { |
0085ce49 RD |
5957 | arg8 = wxString_in_helper(obj7); |
5958 | if (arg8 == NULL) SWIG_fail; | |
5959 | temp8 = true; | |
44127b65 | 5960 | } |
0085ce49 RD |
5961 | } |
5962 | { | |
5963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
5964 | result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8); | |
5965 | wxPyEndAllowThreads(__tstate); | |
5966 | if (PyErr_Occurred()) SWIG_fail; | |
5967 | } | |
5968 | { | |
5969 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
5970 | } | |
5971 | { | |
5972 | if (temp8) | |
5973 | delete arg8; | |
5974 | } | |
5975 | return resultobj; | |
5976 | fail: | |
5977 | { | |
5978 | if (temp8) | |
5979 | delete arg8; | |
5980 | } | |
5981 | return NULL; | |
5982 | } | |
5983 | ||
5984 | ||
5985 | SWIGINTERN PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
5986 | PyObject *resultobj = 0; | |
5987 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
5988 | PyObject *arg2 = (PyObject *) 0 ; | |
5989 | PyObject *arg3 = (PyObject *) 0 ; | |
5990 | void *argp1 = 0 ; | |
5991 | int res1 = 0 ; | |
5992 | PyObject * obj0 = 0 ; | |
5993 | PyObject * obj1 = 0 ; | |
5994 | PyObject * obj2 = 0 ; | |
5995 | char * kwnames[] = { | |
5996 | (char *) "self",(char *) "self",(char *) "_class", NULL | |
5997 | }; | |
5998 | ||
5999 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
6000 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
6001 | if (!SWIG_IsOK(res1)) { | |
6002 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
6003 | } | |
6004 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6005 | arg2 = obj1; | |
6006 | arg3 = obj2; | |
6007 | { | |
6008 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6009 | (arg1)->_setCallbackInfo(arg2,arg3); | |
6010 | wxPyEndAllowThreads(__tstate); | |
6011 | if (PyErr_Occurred()) SWIG_fail; | |
6012 | } | |
6013 | resultobj = SWIG_Py_Void(); | |
6014 | return resultobj; | |
6015 | fail: | |
6016 | return NULL; | |
44127b65 RD |
6017 | } |
6018 | ||
6019 | ||
0085ce49 RD |
6020 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6021 | PyObject *resultobj = 0; | |
6022 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6023 | size_t result; | |
6024 | void *argp1 = 0 ; | |
6025 | int res1 = 0 ; | |
6026 | PyObject *swig_obj[1] ; | |
6027 | ||
6028 | if (!args) SWIG_fail; | |
6029 | swig_obj[0] = args; | |
6030 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
6031 | if (!SWIG_IsOK(res1)) { | |
6032 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
6033 | } | |
6034 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6035 | { | |
6036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6037 | result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount(); | |
6038 | wxPyEndAllowThreads(__tstate); | |
6039 | if (PyErr_Occurred()) SWIG_fail; | |
6040 | } | |
6041 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
6042 | return resultobj; | |
6043 | fail: | |
6044 | return NULL; | |
44127b65 RD |
6045 | } |
6046 | ||
6047 | ||
0085ce49 RD |
6048 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6049 | PyObject *resultobj = 0; | |
6050 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6051 | unsigned int result; | |
6052 | void *argp1 = 0 ; | |
6053 | int res1 = 0 ; | |
6054 | PyObject *swig_obj[1] ; | |
6055 | ||
6056 | if (!args) SWIG_fail; | |
6057 | swig_obj[0] = args; | |
6058 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
6059 | if (!SWIG_IsOK(res1)) { | |
6060 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
6061 | } | |
6062 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6063 | { | |
6064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6065 | result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent(); | |
6066 | wxPyEndAllowThreads(__tstate); | |
6067 | if (PyErr_Occurred()) SWIG_fail; | |
6068 | } | |
6069 | resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); | |
6070 | return resultobj; | |
6071 | fail: | |
6072 | return NULL; | |
6073 | } | |
6074 | ||
6075 | ||
6076 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6077 | PyObject *resultobj = 0; | |
6078 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6079 | unsigned int arg2 ; | |
6080 | void *argp1 = 0 ; | |
6081 | int res1 = 0 ; | |
6082 | unsigned int val2 ; | |
6083 | int ecode2 = 0 ; | |
6084 | PyObject * obj0 = 0 ; | |
6085 | PyObject * obj1 = 0 ; | |
6086 | char * kwnames[] = { | |
6087 | (char *) "self",(char *) "indent", NULL | |
6088 | }; | |
6089 | ||
6090 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail; | |
6091 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
6092 | if (!SWIG_IsOK(res1)) { | |
6093 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
6094 | } | |
6095 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6096 | ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); | |
6097 | if (!SWIG_IsOK(ecode2)) { | |
6098 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'"); | |
6099 | } | |
6100 | arg2 = static_cast< unsigned int >(val2); | |
6101 | { | |
6102 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6103 | (arg1)->SetIndent(arg2); | |
6104 | wxPyEndAllowThreads(__tstate); | |
6105 | if (PyErr_Occurred()) SWIG_fail; | |
6106 | } | |
6107 | resultobj = SWIG_Py_Void(); | |
6108 | return resultobj; | |
6109 | fail: | |
6110 | return NULL; | |
28eab81f RD |
6111 | } |
6112 | ||
6113 | ||
0085ce49 RD |
6114 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6115 | PyObject *resultobj = 0; | |
6116 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6117 | unsigned int result; | |
6118 | void *argp1 = 0 ; | |
6119 | int res1 = 0 ; | |
6120 | PyObject *swig_obj[1] ; | |
6121 | ||
6122 | if (!args) SWIG_fail; | |
6123 | swig_obj[0] = args; | |
6124 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
6125 | if (!SWIG_IsOK(res1)) { | |
6126 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
6127 | } | |
6128 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6129 | { | |
6130 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6131 | result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing(); | |
6132 | wxPyEndAllowThreads(__tstate); | |
6133 | if (PyErr_Occurred()) SWIG_fail; | |
6134 | } | |
6135 | resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); | |
6136 | return resultobj; | |
6137 | fail: | |
6138 | return NULL; | |
6139 | } | |
6140 | ||
6141 | ||
6142 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6143 | PyObject *resultobj = 0; | |
6144 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6145 | unsigned int arg2 ; | |
6146 | void *argp1 = 0 ; | |
6147 | int res1 = 0 ; | |
6148 | unsigned int val2 ; | |
6149 | int ecode2 = 0 ; | |
6150 | PyObject * obj0 = 0 ; | |
6151 | PyObject * obj1 = 0 ; | |
6152 | char * kwnames[] = { | |
6153 | (char *) "self",(char *) "spacing", NULL | |
6154 | }; | |
6155 | ||
6156 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail; | |
6157 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
6158 | if (!SWIG_IsOK(res1)) { | |
6159 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
6160 | } | |
6161 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6162 | ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); | |
6163 | if (!SWIG_IsOK(ecode2)) { | |
6164 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "2"" of type '" "unsigned int""'"); | |
6165 | } | |
6166 | arg2 = static_cast< unsigned int >(val2); | |
6167 | { | |
6168 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6169 | (arg1)->SetLineSpacing(arg2); | |
6170 | wxPyEndAllowThreads(__tstate); | |
6171 | if (PyErr_Occurred()) SWIG_fail; | |
6172 | } | |
6173 | resultobj = SWIG_Py_Void(); | |
6174 | return resultobj; | |
6175 | fail: | |
6176 | return NULL; | |
44127b65 RD |
6177 | } |
6178 | ||
6179 | ||
0085ce49 RD |
6180 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6181 | PyObject *resultobj = 0; | |
6182 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6183 | wxImageList *result = 0 ; | |
6184 | void *argp1 = 0 ; | |
6185 | int res1 = 0 ; | |
6186 | PyObject *swig_obj[1] ; | |
6187 | ||
6188 | if (!args) SWIG_fail; | |
6189 | swig_obj[0] = args; | |
6190 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
6191 | if (!SWIG_IsOK(res1)) { | |
6192 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
6193 | } | |
6194 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6195 | { | |
6196 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6197 | result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList(); | |
6198 | wxPyEndAllowThreads(__tstate); | |
6199 | if (PyErr_Occurred()) SWIG_fail; | |
6200 | } | |
3ecece7e RD |
6201 | { |
6202 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
6203 | } | |
0085ce49 RD |
6204 | return resultobj; |
6205 | fail: | |
6206 | return NULL; | |
44127b65 RD |
6207 | } |
6208 | ||
6209 | ||
0085ce49 RD |
6210 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6211 | PyObject *resultobj = 0; | |
6212 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6213 | wxImageList *result = 0 ; | |
6214 | void *argp1 = 0 ; | |
6215 | int res1 = 0 ; | |
6216 | PyObject *swig_obj[1] ; | |
6217 | ||
6218 | if (!args) SWIG_fail; | |
6219 | swig_obj[0] = args; | |
6220 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
6221 | if (!SWIG_IsOK(res1)) { | |
6222 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
6223 | } | |
6224 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6225 | { | |
6226 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6227 | result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList(); | |
6228 | wxPyEndAllowThreads(__tstate); | |
6229 | if (PyErr_Occurred()) SWIG_fail; | |
6230 | } | |
3ecece7e RD |
6231 | { |
6232 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
6233 | } | |
0085ce49 RD |
6234 | return resultobj; |
6235 | fail: | |
6236 | return NULL; | |
44127b65 RD |
6237 | } |
6238 | ||
6239 | ||
0085ce49 RD |
6240 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6241 | PyObject *resultobj = 0; | |
6242 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6243 | wxImageList *result = 0 ; | |
6244 | void *argp1 = 0 ; | |
6245 | int res1 = 0 ; | |
6246 | PyObject *swig_obj[1] ; | |
6247 | ||
6248 | if (!args) SWIG_fail; | |
6249 | swig_obj[0] = args; | |
6250 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
6251 | if (!SWIG_IsOK(res1)) { | |
6252 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
6253 | } | |
6254 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6255 | { | |
6256 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6257 | result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList(); | |
6258 | wxPyEndAllowThreads(__tstate); | |
6259 | if (PyErr_Occurred()) SWIG_fail; | |
6260 | } | |
3ecece7e RD |
6261 | { |
6262 | resultobj = wxPyMake_wxObject(result, (bool)0); | |
6263 | } | |
0085ce49 RD |
6264 | return resultobj; |
6265 | fail: | |
6266 | return NULL; | |
6267 | } | |
6268 | ||
6269 | ||
6270 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6271 | PyObject *resultobj = 0; | |
6272 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6273 | wxImageList *arg2 = (wxImageList *) 0 ; | |
6274 | void *argp1 = 0 ; | |
6275 | int res1 = 0 ; | |
6276 | void *argp2 = 0 ; | |
6277 | int res2 = 0 ; | |
6278 | PyObject * obj0 = 0 ; | |
6279 | PyObject * obj1 = 0 ; | |
6280 | char * kwnames[] = { | |
6281 | (char *) "self",(char *) "imageList", NULL | |
6282 | }; | |
6283 | ||
6284 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail; | |
6285 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
6286 | if (!SWIG_IsOK(res1)) { | |
6287 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
6288 | } | |
6289 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6290 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 ); | |
6291 | if (!SWIG_IsOK(res2)) { | |
6292 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'"); | |
6293 | } | |
6294 | arg2 = reinterpret_cast< wxImageList * >(argp2); | |
6295 | { | |
6296 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6297 | (arg1)->SetImageList(arg2); | |
6298 | wxPyEndAllowThreads(__tstate); | |
6299 | if (PyErr_Occurred()) SWIG_fail; | |
6300 | } | |
6301 | resultobj = SWIG_Py_Void(); | |
6302 | return resultobj; | |
6303 | fail: | |
6304 | return NULL; | |
6305 | } | |
6306 | ||
6307 | ||
6308 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6309 | PyObject *resultobj = 0; | |
6310 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6311 | wxImageList *arg2 = (wxImageList *) 0 ; | |
6312 | void *argp1 = 0 ; | |
6313 | int res1 = 0 ; | |
6314 | void *argp2 = 0 ; | |
6315 | int res2 = 0 ; | |
6316 | PyObject * obj0 = 0 ; | |
6317 | PyObject * obj1 = 0 ; | |
6318 | char * kwnames[] = { | |
6319 | (char *) "self",(char *) "imageList", NULL | |
6320 | }; | |
6321 | ||
6322 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail; | |
6323 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
6324 | if (!SWIG_IsOK(res1)) { | |
6325 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
6326 | } | |
6327 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6328 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 ); | |
6329 | if (!SWIG_IsOK(res2)) { | |
6330 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'"); | |
6331 | } | |
6332 | arg2 = reinterpret_cast< wxImageList * >(argp2); | |
6333 | { | |
6334 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6335 | (arg1)->SetStateImageList(arg2); | |
6336 | wxPyEndAllowThreads(__tstate); | |
6337 | if (PyErr_Occurred()) SWIG_fail; | |
6338 | } | |
6339 | resultobj = SWIG_Py_Void(); | |
6340 | return resultobj; | |
6341 | fail: | |
6342 | return NULL; | |
6343 | } | |
6344 | ||
6345 | ||
6346 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6347 | PyObject *resultobj = 0; | |
6348 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6349 | wxImageList *arg2 = (wxImageList *) 0 ; | |
6350 | void *argp1 = 0 ; | |
6351 | int res1 = 0 ; | |
6352 | void *argp2 = 0 ; | |
6353 | int res2 = 0 ; | |
6354 | PyObject * obj0 = 0 ; | |
6355 | PyObject * obj1 = 0 ; | |
6356 | char * kwnames[] = { | |
6357 | (char *) "self",(char *) "imageList", NULL | |
6358 | }; | |
6359 | ||
6360 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail; | |
6361 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
6362 | if (!SWIG_IsOK(res1)) { | |
6363 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
6364 | } | |
6365 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6366 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 ); | |
6367 | if (!SWIG_IsOK(res2)) { | |
6368 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'"); | |
6369 | } | |
6370 | arg2 = reinterpret_cast< wxImageList * >(argp2); | |
6371 | { | |
6372 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6373 | (arg1)->SetButtonsImageList(arg2); | |
6374 | wxPyEndAllowThreads(__tstate); | |
6375 | if (PyErr_Occurred()) SWIG_fail; | |
6376 | } | |
6377 | resultobj = SWIG_Py_Void(); | |
6378 | return resultobj; | |
6379 | fail: | |
6380 | return NULL; | |
6381 | } | |
6382 | ||
6383 | ||
6384 | SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6385 | PyObject *resultobj = 0; | |
6386 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6387 | wxImageList *arg2 = (wxImageList *) 0 ; | |
6388 | void *argp1 = 0 ; | |
6389 | int res1 = 0 ; | |
6390 | int res2 = 0 ; | |
6391 | PyObject * obj0 = 0 ; | |
6392 | PyObject * obj1 = 0 ; | |
6393 | char * kwnames[] = { | |
6394 | (char *) "self",(char *) "imageList", NULL | |
6395 | }; | |
6396 | ||
6397 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail; | |
6398 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
6399 | if (!SWIG_IsOK(res1)) { | |
6400 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
6401 | } | |
6402 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6403 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 ); | |
6404 | if (!SWIG_IsOK(res2)) { | |
6405 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'"); | |
6406 | } | |
6407 | { | |
6408 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6409 | (arg1)->AssignImageList(arg2); | |
6410 | wxPyEndAllowThreads(__tstate); | |
6411 | if (PyErr_Occurred()) SWIG_fail; | |
6412 | } | |
6413 | resultobj = SWIG_Py_Void(); | |
6414 | return resultobj; | |
6415 | fail: | |
6416 | return NULL; | |
6417 | } | |
6418 | ||
6419 | ||
6420 | SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6421 | PyObject *resultobj = 0; | |
6422 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6423 | wxImageList *arg2 = (wxImageList *) 0 ; | |
6424 | void *argp1 = 0 ; | |
6425 | int res1 = 0 ; | |
6426 | int res2 = 0 ; | |
6427 | PyObject * obj0 = 0 ; | |
6428 | PyObject * obj1 = 0 ; | |
6429 | char * kwnames[] = { | |
6430 | (char *) "self",(char *) "imageList", NULL | |
6431 | }; | |
6432 | ||
6433 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail; | |
6434 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
6435 | if (!SWIG_IsOK(res1)) { | |
6436 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
6437 | } | |
6438 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6439 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 ); | |
6440 | if (!SWIG_IsOK(res2)) { | |
6441 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'"); | |
6442 | } | |
6443 | { | |
6444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6445 | (arg1)->AssignStateImageList(arg2); | |
6446 | wxPyEndAllowThreads(__tstate); | |
6447 | if (PyErr_Occurred()) SWIG_fail; | |
6448 | } | |
6449 | resultobj = SWIG_Py_Void(); | |
6450 | return resultobj; | |
6451 | fail: | |
6452 | return NULL; | |
6453 | } | |
6454 | ||
6455 | ||
6456 | SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6457 | PyObject *resultobj = 0; | |
6458 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6459 | wxImageList *arg2 = (wxImageList *) 0 ; | |
6460 | void *argp1 = 0 ; | |
6461 | int res1 = 0 ; | |
6462 | int res2 = 0 ; | |
6463 | PyObject * obj0 = 0 ; | |
6464 | PyObject * obj1 = 0 ; | |
6465 | char * kwnames[] = { | |
6466 | (char *) "self",(char *) "imageList", NULL | |
6467 | }; | |
6468 | ||
6469 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail; | |
6470 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
6471 | if (!SWIG_IsOK(res1)) { | |
6472 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
6473 | } | |
6474 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6475 | res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 ); | |
6476 | if (!SWIG_IsOK(res2)) { | |
6477 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'"); | |
6478 | } | |
6479 | { | |
6480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6481 | (arg1)->AssignButtonsImageList(arg2); | |
6482 | wxPyEndAllowThreads(__tstate); | |
6483 | if (PyErr_Occurred()) SWIG_fail; | |
6484 | } | |
6485 | resultobj = SWIG_Py_Void(); | |
6486 | return resultobj; | |
6487 | fail: | |
6488 | return NULL; | |
6489 | } | |
6490 | ||
6491 | ||
6492 | SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6493 | PyObject *resultobj = 0; | |
6494 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6495 | wxString *arg2 = 0 ; | |
33d6fd3b RD |
6496 | int arg3 = (int) DEFAULT_COL_WIDTH ; |
6497 | int arg4 = (int) wxALIGN_LEFT ; | |
6498 | int arg5 = (int) -1 ; | |
6499 | bool arg6 = (bool) true ; | |
6500 | bool arg7 = (bool) false ; | |
0085ce49 RD |
6501 | void *argp1 = 0 ; |
6502 | int res1 = 0 ; | |
6503 | bool temp2 = false ; | |
33d6fd3b RD |
6504 | int val3 ; |
6505 | int ecode3 = 0 ; | |
6506 | int val4 ; | |
6507 | int ecode4 = 0 ; | |
6508 | int val5 ; | |
6509 | int ecode5 = 0 ; | |
6510 | bool val6 ; | |
6511 | int ecode6 = 0 ; | |
6512 | bool val7 ; | |
6513 | int ecode7 = 0 ; | |
0085ce49 RD |
6514 | PyObject * obj0 = 0 ; |
6515 | PyObject * obj1 = 0 ; | |
33d6fd3b RD |
6516 | PyObject * obj2 = 0 ; |
6517 | PyObject * obj3 = 0 ; | |
6518 | PyObject * obj4 = 0 ; | |
6519 | PyObject * obj5 = 0 ; | |
6520 | PyObject * obj6 = 0 ; | |
0085ce49 | 6521 | char * kwnames[] = { |
33d6fd3b | 6522 | (char *) "self",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL |
0085ce49 RD |
6523 | }; |
6524 | ||
33d6fd3b | 6525 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
0085ce49 RD |
6526 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
6527 | if (!SWIG_IsOK(res1)) { | |
6528 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
6529 | } | |
6530 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6531 | { | |
6532 | arg2 = wxString_in_helper(obj1); | |
6533 | if (arg2 == NULL) SWIG_fail; | |
6534 | temp2 = true; | |
6535 | } | |
33d6fd3b RD |
6536 | if (obj2) { |
6537 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
6538 | if (!SWIG_IsOK(ecode3)) { | |
6539 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "3"" of type '" "int""'"); | |
6540 | } | |
6541 | arg3 = static_cast< int >(val3); | |
6542 | } | |
6543 | if (obj3) { | |
6544 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
6545 | if (!SWIG_IsOK(ecode4)) { | |
6546 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "4"" of type '" "int""'"); | |
6547 | } | |
6548 | arg4 = static_cast< int >(val4); | |
6549 | } | |
6550 | if (obj4) { | |
6551 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
6552 | if (!SWIG_IsOK(ecode5)) { | |
6553 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "5"" of type '" "int""'"); | |
6554 | } | |
6555 | arg5 = static_cast< int >(val5); | |
6556 | } | |
6557 | if (obj5) { | |
6558 | ecode6 = SWIG_AsVal_bool(obj5, &val6); | |
6559 | if (!SWIG_IsOK(ecode6)) { | |
6560 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "6"" of type '" "bool""'"); | |
6561 | } | |
6562 | arg6 = static_cast< bool >(val6); | |
6563 | } | |
6564 | if (obj6) { | |
6565 | ecode7 = SWIG_AsVal_bool(obj6, &val7); | |
6566 | if (!SWIG_IsOK(ecode7)) { | |
6567 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "7"" of type '" "bool""'"); | |
6568 | } | |
6569 | arg7 = static_cast< bool >(val7); | |
6570 | } | |
0085ce49 RD |
6571 | { |
6572 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 6573 | (arg1)->AddColumn((wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7); |
0085ce49 RD |
6574 | wxPyEndAllowThreads(__tstate); |
6575 | if (PyErr_Occurred()) SWIG_fail; | |
6576 | } | |
6577 | resultobj = SWIG_Py_Void(); | |
6578 | { | |
6579 | if (temp2) | |
6580 | delete arg2; | |
6581 | } | |
6582 | return resultobj; | |
6583 | fail: | |
6584 | { | |
6585 | if (temp2) | |
6586 | delete arg2; | |
6587 | } | |
6588 | return NULL; | |
6589 | } | |
6590 | ||
6591 | ||
6592 | SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6593 | PyObject *resultobj = 0; | |
6594 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6595 | wxTreeListColumnInfo *arg2 = 0 ; | |
6596 | void *argp1 = 0 ; | |
6597 | int res1 = 0 ; | |
6598 | void *argp2 = 0 ; | |
6599 | int res2 = 0 ; | |
6600 | PyObject * obj0 = 0 ; | |
6601 | PyObject * obj1 = 0 ; | |
6602 | char * kwnames[] = { | |
6603 | (char *) "self",(char *) "col", NULL | |
6604 | }; | |
6605 | ||
6606 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) SWIG_fail; | |
6607 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
6608 | if (!SWIG_IsOK(res1)) { | |
6609 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
6610 | } | |
6611 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6612 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0); | |
6613 | if (!SWIG_IsOK(res2)) { | |
6614 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'"); | |
6615 | } | |
6616 | if (!argp2) { | |
6617 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'"); | |
6618 | } | |
6619 | arg2 = reinterpret_cast< wxTreeListColumnInfo * >(argp2); | |
6620 | { | |
6621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6622 | (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2); | |
6623 | wxPyEndAllowThreads(__tstate); | |
6624 | if (PyErr_Occurred()) SWIG_fail; | |
6625 | } | |
6626 | resultobj = SWIG_Py_Void(); | |
6627 | return resultobj; | |
6628 | fail: | |
6629 | return NULL; | |
6630 | } | |
6631 | ||
6632 | ||
6633 | SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6634 | PyObject *resultobj = 0; | |
6635 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
33d6fd3b | 6636 | int arg2 ; |
0085ce49 | 6637 | wxString *arg3 = 0 ; |
33d6fd3b RD |
6638 | int arg4 = (int) DEFAULT_COL_WIDTH ; |
6639 | int arg5 = (int) wxALIGN_LEFT ; | |
6640 | int arg6 = (int) -1 ; | |
6641 | bool arg7 = (bool) true ; | |
6642 | bool arg8 = (bool) false ; | |
0085ce49 RD |
6643 | void *argp1 = 0 ; |
6644 | int res1 = 0 ; | |
33d6fd3b | 6645 | int val2 ; |
0085ce49 RD |
6646 | int ecode2 = 0 ; |
6647 | bool temp3 = false ; | |
33d6fd3b RD |
6648 | int val4 ; |
6649 | int ecode4 = 0 ; | |
6650 | int val5 ; | |
6651 | int ecode5 = 0 ; | |
6652 | int val6 ; | |
6653 | int ecode6 = 0 ; | |
6654 | bool val7 ; | |
6655 | int ecode7 = 0 ; | |
6656 | bool val8 ; | |
6657 | int ecode8 = 0 ; | |
0085ce49 RD |
6658 | PyObject * obj0 = 0 ; |
6659 | PyObject * obj1 = 0 ; | |
6660 | PyObject * obj2 = 0 ; | |
33d6fd3b RD |
6661 | PyObject * obj3 = 0 ; |
6662 | PyObject * obj4 = 0 ; | |
6663 | PyObject * obj5 = 0 ; | |
6664 | PyObject * obj6 = 0 ; | |
6665 | PyObject * obj7 = 0 ; | |
0085ce49 | 6666 | char * kwnames[] = { |
33d6fd3b | 6667 | (char *) "self",(char *) "before",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL |
0085ce49 RD |
6668 | }; |
6669 | ||
33d6fd3b | 6670 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; |
0085ce49 RD |
6671 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
6672 | if (!SWIG_IsOK(res1)) { | |
6673 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
6674 | } | |
6675 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
33d6fd3b | 6676 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
0085ce49 | 6677 | if (!SWIG_IsOK(ecode2)) { |
33d6fd3b | 6678 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "2"" of type '" "int""'"); |
0085ce49 | 6679 | } |
33d6fd3b | 6680 | arg2 = static_cast< int >(val2); |
0085ce49 RD |
6681 | { |
6682 | arg3 = wxString_in_helper(obj2); | |
6683 | if (arg3 == NULL) SWIG_fail; | |
6684 | temp3 = true; | |
6685 | } | |
33d6fd3b RD |
6686 | if (obj3) { |
6687 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
6688 | if (!SWIG_IsOK(ecode4)) { | |
6689 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'"); | |
6690 | } | |
6691 | arg4 = static_cast< int >(val4); | |
6692 | } | |
6693 | if (obj4) { | |
6694 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
6695 | if (!SWIG_IsOK(ecode5)) { | |
6696 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'"); | |
6697 | } | |
6698 | arg5 = static_cast< int >(val5); | |
6699 | } | |
6700 | if (obj5) { | |
6701 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
6702 | if (!SWIG_IsOK(ecode6)) { | |
6703 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "6"" of type '" "int""'"); | |
6704 | } | |
6705 | arg6 = static_cast< int >(val6); | |
6706 | } | |
6707 | if (obj6) { | |
6708 | ecode7 = SWIG_AsVal_bool(obj6, &val7); | |
6709 | if (!SWIG_IsOK(ecode7)) { | |
6710 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "7"" of type '" "bool""'"); | |
6711 | } | |
6712 | arg7 = static_cast< bool >(val7); | |
6713 | } | |
6714 | if (obj7) { | |
6715 | ecode8 = SWIG_AsVal_bool(obj7, &val8); | |
6716 | if (!SWIG_IsOK(ecode8)) { | |
6717 | SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "8"" of type '" "bool""'"); | |
6718 | } | |
6719 | arg8 = static_cast< bool >(val8); | |
6720 | } | |
0085ce49 RD |
6721 | { |
6722 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 6723 | (arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,arg8); |
0085ce49 RD |
6724 | wxPyEndAllowThreads(__tstate); |
6725 | if (PyErr_Occurred()) SWIG_fail; | |
6726 | } | |
6727 | resultobj = SWIG_Py_Void(); | |
6728 | { | |
6729 | if (temp3) | |
6730 | delete arg3; | |
6731 | } | |
6732 | return resultobj; | |
6733 | fail: | |
6734 | { | |
6735 | if (temp3) | |
6736 | delete arg3; | |
6737 | } | |
6738 | return NULL; | |
6739 | } | |
6740 | ||
6741 | ||
6742 | SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6743 | PyObject *resultobj = 0; | |
6744 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6745 | size_t arg2 ; | |
6746 | wxTreeListColumnInfo *arg3 = 0 ; | |
6747 | void *argp1 = 0 ; | |
6748 | int res1 = 0 ; | |
6749 | size_t val2 ; | |
6750 | int ecode2 = 0 ; | |
6751 | void *argp3 = 0 ; | |
6752 | int res3 = 0 ; | |
6753 | PyObject * obj0 = 0 ; | |
6754 | PyObject * obj1 = 0 ; | |
6755 | PyObject * obj2 = 0 ; | |
6756 | char * kwnames[] = { | |
6757 | (char *) "self",(char *) "before",(char *) "col", NULL | |
6758 | }; | |
6759 | ||
6760 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
6761 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
6762 | if (!SWIG_IsOK(res1)) { | |
6763 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
6764 | } | |
6765 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6766 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
6767 | if (!SWIG_IsOK(ecode2)) { | |
6768 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "2"" of type '" "size_t""'"); | |
6769 | } | |
6770 | arg2 = static_cast< size_t >(val2); | |
6771 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0); | |
6772 | if (!SWIG_IsOK(res3)) { | |
6773 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'"); | |
6774 | } | |
6775 | if (!argp3) { | |
6776 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'"); | |
6777 | } | |
6778 | arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3); | |
6779 | { | |
6780 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6781 | (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3); | |
6782 | wxPyEndAllowThreads(__tstate); | |
6783 | if (PyErr_Occurred()) SWIG_fail; | |
6784 | } | |
6785 | resultobj = SWIG_Py_Void(); | |
6786 | return resultobj; | |
6787 | fail: | |
6788 | return NULL; | |
6789 | } | |
6790 | ||
6791 | ||
6792 | SWIGINTERN PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
6793 | PyObject *resultobj = 0; | |
6794 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6795 | size_t arg2 ; | |
6796 | void *argp1 = 0 ; | |
6797 | int res1 = 0 ; | |
6798 | size_t val2 ; | |
6799 | int ecode2 = 0 ; | |
6800 | PyObject * obj0 = 0 ; | |
6801 | PyObject * obj1 = 0 ; | |
6802 | char * kwnames[] = { | |
6803 | (char *) "self",(char *) "column", NULL | |
6804 | }; | |
6805 | ||
6806 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) SWIG_fail; | |
6807 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
6808 | if (!SWIG_IsOK(res1)) { | |
6809 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
6810 | } | |
6811 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6812 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
6813 | if (!SWIG_IsOK(ecode2)) { | |
6814 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "2"" of type '" "size_t""'"); | |
6815 | } | |
6816 | arg2 = static_cast< size_t >(val2); | |
6817 | { | |
6818 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6819 | (arg1)->RemoveColumn(arg2); | |
6820 | wxPyEndAllowThreads(__tstate); | |
6821 | if (PyErr_Occurred()) SWIG_fail; | |
6822 | } | |
6823 | resultobj = SWIG_Py_Void(); | |
6824 | return resultobj; | |
6825 | fail: | |
6826 | return NULL; | |
44127b65 RD |
6827 | } |
6828 | ||
6829 | ||
0085ce49 RD |
6830 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
6831 | PyObject *resultobj = 0; | |
6832 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6833 | size_t result; | |
6834 | void *argp1 = 0 ; | |
6835 | int res1 = 0 ; | |
6836 | PyObject *swig_obj[1] ; | |
6837 | ||
6838 | if (!args) SWIG_fail; | |
6839 | swig_obj[0] = args; | |
6840 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
6841 | if (!SWIG_IsOK(res1)) { | |
6842 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
6843 | } | |
6844 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6845 | { | |
6846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
6847 | result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount(); | |
6848 | wxPyEndAllowThreads(__tstate); | |
6849 | if (PyErr_Occurred()) SWIG_fail; | |
6850 | } | |
6851 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
6852 | return resultobj; | |
6853 | fail: | |
6854 | return NULL; | |
6855 | } | |
6856 | ||
6857 | ||
33d6fd3b | 6858 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
6859 | PyObject *resultobj = 0; |
6860 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
6861 | size_t arg2 ; | |
0085ce49 RD |
6862 | void *argp1 = 0 ; |
6863 | int res1 = 0 ; | |
6864 | size_t val2 ; | |
6865 | int ecode2 = 0 ; | |
0085ce49 RD |
6866 | PyObject * obj0 = 0 ; |
6867 | PyObject * obj1 = 0 ; | |
0085ce49 | 6868 | char * kwnames[] = { |
33d6fd3b | 6869 | (char *) "self",(char *) "column", NULL |
0085ce49 RD |
6870 | }; |
6871 | ||
33d6fd3b | 6872 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) SWIG_fail; |
0085ce49 RD |
6873 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
6874 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 6875 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
0085ce49 RD |
6876 | } |
6877 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
6878 | ecode2 = SWIG_AsVal_size_t(obj1, &val2); | |
6879 | if (!SWIG_IsOK(ecode2)) { | |
33d6fd3b | 6880 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "2"" of type '" "size_t""'"); |
0085ce49 RD |
6881 | } |
6882 | arg2 = static_cast< size_t >(val2); | |
0085ce49 RD |
6883 | { |
6884 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 6885 | (arg1)->SetMainColumn(arg2); |
0085ce49 RD |
6886 | wxPyEndAllowThreads(__tstate); |
6887 | if (PyErr_Occurred()) SWIG_fail; | |
6888 | } | |
6889 | resultobj = SWIG_Py_Void(); | |
6890 | return resultobj; | |
6891 | fail: | |
6892 | return NULL; | |
6893 | } | |
6894 | ||
6895 | ||
33d6fd3b | 6896 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
0085ce49 RD |
6897 | PyObject *resultobj = 0; |
6898 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
33d6fd3b | 6899 | size_t result; |
0085ce49 RD |
6900 | void *argp1 = 0 ; |
6901 | int res1 = 0 ; | |
33d6fd3b | 6902 | PyObject *swig_obj[1] ; |
0085ce49 | 6903 | |
33d6fd3b RD |
6904 | if (!args) SWIG_fail; |
6905 | swig_obj[0] = args; | |
6906 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
0085ce49 | 6907 | if (!SWIG_IsOK(res1)) { |
33d6fd3b | 6908 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
0085ce49 RD |
6909 | } |
6910 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
0085ce49 RD |
6911 | { |
6912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 6913 | result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn(); |
0085ce49 RD |
6914 | wxPyEndAllowThreads(__tstate); |
6915 | if (PyErr_Occurred()) SWIG_fail; | |
6916 | } | |
33d6fd3b | 6917 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); |
0085ce49 RD |
6918 | return resultobj; |
6919 | fail: | |
6920 | return NULL; | |
6921 | } | |
6922 | ||
6923 | ||
33d6fd3b | 6924 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
6925 | PyObject *resultobj = 0; |
6926 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
33d6fd3b RD |
6927 | int arg2 ; |
6928 | wxTreeListColumnInfo *arg3 = 0 ; | |
0085ce49 RD |
6929 | void *argp1 = 0 ; |
6930 | int res1 = 0 ; | |
33d6fd3b | 6931 | int val2 ; |
0085ce49 | 6932 | int ecode2 = 0 ; |
33d6fd3b RD |
6933 | void *argp3 = 0 ; |
6934 | int res3 = 0 ; | |
0085ce49 RD |
6935 | PyObject * obj0 = 0 ; |
6936 | PyObject * obj1 = 0 ; | |
33d6fd3b | 6937 | PyObject * obj2 = 0 ; |
0085ce49 | 6938 | char * kwnames[] = { |
33d6fd3b | 6939 | (char *) "self",(char *) "column",(char *) "colInfo", NULL |
0085ce49 RD |
6940 | }; |
6941 | ||
33d6fd3b | 6942 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
0085ce49 RD |
6943 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
6944 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 6945 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
0085ce49 RD |
6946 | } |
6947 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
33d6fd3b | 6948 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
0085ce49 | 6949 | if (!SWIG_IsOK(ecode2)) { |
33d6fd3b | 6950 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'"); |
0085ce49 | 6951 | } |
33d6fd3b RD |
6952 | arg2 = static_cast< int >(val2); |
6953 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0); | |
6954 | if (!SWIG_IsOK(res3)) { | |
6955 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'"); | |
6956 | } | |
6957 | if (!argp3) { | |
6958 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'"); | |
6959 | } | |
6960 | arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3); | |
0085ce49 RD |
6961 | { |
6962 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 6963 | (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3); |
0085ce49 RD |
6964 | wxPyEndAllowThreads(__tstate); |
6965 | if (PyErr_Occurred()) SWIG_fail; | |
6966 | } | |
6967 | resultobj = SWIG_Py_Void(); | |
6968 | return resultobj; | |
6969 | fail: | |
6970 | return NULL; | |
44127b65 RD |
6971 | } |
6972 | ||
6973 | ||
33d6fd3b | 6974 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
6975 | PyObject *resultobj = 0; |
6976 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
33d6fd3b RD |
6977 | int arg2 ; |
6978 | wxTreeListColumnInfo *result = 0 ; | |
0085ce49 RD |
6979 | void *argp1 = 0 ; |
6980 | int res1 = 0 ; | |
33d6fd3b RD |
6981 | int val2 ; |
6982 | int ecode2 = 0 ; | |
6983 | PyObject * obj0 = 0 ; | |
6984 | PyObject * obj1 = 0 ; | |
6985 | char * kwnames[] = { | |
6986 | (char *) "self",(char *) "column", NULL | |
6987 | }; | |
0085ce49 | 6988 | |
33d6fd3b RD |
6989 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail; |
6990 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
0085ce49 | 6991 | if (!SWIG_IsOK(res1)) { |
33d6fd3b | 6992 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
0085ce49 RD |
6993 | } |
6994 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
33d6fd3b RD |
6995 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
6996 | if (!SWIG_IsOK(ecode2)) { | |
6997 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'"); | |
6998 | } | |
6999 | arg2 = static_cast< int >(val2); | |
0085ce49 RD |
7000 | { |
7001 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b RD |
7002 | { |
7003 | wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2); | |
7004 | result = (wxTreeListColumnInfo *) &_result_ref; | |
7005 | } | |
0085ce49 RD |
7006 | wxPyEndAllowThreads(__tstate); |
7007 | if (PyErr_Occurred()) SWIG_fail; | |
7008 | } | |
33d6fd3b | 7009 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); |
0085ce49 RD |
7010 | return resultobj; |
7011 | fail: | |
7012 | return NULL; | |
7013 | } | |
7014 | ||
7015 | ||
7016 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7017 | PyObject *resultobj = 0; | |
7018 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
33d6fd3b | 7019 | int arg2 ; |
0085ce49 RD |
7020 | wxString *arg3 = 0 ; |
7021 | void *argp1 = 0 ; | |
7022 | int res1 = 0 ; | |
33d6fd3b | 7023 | int val2 ; |
0085ce49 RD |
7024 | int ecode2 = 0 ; |
7025 | bool temp3 = false ; | |
7026 | PyObject * obj0 = 0 ; | |
7027 | PyObject * obj1 = 0 ; | |
7028 | PyObject * obj2 = 0 ; | |
7029 | char * kwnames[] = { | |
7030 | (char *) "self",(char *) "column",(char *) "text", NULL | |
7031 | }; | |
7032 | ||
7033 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7034 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
7035 | if (!SWIG_IsOK(res1)) { | |
7036 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
7037 | } | |
7038 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
33d6fd3b | 7039 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
0085ce49 | 7040 | if (!SWIG_IsOK(ecode2)) { |
33d6fd3b | 7041 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "2"" of type '" "int""'"); |
0085ce49 | 7042 | } |
33d6fd3b | 7043 | arg2 = static_cast< int >(val2); |
0085ce49 RD |
7044 | { |
7045 | arg3 = wxString_in_helper(obj2); | |
7046 | if (arg3 == NULL) SWIG_fail; | |
7047 | temp3 = true; | |
7048 | } | |
7049 | { | |
7050 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7051 | (arg1)->SetColumnText(arg2,(wxString const &)*arg3); | |
7052 | wxPyEndAllowThreads(__tstate); | |
7053 | if (PyErr_Occurred()) SWIG_fail; | |
7054 | } | |
7055 | resultobj = SWIG_Py_Void(); | |
7056 | { | |
7057 | if (temp3) | |
7058 | delete arg3; | |
7059 | } | |
7060 | return resultobj; | |
7061 | fail: | |
7062 | { | |
7063 | if (temp3) | |
7064 | delete arg3; | |
7065 | } | |
7066 | return NULL; | |
7067 | } | |
7068 | ||
7069 | ||
7070 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7071 | PyObject *resultobj = 0; | |
7072 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
33d6fd3b | 7073 | int arg2 ; |
0085ce49 RD |
7074 | wxString result; |
7075 | void *argp1 = 0 ; | |
7076 | int res1 = 0 ; | |
33d6fd3b | 7077 | int val2 ; |
0085ce49 RD |
7078 | int ecode2 = 0 ; |
7079 | PyObject * obj0 = 0 ; | |
7080 | PyObject * obj1 = 0 ; | |
7081 | char * kwnames[] = { | |
7082 | (char *) "self",(char *) "column", NULL | |
7083 | }; | |
7084 | ||
7085 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) SWIG_fail; | |
7086 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
7087 | if (!SWIG_IsOK(res1)) { | |
7088 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
7089 | } | |
7090 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
33d6fd3b | 7091 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
0085ce49 | 7092 | if (!SWIG_IsOK(ecode2)) { |
33d6fd3b | 7093 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "2"" of type '" "int""'"); |
0085ce49 | 7094 | } |
33d6fd3b | 7095 | arg2 = static_cast< int >(val2); |
0085ce49 RD |
7096 | { |
7097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7098 | result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2); | |
7099 | wxPyEndAllowThreads(__tstate); | |
7100 | if (PyErr_Occurred()) SWIG_fail; | |
7101 | } | |
7102 | { | |
7103 | #if wxUSE_UNICODE | |
7104 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7105 | #else | |
7106 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7107 | #endif | |
7108 | } | |
7109 | return resultobj; | |
7110 | fail: | |
7111 | return NULL; | |
7112 | } | |
7113 | ||
7114 | ||
33d6fd3b | 7115 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
7116 | PyObject *resultobj = 0; |
7117 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
33d6fd3b RD |
7118 | int arg2 ; |
7119 | int arg3 ; | |
0085ce49 RD |
7120 | void *argp1 = 0 ; |
7121 | int res1 = 0 ; | |
33d6fd3b | 7122 | int val2 ; |
0085ce49 | 7123 | int ecode2 = 0 ; |
33d6fd3b RD |
7124 | int val3 ; |
7125 | int ecode3 = 0 ; | |
0085ce49 RD |
7126 | PyObject * obj0 = 0 ; |
7127 | PyObject * obj1 = 0 ; | |
7128 | PyObject * obj2 = 0 ; | |
7129 | char * kwnames[] = { | |
33d6fd3b | 7130 | (char *) "self",(char *) "column",(char *) "width", NULL |
0085ce49 RD |
7131 | }; |
7132 | ||
33d6fd3b | 7133 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
0085ce49 RD |
7134 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
7135 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 7136 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
0085ce49 RD |
7137 | } |
7138 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
33d6fd3b | 7139 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
0085ce49 | 7140 | if (!SWIG_IsOK(ecode2)) { |
33d6fd3b | 7141 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'"); |
0085ce49 | 7142 | } |
33d6fd3b RD |
7143 | arg2 = static_cast< int >(val2); |
7144 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7145 | if (!SWIG_IsOK(ecode3)) { | |
7146 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'"); | |
7147 | } | |
7148 | arg3 = static_cast< int >(val3); | |
0085ce49 RD |
7149 | { |
7150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 7151 | (arg1)->SetColumnWidth(arg2,arg3); |
0085ce49 RD |
7152 | wxPyEndAllowThreads(__tstate); |
7153 | if (PyErr_Occurred()) SWIG_fail; | |
7154 | } | |
7155 | resultobj = SWIG_Py_Void(); | |
7156 | return resultobj; | |
7157 | fail: | |
7158 | return NULL; | |
7159 | } | |
7160 | ||
7161 | ||
33d6fd3b | 7162 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
7163 | PyObject *resultobj = 0; |
7164 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
33d6fd3b RD |
7165 | int arg2 ; |
7166 | int result; | |
0085ce49 RD |
7167 | void *argp1 = 0 ; |
7168 | int res1 = 0 ; | |
33d6fd3b | 7169 | int val2 ; |
0085ce49 RD |
7170 | int ecode2 = 0 ; |
7171 | PyObject * obj0 = 0 ; | |
7172 | PyObject * obj1 = 0 ; | |
7173 | char * kwnames[] = { | |
7174 | (char *) "self",(char *) "column", NULL | |
7175 | }; | |
7176 | ||
33d6fd3b | 7177 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail; |
0085ce49 RD |
7178 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
7179 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 7180 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
0085ce49 RD |
7181 | } |
7182 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
33d6fd3b | 7183 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
0085ce49 | 7184 | if (!SWIG_IsOK(ecode2)) { |
33d6fd3b | 7185 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'"); |
0085ce49 | 7186 | } |
33d6fd3b | 7187 | arg2 = static_cast< int >(val2); |
0085ce49 RD |
7188 | { |
7189 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 7190 | result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2); |
0085ce49 RD |
7191 | wxPyEndAllowThreads(__tstate); |
7192 | if (PyErr_Occurred()) SWIG_fail; | |
7193 | } | |
33d6fd3b | 7194 | resultobj = SWIG_From_int(static_cast< int >(result)); |
0085ce49 RD |
7195 | return resultobj; |
7196 | fail: | |
7197 | return NULL; | |
7198 | } | |
7199 | ||
7200 | ||
7201 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7202 | PyObject *resultobj = 0; | |
7203 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
33d6fd3b RD |
7204 | int arg2 ; |
7205 | int arg3 ; | |
0085ce49 RD |
7206 | void *argp1 = 0 ; |
7207 | int res1 = 0 ; | |
33d6fd3b | 7208 | int val2 ; |
0085ce49 RD |
7209 | int ecode2 = 0 ; |
7210 | int val3 ; | |
7211 | int ecode3 = 0 ; | |
7212 | PyObject * obj0 = 0 ; | |
7213 | PyObject * obj1 = 0 ; | |
7214 | PyObject * obj2 = 0 ; | |
7215 | char * kwnames[] = { | |
33d6fd3b | 7216 | (char *) "self",(char *) "column",(char *) "flag", NULL |
0085ce49 RD |
7217 | }; |
7218 | ||
7219 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7220 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
7221 | if (!SWIG_IsOK(res1)) { | |
7222 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
7223 | } | |
7224 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
33d6fd3b | 7225 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
0085ce49 | 7226 | if (!SWIG_IsOK(ecode2)) { |
33d6fd3b | 7227 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "2"" of type '" "int""'"); |
0085ce49 | 7228 | } |
33d6fd3b | 7229 | arg2 = static_cast< int >(val2); |
0085ce49 RD |
7230 | ecode3 = SWIG_AsVal_int(obj2, &val3); |
7231 | if (!SWIG_IsOK(ecode3)) { | |
33d6fd3b | 7232 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "3"" of type '" "int""'"); |
0085ce49 | 7233 | } |
33d6fd3b | 7234 | arg3 = static_cast< int >(val3); |
0085ce49 RD |
7235 | { |
7236 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7237 | (arg1)->SetColumnAlignment(arg2,arg3); | |
7238 | wxPyEndAllowThreads(__tstate); | |
7239 | if (PyErr_Occurred()) SWIG_fail; | |
7240 | } | |
7241 | resultobj = SWIG_Py_Void(); | |
7242 | return resultobj; | |
7243 | fail: | |
7244 | return NULL; | |
7245 | } | |
7246 | ||
7247 | ||
7248 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7249 | PyObject *resultobj = 0; | |
7250 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
33d6fd3b RD |
7251 | int arg2 ; |
7252 | int result; | |
0085ce49 RD |
7253 | void *argp1 = 0 ; |
7254 | int res1 = 0 ; | |
33d6fd3b | 7255 | int val2 ; |
0085ce49 RD |
7256 | int ecode2 = 0 ; |
7257 | PyObject * obj0 = 0 ; | |
7258 | PyObject * obj1 = 0 ; | |
7259 | char * kwnames[] = { | |
7260 | (char *) "self",(char *) "column", NULL | |
7261 | }; | |
7262 | ||
7263 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) SWIG_fail; | |
7264 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
7265 | if (!SWIG_IsOK(res1)) { | |
7266 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
7267 | } | |
7268 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
33d6fd3b | 7269 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
0085ce49 | 7270 | if (!SWIG_IsOK(ecode2)) { |
33d6fd3b | 7271 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "2"" of type '" "int""'"); |
0085ce49 | 7272 | } |
33d6fd3b | 7273 | arg2 = static_cast< int >(val2); |
0085ce49 RD |
7274 | { |
7275 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 7276 | result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2); |
0085ce49 RD |
7277 | wxPyEndAllowThreads(__tstate); |
7278 | if (PyErr_Occurred()) SWIG_fail; | |
7279 | } | |
7280 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
7281 | return resultobj; | |
7282 | fail: | |
7283 | return NULL; | |
7284 | } | |
7285 | ||
7286 | ||
7287 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7288 | PyObject *resultobj = 0; | |
7289 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
33d6fd3b | 7290 | int arg2 ; |
0085ce49 RD |
7291 | int arg3 ; |
7292 | void *argp1 = 0 ; | |
7293 | int res1 = 0 ; | |
33d6fd3b | 7294 | int val2 ; |
0085ce49 RD |
7295 | int ecode2 = 0 ; |
7296 | int val3 ; | |
7297 | int ecode3 = 0 ; | |
7298 | PyObject * obj0 = 0 ; | |
7299 | PyObject * obj1 = 0 ; | |
7300 | PyObject * obj2 = 0 ; | |
7301 | char * kwnames[] = { | |
7302 | (char *) "self",(char *) "column",(char *) "image", NULL | |
7303 | }; | |
7304 | ||
7305 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7306 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
7307 | if (!SWIG_IsOK(res1)) { | |
7308 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
7309 | } | |
7310 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
33d6fd3b | 7311 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
0085ce49 | 7312 | if (!SWIG_IsOK(ecode2)) { |
33d6fd3b | 7313 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "2"" of type '" "int""'"); |
0085ce49 | 7314 | } |
33d6fd3b | 7315 | arg2 = static_cast< int >(val2); |
0085ce49 RD |
7316 | ecode3 = SWIG_AsVal_int(obj2, &val3); |
7317 | if (!SWIG_IsOK(ecode3)) { | |
7318 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "3"" of type '" "int""'"); | |
7319 | } | |
7320 | arg3 = static_cast< int >(val3); | |
7321 | { | |
7322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7323 | (arg1)->SetColumnImage(arg2,arg3); | |
7324 | wxPyEndAllowThreads(__tstate); | |
7325 | if (PyErr_Occurred()) SWIG_fail; | |
7326 | } | |
7327 | resultobj = SWIG_Py_Void(); | |
7328 | return resultobj; | |
7329 | fail: | |
7330 | return NULL; | |
7331 | } | |
7332 | ||
7333 | ||
7334 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7335 | PyObject *resultobj = 0; | |
7336 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
33d6fd3b | 7337 | int arg2 ; |
0085ce49 RD |
7338 | int result; |
7339 | void *argp1 = 0 ; | |
7340 | int res1 = 0 ; | |
33d6fd3b | 7341 | int val2 ; |
0085ce49 RD |
7342 | int ecode2 = 0 ; |
7343 | PyObject * obj0 = 0 ; | |
7344 | PyObject * obj1 = 0 ; | |
7345 | char * kwnames[] = { | |
7346 | (char *) "self",(char *) "column", NULL | |
7347 | }; | |
7348 | ||
7349 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) SWIG_fail; | |
7350 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
7351 | if (!SWIG_IsOK(res1)) { | |
7352 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
7353 | } | |
7354 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
33d6fd3b | 7355 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
0085ce49 | 7356 | if (!SWIG_IsOK(ecode2)) { |
33d6fd3b | 7357 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "2"" of type '" "int""'"); |
0085ce49 | 7358 | } |
33d6fd3b | 7359 | arg2 = static_cast< int >(val2); |
0085ce49 RD |
7360 | { |
7361 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7362 | result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2); | |
7363 | wxPyEndAllowThreads(__tstate); | |
7364 | if (PyErr_Occurred()) SWIG_fail; | |
7365 | } | |
7366 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
7367 | return resultobj; | |
7368 | fail: | |
7369 | return NULL; | |
7370 | } | |
7371 | ||
7372 | ||
33d6fd3b | 7373 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
7374 | PyObject *resultobj = 0; |
7375 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
33d6fd3b RD |
7376 | int arg2 ; |
7377 | bool arg3 = (bool) true ; | |
0085ce49 RD |
7378 | void *argp1 = 0 ; |
7379 | int res1 = 0 ; | |
33d6fd3b | 7380 | int val2 ; |
0085ce49 RD |
7381 | int ecode2 = 0 ; |
7382 | bool val3 ; | |
7383 | int ecode3 = 0 ; | |
7384 | PyObject * obj0 = 0 ; | |
7385 | PyObject * obj1 = 0 ; | |
7386 | PyObject * obj2 = 0 ; | |
7387 | char * kwnames[] = { | |
7388 | (char *) "self",(char *) "column",(char *) "shown", NULL | |
7389 | }; | |
7390 | ||
33d6fd3b | 7391 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnShown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
0085ce49 RD |
7392 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
7393 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 7394 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
0085ce49 RD |
7395 | } |
7396 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
33d6fd3b | 7397 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
0085ce49 | 7398 | if (!SWIG_IsOK(ecode2)) { |
33d6fd3b | 7399 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "2"" of type '" "int""'"); |
0085ce49 | 7400 | } |
33d6fd3b RD |
7401 | arg2 = static_cast< int >(val2); |
7402 | if (obj2) { | |
7403 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
7404 | if (!SWIG_IsOK(ecode3)) { | |
7405 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "3"" of type '" "bool""'"); | |
7406 | } | |
7407 | arg3 = static_cast< bool >(val3); | |
7408 | } | |
0085ce49 RD |
7409 | { |
7410 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 7411 | (arg1)->SetColumnShown(arg2,arg3); |
0085ce49 RD |
7412 | wxPyEndAllowThreads(__tstate); |
7413 | if (PyErr_Occurred()) SWIG_fail; | |
7414 | } | |
7415 | resultobj = SWIG_Py_Void(); | |
7416 | return resultobj; | |
7417 | fail: | |
7418 | return NULL; | |
7419 | } | |
7420 | ||
7421 | ||
7422 | SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7423 | PyObject *resultobj = 0; | |
7424 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
33d6fd3b | 7425 | int arg2 ; |
0085ce49 RD |
7426 | bool result; |
7427 | void *argp1 = 0 ; | |
7428 | int res1 = 0 ; | |
33d6fd3b | 7429 | int val2 ; |
0085ce49 RD |
7430 | int ecode2 = 0 ; |
7431 | PyObject * obj0 = 0 ; | |
7432 | PyObject * obj1 = 0 ; | |
7433 | char * kwnames[] = { | |
7434 | (char *) "self",(char *) "column", NULL | |
7435 | }; | |
7436 | ||
7437 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) SWIG_fail; | |
7438 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
7439 | if (!SWIG_IsOK(res1)) { | |
7440 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
7441 | } | |
7442 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
33d6fd3b | 7443 | ecode2 = SWIG_AsVal_int(obj1, &val2); |
0085ce49 | 7444 | if (!SWIG_IsOK(ecode2)) { |
33d6fd3b | 7445 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "2"" of type '" "int""'"); |
0085ce49 | 7446 | } |
33d6fd3b | 7447 | arg2 = static_cast< int >(val2); |
0085ce49 RD |
7448 | { |
7449 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7450 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2); | |
7451 | wxPyEndAllowThreads(__tstate); | |
7452 | if (PyErr_Occurred()) SWIG_fail; | |
7453 | } | |
7454 | { | |
7455 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7456 | } | |
7457 | return resultobj; | |
7458 | fail: | |
7459 | return NULL; | |
7460 | } | |
7461 | ||
7462 | ||
33d6fd3b RD |
7463 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7464 | PyObject *resultobj = 0; | |
7465 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7466 | int arg2 ; | |
7467 | bool arg3 = (bool) true ; | |
7468 | void *argp1 = 0 ; | |
7469 | int res1 = 0 ; | |
7470 | int val2 ; | |
7471 | int ecode2 = 0 ; | |
7472 | bool val3 ; | |
7473 | int ecode3 = 0 ; | |
7474 | PyObject * obj0 = 0 ; | |
7475 | PyObject * obj1 = 0 ; | |
7476 | PyObject * obj2 = 0 ; | |
7477 | char * kwnames[] = { | |
7478 | (char *) "self",(char *) "column",(char *) "edit", NULL | |
7479 | }; | |
7480 | ||
7481 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnEditable",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7482 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
7483 | if (!SWIG_IsOK(res1)) { | |
7484 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
7485 | } | |
7486 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
7487 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7488 | if (!SWIG_IsOK(ecode2)) { | |
7489 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "2"" of type '" "int""'"); | |
7490 | } | |
7491 | arg2 = static_cast< int >(val2); | |
7492 | if (obj2) { | |
7493 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
7494 | if (!SWIG_IsOK(ecode3)) { | |
7495 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "3"" of type '" "bool""'"); | |
7496 | } | |
7497 | arg3 = static_cast< bool >(val3); | |
7498 | } | |
7499 | { | |
7500 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7501 | (arg1)->SetColumnEditable(arg2,arg3); | |
7502 | wxPyEndAllowThreads(__tstate); | |
7503 | if (PyErr_Occurred()) SWIG_fail; | |
7504 | } | |
7505 | resultobj = SWIG_Py_Void(); | |
7506 | return resultobj; | |
7507 | fail: | |
7508 | return NULL; | |
7509 | } | |
7510 | ||
7511 | ||
7512 | SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7513 | PyObject *resultobj = 0; | |
7514 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7515 | int arg2 ; | |
7516 | bool result; | |
7517 | void *argp1 = 0 ; | |
7518 | int res1 = 0 ; | |
7519 | int val2 ; | |
7520 | int ecode2 = 0 ; | |
7521 | PyObject * obj0 = 0 ; | |
7522 | PyObject * obj1 = 0 ; | |
7523 | char * kwnames[] = { | |
7524 | (char *) "self",(char *) "column", NULL | |
7525 | }; | |
7526 | ||
7527 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnEditable",kwnames,&obj0,&obj1)) SWIG_fail; | |
7528 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
7529 | if (!SWIG_IsOK(res1)) { | |
7530 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
7531 | } | |
7532 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
7533 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
7534 | if (!SWIG_IsOK(ecode2)) { | |
7535 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "2"" of type '" "int""'"); | |
7536 | } | |
7537 | arg2 = static_cast< int >(val2); | |
7538 | { | |
7539 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7540 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnEditable(arg2); | |
7541 | wxPyEndAllowThreads(__tstate); | |
7542 | if (PyErr_Occurred()) SWIG_fail; | |
7543 | } | |
7544 | { | |
7545 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
7546 | } | |
7547 | return resultobj; | |
7548 | fail: | |
7549 | return NULL; | |
7550 | } | |
7551 | ||
7552 | ||
0085ce49 RD |
7553 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
7554 | PyObject *resultobj = 0; | |
7555 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7556 | wxTreeItemId *arg2 = 0 ; | |
7557 | int arg3 = (int) -1 ; | |
7558 | wxString result; | |
7559 | void *argp1 = 0 ; | |
7560 | int res1 = 0 ; | |
7561 | void *argp2 = 0 ; | |
7562 | int res2 = 0 ; | |
7563 | int val3 ; | |
7564 | int ecode3 = 0 ; | |
7565 | PyObject * obj0 = 0 ; | |
7566 | PyObject * obj1 = 0 ; | |
7567 | PyObject * obj2 = 0 ; | |
7568 | char * kwnames[] = { | |
7569 | (char *) "self",(char *) "item",(char *) "column", NULL | |
7570 | }; | |
7571 | ||
7572 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7573 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
7574 | if (!SWIG_IsOK(res1)) { | |
7575 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
7576 | } | |
7577 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
7578 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
7579 | if (!SWIG_IsOK(res2)) { | |
7580 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
7581 | } | |
7582 | if (!argp2) { | |
7583 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
7584 | } | |
7585 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
7586 | if (obj2) { | |
7587 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7588 | if (!SWIG_IsOK(ecode3)) { | |
7589 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "3"" of type '" "int""'"); | |
7590 | } | |
7591 | arg3 = static_cast< int >(val3); | |
7592 | } | |
7593 | { | |
7594 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7595 | result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3); | |
7596 | wxPyEndAllowThreads(__tstate); | |
7597 | if (PyErr_Occurred()) SWIG_fail; | |
7598 | } | |
7599 | { | |
7600 | #if wxUSE_UNICODE | |
7601 | resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); | |
7602 | #else | |
7603 | resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); | |
7604 | #endif | |
7605 | } | |
7606 | return resultobj; | |
7607 | fail: | |
7608 | return NULL; | |
7609 | } | |
7610 | ||
7611 | ||
7612 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7613 | PyObject *resultobj = 0; | |
7614 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7615 | wxTreeItemId *arg2 = 0 ; | |
7616 | int arg3 = (int) -1 ; | |
7617 | wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ; | |
7618 | int result; | |
7619 | void *argp1 = 0 ; | |
7620 | int res1 = 0 ; | |
7621 | void *argp2 = 0 ; | |
7622 | int res2 = 0 ; | |
7623 | int val3 ; | |
7624 | int ecode3 = 0 ; | |
7625 | int val4 ; | |
7626 | int ecode4 = 0 ; | |
7627 | PyObject * obj0 = 0 ; | |
7628 | PyObject * obj1 = 0 ; | |
7629 | PyObject * obj2 = 0 ; | |
7630 | PyObject * obj3 = 0 ; | |
7631 | char * kwnames[] = { | |
7632 | (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL | |
7633 | }; | |
7634 | ||
7635 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7636 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
7637 | if (!SWIG_IsOK(res1)) { | |
7638 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
7639 | } | |
7640 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
7641 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
7642 | if (!SWIG_IsOK(res2)) { | |
7643 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
7644 | } | |
7645 | if (!argp2) { | |
7646 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
7647 | } | |
7648 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
7649 | if (obj2) { | |
7650 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7651 | if (!SWIG_IsOK(ecode3)) { | |
7652 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "3"" of type '" "int""'"); | |
7653 | } | |
7654 | arg3 = static_cast< int >(val3); | |
7655 | } | |
7656 | if (obj3) { | |
7657 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7658 | if (!SWIG_IsOK(ecode4)) { | |
7659 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'"); | |
7660 | } | |
7661 | arg4 = static_cast< wxTreeItemIcon >(val4); | |
7662 | } | |
7663 | { | |
7664 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7665 | result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4); | |
7666 | wxPyEndAllowThreads(__tstate); | |
7667 | if (PyErr_Occurred()) SWIG_fail; | |
7668 | } | |
7669 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
7670 | return resultobj; | |
7671 | fail: | |
7672 | return NULL; | |
7673 | } | |
7674 | ||
7675 | ||
7676 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7677 | PyObject *resultobj = 0; | |
7678 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7679 | wxTreeItemId *arg2 = 0 ; | |
7680 | wxString *arg3 = 0 ; | |
7681 | int arg4 = (int) -1 ; | |
7682 | void *argp1 = 0 ; | |
7683 | int res1 = 0 ; | |
7684 | void *argp2 = 0 ; | |
7685 | int res2 = 0 ; | |
7686 | bool temp3 = false ; | |
7687 | int val4 ; | |
7688 | int ecode4 = 0 ; | |
7689 | PyObject * obj0 = 0 ; | |
7690 | PyObject * obj1 = 0 ; | |
7691 | PyObject * obj2 = 0 ; | |
7692 | PyObject * obj3 = 0 ; | |
7693 | char * kwnames[] = { | |
7694 | (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL | |
7695 | }; | |
7696 | ||
7697 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
7698 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
7699 | if (!SWIG_IsOK(res1)) { | |
7700 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
7701 | } | |
7702 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
7703 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
7704 | if (!SWIG_IsOK(res2)) { | |
7705 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
7706 | } | |
7707 | if (!argp2) { | |
7708 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
7709 | } | |
7710 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
7711 | { | |
7712 | arg3 = wxString_in_helper(obj2); | |
7713 | if (arg3 == NULL) SWIG_fail; | |
7714 | temp3 = true; | |
7715 | } | |
7716 | if (obj3) { | |
7717 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7718 | if (!SWIG_IsOK(ecode4)) { | |
7719 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "4"" of type '" "int""'"); | |
7720 | } | |
7721 | arg4 = static_cast< int >(val4); | |
7722 | } | |
7723 | { | |
7724 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7725 | wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4); | |
7726 | wxPyEndAllowThreads(__tstate); | |
7727 | if (PyErr_Occurred()) SWIG_fail; | |
7728 | } | |
7729 | resultobj = SWIG_Py_Void(); | |
7730 | { | |
7731 | if (temp3) | |
7732 | delete arg3; | |
7733 | } | |
7734 | return resultobj; | |
7735 | fail: | |
7736 | { | |
7737 | if (temp3) | |
7738 | delete arg3; | |
7739 | } | |
7740 | return NULL; | |
7741 | } | |
7742 | ||
7743 | ||
7744 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7745 | PyObject *resultobj = 0; | |
7746 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7747 | wxTreeItemId *arg2 = 0 ; | |
7748 | int arg3 ; | |
7749 | int arg4 = (int) -1 ; | |
7750 | wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ; | |
7751 | void *argp1 = 0 ; | |
7752 | int res1 = 0 ; | |
7753 | void *argp2 = 0 ; | |
7754 | int res2 = 0 ; | |
7755 | int val3 ; | |
7756 | int ecode3 = 0 ; | |
7757 | int val4 ; | |
7758 | int ecode4 = 0 ; | |
7759 | int val5 ; | |
7760 | int ecode5 = 0 ; | |
7761 | PyObject * obj0 = 0 ; | |
7762 | PyObject * obj1 = 0 ; | |
7763 | PyObject * obj2 = 0 ; | |
7764 | PyObject * obj3 = 0 ; | |
7765 | PyObject * obj4 = 0 ; | |
7766 | char * kwnames[] = { | |
7767 | (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL | |
7768 | }; | |
7769 | ||
7770 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
7771 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
7772 | if (!SWIG_IsOK(res1)) { | |
7773 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
7774 | } | |
7775 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
7776 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
7777 | if (!SWIG_IsOK(res2)) { | |
7778 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
7779 | } | |
7780 | if (!argp2) { | |
7781 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
7782 | } | |
7783 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
7784 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
7785 | if (!SWIG_IsOK(ecode3)) { | |
7786 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'"); | |
7787 | } | |
7788 | arg3 = static_cast< int >(val3); | |
7789 | if (obj3) { | |
7790 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
7791 | if (!SWIG_IsOK(ecode4)) { | |
7792 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'"); | |
7793 | } | |
7794 | arg4 = static_cast< int >(val4); | |
7795 | } | |
7796 | if (obj4) { | |
7797 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
7798 | if (!SWIG_IsOK(ecode5)) { | |
7799 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "5"" of type '" "wxTreeItemIcon""'"); | |
7800 | } | |
7801 | arg5 = static_cast< wxTreeItemIcon >(val5); | |
7802 | } | |
7803 | { | |
7804 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7805 | wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5); | |
7806 | wxPyEndAllowThreads(__tstate); | |
7807 | if (PyErr_Occurred()) SWIG_fail; | |
7808 | } | |
7809 | resultobj = SWIG_Py_Void(); | |
7810 | return resultobj; | |
7811 | fail: | |
7812 | return NULL; | |
7813 | } | |
7814 | ||
7815 | ||
7816 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7817 | PyObject *resultobj = 0; | |
7818 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7819 | wxTreeItemId *arg2 = 0 ; | |
7820 | wxPyTreeItemData *result = 0 ; | |
7821 | void *argp1 = 0 ; | |
7822 | int res1 = 0 ; | |
7823 | void *argp2 = 0 ; | |
7824 | int res2 = 0 ; | |
7825 | PyObject * obj0 = 0 ; | |
7826 | PyObject * obj1 = 0 ; | |
7827 | char * kwnames[] = { | |
7828 | (char *) "self",(char *) "item", NULL | |
7829 | }; | |
7830 | ||
7831 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail; | |
7832 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
7833 | if (!SWIG_IsOK(res1)) { | |
7834 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
7835 | } | |
7836 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
7837 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
7838 | if (!SWIG_IsOK(res2)) { | |
7839 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
7840 | } | |
7841 | if (!argp2) { | |
7842 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
7843 | } | |
7844 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
7845 | { | |
7846 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7847 | result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2); | |
7848 | wxPyEndAllowThreads(__tstate); | |
7849 | if (PyErr_Occurred()) SWIG_fail; | |
7850 | } | |
7851 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 ); | |
7852 | return resultobj; | |
7853 | fail: | |
7854 | return NULL; | |
7855 | } | |
7856 | ||
7857 | ||
7858 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7859 | PyObject *resultobj = 0; | |
7860 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7861 | wxTreeItemId *arg2 = 0 ; | |
7862 | wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ; | |
7863 | void *argp1 = 0 ; | |
7864 | int res1 = 0 ; | |
7865 | void *argp2 = 0 ; | |
7866 | int res2 = 0 ; | |
0085ce49 RD |
7867 | int res3 = 0 ; |
7868 | PyObject * obj0 = 0 ; | |
7869 | PyObject * obj1 = 0 ; | |
7870 | PyObject * obj2 = 0 ; | |
7871 | char * kwnames[] = { | |
7872 | (char *) "self",(char *) "item",(char *) "data", NULL | |
7873 | }; | |
7874 | ||
7875 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7876 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
7877 | if (!SWIG_IsOK(res1)) { | |
7878 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
7879 | } | |
7880 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
7881 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
7882 | if (!SWIG_IsOK(res2)) { | |
7883 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
7884 | } | |
7885 | if (!argp2) { | |
7886 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
7887 | } | |
7888 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
01f6b6d3 | 7889 | res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 ); |
0085ce49 | 7890 | if (!SWIG_IsOK(res3)) { |
01f6b6d3 | 7891 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'"); |
0085ce49 | 7892 | } |
0085ce49 RD |
7893 | { |
7894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7895 | wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3); | |
7896 | wxPyEndAllowThreads(__tstate); | |
7897 | if (PyErr_Occurred()) SWIG_fail; | |
7898 | } | |
7899 | resultobj = SWIG_Py_Void(); | |
7900 | return resultobj; | |
7901 | fail: | |
7902 | return NULL; | |
7903 | } | |
7904 | ||
7905 | ||
7906 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7907 | PyObject *resultobj = 0; | |
7908 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7909 | wxTreeItemId *arg2 = 0 ; | |
7910 | PyObject *result = 0 ; | |
7911 | void *argp1 = 0 ; | |
7912 | int res1 = 0 ; | |
7913 | void *argp2 = 0 ; | |
7914 | int res2 = 0 ; | |
7915 | PyObject * obj0 = 0 ; | |
7916 | PyObject * obj1 = 0 ; | |
7917 | char * kwnames[] = { | |
7918 | (char *) "self",(char *) "item", NULL | |
7919 | }; | |
7920 | ||
7921 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail; | |
7922 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
7923 | if (!SWIG_IsOK(res1)) { | |
7924 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
7925 | } | |
7926 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
7927 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
7928 | if (!SWIG_IsOK(res2)) { | |
7929 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
7930 | } | |
7931 | if (!argp2) { | |
7932 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
7933 | } | |
7934 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
7935 | { | |
7936 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7937 | result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2); | |
7938 | wxPyEndAllowThreads(__tstate); | |
7939 | if (PyErr_Occurred()) SWIG_fail; | |
7940 | } | |
7941 | resultobj = result; | |
7942 | return resultobj; | |
7943 | fail: | |
7944 | return NULL; | |
7945 | } | |
7946 | ||
7947 | ||
7948 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
7949 | PyObject *resultobj = 0; | |
7950 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7951 | wxTreeItemId *arg2 = 0 ; | |
7952 | PyObject *arg3 = (PyObject *) 0 ; | |
7953 | void *argp1 = 0 ; | |
7954 | int res1 = 0 ; | |
7955 | void *argp2 = 0 ; | |
7956 | int res2 = 0 ; | |
7957 | PyObject * obj0 = 0 ; | |
7958 | PyObject * obj1 = 0 ; | |
7959 | PyObject * obj2 = 0 ; | |
7960 | char * kwnames[] = { | |
7961 | (char *) "self",(char *) "item",(char *) "obj", NULL | |
7962 | }; | |
7963 | ||
7964 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
7965 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
7966 | if (!SWIG_IsOK(res1)) { | |
7967 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
7968 | } | |
7969 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
7970 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
7971 | if (!SWIG_IsOK(res2)) { | |
7972 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
7973 | } | |
7974 | if (!argp2) { | |
7975 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
7976 | } | |
7977 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
7978 | arg3 = obj2; | |
7979 | { | |
7980 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
7981 | wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3); | |
7982 | wxPyEndAllowThreads(__tstate); | |
7983 | if (PyErr_Occurred()) SWIG_fail; | |
7984 | } | |
7985 | resultobj = SWIG_Py_Void(); | |
7986 | return resultobj; | |
7987 | fail: | |
7988 | return NULL; | |
7989 | } | |
7990 | ||
7991 | ||
33d6fd3b | 7992 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
7993 | PyObject *resultobj = 0; |
7994 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
7995 | wxTreeItemId *arg2 = 0 ; | |
33d6fd3b | 7996 | bool result; |
0085ce49 RD |
7997 | void *argp1 = 0 ; |
7998 | int res1 = 0 ; | |
7999 | void *argp2 = 0 ; | |
8000 | int res2 = 0 ; | |
0085ce49 RD |
8001 | PyObject * obj0 = 0 ; |
8002 | PyObject * obj1 = 0 ; | |
0085ce49 | 8003 | char * kwnames[] = { |
33d6fd3b | 8004 | (char *) "self",(char *) "item", NULL |
0085ce49 RD |
8005 | }; |
8006 | ||
33d6fd3b | 8007 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) SWIG_fail; |
0085ce49 RD |
8008 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
8009 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 8010 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
0085ce49 RD |
8011 | } |
8012 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8013 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8014 | if (!SWIG_IsOK(res2)) { | |
33d6fd3b | 8015 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8016 | } |
8017 | if (!argp2) { | |
33d6fd3b | 8018 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8019 | } |
8020 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
0085ce49 RD |
8021 | { |
8022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 8023 | result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2); |
0085ce49 RD |
8024 | wxPyEndAllowThreads(__tstate); |
8025 | if (PyErr_Occurred()) SWIG_fail; | |
8026 | } | |
33d6fd3b RD |
8027 | { |
8028 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8029 | } | |
0085ce49 RD |
8030 | return resultobj; |
8031 | fail: | |
8032 | return NULL; | |
8033 | } | |
8034 | ||
8035 | ||
33d6fd3b | 8036 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
8037 | PyObject *resultobj = 0; |
8038 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8039 | wxTreeItemId *arg2 = 0 ; | |
33d6fd3b | 8040 | wxColour result; |
0085ce49 RD |
8041 | void *argp1 = 0 ; |
8042 | int res1 = 0 ; | |
8043 | void *argp2 = 0 ; | |
8044 | int res2 = 0 ; | |
0085ce49 RD |
8045 | PyObject * obj0 = 0 ; |
8046 | PyObject * obj1 = 0 ; | |
0085ce49 | 8047 | char * kwnames[] = { |
33d6fd3b | 8048 | (char *) "self",(char *) "item", NULL |
0085ce49 RD |
8049 | }; |
8050 | ||
33d6fd3b | 8051 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail; |
0085ce49 RD |
8052 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
8053 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 8054 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
0085ce49 RD |
8055 | } |
8056 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8057 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8058 | if (!SWIG_IsOK(res2)) { | |
33d6fd3b | 8059 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8060 | } |
8061 | if (!argp2) { | |
33d6fd3b | 8062 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8063 | } |
8064 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
0085ce49 RD |
8065 | { |
8066 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 8067 | result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2); |
0085ce49 RD |
8068 | wxPyEndAllowThreads(__tstate); |
8069 | if (PyErr_Occurred()) SWIG_fail; | |
8070 | } | |
33d6fd3b | 8071 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); |
0085ce49 RD |
8072 | return resultobj; |
8073 | fail: | |
8074 | return NULL; | |
8075 | } | |
8076 | ||
8077 | ||
33d6fd3b | 8078 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
8079 | PyObject *resultobj = 0; |
8080 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8081 | wxTreeItemId *arg2 = 0 ; | |
33d6fd3b | 8082 | wxColour result; |
0085ce49 RD |
8083 | void *argp1 = 0 ; |
8084 | int res1 = 0 ; | |
8085 | void *argp2 = 0 ; | |
8086 | int res2 = 0 ; | |
0085ce49 RD |
8087 | PyObject * obj0 = 0 ; |
8088 | PyObject * obj1 = 0 ; | |
0085ce49 | 8089 | char * kwnames[] = { |
33d6fd3b | 8090 | (char *) "self",(char *) "item", NULL |
0085ce49 RD |
8091 | }; |
8092 | ||
33d6fd3b | 8093 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail; |
0085ce49 RD |
8094 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
8095 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 8096 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
0085ce49 RD |
8097 | } |
8098 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8099 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8100 | if (!SWIG_IsOK(res2)) { | |
33d6fd3b | 8101 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8102 | } |
8103 | if (!argp2) { | |
33d6fd3b | 8104 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8105 | } |
8106 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
0085ce49 RD |
8107 | { |
8108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 8109 | result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2); |
0085ce49 RD |
8110 | wxPyEndAllowThreads(__tstate); |
8111 | if (PyErr_Occurred()) SWIG_fail; | |
8112 | } | |
33d6fd3b | 8113 | resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); |
0085ce49 RD |
8114 | return resultobj; |
8115 | fail: | |
8116 | return NULL; | |
8117 | } | |
8118 | ||
8119 | ||
33d6fd3b | 8120 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
8121 | PyObject *resultobj = 0; |
8122 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8123 | wxTreeItemId *arg2 = 0 ; | |
33d6fd3b | 8124 | wxFont result; |
0085ce49 RD |
8125 | void *argp1 = 0 ; |
8126 | int res1 = 0 ; | |
8127 | void *argp2 = 0 ; | |
8128 | int res2 = 0 ; | |
0085ce49 RD |
8129 | PyObject * obj0 = 0 ; |
8130 | PyObject * obj1 = 0 ; | |
0085ce49 | 8131 | char * kwnames[] = { |
33d6fd3b | 8132 | (char *) "self",(char *) "item", NULL |
0085ce49 RD |
8133 | }; |
8134 | ||
33d6fd3b | 8135 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail; |
0085ce49 RD |
8136 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
8137 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 8138 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
0085ce49 RD |
8139 | } |
8140 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8141 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8142 | if (!SWIG_IsOK(res2)) { | |
33d6fd3b | 8143 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8144 | } |
8145 | if (!argp2) { | |
33d6fd3b | 8146 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8147 | } |
8148 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
0085ce49 RD |
8149 | { |
8150 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 8151 | result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2); |
0085ce49 RD |
8152 | wxPyEndAllowThreads(__tstate); |
8153 | if (PyErr_Occurred()) SWIG_fail; | |
8154 | } | |
33d6fd3b | 8155 | resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); |
0085ce49 RD |
8156 | return resultobj; |
8157 | fail: | |
8158 | return NULL; | |
8159 | } | |
8160 | ||
8161 | ||
33d6fd3b | 8162 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
8163 | PyObject *resultobj = 0; |
8164 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8165 | wxTreeItemId *arg2 = 0 ; | |
33d6fd3b | 8166 | bool arg3 = (bool) true ; |
0085ce49 RD |
8167 | void *argp1 = 0 ; |
8168 | int res1 = 0 ; | |
8169 | void *argp2 = 0 ; | |
8170 | int res2 = 0 ; | |
33d6fd3b RD |
8171 | bool val3 ; |
8172 | int ecode3 = 0 ; | |
0085ce49 RD |
8173 | PyObject * obj0 = 0 ; |
8174 | PyObject * obj1 = 0 ; | |
8175 | PyObject * obj2 = 0 ; | |
8176 | char * kwnames[] = { | |
33d6fd3b | 8177 | (char *) "self",(char *) "item",(char *) "has", NULL |
0085ce49 RD |
8178 | }; |
8179 | ||
33d6fd3b | 8180 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
0085ce49 RD |
8181 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
8182 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 8183 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
0085ce49 RD |
8184 | } |
8185 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8186 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8187 | if (!SWIG_IsOK(res2)) { | |
33d6fd3b | 8188 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8189 | } |
8190 | if (!argp2) { | |
33d6fd3b | 8191 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8192 | } |
8193 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
33d6fd3b RD |
8194 | if (obj2) { |
8195 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
8196 | if (!SWIG_IsOK(ecode3)) { | |
8197 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'"); | |
8198 | } | |
8199 | arg3 = static_cast< bool >(val3); | |
0085ce49 | 8200 | } |
0085ce49 RD |
8201 | { |
8202 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 8203 | (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3); |
0085ce49 RD |
8204 | wxPyEndAllowThreads(__tstate); |
8205 | if (PyErr_Occurred()) SWIG_fail; | |
8206 | } | |
8207 | resultobj = SWIG_Py_Void(); | |
8208 | return resultobj; | |
8209 | fail: | |
8210 | return NULL; | |
8211 | } | |
8212 | ||
8213 | ||
33d6fd3b | 8214 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
8215 | PyObject *resultobj = 0; |
8216 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8217 | wxTreeItemId *arg2 = 0 ; | |
33d6fd3b | 8218 | bool arg3 = (bool) true ; |
0085ce49 RD |
8219 | void *argp1 = 0 ; |
8220 | int res1 = 0 ; | |
8221 | void *argp2 = 0 ; | |
8222 | int res2 = 0 ; | |
33d6fd3b RD |
8223 | bool val3 ; |
8224 | int ecode3 = 0 ; | |
0085ce49 RD |
8225 | PyObject * obj0 = 0 ; |
8226 | PyObject * obj1 = 0 ; | |
33d6fd3b | 8227 | PyObject * obj2 = 0 ; |
0085ce49 | 8228 | char * kwnames[] = { |
33d6fd3b | 8229 | (char *) "self",(char *) "item",(char *) "bold", NULL |
0085ce49 RD |
8230 | }; |
8231 | ||
33d6fd3b | 8232 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
0085ce49 RD |
8233 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
8234 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 8235 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
0085ce49 RD |
8236 | } |
8237 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8238 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8239 | if (!SWIG_IsOK(res2)) { | |
33d6fd3b | 8240 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8241 | } |
8242 | if (!argp2) { | |
33d6fd3b | 8243 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8244 | } |
8245 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
33d6fd3b RD |
8246 | if (obj2) { |
8247 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
8248 | if (!SWIG_IsOK(ecode3)) { | |
8249 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'"); | |
8250 | } | |
8251 | arg3 = static_cast< bool >(val3); | |
8252 | } | |
0085ce49 RD |
8253 | { |
8254 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 8255 | (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3); |
0085ce49 RD |
8256 | wxPyEndAllowThreads(__tstate); |
8257 | if (PyErr_Occurred()) SWIG_fail; | |
8258 | } | |
33d6fd3b | 8259 | resultobj = SWIG_Py_Void(); |
0085ce49 RD |
8260 | return resultobj; |
8261 | fail: | |
8262 | return NULL; | |
8263 | } | |
8264 | ||
8265 | ||
33d6fd3b | 8266 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
8267 | PyObject *resultobj = 0; |
8268 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8269 | wxTreeItemId *arg2 = 0 ; | |
33d6fd3b | 8270 | wxColour *arg3 = 0 ; |
0085ce49 RD |
8271 | void *argp1 = 0 ; |
8272 | int res1 = 0 ; | |
8273 | void *argp2 = 0 ; | |
8274 | int res2 = 0 ; | |
33d6fd3b | 8275 | wxColour temp3 ; |
0085ce49 RD |
8276 | PyObject * obj0 = 0 ; |
8277 | PyObject * obj1 = 0 ; | |
33d6fd3b | 8278 | PyObject * obj2 = 0 ; |
0085ce49 | 8279 | char * kwnames[] = { |
33d6fd3b | 8280 | (char *) "self",(char *) "item",(char *) "colour", NULL |
0085ce49 RD |
8281 | }; |
8282 | ||
33d6fd3b | 8283 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
0085ce49 RD |
8284 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
8285 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 8286 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
0085ce49 RD |
8287 | } |
8288 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8289 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8290 | if (!SWIG_IsOK(res2)) { | |
33d6fd3b | 8291 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8292 | } |
8293 | if (!argp2) { | |
33d6fd3b | 8294 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8295 | } |
8296 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
33d6fd3b RD |
8297 | { |
8298 | arg3 = &temp3; | |
8299 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
8300 | } | |
0085ce49 RD |
8301 | { |
8302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 8303 | (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3); |
0085ce49 RD |
8304 | wxPyEndAllowThreads(__tstate); |
8305 | if (PyErr_Occurred()) SWIG_fail; | |
8306 | } | |
33d6fd3b | 8307 | resultobj = SWIG_Py_Void(); |
0085ce49 RD |
8308 | return resultobj; |
8309 | fail: | |
8310 | return NULL; | |
8311 | } | |
8312 | ||
8313 | ||
33d6fd3b | 8314 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
8315 | PyObject *resultobj = 0; |
8316 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8317 | wxTreeItemId *arg2 = 0 ; | |
33d6fd3b | 8318 | wxColour *arg3 = 0 ; |
0085ce49 RD |
8319 | void *argp1 = 0 ; |
8320 | int res1 = 0 ; | |
8321 | void *argp2 = 0 ; | |
8322 | int res2 = 0 ; | |
33d6fd3b | 8323 | wxColour temp3 ; |
0085ce49 RD |
8324 | PyObject * obj0 = 0 ; |
8325 | PyObject * obj1 = 0 ; | |
33d6fd3b | 8326 | PyObject * obj2 = 0 ; |
0085ce49 | 8327 | char * kwnames[] = { |
33d6fd3b | 8328 | (char *) "self",(char *) "item",(char *) "colour", NULL |
0085ce49 RD |
8329 | }; |
8330 | ||
33d6fd3b | 8331 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
0085ce49 RD |
8332 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
8333 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 8334 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
0085ce49 RD |
8335 | } |
8336 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8337 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8338 | if (!SWIG_IsOK(res2)) { | |
33d6fd3b | 8339 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8340 | } |
8341 | if (!argp2) { | |
33d6fd3b | 8342 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8343 | } |
8344 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
33d6fd3b RD |
8345 | { |
8346 | arg3 = &temp3; | |
8347 | if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; | |
8348 | } | |
0085ce49 RD |
8349 | { |
8350 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 8351 | (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3); |
0085ce49 RD |
8352 | wxPyEndAllowThreads(__tstate); |
8353 | if (PyErr_Occurred()) SWIG_fail; | |
8354 | } | |
33d6fd3b | 8355 | resultobj = SWIG_Py_Void(); |
0085ce49 RD |
8356 | return resultobj; |
8357 | fail: | |
8358 | return NULL; | |
8359 | } | |
8360 | ||
8361 | ||
33d6fd3b | 8362 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
8363 | PyObject *resultobj = 0; |
8364 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8365 | wxTreeItemId *arg2 = 0 ; | |
33d6fd3b | 8366 | wxFont *arg3 = 0 ; |
0085ce49 RD |
8367 | void *argp1 = 0 ; |
8368 | int res1 = 0 ; | |
8369 | void *argp2 = 0 ; | |
8370 | int res2 = 0 ; | |
33d6fd3b RD |
8371 | void *argp3 = 0 ; |
8372 | int res3 = 0 ; | |
0085ce49 RD |
8373 | PyObject * obj0 = 0 ; |
8374 | PyObject * obj1 = 0 ; | |
33d6fd3b | 8375 | PyObject * obj2 = 0 ; |
0085ce49 | 8376 | char * kwnames[] = { |
33d6fd3b | 8377 | (char *) "self",(char *) "item",(char *) "font", NULL |
0085ce49 RD |
8378 | }; |
8379 | ||
33d6fd3b | 8380 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
0085ce49 RD |
8381 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
8382 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 8383 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
0085ce49 RD |
8384 | } |
8385 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8386 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8387 | if (!SWIG_IsOK(res2)) { | |
33d6fd3b | 8388 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8389 | } |
8390 | if (!argp2) { | |
33d6fd3b | 8391 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8392 | } |
8393 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
33d6fd3b RD |
8394 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0); |
8395 | if (!SWIG_IsOK(res3)) { | |
8396 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'"); | |
8397 | } | |
8398 | if (!argp3) { | |
8399 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'"); | |
8400 | } | |
8401 | arg3 = reinterpret_cast< wxFont * >(argp3); | |
0085ce49 RD |
8402 | { |
8403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 8404 | (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3); |
0085ce49 RD |
8405 | wxPyEndAllowThreads(__tstate); |
8406 | if (PyErr_Occurred()) SWIG_fail; | |
8407 | } | |
33d6fd3b | 8408 | resultobj = SWIG_Py_Void(); |
0085ce49 RD |
8409 | return resultobj; |
8410 | fail: | |
8411 | return NULL; | |
8412 | } | |
8413 | ||
8414 | ||
8415 | SWIGINTERN PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8416 | PyObject *resultobj = 0; | |
8417 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8418 | wxTreeItemId *arg2 = 0 ; | |
8419 | bool result; | |
8420 | void *argp1 = 0 ; | |
8421 | int res1 = 0 ; | |
8422 | void *argp2 = 0 ; | |
8423 | int res2 = 0 ; | |
8424 | PyObject * obj0 = 0 ; | |
8425 | PyObject * obj1 = 0 ; | |
8426 | char * kwnames[] = { | |
8427 | (char *) "self",(char *) "item", NULL | |
8428 | }; | |
8429 | ||
8430 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail; | |
8431 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
8432 | if (!SWIG_IsOK(res1)) { | |
8433 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
8434 | } | |
8435 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8436 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8437 | if (!SWIG_IsOK(res2)) { | |
8438 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8439 | } | |
8440 | if (!argp2) { | |
8441 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8442 | } | |
8443 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
8444 | { | |
8445 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8446 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2); | |
8447 | wxPyEndAllowThreads(__tstate); | |
8448 | if (PyErr_Occurred()) SWIG_fail; | |
8449 | } | |
8450 | { | |
8451 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8452 | } | |
8453 | return resultobj; | |
8454 | fail: | |
8455 | return NULL; | |
8456 | } | |
8457 | ||
8458 | ||
33d6fd3b | 8459 | SWIGINTERN PyObject *_wrap_TreeListCtrl_HasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
8460 | PyObject *resultobj = 0; |
8461 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8462 | wxTreeItemId *arg2 = 0 ; | |
8463 | bool result; | |
8464 | void *argp1 = 0 ; | |
8465 | int res1 = 0 ; | |
8466 | void *argp2 = 0 ; | |
8467 | int res2 = 0 ; | |
8468 | PyObject * obj0 = 0 ; | |
8469 | PyObject * obj1 = 0 ; | |
8470 | char * kwnames[] = { | |
8471 | (char *) "self",(char *) "item", NULL | |
8472 | }; | |
8473 | ||
33d6fd3b | 8474 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HasChildren",kwnames,&obj0,&obj1)) SWIG_fail; |
0085ce49 RD |
8475 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
8476 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 8477 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
0085ce49 RD |
8478 | } |
8479 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8480 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8481 | if (!SWIG_IsOK(res2)) { | |
33d6fd3b | 8482 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8483 | } |
8484 | if (!argp2) { | |
33d6fd3b | 8485 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
8486 | } |
8487 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
8488 | { | |
8489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 8490 | result = (bool)((wxPyTreeListCtrl const *)arg1)->HasChildren((wxTreeItemId const &)*arg2); |
0085ce49 RD |
8491 | wxPyEndAllowThreads(__tstate); |
8492 | if (PyErr_Occurred()) SWIG_fail; | |
8493 | } | |
8494 | { | |
8495 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8496 | } | |
8497 | return resultobj; | |
8498 | fail: | |
8499 | return NULL; | |
8500 | } | |
8501 | ||
8502 | ||
8503 | SWIGINTERN PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8504 | PyObject *resultobj = 0; | |
8505 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8506 | wxTreeItemId *arg2 = 0 ; | |
8507 | bool result; | |
8508 | void *argp1 = 0 ; | |
8509 | int res1 = 0 ; | |
8510 | void *argp2 = 0 ; | |
8511 | int res2 = 0 ; | |
8512 | PyObject * obj0 = 0 ; | |
8513 | PyObject * obj1 = 0 ; | |
8514 | char * kwnames[] = { | |
8515 | (char *) "self",(char *) "item", NULL | |
8516 | }; | |
8517 | ||
8518 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail; | |
8519 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
8520 | if (!SWIG_IsOK(res1)) { | |
8521 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
8522 | } | |
8523 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8524 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8525 | if (!SWIG_IsOK(res2)) { | |
8526 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8527 | } | |
8528 | if (!argp2) { | |
8529 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8530 | } | |
8531 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
8532 | { | |
8533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8534 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2); | |
8535 | wxPyEndAllowThreads(__tstate); | |
8536 | if (PyErr_Occurred()) SWIG_fail; | |
8537 | } | |
8538 | { | |
8539 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8540 | } | |
8541 | return resultobj; | |
8542 | fail: | |
8543 | return NULL; | |
8544 | } | |
8545 | ||
8546 | ||
8547 | SWIGINTERN PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8548 | PyObject *resultobj = 0; | |
8549 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8550 | wxTreeItemId *arg2 = 0 ; | |
8551 | bool result; | |
8552 | void *argp1 = 0 ; | |
8553 | int res1 = 0 ; | |
8554 | void *argp2 = 0 ; | |
8555 | int res2 = 0 ; | |
8556 | PyObject * obj0 = 0 ; | |
8557 | PyObject * obj1 = 0 ; | |
8558 | char * kwnames[] = { | |
8559 | (char *) "self",(char *) "item", NULL | |
8560 | }; | |
8561 | ||
8562 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail; | |
8563 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
8564 | if (!SWIG_IsOK(res1)) { | |
8565 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
8566 | } | |
8567 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8568 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8569 | if (!SWIG_IsOK(res2)) { | |
8570 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8571 | } | |
8572 | if (!argp2) { | |
8573 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8574 | } | |
8575 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
8576 | { | |
8577 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8578 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2); | |
8579 | wxPyEndAllowThreads(__tstate); | |
8580 | if (PyErr_Occurred()) SWIG_fail; | |
8581 | } | |
8582 | { | |
8583 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8584 | } | |
8585 | return resultobj; | |
8586 | fail: | |
8587 | return NULL; | |
8588 | } | |
8589 | ||
8590 | ||
8591 | SWIGINTERN PyObject *_wrap_TreeListCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8592 | PyObject *resultobj = 0; | |
8593 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8594 | wxTreeItemId *arg2 = 0 ; | |
8595 | bool result; | |
8596 | void *argp1 = 0 ; | |
8597 | int res1 = 0 ; | |
8598 | void *argp2 = 0 ; | |
8599 | int res2 = 0 ; | |
8600 | PyObject * obj0 = 0 ; | |
8601 | PyObject * obj1 = 0 ; | |
8602 | char * kwnames[] = { | |
8603 | (char *) "self",(char *) "item", NULL | |
8604 | }; | |
8605 | ||
8606 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail; | |
8607 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
8608 | if (!SWIG_IsOK(res1)) { | |
8609 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
8610 | } | |
8611 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8612 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8613 | if (!SWIG_IsOK(res2)) { | |
8614 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8615 | } | |
8616 | if (!argp2) { | |
8617 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8618 | } | |
8619 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
8620 | { | |
8621 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8622 | result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2); | |
8623 | wxPyEndAllowThreads(__tstate); | |
8624 | if (PyErr_Occurred()) SWIG_fail; | |
8625 | } | |
8626 | { | |
8627 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
8628 | } | |
8629 | return resultobj; | |
8630 | fail: | |
8631 | return NULL; | |
8632 | } | |
8633 | ||
8634 | ||
8635 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8636 | PyObject *resultobj = 0; | |
8637 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8638 | wxTreeItemId *arg2 = 0 ; | |
8639 | bool arg3 = (bool) true ; | |
8640 | size_t result; | |
8641 | void *argp1 = 0 ; | |
8642 | int res1 = 0 ; | |
8643 | void *argp2 = 0 ; | |
8644 | int res2 = 0 ; | |
8645 | bool val3 ; | |
8646 | int ecode3 = 0 ; | |
8647 | PyObject * obj0 = 0 ; | |
8648 | PyObject * obj1 = 0 ; | |
8649 | PyObject * obj2 = 0 ; | |
8650 | char * kwnames[] = { | |
8651 | (char *) "self",(char *) "item",(char *) "recursively", NULL | |
8652 | }; | |
8653 | ||
8654 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8655 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
8656 | if (!SWIG_IsOK(res1)) { | |
8657 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
8658 | } | |
8659 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8660 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8661 | if (!SWIG_IsOK(res2)) { | |
8662 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8663 | } | |
8664 | if (!argp2) { | |
8665 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8666 | } | |
8667 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
8668 | if (obj2) { | |
8669 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
8670 | if (!SWIG_IsOK(ecode3)) { | |
8671 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'"); | |
8672 | } | |
8673 | arg3 = static_cast< bool >(val3); | |
8674 | } | |
8675 | { | |
8676 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8677 | result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3); | |
8678 | wxPyEndAllowThreads(__tstate); | |
8679 | if (PyErr_Occurred()) SWIG_fail; | |
8680 | } | |
8681 | resultobj = SWIG_From_size_t(static_cast< size_t >(result)); | |
8682 | return resultobj; | |
8683 | fail: | |
8684 | return NULL; | |
44127b65 RD |
8685 | } |
8686 | ||
8687 | ||
0085ce49 RD |
8688 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8689 | PyObject *resultobj = 0; | |
8690 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8691 | wxTreeItemId result; | |
8692 | void *argp1 = 0 ; | |
8693 | int res1 = 0 ; | |
8694 | PyObject *swig_obj[1] ; | |
8695 | ||
8696 | if (!args) SWIG_fail; | |
8697 | swig_obj[0] = args; | |
8698 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
8699 | if (!SWIG_IsOK(res1)) { | |
8700 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
8701 | } | |
8702 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8703 | { | |
8704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8705 | result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem(); | |
8706 | wxPyEndAllowThreads(__tstate); | |
8707 | if (PyErr_Occurred()) SWIG_fail; | |
8708 | } | |
8709 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
8710 | return resultobj; | |
8711 | fail: | |
8712 | return NULL; | |
44127b65 RD |
8713 | } |
8714 | ||
8715 | ||
0085ce49 RD |
8716 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8717 | PyObject *resultobj = 0; | |
8718 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8719 | wxTreeItemId result; | |
8720 | void *argp1 = 0 ; | |
8721 | int res1 = 0 ; | |
8722 | PyObject *swig_obj[1] ; | |
8723 | ||
8724 | if (!args) SWIG_fail; | |
8725 | swig_obj[0] = args; | |
8726 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
8727 | if (!SWIG_IsOK(res1)) { | |
8728 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
8729 | } | |
8730 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8731 | { | |
8732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8733 | result = ((wxPyTreeListCtrl const *)arg1)->GetSelection(); | |
8734 | wxPyEndAllowThreads(__tstate); | |
8735 | if (PyErr_Occurred()) SWIG_fail; | |
8736 | } | |
8737 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
8738 | return resultobj; | |
8739 | fail: | |
8740 | return NULL; | |
44127b65 RD |
8741 | } |
8742 | ||
8743 | ||
0085ce49 RD |
8744 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8745 | PyObject *resultobj = 0; | |
8746 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8747 | PyObject *result = 0 ; | |
8748 | void *argp1 = 0 ; | |
8749 | int res1 = 0 ; | |
8750 | PyObject *swig_obj[1] ; | |
8751 | ||
8752 | if (!args) SWIG_fail; | |
8753 | swig_obj[0] = args; | |
8754 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
8755 | if (!SWIG_IsOK(res1)) { | |
8756 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
8757 | } | |
8758 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8759 | { | |
8760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8761 | result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1); | |
8762 | wxPyEndAllowThreads(__tstate); | |
8763 | if (PyErr_Occurred()) SWIG_fail; | |
8764 | } | |
8765 | resultobj = result; | |
8766 | return resultobj; | |
8767 | fail: | |
8768 | return NULL; | |
8769 | } | |
8770 | ||
8771 | ||
8772 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8773 | PyObject *resultobj = 0; | |
8774 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8775 | wxTreeItemId *arg2 = 0 ; | |
8776 | wxTreeItemId result; | |
8777 | void *argp1 = 0 ; | |
8778 | int res1 = 0 ; | |
8779 | void *argp2 = 0 ; | |
8780 | int res2 = 0 ; | |
8781 | PyObject * obj0 = 0 ; | |
8782 | PyObject * obj1 = 0 ; | |
8783 | char * kwnames[] = { | |
8784 | (char *) "self",(char *) "item", NULL | |
8785 | }; | |
8786 | ||
8787 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail; | |
8788 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
8789 | if (!SWIG_IsOK(res1)) { | |
8790 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
8791 | } | |
8792 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8793 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8794 | if (!SWIG_IsOK(res2)) { | |
8795 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8796 | } | |
8797 | if (!argp2) { | |
8798 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8799 | } | |
8800 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
8801 | { | |
8802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8803 | result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2); | |
8804 | wxPyEndAllowThreads(__tstate); | |
8805 | if (PyErr_Occurred()) SWIG_fail; | |
8806 | } | |
8807 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
8808 | return resultobj; | |
8809 | fail: | |
8810 | return NULL; | |
8811 | } | |
8812 | ||
8813 | ||
8814 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8815 | PyObject *resultobj = 0; | |
8816 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8817 | wxTreeItemId *arg2 = 0 ; | |
8818 | PyObject *result = 0 ; | |
8819 | void *argp1 = 0 ; | |
8820 | int res1 = 0 ; | |
8821 | void *argp2 = 0 ; | |
8822 | int res2 = 0 ; | |
8823 | PyObject * obj0 = 0 ; | |
8824 | PyObject * obj1 = 0 ; | |
8825 | char * kwnames[] = { | |
8826 | (char *) "self",(char *) "item", NULL | |
8827 | }; | |
8828 | ||
8829 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail; | |
8830 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
8831 | if (!SWIG_IsOK(res1)) { | |
8832 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
8833 | } | |
8834 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8835 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8836 | if (!SWIG_IsOK(res2)) { | |
8837 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8838 | } | |
8839 | if (!argp2) { | |
8840 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8841 | } | |
8842 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
8843 | { | |
8844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8845 | result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2); | |
8846 | wxPyEndAllowThreads(__tstate); | |
8847 | if (PyErr_Occurred()) SWIG_fail; | |
8848 | } | |
8849 | resultobj = result; | |
8850 | return resultobj; | |
8851 | fail: | |
8852 | return NULL; | |
8853 | } | |
8854 | ||
8855 | ||
8856 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8857 | PyObject *resultobj = 0; | |
8858 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8859 | wxTreeItemId *arg2 = 0 ; | |
8860 | void *arg3 = (void *) 0 ; | |
8861 | PyObject *result = 0 ; | |
8862 | void *argp1 = 0 ; | |
8863 | int res1 = 0 ; | |
8864 | void *argp2 = 0 ; | |
8865 | int res2 = 0 ; | |
8866 | int res3 ; | |
8867 | PyObject * obj0 = 0 ; | |
8868 | PyObject * obj1 = 0 ; | |
8869 | PyObject * obj2 = 0 ; | |
8870 | char * kwnames[] = { | |
8871 | (char *) "self",(char *) "item",(char *) "cookie", NULL | |
8872 | }; | |
8873 | ||
8874 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8875 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
8876 | if (!SWIG_IsOK(res1)) { | |
8877 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
8878 | } | |
8879 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8880 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8881 | if (!SWIG_IsOK(res2)) { | |
8882 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8883 | } | |
8884 | if (!argp2) { | |
8885 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8886 | } | |
8887 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
8888 | res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); | |
8889 | if (!SWIG_IsOK(res3)) { | |
8890 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'"); | |
8891 | } | |
8892 | { | |
8893 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8894 | result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3); | |
8895 | wxPyEndAllowThreads(__tstate); | |
8896 | if (PyErr_Occurred()) SWIG_fail; | |
8897 | } | |
33d6fd3b RD |
8898 | resultobj = result; |
8899 | return resultobj; | |
8900 | fail: | |
8901 | return NULL; | |
8902 | } | |
8903 | ||
8904 | ||
8905 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8906 | PyObject *resultobj = 0; | |
8907 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8908 | wxTreeItemId *arg2 = 0 ; | |
8909 | PyObject *result = 0 ; | |
8910 | void *argp1 = 0 ; | |
8911 | int res1 = 0 ; | |
8912 | void *argp2 = 0 ; | |
8913 | int res2 = 0 ; | |
8914 | PyObject * obj0 = 0 ; | |
8915 | PyObject * obj1 = 0 ; | |
8916 | char * kwnames[] = { | |
8917 | (char *) "self",(char *) "item", NULL | |
8918 | }; | |
8919 | ||
8920 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail; | |
8921 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
8922 | if (!SWIG_IsOK(res1)) { | |
8923 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
8924 | } | |
8925 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8926 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8927 | if (!SWIG_IsOK(res2)) { | |
8928 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8929 | } | |
8930 | if (!argp2) { | |
8931 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8932 | } | |
8933 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
8934 | { | |
8935 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8936 | result = (PyObject *)wxPyTreeListCtrl_GetLastChild(arg1,(wxTreeItemId const &)*arg2); | |
8937 | wxPyEndAllowThreads(__tstate); | |
8938 | if (PyErr_Occurred()) SWIG_fail; | |
8939 | } | |
8940 | resultobj = result; | |
8941 | return resultobj; | |
8942 | fail: | |
8943 | return NULL; | |
8944 | } | |
8945 | ||
8946 | ||
8947 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8948 | PyObject *resultobj = 0; | |
8949 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8950 | wxTreeItemId *arg2 = 0 ; | |
8951 | void *arg3 = (void *) 0 ; | |
8952 | PyObject *result = 0 ; | |
8953 | void *argp1 = 0 ; | |
8954 | int res1 = 0 ; | |
8955 | void *argp2 = 0 ; | |
8956 | int res2 = 0 ; | |
8957 | int res3 ; | |
8958 | PyObject * obj0 = 0 ; | |
8959 | PyObject * obj1 = 0 ; | |
8960 | PyObject * obj2 = 0 ; | |
8961 | char * kwnames[] = { | |
8962 | (char *) "self",(char *) "item",(char *) "cookie", NULL | |
8963 | }; | |
8964 | ||
8965 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetPrevChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
8966 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
8967 | if (!SWIG_IsOK(res1)) { | |
8968 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
8969 | } | |
8970 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
8971 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
8972 | if (!SWIG_IsOK(res2)) { | |
8973 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8974 | } | |
8975 | if (!argp2) { | |
8976 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
8977 | } | |
8978 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
8979 | res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); | |
8980 | if (!SWIG_IsOK(res3)) { | |
8981 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "3"" of type '" "void *""'"); | |
8982 | } | |
8983 | { | |
8984 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
8985 | result = (PyObject *)wxPyTreeListCtrl_GetPrevChild(arg1,(wxTreeItemId const &)*arg2,arg3); | |
8986 | wxPyEndAllowThreads(__tstate); | |
8987 | if (PyErr_Occurred()) SWIG_fail; | |
8988 | } | |
8989 | resultobj = result; | |
8990 | return resultobj; | |
8991 | fail: | |
8992 | return NULL; | |
8993 | } | |
8994 | ||
8995 | ||
8996 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
8997 | PyObject *resultobj = 0; | |
8998 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
8999 | wxTreeItemId *arg2 = 0 ; | |
9000 | wxTreeItemId result; | |
9001 | void *argp1 = 0 ; | |
9002 | int res1 = 0 ; | |
9003 | void *argp2 = 0 ; | |
9004 | int res2 = 0 ; | |
9005 | PyObject * obj0 = 0 ; | |
9006 | PyObject * obj1 = 0 ; | |
9007 | char * kwnames[] = { | |
9008 | (char *) "self",(char *) "item", NULL | |
9009 | }; | |
9010 | ||
9011 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail; | |
9012 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
9013 | if (!SWIG_IsOK(res1)) { | |
9014 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
9015 | } | |
9016 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
9017 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
9018 | if (!SWIG_IsOK(res2)) { | |
9019 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9020 | } | |
9021 | if (!argp2) { | |
9022 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9023 | } | |
9024 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
9025 | { | |
9026 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9027 | result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2); | |
9028 | wxPyEndAllowThreads(__tstate); | |
9029 | if (PyErr_Occurred()) SWIG_fail; | |
9030 | } | |
9031 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
9032 | return resultobj; | |
9033 | fail: | |
9034 | return NULL; | |
9035 | } | |
9036 | ||
9037 | ||
9038 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9039 | PyObject *resultobj = 0; | |
9040 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
9041 | wxTreeItemId *arg2 = 0 ; | |
9042 | wxTreeItemId result; | |
9043 | void *argp1 = 0 ; | |
9044 | int res1 = 0 ; | |
9045 | void *argp2 = 0 ; | |
9046 | int res2 = 0 ; | |
9047 | PyObject * obj0 = 0 ; | |
9048 | PyObject * obj1 = 0 ; | |
9049 | char * kwnames[] = { | |
9050 | (char *) "self",(char *) "item", NULL | |
9051 | }; | |
9052 | ||
9053 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail; | |
9054 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
9055 | if (!SWIG_IsOK(res1)) { | |
9056 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
9057 | } | |
9058 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
9059 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
9060 | if (!SWIG_IsOK(res2)) { | |
9061 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9062 | } | |
9063 | if (!argp2) { | |
9064 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9065 | } | |
9066 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
9067 | { | |
9068 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9069 | result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2); | |
9070 | wxPyEndAllowThreads(__tstate); | |
9071 | if (PyErr_Occurred()) SWIG_fail; | |
9072 | } | |
9073 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
9074 | return resultobj; | |
9075 | fail: | |
9076 | return NULL; | |
9077 | } | |
9078 | ||
9079 | ||
9080 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9081 | PyObject *resultobj = 0; | |
9082 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
9083 | wxTreeItemId *arg2 = 0 ; | |
9084 | wxTreeItemId result; | |
9085 | void *argp1 = 0 ; | |
9086 | int res1 = 0 ; | |
9087 | void *argp2 = 0 ; | |
9088 | int res2 = 0 ; | |
9089 | PyObject * obj0 = 0 ; | |
9090 | PyObject * obj1 = 0 ; | |
9091 | char * kwnames[] = { | |
9092 | (char *) "self",(char *) "item", NULL | |
9093 | }; | |
9094 | ||
9095 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) SWIG_fail; | |
9096 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
9097 | if (!SWIG_IsOK(res1)) { | |
9098 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNext" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
9099 | } | |
9100 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
9101 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
9102 | if (!SWIG_IsOK(res2)) { | |
9103 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9104 | } | |
9105 | if (!argp2) { | |
9106 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9107 | } | |
9108 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
9109 | { | |
9110 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9111 | result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2); | |
9112 | wxPyEndAllowThreads(__tstate); | |
9113 | if (PyErr_Occurred()) SWIG_fail; | |
9114 | } | |
9115 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
0085ce49 RD |
9116 | return resultobj; |
9117 | fail: | |
9118 | return NULL; | |
9119 | } | |
9120 | ||
9121 | ||
33d6fd3b | 9122 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
9123 | PyObject *resultobj = 0; |
9124 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
9125 | wxTreeItemId *arg2 = 0 ; | |
9126 | wxTreeItemId result; | |
9127 | void *argp1 = 0 ; | |
9128 | int res1 = 0 ; | |
9129 | void *argp2 = 0 ; | |
9130 | int res2 = 0 ; | |
9131 | PyObject * obj0 = 0 ; | |
9132 | PyObject * obj1 = 0 ; | |
9133 | char * kwnames[] = { | |
9134 | (char *) "self",(char *) "item", NULL | |
9135 | }; | |
9136 | ||
33d6fd3b | 9137 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrev",kwnames,&obj0,&obj1)) SWIG_fail; |
0085ce49 RD |
9138 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
9139 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 9140 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
0085ce49 RD |
9141 | } |
9142 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
9143 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
9144 | if (!SWIG_IsOK(res2)) { | |
33d6fd3b | 9145 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
9146 | } |
9147 | if (!argp2) { | |
33d6fd3b | 9148 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
9149 | } |
9150 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
9151 | { | |
9152 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 9153 | result = ((wxPyTreeListCtrl const *)arg1)->GetPrev((wxTreeItemId const &)*arg2); |
0085ce49 RD |
9154 | wxPyEndAllowThreads(__tstate); |
9155 | if (PyErr_Occurred()) SWIG_fail; | |
9156 | } | |
9157 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
9158 | return resultobj; | |
9159 | fail: | |
9160 | return NULL; | |
9161 | } | |
9162 | ||
9163 | ||
33d6fd3b | 9164 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstExpandedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
0085ce49 RD |
9165 | PyObject *resultobj = 0; |
9166 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
0085ce49 RD |
9167 | wxTreeItemId result; |
9168 | void *argp1 = 0 ; | |
9169 | int res1 = 0 ; | |
33d6fd3b | 9170 | PyObject *swig_obj[1] ; |
0085ce49 | 9171 | |
33d6fd3b RD |
9172 | if (!args) SWIG_fail; |
9173 | swig_obj[0] = args; | |
9174 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
0085ce49 | 9175 | if (!SWIG_IsOK(res1)) { |
33d6fd3b | 9176 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstExpandedItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
0085ce49 RD |
9177 | } |
9178 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
0085ce49 RD |
9179 | { |
9180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 9181 | result = ((wxPyTreeListCtrl const *)arg1)->GetFirstExpandedItem(); |
0085ce49 RD |
9182 | wxPyEndAllowThreads(__tstate); |
9183 | if (PyErr_Occurred()) SWIG_fail; | |
9184 | } | |
9185 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
9186 | return resultobj; | |
9187 | fail: | |
9188 | return NULL; | |
9189 | } | |
9190 | ||
9191 | ||
33d6fd3b | 9192 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
9193 | PyObject *resultobj = 0; |
9194 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
9195 | wxTreeItemId *arg2 = 0 ; | |
9196 | wxTreeItemId result; | |
9197 | void *argp1 = 0 ; | |
9198 | int res1 = 0 ; | |
9199 | void *argp2 = 0 ; | |
9200 | int res2 = 0 ; | |
9201 | PyObject * obj0 = 0 ; | |
9202 | PyObject * obj1 = 0 ; | |
9203 | char * kwnames[] = { | |
9204 | (char *) "self",(char *) "item", NULL | |
9205 | }; | |
9206 | ||
33d6fd3b | 9207 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextExpanded",kwnames,&obj0,&obj1)) SWIG_fail; |
0085ce49 RD |
9208 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
9209 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 9210 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
0085ce49 RD |
9211 | } |
9212 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
9213 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
9214 | if (!SWIG_IsOK(res2)) { | |
33d6fd3b | 9215 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
9216 | } |
9217 | if (!argp2) { | |
33d6fd3b | 9218 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
9219 | } |
9220 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
9221 | { | |
9222 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 9223 | result = ((wxPyTreeListCtrl const *)arg1)->GetNextExpanded((wxTreeItemId const &)*arg2); |
0085ce49 RD |
9224 | wxPyEndAllowThreads(__tstate); |
9225 | if (PyErr_Occurred()) SWIG_fail; | |
9226 | } | |
9227 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
9228 | return resultobj; | |
9229 | fail: | |
9230 | return NULL; | |
44127b65 RD |
9231 | } |
9232 | ||
9233 | ||
33d6fd3b | 9234 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
9235 | PyObject *resultobj = 0; |
9236 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
33d6fd3b | 9237 | wxTreeItemId *arg2 = 0 ; |
0085ce49 RD |
9238 | wxTreeItemId result; |
9239 | void *argp1 = 0 ; | |
9240 | int res1 = 0 ; | |
33d6fd3b RD |
9241 | void *argp2 = 0 ; |
9242 | int res2 = 0 ; | |
9243 | PyObject * obj0 = 0 ; | |
9244 | PyObject * obj1 = 0 ; | |
9245 | char * kwnames[] = { | |
9246 | (char *) "self",(char *) "item", NULL | |
9247 | }; | |
0085ce49 | 9248 | |
33d6fd3b RD |
9249 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevExpanded",kwnames,&obj0,&obj1)) SWIG_fail; |
9250 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
0085ce49 | 9251 | if (!SWIG_IsOK(res1)) { |
33d6fd3b | 9252 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
0085ce49 RD |
9253 | } |
9254 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
33d6fd3b RD |
9255 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
9256 | if (!SWIG_IsOK(res2)) { | |
9257 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9258 | } | |
9259 | if (!argp2) { | |
9260 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9261 | } | |
9262 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
0085ce49 RD |
9263 | { |
9264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 9265 | result = ((wxPyTreeListCtrl const *)arg1)->GetPrevExpanded((wxTreeItemId const &)*arg2); |
0085ce49 RD |
9266 | wxPyEndAllowThreads(__tstate); |
9267 | if (PyErr_Occurred()) SWIG_fail; | |
9268 | } | |
9269 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
9270 | return resultobj; | |
9271 | fail: | |
9272 | return NULL; | |
9273 | } | |
9274 | ||
9275 | ||
33d6fd3b | 9276 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
9277 | PyObject *resultobj = 0; |
9278 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
33d6fd3b | 9279 | bool arg2 = (bool) false ; |
0085ce49 RD |
9280 | wxTreeItemId result; |
9281 | void *argp1 = 0 ; | |
9282 | int res1 = 0 ; | |
33d6fd3b RD |
9283 | bool val2 ; |
9284 | int ecode2 = 0 ; | |
0085ce49 RD |
9285 | PyObject * obj0 = 0 ; |
9286 | PyObject * obj1 = 0 ; | |
9287 | char * kwnames[] = { | |
33d6fd3b | 9288 | (char *) "self",(char *) "fullRow", NULL |
0085ce49 RD |
9289 | }; |
9290 | ||
33d6fd3b | 9291 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0,&obj1)) SWIG_fail; |
0085ce49 RD |
9292 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
9293 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 9294 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
0085ce49 RD |
9295 | } |
9296 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
33d6fd3b RD |
9297 | if (obj1) { |
9298 | ecode2 = SWIG_AsVal_bool(obj1, &val2); | |
9299 | if (!SWIG_IsOK(ecode2)) { | |
9300 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "2"" of type '" "bool""'"); | |
9301 | } | |
9302 | arg2 = static_cast< bool >(val2); | |
0085ce49 | 9303 | } |
0085ce49 RD |
9304 | { |
9305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 9306 | result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem(arg2); |
0085ce49 RD |
9307 | wxPyEndAllowThreads(__tstate); |
9308 | if (PyErr_Occurred()) SWIG_fail; | |
9309 | } | |
9310 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
9311 | return resultobj; | |
9312 | fail: | |
9313 | return NULL; | |
9314 | } | |
9315 | ||
9316 | ||
33d6fd3b | 9317 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
9318 | PyObject *resultobj = 0; |
9319 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
9320 | wxTreeItemId *arg2 = 0 ; | |
33d6fd3b | 9321 | bool arg3 = (bool) false ; |
0085ce49 RD |
9322 | wxTreeItemId result; |
9323 | void *argp1 = 0 ; | |
9324 | int res1 = 0 ; | |
9325 | void *argp2 = 0 ; | |
9326 | int res2 = 0 ; | |
33d6fd3b RD |
9327 | bool val3 ; |
9328 | int ecode3 = 0 ; | |
0085ce49 RD |
9329 | PyObject * obj0 = 0 ; |
9330 | PyObject * obj1 = 0 ; | |
33d6fd3b | 9331 | PyObject * obj2 = 0 ; |
0085ce49 | 9332 | char * kwnames[] = { |
33d6fd3b | 9333 | (char *) "self",(char *) "item",(char *) "fullRow", NULL |
0085ce49 RD |
9334 | }; |
9335 | ||
33d6fd3b | 9336 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
0085ce49 RD |
9337 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
9338 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 9339 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
0085ce49 RD |
9340 | } |
9341 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
9342 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
9343 | if (!SWIG_IsOK(res2)) { | |
33d6fd3b | 9344 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
9345 | } |
9346 | if (!argp2) { | |
33d6fd3b | 9347 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
9348 | } |
9349 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
33d6fd3b RD |
9350 | if (obj2) { |
9351 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
9352 | if (!SWIG_IsOK(ecode3)) { | |
9353 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "3"" of type '" "bool""'"); | |
9354 | } | |
9355 | arg3 = static_cast< bool >(val3); | |
9356 | } | |
0085ce49 RD |
9357 | { |
9358 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 9359 | result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2,arg3); |
0085ce49 RD |
9360 | wxPyEndAllowThreads(__tstate); |
9361 | if (PyErr_Occurred()) SWIG_fail; | |
9362 | } | |
9363 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
9364 | return resultobj; | |
9365 | fail: | |
9366 | return NULL; | |
9367 | } | |
9368 | ||
9369 | ||
33d6fd3b | 9370 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
0085ce49 RD |
9371 | PyObject *resultobj = 0; |
9372 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
9373 | wxTreeItemId *arg2 = 0 ; | |
33d6fd3b | 9374 | bool arg3 = (bool) false ; |
0085ce49 RD |
9375 | wxTreeItemId result; |
9376 | void *argp1 = 0 ; | |
9377 | int res1 = 0 ; | |
9378 | void *argp2 = 0 ; | |
9379 | int res2 = 0 ; | |
33d6fd3b RD |
9380 | bool val3 ; |
9381 | int ecode3 = 0 ; | |
0085ce49 RD |
9382 | PyObject * obj0 = 0 ; |
9383 | PyObject * obj1 = 0 ; | |
33d6fd3b | 9384 | PyObject * obj2 = 0 ; |
0085ce49 | 9385 | char * kwnames[] = { |
33d6fd3b | 9386 | (char *) "self",(char *) "item",(char *) "fullRow", NULL |
0085ce49 RD |
9387 | }; |
9388 | ||
33d6fd3b | 9389 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
0085ce49 RD |
9390 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
9391 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 9392 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
0085ce49 RD |
9393 | } |
9394 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
9395 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
9396 | if (!SWIG_IsOK(res2)) { | |
33d6fd3b | 9397 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
9398 | } |
9399 | if (!argp2) { | |
33d6fd3b | 9400 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
0085ce49 RD |
9401 | } |
9402 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
33d6fd3b RD |
9403 | if (obj2) { |
9404 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
9405 | if (!SWIG_IsOK(ecode3)) { | |
9406 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "3"" of type '" "bool""'"); | |
9407 | } | |
9408 | arg3 = static_cast< bool >(val3); | |
9409 | } | |
0085ce49 RD |
9410 | { |
9411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 9412 | result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2,arg3); |
0085ce49 RD |
9413 | wxPyEndAllowThreads(__tstate); |
9414 | if (PyErr_Occurred()) SWIG_fail; | |
9415 | } | |
9416 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
9417 | return resultobj; | |
9418 | fail: | |
9419 | return NULL; | |
9420 | } | |
9421 | ||
9422 | ||
9423 | SWIGINTERN PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9424 | PyObject *resultobj = 0; | |
9425 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
9426 | wxString *arg2 = 0 ; | |
9427 | int arg3 = (int) -1 ; | |
9428 | int arg4 = (int) -1 ; | |
9429 | wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ; | |
9430 | wxTreeItemId result; | |
9431 | void *argp1 = 0 ; | |
9432 | int res1 = 0 ; | |
9433 | bool temp2 = false ; | |
9434 | int val3 ; | |
9435 | int ecode3 = 0 ; | |
9436 | int val4 ; | |
9437 | int ecode4 = 0 ; | |
0085ce49 RD |
9438 | int res5 = 0 ; |
9439 | PyObject * obj0 = 0 ; | |
9440 | PyObject * obj1 = 0 ; | |
9441 | PyObject * obj2 = 0 ; | |
9442 | PyObject * obj3 = 0 ; | |
9443 | PyObject * obj4 = 0 ; | |
9444 | char * kwnames[] = { | |
9445 | (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
9446 | }; | |
9447 | ||
9448 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; | |
9449 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
9450 | if (!SWIG_IsOK(res1)) { | |
9451 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
9452 | } | |
9453 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
9454 | { | |
9455 | arg2 = wxString_in_helper(obj1); | |
9456 | if (arg2 == NULL) SWIG_fail; | |
9457 | temp2 = true; | |
9458 | } | |
9459 | if (obj2) { | |
9460 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
9461 | if (!SWIG_IsOK(ecode3)) { | |
9462 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'"); | |
9463 | } | |
9464 | arg3 = static_cast< int >(val3); | |
9465 | } | |
9466 | if (obj3) { | |
9467 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
9468 | if (!SWIG_IsOK(ecode4)) { | |
9469 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'"); | |
9470 | } | |
9471 | arg4 = static_cast< int >(val4); | |
9472 | } | |
9473 | if (obj4) { | |
01f6b6d3 | 9474 | res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 ); |
0085ce49 | 9475 | if (!SWIG_IsOK(res5)) { |
01f6b6d3 | 9476 | SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'"); |
28eab81f | 9477 | } |
0085ce49 RD |
9478 | } |
9479 | { | |
9480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9481 | result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5); | |
9482 | wxPyEndAllowThreads(__tstate); | |
9483 | if (PyErr_Occurred()) SWIG_fail; | |
9484 | } | |
9485 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
9486 | { | |
9487 | if (temp2) | |
9488 | delete arg2; | |
9489 | } | |
9490 | return resultobj; | |
9491 | fail: | |
9492 | { | |
9493 | if (temp2) | |
9494 | delete arg2; | |
9495 | } | |
9496 | return NULL; | |
9497 | } | |
9498 | ||
9499 | ||
9500 | SWIGINTERN PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9501 | PyObject *resultobj = 0; | |
9502 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
9503 | wxTreeItemId *arg2 = 0 ; | |
9504 | wxString *arg3 = 0 ; | |
9505 | int arg4 = (int) -1 ; | |
9506 | int arg5 = (int) -1 ; | |
9507 | wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ; | |
9508 | wxTreeItemId result; | |
9509 | void *argp1 = 0 ; | |
9510 | int res1 = 0 ; | |
9511 | void *argp2 = 0 ; | |
9512 | int res2 = 0 ; | |
9513 | bool temp3 = false ; | |
9514 | int val4 ; | |
9515 | int ecode4 = 0 ; | |
9516 | int val5 ; | |
9517 | int ecode5 = 0 ; | |
0085ce49 RD |
9518 | int res6 = 0 ; |
9519 | PyObject * obj0 = 0 ; | |
9520 | PyObject * obj1 = 0 ; | |
9521 | PyObject * obj2 = 0 ; | |
9522 | PyObject * obj3 = 0 ; | |
9523 | PyObject * obj4 = 0 ; | |
9524 | PyObject * obj5 = 0 ; | |
9525 | char * kwnames[] = { | |
9526 | (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
9527 | }; | |
9528 | ||
9529 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
9530 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
9531 | if (!SWIG_IsOK(res1)) { | |
9532 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
9533 | } | |
9534 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
9535 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
9536 | if (!SWIG_IsOK(res2)) { | |
9537 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9538 | } | |
9539 | if (!argp2) { | |
9540 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9541 | } | |
9542 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
9543 | { | |
9544 | arg3 = wxString_in_helper(obj2); | |
9545 | if (arg3 == NULL) SWIG_fail; | |
9546 | temp3 = true; | |
9547 | } | |
9548 | if (obj3) { | |
9549 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
9550 | if (!SWIG_IsOK(ecode4)) { | |
9551 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'"); | |
9552 | } | |
9553 | arg4 = static_cast< int >(val4); | |
9554 | } | |
9555 | if (obj4) { | |
9556 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
9557 | if (!SWIG_IsOK(ecode5)) { | |
9558 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'"); | |
9559 | } | |
9560 | arg5 = static_cast< int >(val5); | |
9561 | } | |
9562 | if (obj5) { | |
01f6b6d3 | 9563 | res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 ); |
0085ce49 | 9564 | if (!SWIG_IsOK(res6)) { |
01f6b6d3 | 9565 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'"); |
28eab81f | 9566 | } |
0085ce49 RD |
9567 | } |
9568 | { | |
9569 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9570 | result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6); | |
9571 | wxPyEndAllowThreads(__tstate); | |
9572 | if (PyErr_Occurred()) SWIG_fail; | |
9573 | } | |
9574 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
9575 | { | |
9576 | if (temp3) | |
9577 | delete arg3; | |
9578 | } | |
9579 | return resultobj; | |
9580 | fail: | |
9581 | { | |
9582 | if (temp3) | |
9583 | delete arg3; | |
9584 | } | |
9585 | return NULL; | |
9586 | } | |
9587 | ||
9588 | ||
9589 | SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9590 | PyObject *resultobj = 0; | |
9591 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
9592 | wxTreeItemId *arg2 = 0 ; | |
9593 | wxTreeItemId *arg3 = 0 ; | |
9594 | wxString *arg4 = 0 ; | |
9595 | int arg5 = (int) -1 ; | |
9596 | int arg6 = (int) -1 ; | |
9597 | wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ; | |
9598 | wxTreeItemId result; | |
9599 | void *argp1 = 0 ; | |
9600 | int res1 = 0 ; | |
9601 | void *argp2 = 0 ; | |
9602 | int res2 = 0 ; | |
9603 | void *argp3 = 0 ; | |
9604 | int res3 = 0 ; | |
9605 | bool temp4 = false ; | |
9606 | int val5 ; | |
9607 | int ecode5 = 0 ; | |
9608 | int val6 ; | |
9609 | int ecode6 = 0 ; | |
0085ce49 RD |
9610 | int res7 = 0 ; |
9611 | PyObject * obj0 = 0 ; | |
9612 | PyObject * obj1 = 0 ; | |
9613 | PyObject * obj2 = 0 ; | |
9614 | PyObject * obj3 = 0 ; | |
9615 | PyObject * obj4 = 0 ; | |
9616 | PyObject * obj5 = 0 ; | |
9617 | PyObject * obj6 = 0 ; | |
9618 | char * kwnames[] = { | |
9619 | (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
9620 | }; | |
9621 | ||
9622 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
9623 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
9624 | if (!SWIG_IsOK(res1)) { | |
9625 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
9626 | } | |
9627 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
9628 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
9629 | if (!SWIG_IsOK(res2)) { | |
9630 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9631 | } | |
9632 | if (!argp2) { | |
9633 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9634 | } | |
9635 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
9636 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
9637 | if (!SWIG_IsOK(res3)) { | |
9638 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'"); | |
9639 | } | |
9640 | if (!argp3) { | |
9641 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'"); | |
9642 | } | |
9643 | arg3 = reinterpret_cast< wxTreeItemId * >(argp3); | |
9644 | { | |
9645 | arg4 = wxString_in_helper(obj3); | |
9646 | if (arg4 == NULL) SWIG_fail; | |
9647 | temp4 = true; | |
9648 | } | |
9649 | if (obj4) { | |
9650 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
9651 | if (!SWIG_IsOK(ecode5)) { | |
9652 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'"); | |
9653 | } | |
9654 | arg5 = static_cast< int >(val5); | |
9655 | } | |
9656 | if (obj5) { | |
9657 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
9658 | if (!SWIG_IsOK(ecode6)) { | |
9659 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'"); | |
9660 | } | |
9661 | arg6 = static_cast< int >(val6); | |
9662 | } | |
9663 | if (obj6) { | |
01f6b6d3 | 9664 | res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 ); |
0085ce49 | 9665 | if (!SWIG_IsOK(res7)) { |
01f6b6d3 | 9666 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'"); |
28eab81f | 9667 | } |
0085ce49 RD |
9668 | } |
9669 | { | |
9670 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9671 | result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7); | |
9672 | wxPyEndAllowThreads(__tstate); | |
9673 | if (PyErr_Occurred()) SWIG_fail; | |
9674 | } | |
9675 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
9676 | { | |
9677 | if (temp4) | |
9678 | delete arg4; | |
9679 | } | |
9680 | return resultobj; | |
9681 | fail: | |
9682 | { | |
9683 | if (temp4) | |
9684 | delete arg4; | |
9685 | } | |
9686 | return NULL; | |
9687 | } | |
9688 | ||
9689 | ||
9690 | SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9691 | PyObject *resultobj = 0; | |
9692 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
9693 | wxTreeItemId *arg2 = 0 ; | |
9694 | size_t arg3 ; | |
9695 | wxString *arg4 = 0 ; | |
9696 | int arg5 = (int) -1 ; | |
9697 | int arg6 = (int) -1 ; | |
9698 | wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ; | |
9699 | wxTreeItemId result; | |
9700 | void *argp1 = 0 ; | |
9701 | int res1 = 0 ; | |
9702 | void *argp2 = 0 ; | |
9703 | int res2 = 0 ; | |
9704 | size_t val3 ; | |
9705 | int ecode3 = 0 ; | |
9706 | bool temp4 = false ; | |
9707 | int val5 ; | |
9708 | int ecode5 = 0 ; | |
9709 | int val6 ; | |
9710 | int ecode6 = 0 ; | |
0085ce49 RD |
9711 | int res7 = 0 ; |
9712 | PyObject * obj0 = 0 ; | |
9713 | PyObject * obj1 = 0 ; | |
9714 | PyObject * obj2 = 0 ; | |
9715 | PyObject * obj3 = 0 ; | |
9716 | PyObject * obj4 = 0 ; | |
9717 | PyObject * obj5 = 0 ; | |
9718 | PyObject * obj6 = 0 ; | |
9719 | char * kwnames[] = { | |
9720 | (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
9721 | }; | |
9722 | ||
9723 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
9724 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
9725 | if (!SWIG_IsOK(res1)) { | |
9726 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
9727 | } | |
9728 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
9729 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
9730 | if (!SWIG_IsOK(res2)) { | |
9731 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9732 | } | |
9733 | if (!argp2) { | |
9734 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9735 | } | |
9736 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
9737 | ecode3 = SWIG_AsVal_size_t(obj2, &val3); | |
9738 | if (!SWIG_IsOK(ecode3)) { | |
9739 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'"); | |
9740 | } | |
9741 | arg3 = static_cast< size_t >(val3); | |
9742 | { | |
9743 | arg4 = wxString_in_helper(obj3); | |
9744 | if (arg4 == NULL) SWIG_fail; | |
9745 | temp4 = true; | |
9746 | } | |
9747 | if (obj4) { | |
9748 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
9749 | if (!SWIG_IsOK(ecode5)) { | |
9750 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'"); | |
9751 | } | |
9752 | arg5 = static_cast< int >(val5); | |
9753 | } | |
9754 | if (obj5) { | |
9755 | ecode6 = SWIG_AsVal_int(obj5, &val6); | |
9756 | if (!SWIG_IsOK(ecode6)) { | |
9757 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'"); | |
9758 | } | |
9759 | arg6 = static_cast< int >(val6); | |
9760 | } | |
9761 | if (obj6) { | |
01f6b6d3 | 9762 | res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 ); |
0085ce49 | 9763 | if (!SWIG_IsOK(res7)) { |
01f6b6d3 | 9764 | SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'"); |
44127b65 | 9765 | } |
0085ce49 RD |
9766 | } |
9767 | { | |
9768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9769 | result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7); | |
9770 | wxPyEndAllowThreads(__tstate); | |
9771 | if (PyErr_Occurred()) SWIG_fail; | |
9772 | } | |
9773 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
9774 | { | |
9775 | if (temp4) | |
9776 | delete arg4; | |
9777 | } | |
9778 | return resultobj; | |
9779 | fail: | |
9780 | { | |
9781 | if (temp4) | |
9782 | delete arg4; | |
9783 | } | |
9784 | return NULL; | |
9785 | } | |
9786 | ||
9787 | ||
9788 | SWIGINTERN PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9789 | PyObject *resultobj = 0; | |
9790 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
9791 | wxTreeItemId *arg2 = 0 ; | |
9792 | wxString *arg3 = 0 ; | |
9793 | int arg4 = (int) -1 ; | |
9794 | int arg5 = (int) -1 ; | |
9795 | wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ; | |
9796 | wxTreeItemId result; | |
9797 | void *argp1 = 0 ; | |
9798 | int res1 = 0 ; | |
9799 | void *argp2 = 0 ; | |
9800 | int res2 = 0 ; | |
9801 | bool temp3 = false ; | |
9802 | int val4 ; | |
9803 | int ecode4 = 0 ; | |
9804 | int val5 ; | |
9805 | int ecode5 = 0 ; | |
0085ce49 RD |
9806 | int res6 = 0 ; |
9807 | PyObject * obj0 = 0 ; | |
9808 | PyObject * obj1 = 0 ; | |
9809 | PyObject * obj2 = 0 ; | |
9810 | PyObject * obj3 = 0 ; | |
9811 | PyObject * obj4 = 0 ; | |
9812 | PyObject * obj5 = 0 ; | |
9813 | char * kwnames[] = { | |
9814 | (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL | |
9815 | }; | |
9816 | ||
9817 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; | |
9818 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
9819 | if (!SWIG_IsOK(res1)) { | |
9820 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
9821 | } | |
9822 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
9823 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
9824 | if (!SWIG_IsOK(res2)) { | |
9825 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9826 | } | |
9827 | if (!argp2) { | |
9828 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9829 | } | |
9830 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
9831 | { | |
9832 | arg3 = wxString_in_helper(obj2); | |
9833 | if (arg3 == NULL) SWIG_fail; | |
9834 | temp3 = true; | |
9835 | } | |
9836 | if (obj3) { | |
9837 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
9838 | if (!SWIG_IsOK(ecode4)) { | |
9839 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'"); | |
9840 | } | |
9841 | arg4 = static_cast< int >(val4); | |
9842 | } | |
9843 | if (obj4) { | |
9844 | ecode5 = SWIG_AsVal_int(obj4, &val5); | |
9845 | if (!SWIG_IsOK(ecode5)) { | |
9846 | SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'"); | |
9847 | } | |
9848 | arg5 = static_cast< int >(val5); | |
9849 | } | |
9850 | if (obj5) { | |
01f6b6d3 | 9851 | res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 ); |
0085ce49 | 9852 | if (!SWIG_IsOK(res6)) { |
01f6b6d3 | 9853 | SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'"); |
44127b65 | 9854 | } |
0085ce49 RD |
9855 | } |
9856 | { | |
9857 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9858 | result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6); | |
9859 | wxPyEndAllowThreads(__tstate); | |
9860 | if (PyErr_Occurred()) SWIG_fail; | |
9861 | } | |
9862 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
9863 | { | |
9864 | if (temp3) | |
9865 | delete arg3; | |
9866 | } | |
9867 | return resultobj; | |
9868 | fail: | |
9869 | { | |
9870 | if (temp3) | |
9871 | delete arg3; | |
9872 | } | |
9873 | return NULL; | |
9874 | } | |
9875 | ||
9876 | ||
9877 | SWIGINTERN PyObject *_wrap_TreeListCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9878 | PyObject *resultobj = 0; | |
9879 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
9880 | wxTreeItemId *arg2 = 0 ; | |
9881 | void *argp1 = 0 ; | |
9882 | int res1 = 0 ; | |
9883 | void *argp2 = 0 ; | |
9884 | int res2 = 0 ; | |
9885 | PyObject * obj0 = 0 ; | |
9886 | PyObject * obj1 = 0 ; | |
9887 | char * kwnames[] = { | |
9888 | (char *) "self",(char *) "item", NULL | |
9889 | }; | |
9890 | ||
9891 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail; | |
9892 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
9893 | if (!SWIG_IsOK(res1)) { | |
9894 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
9895 | } | |
9896 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
9897 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
9898 | if (!SWIG_IsOK(res2)) { | |
9899 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9900 | } | |
9901 | if (!argp2) { | |
9902 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9903 | } | |
9904 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
9905 | { | |
9906 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9907 | (arg1)->Delete((wxTreeItemId const &)*arg2); | |
9908 | wxPyEndAllowThreads(__tstate); | |
9909 | if (PyErr_Occurred()) SWIG_fail; | |
9910 | } | |
9911 | resultobj = SWIG_Py_Void(); | |
9912 | return resultobj; | |
9913 | fail: | |
9914 | return NULL; | |
9915 | } | |
9916 | ||
9917 | ||
9918 | SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9919 | PyObject *resultobj = 0; | |
9920 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
9921 | wxTreeItemId *arg2 = 0 ; | |
9922 | void *argp1 = 0 ; | |
9923 | int res1 = 0 ; | |
9924 | void *argp2 = 0 ; | |
9925 | int res2 = 0 ; | |
9926 | PyObject * obj0 = 0 ; | |
9927 | PyObject * obj1 = 0 ; | |
9928 | char * kwnames[] = { | |
9929 | (char *) "self",(char *) "item", NULL | |
9930 | }; | |
9931 | ||
9932 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail; | |
9933 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
9934 | if (!SWIG_IsOK(res1)) { | |
9935 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
9936 | } | |
9937 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
9938 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
9939 | if (!SWIG_IsOK(res2)) { | |
9940 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9941 | } | |
9942 | if (!argp2) { | |
9943 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
9944 | } | |
9945 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
9946 | { | |
9947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
9948 | (arg1)->DeleteChildren((wxTreeItemId const &)*arg2); | |
9949 | wxPyEndAllowThreads(__tstate); | |
9950 | if (PyErr_Occurred()) SWIG_fail; | |
9951 | } | |
9952 | resultobj = SWIG_Py_Void(); | |
9953 | return resultobj; | |
9954 | fail: | |
9955 | return NULL; | |
44127b65 RD |
9956 | } |
9957 | ||
9958 | ||
33d6fd3b | 9959 | SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
0085ce49 RD |
9960 | PyObject *resultobj = 0; |
9961 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
9962 | void *argp1 = 0 ; | |
9963 | int res1 = 0 ; | |
9964 | PyObject *swig_obj[1] ; | |
9965 | ||
9966 | if (!args) SWIG_fail; | |
9967 | swig_obj[0] = args; | |
9968 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
9969 | if (!SWIG_IsOK(res1)) { | |
33d6fd3b | 9970 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
0085ce49 RD |
9971 | } |
9972 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
9973 | { | |
9974 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 9975 | (arg1)->DeleteRoot(); |
0085ce49 RD |
9976 | wxPyEndAllowThreads(__tstate); |
9977 | if (PyErr_Occurred()) SWIG_fail; | |
9978 | } | |
9979 | resultobj = SWIG_Py_Void(); | |
9980 | return resultobj; | |
9981 | fail: | |
9982 | return NULL; | |
9983 | } | |
9984 | ||
9985 | ||
9986 | SWIGINTERN PyObject *_wrap_TreeListCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
9987 | PyObject *resultobj = 0; | |
9988 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
9989 | wxTreeItemId *arg2 = 0 ; | |
9990 | void *argp1 = 0 ; | |
9991 | int res1 = 0 ; | |
9992 | void *argp2 = 0 ; | |
9993 | int res2 = 0 ; | |
9994 | PyObject * obj0 = 0 ; | |
9995 | PyObject * obj1 = 0 ; | |
9996 | char * kwnames[] = { | |
9997 | (char *) "self",(char *) "item", NULL | |
9998 | }; | |
9999 | ||
10000 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail; | |
10001 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
10002 | if (!SWIG_IsOK(res1)) { | |
10003 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
10004 | } | |
10005 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
10006 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
10007 | if (!SWIG_IsOK(res2)) { | |
10008 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10009 | } | |
10010 | if (!argp2) { | |
10011 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10012 | } | |
10013 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
10014 | { | |
10015 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10016 | (arg1)->Expand((wxTreeItemId const &)*arg2); | |
10017 | wxPyEndAllowThreads(__tstate); | |
10018 | if (PyErr_Occurred()) SWIG_fail; | |
10019 | } | |
10020 | resultobj = SWIG_Py_Void(); | |
10021 | return resultobj; | |
10022 | fail: | |
10023 | return NULL; | |
10024 | } | |
10025 | ||
10026 | ||
10027 | SWIGINTERN PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10028 | PyObject *resultobj = 0; | |
10029 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
10030 | wxTreeItemId *arg2 = 0 ; | |
10031 | void *argp1 = 0 ; | |
10032 | int res1 = 0 ; | |
10033 | void *argp2 = 0 ; | |
10034 | int res2 = 0 ; | |
10035 | PyObject * obj0 = 0 ; | |
10036 | PyObject * obj1 = 0 ; | |
10037 | char * kwnames[] = { | |
10038 | (char *) "self",(char *) "item", NULL | |
10039 | }; | |
10040 | ||
10041 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) SWIG_fail; | |
10042 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
10043 | if (!SWIG_IsOK(res1)) { | |
10044 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
10045 | } | |
10046 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
10047 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
10048 | if (!SWIG_IsOK(res2)) { | |
10049 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10050 | } | |
10051 | if (!argp2) { | |
10052 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10053 | } | |
10054 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
10055 | { | |
10056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10057 | (arg1)->ExpandAll((wxTreeItemId const &)*arg2); | |
10058 | wxPyEndAllowThreads(__tstate); | |
10059 | if (PyErr_Occurred()) SWIG_fail; | |
10060 | } | |
10061 | resultobj = SWIG_Py_Void(); | |
10062 | return resultobj; | |
10063 | fail: | |
10064 | return NULL; | |
10065 | } | |
10066 | ||
10067 | ||
10068 | SWIGINTERN PyObject *_wrap_TreeListCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10069 | PyObject *resultobj = 0; | |
10070 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
10071 | wxTreeItemId *arg2 = 0 ; | |
10072 | void *argp1 = 0 ; | |
10073 | int res1 = 0 ; | |
10074 | void *argp2 = 0 ; | |
10075 | int res2 = 0 ; | |
10076 | PyObject * obj0 = 0 ; | |
10077 | PyObject * obj1 = 0 ; | |
10078 | char * kwnames[] = { | |
10079 | (char *) "self",(char *) "item", NULL | |
10080 | }; | |
10081 | ||
10082 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail; | |
10083 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
10084 | if (!SWIG_IsOK(res1)) { | |
10085 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
10086 | } | |
10087 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
10088 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
10089 | if (!SWIG_IsOK(res2)) { | |
10090 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10091 | } | |
10092 | if (!argp2) { | |
10093 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10094 | } | |
10095 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
10096 | { | |
10097 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10098 | (arg1)->Collapse((wxTreeItemId const &)*arg2); | |
10099 | wxPyEndAllowThreads(__tstate); | |
10100 | if (PyErr_Occurred()) SWIG_fail; | |
10101 | } | |
10102 | resultobj = SWIG_Py_Void(); | |
10103 | return resultobj; | |
10104 | fail: | |
10105 | return NULL; | |
10106 | } | |
10107 | ||
10108 | ||
10109 | SWIGINTERN PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10110 | PyObject *resultobj = 0; | |
10111 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
10112 | wxTreeItemId *arg2 = 0 ; | |
10113 | void *argp1 = 0 ; | |
10114 | int res1 = 0 ; | |
10115 | void *argp2 = 0 ; | |
10116 | int res2 = 0 ; | |
10117 | PyObject * obj0 = 0 ; | |
10118 | PyObject * obj1 = 0 ; | |
10119 | char * kwnames[] = { | |
10120 | (char *) "self",(char *) "item", NULL | |
10121 | }; | |
10122 | ||
10123 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail; | |
10124 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
10125 | if (!SWIG_IsOK(res1)) { | |
10126 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
10127 | } | |
10128 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
10129 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
10130 | if (!SWIG_IsOK(res2)) { | |
10131 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10132 | } | |
10133 | if (!argp2) { | |
10134 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10135 | } | |
10136 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
10137 | { | |
10138 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10139 | (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2); | |
10140 | wxPyEndAllowThreads(__tstate); | |
10141 | if (PyErr_Occurred()) SWIG_fail; | |
10142 | } | |
10143 | resultobj = SWIG_Py_Void(); | |
10144 | return resultobj; | |
10145 | fail: | |
10146 | return NULL; | |
10147 | } | |
10148 | ||
10149 | ||
10150 | SWIGINTERN PyObject *_wrap_TreeListCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10151 | PyObject *resultobj = 0; | |
10152 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
10153 | wxTreeItemId *arg2 = 0 ; | |
10154 | void *argp1 = 0 ; | |
10155 | int res1 = 0 ; | |
10156 | void *argp2 = 0 ; | |
10157 | int res2 = 0 ; | |
10158 | PyObject * obj0 = 0 ; | |
10159 | PyObject * obj1 = 0 ; | |
10160 | char * kwnames[] = { | |
10161 | (char *) "self",(char *) "item", NULL | |
10162 | }; | |
10163 | ||
10164 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail; | |
10165 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
10166 | if (!SWIG_IsOK(res1)) { | |
10167 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
10168 | } | |
10169 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
10170 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
10171 | if (!SWIG_IsOK(res2)) { | |
10172 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10173 | } | |
10174 | if (!argp2) { | |
10175 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10176 | } | |
10177 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
10178 | { | |
10179 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10180 | (arg1)->Toggle((wxTreeItemId const &)*arg2); | |
10181 | wxPyEndAllowThreads(__tstate); | |
10182 | if (PyErr_Occurred()) SWIG_fail; | |
10183 | } | |
10184 | resultobj = SWIG_Py_Void(); | |
10185 | return resultobj; | |
10186 | fail: | |
10187 | return NULL; | |
44127b65 RD |
10188 | } |
10189 | ||
10190 | ||
0085ce49 RD |
10191 | SWIGINTERN PyObject *_wrap_TreeListCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10192 | PyObject *resultobj = 0; | |
10193 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
10194 | void *argp1 = 0 ; | |
10195 | int res1 = 0 ; | |
10196 | PyObject *swig_obj[1] ; | |
10197 | ||
10198 | if (!args) SWIG_fail; | |
10199 | swig_obj[0] = args; | |
10200 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
10201 | if (!SWIG_IsOK(res1)) { | |
10202 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
10203 | } | |
10204 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
10205 | { | |
10206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10207 | (arg1)->Unselect(); | |
10208 | wxPyEndAllowThreads(__tstate); | |
10209 | if (PyErr_Occurred()) SWIG_fail; | |
10210 | } | |
10211 | resultobj = SWIG_Py_Void(); | |
10212 | return resultobj; | |
10213 | fail: | |
10214 | return NULL; | |
6260902d RD |
10215 | } |
10216 | ||
10217 | ||
0085ce49 RD |
10218 | SWIGINTERN PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10219 | PyObject *resultobj = 0; | |
10220 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
10221 | void *argp1 = 0 ; | |
10222 | int res1 = 0 ; | |
10223 | PyObject *swig_obj[1] ; | |
10224 | ||
10225 | if (!args) SWIG_fail; | |
10226 | swig_obj[0] = args; | |
10227 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
10228 | if (!SWIG_IsOK(res1)) { | |
10229 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
10230 | } | |
10231 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
10232 | { | |
10233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10234 | (arg1)->UnselectAll(); | |
10235 | wxPyEndAllowThreads(__tstate); | |
10236 | if (PyErr_Occurred()) SWIG_fail; | |
10237 | } | |
10238 | resultobj = SWIG_Py_Void(); | |
10239 | return resultobj; | |
10240 | fail: | |
10241 | return NULL; | |
10242 | } | |
10243 | ||
10244 | ||
10245 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10246 | PyObject *resultobj = 0; | |
10247 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
10248 | wxTreeItemId *arg2 = 0 ; | |
33d6fd3b RD |
10249 | wxTreeItemId const &arg3_defvalue = (wxTreeItemId *) NULL ; |
10250 | wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ; | |
10251 | bool arg4 = (bool) true ; | |
0085ce49 RD |
10252 | void *argp1 = 0 ; |
10253 | int res1 = 0 ; | |
10254 | void *argp2 = 0 ; | |
10255 | int res2 = 0 ; | |
33d6fd3b RD |
10256 | void *argp3 = 0 ; |
10257 | int res3 = 0 ; | |
0085ce49 RD |
10258 | bool val4 ; |
10259 | int ecode4 = 0 ; | |
10260 | PyObject * obj0 = 0 ; | |
10261 | PyObject * obj1 = 0 ; | |
10262 | PyObject * obj2 = 0 ; | |
10263 | PyObject * obj3 = 0 ; | |
10264 | char * kwnames[] = { | |
33d6fd3b | 10265 | (char *) "self",(char *) "item",(char *) "last",(char *) "unselect_others", NULL |
0085ce49 RD |
10266 | }; |
10267 | ||
10268 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
10269 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
10270 | if (!SWIG_IsOK(res1)) { | |
10271 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
10272 | } | |
10273 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
10274 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
10275 | if (!SWIG_IsOK(res2)) { | |
10276 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10277 | } | |
10278 | if (!argp2) { | |
10279 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10280 | } | |
10281 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
10282 | if (obj2) { | |
33d6fd3b RD |
10283 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
10284 | if (!SWIG_IsOK(res3)) { | |
10285 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'"); | |
10286 | } | |
10287 | if (!argp3) { | |
10288 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'"); | |
10289 | } | |
10290 | arg3 = reinterpret_cast< wxTreeItemId * >(argp3); | |
0085ce49 RD |
10291 | } |
10292 | if (obj3) { | |
10293 | ecode4 = SWIG_AsVal_bool(obj3, &val4); | |
10294 | if (!SWIG_IsOK(ecode4)) { | |
10295 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "4"" of type '" "bool""'"); | |
10296 | } | |
10297 | arg4 = static_cast< bool >(val4); | |
10298 | } | |
10299 | { | |
10300 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 10301 | (arg1)->SelectItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,arg4); |
0085ce49 RD |
10302 | wxPyEndAllowThreads(__tstate); |
10303 | if (PyErr_Occurred()) SWIG_fail; | |
10304 | } | |
10305 | resultobj = SWIG_Py_Void(); | |
10306 | return resultobj; | |
10307 | fail: | |
10308 | return NULL; | |
10309 | } | |
10310 | ||
10311 | ||
33d6fd3b | 10312 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
0085ce49 RD |
10313 | PyObject *resultobj = 0; |
10314 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
0085ce49 RD |
10315 | void *argp1 = 0 ; |
10316 | int res1 = 0 ; | |
33d6fd3b | 10317 | PyObject *swig_obj[1] ; |
0085ce49 | 10318 | |
33d6fd3b RD |
10319 | if (!args) SWIG_fail; |
10320 | swig_obj[0] = args; | |
10321 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
0085ce49 RD |
10322 | if (!SWIG_IsOK(res1)) { |
10323 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
10324 | } | |
10325 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
0085ce49 RD |
10326 | { |
10327 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 10328 | (arg1)->SelectAll(); |
0085ce49 RD |
10329 | wxPyEndAllowThreads(__tstate); |
10330 | if (PyErr_Occurred()) SWIG_fail; | |
10331 | } | |
10332 | resultobj = SWIG_Py_Void(); | |
10333 | return resultobj; | |
10334 | fail: | |
10335 | return NULL; | |
10336 | } | |
10337 | ||
10338 | ||
10339 | SWIGINTERN PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10340 | PyObject *resultobj = 0; | |
10341 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
10342 | wxTreeItemId *arg2 = 0 ; | |
10343 | void *argp1 = 0 ; | |
10344 | int res1 = 0 ; | |
10345 | void *argp2 = 0 ; | |
10346 | int res2 = 0 ; | |
10347 | PyObject * obj0 = 0 ; | |
10348 | PyObject * obj1 = 0 ; | |
10349 | char * kwnames[] = { | |
10350 | (char *) "self",(char *) "item", NULL | |
10351 | }; | |
10352 | ||
10353 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail; | |
10354 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
10355 | if (!SWIG_IsOK(res1)) { | |
10356 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
10357 | } | |
10358 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
10359 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
10360 | if (!SWIG_IsOK(res2)) { | |
10361 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10362 | } | |
10363 | if (!argp2) { | |
10364 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10365 | } | |
10366 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
10367 | { | |
10368 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10369 | (arg1)->EnsureVisible((wxTreeItemId const &)*arg2); | |
10370 | wxPyEndAllowThreads(__tstate); | |
10371 | if (PyErr_Occurred()) SWIG_fail; | |
10372 | } | |
10373 | resultobj = SWIG_Py_Void(); | |
10374 | return resultobj; | |
10375 | fail: | |
10376 | return NULL; | |
10377 | } | |
10378 | ||
10379 | ||
10380 | SWIGINTERN PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10381 | PyObject *resultobj = 0; | |
10382 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
10383 | wxTreeItemId *arg2 = 0 ; | |
10384 | void *argp1 = 0 ; | |
10385 | int res1 = 0 ; | |
10386 | void *argp2 = 0 ; | |
10387 | int res2 = 0 ; | |
10388 | PyObject * obj0 = 0 ; | |
10389 | PyObject * obj1 = 0 ; | |
10390 | char * kwnames[] = { | |
10391 | (char *) "self",(char *) "item", NULL | |
10392 | }; | |
10393 | ||
10394 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail; | |
10395 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
10396 | if (!SWIG_IsOK(res1)) { | |
10397 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
10398 | } | |
10399 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
10400 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
10401 | if (!SWIG_IsOK(res2)) { | |
10402 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10403 | } | |
10404 | if (!argp2) { | |
10405 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10406 | } | |
10407 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
10408 | { | |
10409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10410 | (arg1)->ScrollTo((wxTreeItemId const &)*arg2); | |
10411 | wxPyEndAllowThreads(__tstate); | |
10412 | if (PyErr_Occurred()) SWIG_fail; | |
10413 | } | |
10414 | resultobj = SWIG_Py_Void(); | |
10415 | return resultobj; | |
10416 | fail: | |
10417 | return NULL; | |
10418 | } | |
10419 | ||
10420 | ||
10421 | SWIGINTERN PyObject *_wrap_TreeListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10422 | PyObject *resultobj = 0; | |
10423 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
10424 | wxPoint *arg2 = 0 ; | |
10425 | int *arg3 = 0 ; | |
10426 | int *arg4 = 0 ; | |
10427 | wxTreeItemId result; | |
10428 | void *argp1 = 0 ; | |
10429 | int res1 = 0 ; | |
10430 | wxPoint temp2 ; | |
10431 | int temp3 ; | |
10432 | int res3 = SWIG_TMPOBJ ; | |
10433 | int temp4 ; | |
10434 | int res4 = SWIG_TMPOBJ ; | |
10435 | PyObject * obj0 = 0 ; | |
10436 | PyObject * obj1 = 0 ; | |
10437 | char * kwnames[] = { | |
10438 | (char *) "self",(char *) "point", NULL | |
10439 | }; | |
10440 | ||
10441 | arg3 = &temp3; | |
10442 | arg4 = &temp4; | |
10443 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail; | |
10444 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
10445 | if (!SWIG_IsOK(res1)) { | |
10446 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
10447 | } | |
10448 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
10449 | { | |
10450 | arg2 = &temp2; | |
10451 | if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; | |
10452 | } | |
10453 | { | |
10454 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10455 | result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4); | |
10456 | wxPyEndAllowThreads(__tstate); | |
10457 | if (PyErr_Occurred()) SWIG_fail; | |
10458 | } | |
10459 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
10460 | if (SWIG_IsTmpObj(res3)) { | |
10461 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3))); | |
10462 | } else { | |
10463 | int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; | |
10464 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags)); | |
10465 | } | |
10466 | if (SWIG_IsTmpObj(res4)) { | |
10467 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4))); | |
10468 | } else { | |
10469 | int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; | |
10470 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags)); | |
10471 | } | |
10472 | return resultobj; | |
10473 | fail: | |
10474 | return NULL; | |
10475 | } | |
10476 | ||
10477 | ||
10478 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10479 | PyObject *resultobj = 0; | |
10480 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
10481 | wxTreeItemId *arg2 = 0 ; | |
10482 | bool arg3 = (bool) false ; | |
10483 | PyObject *result = 0 ; | |
10484 | void *argp1 = 0 ; | |
10485 | int res1 = 0 ; | |
10486 | void *argp2 = 0 ; | |
10487 | int res2 = 0 ; | |
10488 | bool val3 ; | |
10489 | int ecode3 = 0 ; | |
10490 | PyObject * obj0 = 0 ; | |
10491 | PyObject * obj1 = 0 ; | |
10492 | PyObject * obj2 = 0 ; | |
10493 | char * kwnames[] = { | |
10494 | (char *) "self",(char *) "item",(char *) "textOnly", NULL | |
10495 | }; | |
10496 | ||
10497 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
10498 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
10499 | if (!SWIG_IsOK(res1)) { | |
10500 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
10501 | } | |
10502 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
10503 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
10504 | if (!SWIG_IsOK(res2)) { | |
10505 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10506 | } | |
10507 | if (!argp2) { | |
10508 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10509 | } | |
10510 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
10511 | if (obj2) { | |
10512 | ecode3 = SWIG_AsVal_bool(obj2, &val3); | |
10513 | if (!SWIG_IsOK(ecode3)) { | |
10514 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'"); | |
10515 | } | |
10516 | arg3 = static_cast< bool >(val3); | |
10517 | } | |
10518 | { | |
10519 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10520 | result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3); | |
10521 | wxPyEndAllowThreads(__tstate); | |
10522 | if (PyErr_Occurred()) SWIG_fail; | |
10523 | } | |
10524 | resultobj = result; | |
10525 | return resultobj; | |
10526 | fail: | |
10527 | return NULL; | |
10528 | } | |
10529 | ||
10530 | ||
10531 | SWIGINTERN PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10532 | PyObject *resultobj = 0; | |
10533 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
10534 | wxTreeItemId *arg2 = 0 ; | |
33d6fd3b | 10535 | int arg3 = (int) -1 ; |
0085ce49 RD |
10536 | void *argp1 = 0 ; |
10537 | int res1 = 0 ; | |
10538 | void *argp2 = 0 ; | |
10539 | int res2 = 0 ; | |
33d6fd3b RD |
10540 | int val3 ; |
10541 | int ecode3 = 0 ; | |
0085ce49 RD |
10542 | PyObject * obj0 = 0 ; |
10543 | PyObject * obj1 = 0 ; | |
33d6fd3b | 10544 | PyObject * obj2 = 0 ; |
0085ce49 | 10545 | char * kwnames[] = { |
33d6fd3b | 10546 | (char *) "self",(char *) "item",(char *) "column", NULL |
0085ce49 RD |
10547 | }; |
10548 | ||
33d6fd3b | 10549 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
0085ce49 RD |
10550 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
10551 | if (!SWIG_IsOK(res1)) { | |
10552 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
10553 | } | |
10554 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
10555 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
10556 | if (!SWIG_IsOK(res2)) { | |
10557 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10558 | } | |
10559 | if (!argp2) { | |
10560 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10561 | } | |
10562 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
33d6fd3b RD |
10563 | if (obj2) { |
10564 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10565 | if (!SWIG_IsOK(ecode3)) { | |
10566 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "3"" of type '" "int""'"); | |
10567 | } | |
10568 | arg3 = static_cast< int >(val3); | |
0085ce49 | 10569 | } |
0085ce49 RD |
10570 | { |
10571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
33d6fd3b | 10572 | wxPyTreeListCtrl_EditLabel(arg1,(wxTreeItemId const &)*arg2,arg3); |
0085ce49 RD |
10573 | wxPyEndAllowThreads(__tstate); |
10574 | if (PyErr_Occurred()) SWIG_fail; | |
10575 | } | |
10576 | resultobj = SWIG_Py_Void(); | |
10577 | return resultobj; | |
10578 | fail: | |
10579 | return NULL; | |
10580 | } | |
10581 | ||
10582 | ||
10583 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10584 | PyObject *resultobj = 0; | |
10585 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
10586 | wxTreeItemId *arg2 = 0 ; | |
10587 | void *argp1 = 0 ; | |
10588 | int res1 = 0 ; | |
10589 | void *argp2 = 0 ; | |
10590 | int res2 = 0 ; | |
10591 | PyObject * obj0 = 0 ; | |
10592 | PyObject * obj1 = 0 ; | |
10593 | char * kwnames[] = { | |
10594 | (char *) "self",(char *) "item", NULL | |
10595 | }; | |
10596 | ||
10597 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail; | |
10598 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
10599 | if (!SWIG_IsOK(res1)) { | |
10600 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
10601 | } | |
10602 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
10603 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
10604 | if (!SWIG_IsOK(res2)) { | |
10605 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10606 | } | |
10607 | if (!argp2) { | |
10608 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10609 | } | |
10610 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
10611 | { | |
10612 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10613 | (arg1)->SortChildren((wxTreeItemId const &)*arg2); | |
10614 | wxPyEndAllowThreads(__tstate); | |
10615 | if (PyErr_Occurred()) SWIG_fail; | |
10616 | } | |
10617 | resultobj = SWIG_Py_Void(); | |
10618 | return resultobj; | |
10619 | fail: | |
10620 | return NULL; | |
10621 | } | |
10622 | ||
10623 | ||
10624 | SWIGINTERN PyObject *_wrap_TreeListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10625 | PyObject *resultobj = 0; | |
10626 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
10627 | wxTreeItemId *arg2 = 0 ; | |
10628 | wxString *arg3 = 0 ; | |
10629 | int arg4 = (int) 0 ; | |
10630 | wxTreeItemId result; | |
10631 | void *argp1 = 0 ; | |
10632 | int res1 = 0 ; | |
10633 | void *argp2 = 0 ; | |
10634 | int res2 = 0 ; | |
10635 | bool temp3 = false ; | |
10636 | int val4 ; | |
10637 | int ecode4 = 0 ; | |
10638 | PyObject * obj0 = 0 ; | |
10639 | PyObject * obj1 = 0 ; | |
10640 | PyObject * obj2 = 0 ; | |
10641 | PyObject * obj3 = 0 ; | |
10642 | char * kwnames[] = { | |
10643 | (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL | |
10644 | }; | |
10645 | ||
10646 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; | |
10647 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
10648 | if (!SWIG_IsOK(res1)) { | |
10649 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
10650 | } | |
10651 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
10652 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
10653 | if (!SWIG_IsOK(res2)) { | |
10654 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10655 | } | |
10656 | if (!argp2) { | |
10657 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10658 | } | |
10659 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
10660 | { | |
10661 | arg3 = wxString_in_helper(obj2); | |
10662 | if (arg3 == NULL) SWIG_fail; | |
10663 | temp3 = true; | |
10664 | } | |
10665 | if (obj3) { | |
10666 | ecode4 = SWIG_AsVal_int(obj3, &val4); | |
10667 | if (!SWIG_IsOK(ecode4)) { | |
10668 | SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_FindItem" "', expected argument " "4"" of type '" "int""'"); | |
10669 | } | |
10670 | arg4 = static_cast< int >(val4); | |
10671 | } | |
10672 | { | |
10673 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10674 | result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4); | |
10675 | wxPyEndAllowThreads(__tstate); | |
10676 | if (PyErr_Occurred()) SWIG_fail; | |
10677 | } | |
10678 | resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); | |
10679 | { | |
10680 | if (temp3) | |
10681 | delete arg3; | |
10682 | } | |
10683 | return resultobj; | |
10684 | fail: | |
10685 | { | |
10686 | if (temp3) | |
10687 | delete arg3; | |
10688 | } | |
10689 | return NULL; | |
6260902d RD |
10690 | } |
10691 | ||
10692 | ||
33d6fd3b RD |
10693 | SWIGINTERN PyObject *_wrap_TreeListCtrl_SetDragItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
10694 | PyObject *resultobj = 0; | |
10695 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
10696 | wxTreeItemId const &arg2_defvalue = (wxTreeItemId *) NULL ; | |
10697 | wxTreeItemId *arg2 = (wxTreeItemId *) &arg2_defvalue ; | |
10698 | void *argp1 = 0 ; | |
10699 | int res1 = 0 ; | |
10700 | void *argp2 = 0 ; | |
10701 | int res2 = 0 ; | |
10702 | PyObject * obj0 = 0 ; | |
10703 | PyObject * obj1 = 0 ; | |
10704 | char * kwnames[] = { | |
10705 | (char *) "self",(char *) "item", NULL | |
10706 | }; | |
10707 | ||
10708 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SetDragItem",kwnames,&obj0,&obj1)) SWIG_fail; | |
10709 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
10710 | if (!SWIG_IsOK(res1)) { | |
10711 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); | |
10712 | } | |
10713 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
10714 | if (obj1) { | |
10715 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); | |
10716 | if (!SWIG_IsOK(res2)) { | |
10717 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10718 | } | |
10719 | if (!argp2) { | |
10720 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); | |
10721 | } | |
10722 | arg2 = reinterpret_cast< wxTreeItemId * >(argp2); | |
10723 | } | |
10724 | { | |
10725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10726 | (arg1)->SetDragItem((wxTreeItemId const &)*arg2); | |
10727 | wxPyEndAllowThreads(__tstate); | |
10728 | if (PyErr_Occurred()) SWIG_fail; | |
10729 | } | |
10730 | resultobj = SWIG_Py_Void(); | |
10731 | return resultobj; | |
10732 | fail: | |
10733 | return NULL; | |
10734 | } | |
10735 | ||
10736 | ||
0085ce49 RD |
10737 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10738 | PyObject *resultobj = 0; | |
10739 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
10740 | wxWindow *result = 0 ; | |
10741 | void *argp1 = 0 ; | |
10742 | int res1 = 0 ; | |
10743 | PyObject *swig_obj[1] ; | |
10744 | ||
10745 | if (!args) SWIG_fail; | |
10746 | swig_obj[0] = args; | |
10747 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
10748 | if (!SWIG_IsOK(res1)) { | |
10749 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetHeaderWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
10750 | } | |
10751 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
10752 | { | |
10753 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10754 | result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow(); | |
10755 | wxPyEndAllowThreads(__tstate); | |
10756 | if (PyErr_Occurred()) SWIG_fail; | |
10757 | } | |
10758 | { | |
10759 | resultobj = wxPyMake_wxObject(result, 0); | |
10760 | } | |
10761 | return resultobj; | |
10762 | fail: | |
10763 | return NULL; | |
6260902d RD |
10764 | } |
10765 | ||
10766 | ||
0085ce49 RD |
10767 | SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10768 | PyObject *resultobj = 0; | |
10769 | wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; | |
10770 | wxScrolledWindow *result = 0 ; | |
10771 | void *argp1 = 0 ; | |
10772 | int res1 = 0 ; | |
10773 | PyObject *swig_obj[1] ; | |
10774 | ||
10775 | if (!args) SWIG_fail; | |
10776 | swig_obj[0] = args; | |
10777 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); | |
10778 | if (!SWIG_IsOK(res1)) { | |
10779 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); | |
10780 | } | |
10781 | arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); | |
10782 | { | |
10783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10784 | result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow(); | |
10785 | wxPyEndAllowThreads(__tstate); | |
10786 | if (PyErr_Occurred()) SWIG_fail; | |
10787 | } | |
10788 | { | |
10789 | resultobj = wxPyMake_wxObject(result, 0); | |
10790 | } | |
10791 | return resultobj; | |
10792 | fail: | |
10793 | return NULL; | |
10794 | } | |
10795 | ||
10796 | ||
10797 | SWIGINTERN PyObject *TreeListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10798 | PyObject *obj; | |
10799 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
10800 | SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeListCtrl, SWIG_NewClientData(obj)); | |
10801 | return SWIG_Py_Void(); | |
10802 | } | |
10803 | ||
10804 | SWIGINTERN PyObject *TreeListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
10805 | return SWIG_Python_InitShadowInstance(args); | |
10806 | } | |
10807 | ||
10808 | SWIGINTERN PyObject *_wrap_new_StaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10809 | PyObject *resultobj = 0; | |
10810 | wxWindow *arg1 = (wxWindow *) 0 ; | |
10811 | int arg2 = (int) -1 ; | |
10812 | wxBitmap const &arg3_defvalue = wxNullBitmap ; | |
10813 | wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ; | |
10814 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
10815 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
10816 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
10817 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
10818 | long arg6 = (long) 0 ; | |
10819 | wxString const &arg7_defvalue = wxPyStaticPictureNameStr ; | |
10820 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
10821 | wxStaticPicture *result = 0 ; | |
10822 | void *argp1 = 0 ; | |
10823 | int res1 = 0 ; | |
10824 | int val2 ; | |
10825 | int ecode2 = 0 ; | |
10826 | void *argp3 = 0 ; | |
10827 | int res3 = 0 ; | |
10828 | wxPoint temp4 ; | |
10829 | wxSize temp5 ; | |
10830 | long val6 ; | |
10831 | int ecode6 = 0 ; | |
10832 | bool temp7 = false ; | |
10833 | PyObject * obj0 = 0 ; | |
10834 | PyObject * obj1 = 0 ; | |
10835 | PyObject * obj2 = 0 ; | |
10836 | PyObject * obj3 = 0 ; | |
10837 | PyObject * obj4 = 0 ; | |
10838 | PyObject * obj5 = 0 ; | |
10839 | PyObject * obj6 = 0 ; | |
10840 | char * kwnames[] = { | |
10841 | (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10842 | }; | |
10843 | ||
10844 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; | |
10845 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
10846 | if (!SWIG_IsOK(res1)) { | |
10847 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticPicture" "', expected argument " "1"" of type '" "wxWindow *""'"); | |
10848 | } | |
10849 | arg1 = reinterpret_cast< wxWindow * >(argp1); | |
10850 | if (obj1) { | |
10851 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
10852 | if (!SWIG_IsOK(ecode2)) { | |
10853 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticPicture" "', expected argument " "2"" of type '" "int""'"); | |
10854 | } | |
10855 | arg2 = static_cast< int >(val2); | |
10856 | } | |
10857 | if (obj2) { | |
10858 | res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0); | |
10859 | if (!SWIG_IsOK(res3)) { | |
10860 | SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
6260902d | 10861 | } |
0085ce49 RD |
10862 | if (!argp3) { |
10863 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'"); | |
6260902d | 10864 | } |
0085ce49 RD |
10865 | arg3 = reinterpret_cast< wxBitmap * >(argp3); |
10866 | } | |
10867 | if (obj3) { | |
6260902d | 10868 | { |
0085ce49 RD |
10869 | arg4 = &temp4; |
10870 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
6260902d | 10871 | } |
0085ce49 RD |
10872 | } |
10873 | if (obj4) { | |
6260902d | 10874 | { |
0085ce49 RD |
10875 | arg5 = &temp5; |
10876 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
6260902d | 10877 | } |
0085ce49 RD |
10878 | } |
10879 | if (obj5) { | |
10880 | ecode6 = SWIG_AsVal_long(obj5, &val6); | |
10881 | if (!SWIG_IsOK(ecode6)) { | |
10882 | SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticPicture" "', expected argument " "6"" of type '" "long""'"); | |
10883 | } | |
10884 | arg6 = static_cast< long >(val6); | |
10885 | } | |
10886 | if (obj6) { | |
6260902d | 10887 | { |
0085ce49 RD |
10888 | arg7 = wxString_in_helper(obj6); |
10889 | if (arg7 == NULL) SWIG_fail; | |
10890 | temp7 = true; | |
6260902d | 10891 | } |
0085ce49 RD |
10892 | } |
10893 | { | |
10894 | if (!wxPyCheckForApp()) SWIG_fail; | |
10895 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10896 | result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); | |
10897 | wxPyEndAllowThreads(__tstate); | |
10898 | if (PyErr_Occurred()) SWIG_fail; | |
10899 | } | |
10900 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_NEW | 0 ); | |
10901 | { | |
10902 | if (temp7) | |
10903 | delete arg7; | |
10904 | } | |
10905 | return resultobj; | |
10906 | fail: | |
10907 | { | |
10908 | if (temp7) | |
10909 | delete arg7; | |
10910 | } | |
10911 | return NULL; | |
6260902d RD |
10912 | } |
10913 | ||
10914 | ||
0085ce49 RD |
10915 | SWIGINTERN PyObject *_wrap_new_PreStaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
10916 | PyObject *resultobj = 0; | |
10917 | wxStaticPicture *result = 0 ; | |
10918 | ||
10919 | if (!SWIG_Python_UnpackTuple(args,"new_PreStaticPicture",0,0,0)) SWIG_fail; | |
10920 | { | |
10921 | if (!wxPyCheckForApp()) SWIG_fail; | |
10922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
10923 | result = (wxStaticPicture *)new wxStaticPicture(); | |
10924 | wxPyEndAllowThreads(__tstate); | |
10925 | if (PyErr_Occurred()) SWIG_fail; | |
10926 | } | |
10927 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_OWN | 0 ); | |
10928 | return resultobj; | |
10929 | fail: | |
10930 | return NULL; | |
10931 | } | |
10932 | ||
10933 | ||
10934 | SWIGINTERN PyObject *_wrap_StaticPicture_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
10935 | PyObject *resultobj = 0; | |
10936 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
10937 | wxWindow *arg2 = (wxWindow *) 0 ; | |
10938 | int arg3 = (int) -1 ; | |
10939 | wxBitmap const &arg4_defvalue = wxNullBitmap ; | |
10940 | wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ; | |
10941 | wxPoint const &arg5_defvalue = wxDefaultPosition ; | |
10942 | wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; | |
10943 | wxSize const &arg6_defvalue = wxDefaultSize ; | |
10944 | wxSize *arg6 = (wxSize *) &arg6_defvalue ; | |
10945 | long arg7 = (long) 0 ; | |
10946 | wxString const &arg8_defvalue = wxPyStaticPictureNameStr ; | |
10947 | wxString *arg8 = (wxString *) &arg8_defvalue ; | |
10948 | bool result; | |
10949 | void *argp1 = 0 ; | |
10950 | int res1 = 0 ; | |
10951 | void *argp2 = 0 ; | |
10952 | int res2 = 0 ; | |
10953 | int val3 ; | |
10954 | int ecode3 = 0 ; | |
10955 | void *argp4 = 0 ; | |
10956 | int res4 = 0 ; | |
10957 | wxPoint temp5 ; | |
10958 | wxSize temp6 ; | |
10959 | long val7 ; | |
10960 | int ecode7 = 0 ; | |
10961 | bool temp8 = false ; | |
10962 | PyObject * obj0 = 0 ; | |
10963 | PyObject * obj1 = 0 ; | |
10964 | PyObject * obj2 = 0 ; | |
10965 | PyObject * obj3 = 0 ; | |
10966 | PyObject * obj4 = 0 ; | |
10967 | PyObject * obj5 = 0 ; | |
10968 | PyObject * obj6 = 0 ; | |
10969 | PyObject * obj7 = 0 ; | |
10970 | char * kwnames[] = { | |
10971 | (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL | |
10972 | }; | |
10973 | ||
10974 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; | |
10975 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); | |
10976 | if (!SWIG_IsOK(res1)) { | |
10977 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_Create" "', expected argument " "1"" of type '" "wxStaticPicture *""'"); | |
10978 | } | |
10979 | arg1 = reinterpret_cast< wxStaticPicture * >(argp1); | |
10980 | res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); | |
10981 | if (!SWIG_IsOK(res2)) { | |
10982 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); | |
10983 | } | |
10984 | arg2 = reinterpret_cast< wxWindow * >(argp2); | |
10985 | if (obj2) { | |
10986 | ecode3 = SWIG_AsVal_int(obj2, &val3); | |
10987 | if (!SWIG_IsOK(ecode3)) { | |
10988 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_Create" "', expected argument " "3"" of type '" "int""'"); | |
10989 | } | |
10990 | arg3 = static_cast< int >(val3); | |
10991 | } | |
10992 | if (obj3) { | |
10993 | res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0); | |
10994 | if (!SWIG_IsOK(res4)) { | |
10995 | SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
6260902d | 10996 | } |
0085ce49 RD |
10997 | if (!argp4) { |
10998 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'"); | |
6260902d | 10999 | } |
0085ce49 RD |
11000 | arg4 = reinterpret_cast< wxBitmap * >(argp4); |
11001 | } | |
11002 | if (obj4) { | |
6260902d | 11003 | { |
0085ce49 RD |
11004 | arg5 = &temp5; |
11005 | if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; | |
6260902d | 11006 | } |
0085ce49 RD |
11007 | } |
11008 | if (obj5) { | |
6260902d | 11009 | { |
0085ce49 RD |
11010 | arg6 = &temp6; |
11011 | if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; | |
6260902d | 11012 | } |
0085ce49 RD |
11013 | } |
11014 | if (obj6) { | |
11015 | ecode7 = SWIG_AsVal_long(obj6, &val7); | |
11016 | if (!SWIG_IsOK(ecode7)) { | |
11017 | SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticPicture_Create" "', expected argument " "7"" of type '" "long""'"); | |
11018 | } | |
11019 | arg7 = static_cast< long >(val7); | |
11020 | } | |
11021 | if (obj7) { | |
6260902d | 11022 | { |
0085ce49 RD |
11023 | arg8 = wxString_in_helper(obj7); |
11024 | if (arg8 == NULL) SWIG_fail; | |
11025 | temp8 = true; | |
6260902d | 11026 | } |
0085ce49 RD |
11027 | } |
11028 | { | |
11029 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11030 | result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); | |
11031 | wxPyEndAllowThreads(__tstate); | |
11032 | if (PyErr_Occurred()) SWIG_fail; | |
11033 | } | |
11034 | { | |
11035 | resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); | |
11036 | } | |
11037 | { | |
11038 | if (temp8) | |
11039 | delete arg8; | |
11040 | } | |
11041 | return resultobj; | |
11042 | fail: | |
11043 | { | |
11044 | if (temp8) | |
11045 | delete arg8; | |
11046 | } | |
11047 | return NULL; | |
11048 | } | |
11049 | ||
11050 | ||
11051 | SWIGINTERN PyObject *_wrap_StaticPicture_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11052 | PyObject *resultobj = 0; | |
11053 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
11054 | wxBitmap *arg2 = 0 ; | |
11055 | void *argp1 = 0 ; | |
11056 | int res1 = 0 ; | |
11057 | void *argp2 = 0 ; | |
11058 | int res2 = 0 ; | |
11059 | PyObject * obj0 = 0 ; | |
11060 | PyObject * obj1 = 0 ; | |
11061 | char * kwnames[] = { | |
11062 | (char *) "self",(char *) "bmp", NULL | |
11063 | }; | |
11064 | ||
11065 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail; | |
11066 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); | |
11067 | if (!SWIG_IsOK(res1)) { | |
11068 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture *""'"); | |
11069 | } | |
11070 | arg1 = reinterpret_cast< wxStaticPicture * >(argp1); | |
11071 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0); | |
11072 | if (!SWIG_IsOK(res2)) { | |
11073 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
11074 | } | |
11075 | if (!argp2) { | |
11076 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'"); | |
11077 | } | |
11078 | arg2 = reinterpret_cast< wxBitmap * >(argp2); | |
11079 | { | |
11080 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11081 | (arg1)->SetBitmap((wxBitmap const &)*arg2); | |
11082 | wxPyEndAllowThreads(__tstate); | |
11083 | if (PyErr_Occurred()) SWIG_fail; | |
11084 | } | |
11085 | resultobj = SWIG_Py_Void(); | |
11086 | return resultobj; | |
11087 | fail: | |
11088 | return NULL; | |
6260902d RD |
11089 | } |
11090 | ||
11091 | ||
0085ce49 RD |
11092 | SWIGINTERN PyObject *_wrap_StaticPicture_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11093 | PyObject *resultobj = 0; | |
11094 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
11095 | wxBitmap result; | |
11096 | void *argp1 = 0 ; | |
11097 | int res1 = 0 ; | |
11098 | PyObject *swig_obj[1] ; | |
11099 | ||
11100 | if (!args) SWIG_fail; | |
11101 | swig_obj[0] = args; | |
11102 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); | |
11103 | if (!SWIG_IsOK(res1)) { | |
11104 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture const *""'"); | |
11105 | } | |
11106 | arg1 = reinterpret_cast< wxStaticPicture * >(argp1); | |
11107 | { | |
11108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11109 | result = ((wxStaticPicture const *)arg1)->GetBitmap(); | |
11110 | wxPyEndAllowThreads(__tstate); | |
11111 | if (PyErr_Occurred()) SWIG_fail; | |
11112 | } | |
11113 | resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 ); | |
11114 | return resultobj; | |
11115 | fail: | |
11116 | return NULL; | |
11117 | } | |
11118 | ||
11119 | ||
11120 | SWIGINTERN PyObject *_wrap_StaticPicture_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11121 | PyObject *resultobj = 0; | |
11122 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
11123 | wxIcon *arg2 = 0 ; | |
11124 | void *argp1 = 0 ; | |
11125 | int res1 = 0 ; | |
11126 | void *argp2 = 0 ; | |
11127 | int res2 = 0 ; | |
11128 | PyObject * obj0 = 0 ; | |
11129 | PyObject * obj1 = 0 ; | |
11130 | char * kwnames[] = { | |
11131 | (char *) "self",(char *) "icon", NULL | |
11132 | }; | |
11133 | ||
11134 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail; | |
11135 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); | |
11136 | if (!SWIG_IsOK(res1)) { | |
11137 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetIcon" "', expected argument " "1"" of type '" "wxStaticPicture *""'"); | |
11138 | } | |
11139 | arg1 = reinterpret_cast< wxStaticPicture * >(argp1); | |
11140 | res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0); | |
11141 | if (!SWIG_IsOK(res2)) { | |
11142 | SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'"); | |
11143 | } | |
11144 | if (!argp2) { | |
11145 | SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'"); | |
11146 | } | |
11147 | arg2 = reinterpret_cast< wxIcon * >(argp2); | |
11148 | { | |
11149 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11150 | (arg1)->SetIcon((wxIcon const &)*arg2); | |
11151 | wxPyEndAllowThreads(__tstate); | |
11152 | if (PyErr_Occurred()) SWIG_fail; | |
11153 | } | |
11154 | resultobj = SWIG_Py_Void(); | |
11155 | return resultobj; | |
11156 | fail: | |
11157 | return NULL; | |
6260902d RD |
11158 | } |
11159 | ||
11160 | ||
0085ce49 RD |
11161 | SWIGINTERN PyObject *_wrap_StaticPicture_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11162 | PyObject *resultobj = 0; | |
11163 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
11164 | wxIcon result; | |
11165 | void *argp1 = 0 ; | |
11166 | int res1 = 0 ; | |
11167 | PyObject *swig_obj[1] ; | |
11168 | ||
11169 | if (!args) SWIG_fail; | |
11170 | swig_obj[0] = args; | |
11171 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); | |
11172 | if (!SWIG_IsOK(res1)) { | |
11173 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetIcon" "', expected argument " "1"" of type '" "wxStaticPicture const *""'"); | |
11174 | } | |
11175 | arg1 = reinterpret_cast< wxStaticPicture * >(argp1); | |
11176 | { | |
11177 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11178 | result = ((wxStaticPicture const *)arg1)->GetIcon(); | |
11179 | wxPyEndAllowThreads(__tstate); | |
11180 | if (PyErr_Occurred()) SWIG_fail; | |
11181 | } | |
11182 | resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 ); | |
11183 | return resultobj; | |
11184 | fail: | |
11185 | return NULL; | |
11186 | } | |
11187 | ||
11188 | ||
11189 | SWIGINTERN PyObject *_wrap_StaticPicture_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11190 | PyObject *resultobj = 0; | |
11191 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
11192 | int arg2 ; | |
11193 | void *argp1 = 0 ; | |
11194 | int res1 = 0 ; | |
11195 | int val2 ; | |
11196 | int ecode2 = 0 ; | |
11197 | PyObject * obj0 = 0 ; | |
11198 | PyObject * obj1 = 0 ; | |
11199 | char * kwnames[] = { | |
11200 | (char *) "self",(char *) "align", NULL | |
11201 | }; | |
11202 | ||
11203 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail; | |
11204 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); | |
11205 | if (!SWIG_IsOK(res1)) { | |
11206 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture *""'"); | |
11207 | } | |
11208 | arg1 = reinterpret_cast< wxStaticPicture * >(argp1); | |
11209 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11210 | if (!SWIG_IsOK(ecode2)) { | |
11211 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetAlignment" "', expected argument " "2"" of type '" "int""'"); | |
11212 | } | |
11213 | arg2 = static_cast< int >(val2); | |
11214 | { | |
11215 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11216 | (arg1)->SetAlignment(arg2); | |
11217 | wxPyEndAllowThreads(__tstate); | |
11218 | if (PyErr_Occurred()) SWIG_fail; | |
11219 | } | |
11220 | resultobj = SWIG_Py_Void(); | |
11221 | return resultobj; | |
11222 | fail: | |
11223 | return NULL; | |
6260902d RD |
11224 | } |
11225 | ||
11226 | ||
0085ce49 RD |
11227 | SWIGINTERN PyObject *_wrap_StaticPicture_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11228 | PyObject *resultobj = 0; | |
11229 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
11230 | int result; | |
11231 | void *argp1 = 0 ; | |
11232 | int res1 = 0 ; | |
11233 | PyObject *swig_obj[1] ; | |
11234 | ||
11235 | if (!args) SWIG_fail; | |
11236 | swig_obj[0] = args; | |
11237 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); | |
11238 | if (!SWIG_IsOK(res1)) { | |
11239 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture const *""'"); | |
11240 | } | |
11241 | arg1 = reinterpret_cast< wxStaticPicture * >(argp1); | |
11242 | { | |
11243 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11244 | result = (int)((wxStaticPicture const *)arg1)->GetAlignment(); | |
11245 | wxPyEndAllowThreads(__tstate); | |
11246 | if (PyErr_Occurred()) SWIG_fail; | |
11247 | } | |
11248 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11249 | return resultobj; | |
11250 | fail: | |
11251 | return NULL; | |
11252 | } | |
11253 | ||
11254 | ||
11255 | SWIGINTERN PyObject *_wrap_StaticPicture_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11256 | PyObject *resultobj = 0; | |
11257 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
11258 | int arg2 ; | |
11259 | void *argp1 = 0 ; | |
11260 | int res1 = 0 ; | |
11261 | int val2 ; | |
11262 | int ecode2 = 0 ; | |
11263 | PyObject * obj0 = 0 ; | |
11264 | PyObject * obj1 = 0 ; | |
11265 | char * kwnames[] = { | |
11266 | (char *) "self",(char *) "scale", NULL | |
11267 | }; | |
11268 | ||
11269 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) SWIG_fail; | |
11270 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); | |
11271 | if (!SWIG_IsOK(res1)) { | |
11272 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'"); | |
11273 | } | |
11274 | arg1 = reinterpret_cast< wxStaticPicture * >(argp1); | |
11275 | ecode2 = SWIG_AsVal_int(obj1, &val2); | |
11276 | if (!SWIG_IsOK(ecode2)) { | |
11277 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetScale" "', expected argument " "2"" of type '" "int""'"); | |
11278 | } | |
11279 | arg2 = static_cast< int >(val2); | |
11280 | { | |
11281 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11282 | (arg1)->SetScale(arg2); | |
11283 | wxPyEndAllowThreads(__tstate); | |
11284 | if (PyErr_Occurred()) SWIG_fail; | |
11285 | } | |
11286 | resultobj = SWIG_Py_Void(); | |
11287 | return resultobj; | |
11288 | fail: | |
11289 | return NULL; | |
6260902d RD |
11290 | } |
11291 | ||
11292 | ||
0085ce49 RD |
11293 | SWIGINTERN PyObject *_wrap_StaticPicture_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11294 | PyObject *resultobj = 0; | |
11295 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
11296 | int result; | |
11297 | void *argp1 = 0 ; | |
11298 | int res1 = 0 ; | |
11299 | PyObject *swig_obj[1] ; | |
11300 | ||
11301 | if (!args) SWIG_fail; | |
11302 | swig_obj[0] = args; | |
11303 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); | |
11304 | if (!SWIG_IsOK(res1)) { | |
11305 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'"); | |
11306 | } | |
11307 | arg1 = reinterpret_cast< wxStaticPicture * >(argp1); | |
11308 | { | |
11309 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11310 | result = (int)((wxStaticPicture const *)arg1)->GetScale(); | |
11311 | wxPyEndAllowThreads(__tstate); | |
11312 | if (PyErr_Occurred()) SWIG_fail; | |
11313 | } | |
11314 | resultobj = SWIG_From_int(static_cast< int >(result)); | |
11315 | return resultobj; | |
11316 | fail: | |
11317 | return NULL; | |
11318 | } | |
11319 | ||
11320 | ||
11321 | SWIGINTERN PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { | |
11322 | PyObject *resultobj = 0; | |
11323 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
11324 | float arg2 ; | |
11325 | float arg3 ; | |
11326 | void *argp1 = 0 ; | |
11327 | int res1 = 0 ; | |
11328 | float val2 ; | |
11329 | int ecode2 = 0 ; | |
11330 | float val3 ; | |
11331 | int ecode3 = 0 ; | |
11332 | PyObject * obj0 = 0 ; | |
11333 | PyObject * obj1 = 0 ; | |
11334 | PyObject * obj2 = 0 ; | |
11335 | char * kwnames[] = { | |
11336 | (char *) "self",(char *) "sx",(char *) "sy", NULL | |
11337 | }; | |
11338 | ||
11339 | if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; | |
11340 | res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); | |
11341 | if (!SWIG_IsOK(res1)) { | |
11342 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'"); | |
11343 | } | |
11344 | arg1 = reinterpret_cast< wxStaticPicture * >(argp1); | |
11345 | ecode2 = SWIG_AsVal_float(obj1, &val2); | |
11346 | if (!SWIG_IsOK(ecode2)) { | |
11347 | SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "2"" of type '" "float""'"); | |
11348 | } | |
11349 | arg2 = static_cast< float >(val2); | |
11350 | ecode3 = SWIG_AsVal_float(obj2, &val3); | |
11351 | if (!SWIG_IsOK(ecode3)) { | |
11352 | SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "3"" of type '" "float""'"); | |
11353 | } | |
11354 | arg3 = static_cast< float >(val3); | |
11355 | { | |
11356 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11357 | (arg1)->SetCustomScale(arg2,arg3); | |
11358 | wxPyEndAllowThreads(__tstate); | |
11359 | if (PyErr_Occurred()) SWIG_fail; | |
11360 | } | |
11361 | resultobj = SWIG_Py_Void(); | |
11362 | return resultobj; | |
11363 | fail: | |
11364 | return NULL; | |
11365 | } | |
11366 | ||
11367 | ||
11368 | SWIGINTERN PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11369 | PyObject *resultobj = 0; | |
11370 | wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; | |
11371 | float *arg2 = (float *) 0 ; | |
11372 | float *arg3 = (float *) 0 ; | |
11373 | void *argp1 = 0 ; | |
11374 | int res1 = 0 ; | |
11375 | float temp2 ; | |
11376 | int res2 = SWIG_TMPOBJ ; | |
11377 | float temp3 ; | |
11378 | int res3 = SWIG_TMPOBJ ; | |
11379 | PyObject *swig_obj[1] ; | |
11380 | ||
11381 | arg2 = &temp2; | |
11382 | arg3 = &temp3; | |
11383 | if (!args) SWIG_fail; | |
11384 | swig_obj[0] = args; | |
11385 | res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); | |
11386 | if (!SWIG_IsOK(res1)) { | |
11387 | SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'"); | |
11388 | } | |
11389 | arg1 = reinterpret_cast< wxStaticPicture * >(argp1); | |
11390 | { | |
11391 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
11392 | ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3); | |
11393 | wxPyEndAllowThreads(__tstate); | |
11394 | if (PyErr_Occurred()) SWIG_fail; | |
11395 | } | |
11396 | resultobj = SWIG_Py_Void(); | |
11397 | if (SWIG_IsTmpObj(res2)) { | |
11398 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2))); | |
11399 | } else { | |
11400 | int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; | |
11401 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags)); | |
11402 | } | |
11403 | if (SWIG_IsTmpObj(res3)) { | |
11404 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3))); | |
11405 | } else { | |
11406 | int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; | |
11407 | resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags)); | |
11408 | } | |
11409 | return resultobj; | |
11410 | fail: | |
11411 | return NULL; | |
6260902d RD |
11412 | } |
11413 | ||
11414 | ||
0085ce49 RD |
11415 | SWIGINTERN PyObject *StaticPicture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
11416 | PyObject *obj; | |
11417 | if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; | |
11418 | SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticPicture, SWIG_NewClientData(obj)); | |
11419 | return SWIG_Py_Void(); | |
6260902d | 11420 | } |
0085ce49 RD |
11421 | |
11422 | SWIGINTERN PyObject *StaticPicture_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { | |
11423 | return SWIG_Python_InitShadowInstance(args); | |
11424 | } | |
11425 | ||
44127b65 | 11426 | static PyMethodDef SwigMethods[] = { |
3004cfd8 RD |
11427 | { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
11428 | { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 11429 | { (char *)"DynamicSashSplitEvent_swiginit", DynamicSashSplitEvent_swiginit, METH_VARARGS, NULL}, |
3004cfd8 RD |
11430 | { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
11431 | { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 11432 | { (char *)"DynamicSashUnifyEvent_swiginit", DynamicSashUnifyEvent_swiginit, METH_VARARGS, NULL}, |
3004cfd8 | 11433 | { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 11434 | { (char *)"new_PreDynamicSashWindow", (PyCFunction)_wrap_new_PreDynamicSashWindow, METH_NOARGS, NULL}, |
3004cfd8 RD |
11435 | { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, |
11436 | { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11437 | { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11438 | { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 11439 | { (char *)"DynamicSashWindow_swiginit", DynamicSashWindow_swiginit, METH_VARARGS, NULL}, |
3004cfd8 RD |
11440 | { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL}, |
11441 | { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
11442 | { (char *)"EditableListBox_GetStrings", (PyCFunction)_wrap_EditableListBox_GetStrings, METH_O, NULL}, |
11443 | { (char *)"EditableListBox_GetListCtrl", (PyCFunction)_wrap_EditableListBox_GetListCtrl, METH_O, NULL}, | |
11444 | { (char *)"EditableListBox_GetDelButton", (PyCFunction)_wrap_EditableListBox_GetDelButton, METH_O, NULL}, | |
11445 | { (char *)"EditableListBox_GetNewButton", (PyCFunction)_wrap_EditableListBox_GetNewButton, METH_O, NULL}, | |
11446 | { (char *)"EditableListBox_GetUpButton", (PyCFunction)_wrap_EditableListBox_GetUpButton, METH_O, NULL}, | |
11447 | { (char *)"EditableListBox_GetDownButton", (PyCFunction)_wrap_EditableListBox_GetDownButton, METH_O, NULL}, | |
11448 | { (char *)"EditableListBox_GetEditButton", (PyCFunction)_wrap_EditableListBox_GetEditButton, METH_O, NULL}, | |
3004cfd8 | 11449 | { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 11450 | { (char *)"EditableListBox_swiginit", EditableListBox_swiginit, METH_VARARGS, NULL}, |
3004cfd8 | 11451 | { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
11452 | { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_O, NULL}, |
11453 | { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_O, NULL}, | |
11454 | { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_O, NULL}, | |
3004cfd8 RD |
11455 | { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, |
11456 | { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 11457 | { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_O, NULL}, |
3004cfd8 | 11458 | { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 11459 | { (char *)"RemotelyScrolledTreeCtrl_swiginit", RemotelyScrolledTreeCtrl_swiginit, METH_VARARGS, NULL}, |
3004cfd8 RD |
11460 | { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
11461 | { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 11462 | { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction)_wrap_TreeCompanionWindow_GetTreeCtrl, METH_O, NULL}, |
3004cfd8 RD |
11463 | { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, |
11464 | { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 11465 | { (char *)"TreeCompanionWindow_swiginit", TreeCompanionWindow_swiginit, METH_VARARGS, NULL}, |
3004cfd8 RD |
11466 | { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
11467 | { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 11468 | { (char *)"ThinSplitterWindow_swiginit", ThinSplitterWindow_swiginit, METH_VARARGS, NULL}, |
3004cfd8 RD |
11469 | { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
11470 | { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 11471 | { (char *)"SplitterScrolledWindow_swiginit", SplitterScrolledWindow_swiginit, METH_VARARGS, NULL}, |
3004cfd8 | 11472 | { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 11473 | { (char *)"new_PreLEDNumberCtrl", (PyCFunction)_wrap_new_PreLEDNumberCtrl, METH_NOARGS, NULL}, |
3004cfd8 | 11474 | { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
11475 | { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction)_wrap_LEDNumberCtrl_GetAlignment, METH_O, NULL}, |
11476 | { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction)_wrap_LEDNumberCtrl_GetDrawFaded, METH_O, NULL}, | |
11477 | { (char *)"LEDNumberCtrl_GetValue", (PyCFunction)_wrap_LEDNumberCtrl_GetValue, METH_O, NULL}, | |
3004cfd8 RD |
11478 | { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, |
11479 | { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11480 | { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11481 | { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL}, | |
0085ce49 | 11482 | { (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit, METH_VARARGS, NULL}, |
3004cfd8 | 11483 | { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
01f6b6d3 | 11484 | { (char *)"delete_TreeListColumnInfo", (PyCFunction)_wrap_delete_TreeListColumnInfo, METH_O, NULL}, |
0085ce49 RD |
11485 | { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction)_wrap_TreeListColumnInfo_GetAlignment, METH_O, NULL}, |
11486 | { (char *)"TreeListColumnInfo_GetText", (PyCFunction)_wrap_TreeListColumnInfo_GetText, METH_O, NULL}, | |
11487 | { (char *)"TreeListColumnInfo_GetImage", (PyCFunction)_wrap_TreeListColumnInfo_GetImage, METH_O, NULL}, | |
11488 | { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction)_wrap_TreeListColumnInfo_GetSelectedImage, METH_O, NULL}, | |
11489 | { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction)_wrap_TreeListColumnInfo_GetWidth, METH_O, NULL}, | |
33d6fd3b RD |
11490 | { (char *)"TreeListColumnInfo_IsEditable", (PyCFunction)_wrap_TreeListColumnInfo_IsEditable, METH_O, NULL}, |
11491 | { (char *)"TreeListColumnInfo_IsShown", (PyCFunction)_wrap_TreeListColumnInfo_IsShown, METH_O, NULL}, | |
3004cfd8 RD |
11492 | { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, |
11493 | { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11494 | { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11495 | { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11496 | { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
33d6fd3b RD |
11497 | { (char *)"TreeListColumnInfo_SetEditable", (PyCFunction) _wrap_TreeListColumnInfo_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL}, |
11498 | { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL}, | |
3004cfd8 | 11499 | { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 11500 | { (char *)"TreeListColumnInfo_swiginit", TreeListColumnInfo_swiginit, METH_VARARGS, NULL}, |
3004cfd8 | 11501 | { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 11502 | { (char *)"new_PreTreeListCtrl", (PyCFunction)_wrap_new_PreTreeListCtrl, METH_NOARGS, NULL}, |
3004cfd8 RD |
11503 | { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, |
11504 | { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
11505 | { (char *)"TreeListCtrl_GetCount", (PyCFunction)_wrap_TreeListCtrl_GetCount, METH_O, NULL}, |
11506 | { (char *)"TreeListCtrl_GetIndent", (PyCFunction)_wrap_TreeListCtrl_GetIndent, METH_O, NULL}, | |
3004cfd8 | 11507 | { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 11508 | { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction)_wrap_TreeListCtrl_GetLineSpacing, METH_O, NULL}, |
3004cfd8 | 11509 | { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
11510 | { (char *)"TreeListCtrl_GetImageList", (PyCFunction)_wrap_TreeListCtrl_GetImageList, METH_O, NULL}, |
11511 | { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction)_wrap_TreeListCtrl_GetStateImageList, METH_O, NULL}, | |
11512 | { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction)_wrap_TreeListCtrl_GetButtonsImageList, METH_O, NULL}, | |
3004cfd8 RD |
11513 | { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL}, |
11514 | { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11515 | { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11516 | { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11517 | { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11518 | { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11519 | { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11520 | { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11521 | { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11522 | { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11523 | { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 11524 | { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction)_wrap_TreeListCtrl_GetColumnCount, METH_O, NULL}, |
3004cfd8 | 11525 | { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 11526 | { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction)_wrap_TreeListCtrl_GetMainColumn, METH_O, NULL}, |
3004cfd8 RD |
11527 | { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL}, |
11528 | { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL}, | |
33d6fd3b RD |
11529 | { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL}, |
11530 | { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11531 | { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11532 | { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL}, | |
3004cfd8 RD |
11533 | { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, |
11534 | { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11535 | { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11536 | { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
33d6fd3b | 11537 | { (char *)"TreeListCtrl_SetColumnShown", (PyCFunction) _wrap_TreeListCtrl_SetColumnShown, METH_VARARGS | METH_KEYWORDS, NULL}, |
3004cfd8 | 11538 | { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL}, |
33d6fd3b RD |
11539 | { (char *)"TreeListCtrl_SetColumnEditable", (PyCFunction) _wrap_TreeListCtrl_SetColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL}, |
11540 | { (char *)"TreeListCtrl_IsColumnEditable", (PyCFunction) _wrap_TreeListCtrl_IsColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL}, | |
3004cfd8 RD |
11541 | { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL}, |
11542 | { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11543 | { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11544 | { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11545 | { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11546 | { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11547 | { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11548 | { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL}, | |
33d6fd3b RD |
11549 | { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL}, |
11550 | { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11551 | { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11552 | { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
3004cfd8 RD |
11553 | { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL}, |
11554 | { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11555 | { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11556 | { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11557 | { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL}, | |
3004cfd8 | 11558 | { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, |
33d6fd3b | 11559 | { (char *)"TreeListCtrl_HasChildren", (PyCFunction) _wrap_TreeListCtrl_HasChildren, METH_VARARGS | METH_KEYWORDS, NULL}, |
3004cfd8 RD |
11560 | { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, |
11561 | { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11562 | { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11563 | { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
11564 | { (char *)"TreeListCtrl_GetRootItem", (PyCFunction)_wrap_TreeListCtrl_GetRootItem, METH_O, NULL}, |
11565 | { (char *)"TreeListCtrl_GetSelection", (PyCFunction)_wrap_TreeListCtrl_GetSelection, METH_O, NULL}, | |
11566 | { (char *)"TreeListCtrl_GetSelections", (PyCFunction)_wrap_TreeListCtrl_GetSelections, METH_O, NULL}, | |
3004cfd8 RD |
11567 | { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL}, |
11568 | { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11569 | { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11570 | { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL}, | |
33d6fd3b | 11571 | { (char *)"TreeListCtrl_GetPrevChild", (PyCFunction) _wrap_TreeListCtrl_GetPrevChild, METH_VARARGS | METH_KEYWORDS, NULL}, |
3004cfd8 RD |
11572 | { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL}, |
11573 | { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL}, | |
33d6fd3b RD |
11574 | { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL}, |
11575 | { (char *)"TreeListCtrl_GetPrev", (PyCFunction) _wrap_TreeListCtrl_GetPrev, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11576 | { (char *)"TreeListCtrl_GetFirstExpandedItem", (PyCFunction)_wrap_TreeListCtrl_GetFirstExpandedItem, METH_O, NULL}, | |
11577 | { (char *)"TreeListCtrl_GetNextExpanded", (PyCFunction) _wrap_TreeListCtrl_GetNextExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11578 | { (char *)"TreeListCtrl_GetPrevExpanded", (PyCFunction) _wrap_TreeListCtrl_GetPrevExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11579 | { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
3004cfd8 RD |
11580 | { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL}, |
11581 | { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL}, | |
3004cfd8 RD |
11582 | { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL}, |
11583 | { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11584 | { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11585 | { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11586 | { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11587 | { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11588 | { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL}, | |
33d6fd3b | 11589 | { (char *)"TreeListCtrl_DeleteRoot", (PyCFunction)_wrap_TreeListCtrl_DeleteRoot, METH_O, NULL}, |
3004cfd8 RD |
11590 | { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL}, |
11591 | { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11592 | { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11593 | { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11594 | { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 RD |
11595 | { (char *)"TreeListCtrl_Unselect", (PyCFunction)_wrap_TreeListCtrl_Unselect, METH_O, NULL}, |
11596 | { (char *)"TreeListCtrl_UnselectAll", (PyCFunction)_wrap_TreeListCtrl_UnselectAll, METH_O, NULL}, | |
3004cfd8 | 11597 | { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL}, |
33d6fd3b | 11598 | { (char *)"TreeListCtrl_SelectAll", (PyCFunction)_wrap_TreeListCtrl_SelectAll, METH_O, NULL}, |
3004cfd8 RD |
11599 | { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL}, |
11600 | { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11601 | { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11602 | { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL}, | |
11603 | { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL}, | |
3004cfd8 RD |
11604 | { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL}, |
11605 | { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL}, | |
33d6fd3b | 11606 | { (char *)"TreeListCtrl_SetDragItem", (PyCFunction) _wrap_TreeListCtrl_SetDragItem, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 RD |
11607 | { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction)_wrap_TreeListCtrl_GetHeaderWindow, METH_O, NULL}, |
11608 | { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction)_wrap_TreeListCtrl_GetMainWindow, METH_O, NULL}, | |
3004cfd8 | 11609 | { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 11610 | { (char *)"TreeListCtrl_swiginit", TreeListCtrl_swiginit, METH_VARARGS, NULL}, |
6260902d | 11611 | { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 11612 | { (char *)"new_PreStaticPicture", (PyCFunction)_wrap_new_PreStaticPicture, METH_NOARGS, NULL}, |
6260902d RD |
11613 | { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL}, |
11614 | { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, | |
0085ce49 | 11615 | { (char *)"StaticPicture_GetBitmap", (PyCFunction)_wrap_StaticPicture_GetBitmap, METH_O, NULL}, |
6260902d | 11616 | { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 11617 | { (char *)"StaticPicture_GetIcon", (PyCFunction)_wrap_StaticPicture_GetIcon, METH_O, NULL}, |
6260902d | 11618 | { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 11619 | { (char *)"StaticPicture_GetAlignment", (PyCFunction)_wrap_StaticPicture_GetAlignment, METH_O, NULL}, |
6260902d | 11620 | { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 11621 | { (char *)"StaticPicture_GetScale", (PyCFunction)_wrap_StaticPicture_GetScale, METH_O, NULL}, |
6260902d | 11622 | { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL}, |
0085ce49 | 11623 | { (char *)"StaticPicture_GetCustomScale", (PyCFunction)_wrap_StaticPicture_GetCustomScale, METH_O, NULL}, |
6260902d | 11624 | { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL}, |
0085ce49 | 11625 | { (char *)"StaticPicture_swiginit", StaticPicture_swiginit, METH_VARARGS, NULL}, |
c32bde28 | 11626 | { NULL, NULL, 0, NULL } |
44127b65 RD |
11627 | }; |
11628 | ||
11629 | ||
11630 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
11631 | ||
11632 | static void *_p_wxPyValidatorTo_p_wxValidator(void *x) { | |
11633 | return (void *)((wxValidator *) ((wxPyValidator *) x)); | |
11634 | } | |
da9714b5 RD |
11635 | static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) { |
11636 | return (void *)((wxPanel *) ((wxEditableListBox *) x)); | |
44127b65 | 11637 | } |
da9714b5 RD |
11638 | static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) { |
11639 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
44127b65 | 11640 | } |
da9714b5 RD |
11641 | static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { |
11642 | return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
11643 | } | |
11644 | static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { | |
11645 | return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
823f0cfe | 11646 | } |
44127b65 RD |
11647 | static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) { |
11648 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
11649 | } | |
da9714b5 RD |
11650 | static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
11651 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
44127b65 | 11652 | } |
da9714b5 RD |
11653 | static void *_p_wxPyHVScrolledWindowTo_p_wxPanel(void *x) { |
11654 | return (void *)((wxPanel *) ((wxPyHVScrolledWindow *) x)); | |
44127b65 | 11655 | } |
da9714b5 RD |
11656 | static void *_p_wxPyHScrolledWindowTo_p_wxPanel(void *x) { |
11657 | return (void *)((wxPanel *) ((wxPyHScrolledWindow *) x)); | |
f9bf356b | 11658 | } |
da9714b5 RD |
11659 | static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { |
11660 | return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); | |
44127b65 | 11661 | } |
da9714b5 RD |
11662 | static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { |
11663 | return (void *)((wxPanel *) ((wxScrolledWindow *) x)); | |
44127b65 | 11664 | } |
da9714b5 RD |
11665 | static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { |
11666 | return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
44127b65 RD |
11667 | } |
11668 | static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { | |
11669 | return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); | |
11670 | } | |
da9714b5 RD |
11671 | static void *_p_wxPyPanelTo_p_wxPanel(void *x) { |
11672 | return (void *)((wxPanel *) ((wxPyPanel *) x)); | |
11673 | } | |
11674 | static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { | |
11675 | return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
44127b65 | 11676 | } |
7e08d4ef RD |
11677 | static void *_p_wxToolbookTo_p_wxWindow(void *x) { |
11678 | return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x)); | |
11679 | } | |
44127b65 RD |
11680 | static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { |
11681 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
11682 | } | |
11683 | static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { | |
11684 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
11685 | } | |
11686 | static void *_p_wxCheckBoxTo_p_wxWindow(void *x) { | |
11687 | return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x)); | |
11688 | } | |
11689 | static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) { | |
11690 | return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x)); | |
11691 | } | |
11692 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) { | |
11693 | return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
11694 | } | |
11695 | static void *_p_wxPyPanelTo_p_wxWindow(void *x) { | |
11696 | return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); | |
11697 | } | |
bda4b4c6 RD |
11698 | static void *_p_wxSearchCtrlTo_p_wxWindow(void *x) { |
11699 | return (void *)((wxWindow *) (wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x)); | |
11700 | } | |
44127b65 RD |
11701 | static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) { |
11702 | return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x)); | |
11703 | } | |
453fb36b RD |
11704 | static void *_p_wxPickerBaseTo_p_wxWindow(void *x) { |
11705 | return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x)); | |
11706 | } | |
8ac8dba0 RD |
11707 | static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) { |
11708 | return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x)); | |
11709 | } | |
7e08d4ef RD |
11710 | static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) { |
11711 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
11712 | } | |
44127b65 RD |
11713 | static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) { |
11714 | return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x)); | |
11715 | } | |
11716 | static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { | |
11717 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11718 | } | |
11719 | static void *_p_wxStaticLineTo_p_wxWindow(void *x) { | |
11720 | return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x)); | |
11721 | } | |
44127b65 RD |
11722 | static void *_p_wxControlTo_p_wxWindow(void *x) { |
11723 | return (void *)((wxWindow *) ((wxControl *) x)); | |
11724 | } | |
823f0cfe RD |
11725 | static void *_p_wxPyControlTo_p_wxWindow(void *x) { |
11726 | return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x)); | |
11727 | } | |
44127b65 RD |
11728 | static void *_p_wxGaugeTo_p_wxWindow(void *x) { |
11729 | return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x)); | |
11730 | } | |
11731 | static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) { | |
11732 | return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x)); | |
11733 | } | |
11734 | static void *_p_wxToggleButtonTo_p_wxWindow(void *x) { | |
11735 | return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x)); | |
11736 | } | |
11737 | static void *_p_wxRadioButtonTo_p_wxWindow(void *x) { | |
11738 | return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x)); | |
11739 | } | |
11740 | static void *_p_wxChoiceTo_p_wxWindow(void *x) { | |
11741 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x)); | |
11742 | } | |
7e08d4ef RD |
11743 | static void *_p_wxTreebookTo_p_wxWindow(void *x) { |
11744 | return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x)); | |
11745 | } | |
44127b65 RD |
11746 | static void *_p_wxListViewTo_p_wxWindow(void *x) { |
11747 | return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x)); | |
11748 | } | |
11749 | static void *_p_wxTextCtrlTo_p_wxWindow(void *x) { | |
11750 | return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x)); | |
11751 | } | |
11752 | static void *_p_wxNotebookTo_p_wxWindow(void *x) { | |
8ac8dba0 | 11753 | return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x)); |
44127b65 RD |
11754 | } |
11755 | static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { | |
11756 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
11757 | } | |
ae8162c8 | 11758 | static void *_p_wxChoicebookTo_p_wxWindow(void *x) { |
8ac8dba0 | 11759 | return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x)); |
ae8162c8 | 11760 | } |
44127b65 RD |
11761 | static void *_p_wxPyWindowTo_p_wxWindow(void *x) { |
11762 | return (void *)((wxWindow *) ((wxPyWindow *) x)); | |
11763 | } | |
11764 | static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { | |
11765 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
11766 | } | |
11767 | static void *_p_wxListbookTo_p_wxWindow(void *x) { | |
8ac8dba0 | 11768 | return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x)); |
44127b65 | 11769 | } |
da9714b5 RD |
11770 | static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { |
11771 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
11772 | } | |
11773 | static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { | |
11774 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
11775 | } | |
44127b65 RD |
11776 | static void *_p_wxFileDialogTo_p_wxWindow(void *x) { |
11777 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
11778 | } | |
11779 | static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { | |
11780 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
11781 | } | |
11782 | static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { | |
11783 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
11784 | } | |
11785 | static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { | |
11786 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
11787 | } | |
d3b6e4ff RD |
11788 | static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
11789 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
11790 | } | |
27e45892 RD |
11791 | static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) { |
11792 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
11793 | } | |
44127b65 RD |
11794 | static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { |
11795 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
11796 | } | |
44127b65 RD |
11797 | static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) { |
11798 | return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x)); | |
11799 | } | |
11800 | static void *_p_wxSliderTo_p_wxWindow(void *x) { | |
11801 | return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x)); | |
11802 | } | |
11803 | static void *_p_wxStaticBoxTo_p_wxWindow(void *x) { | |
11804 | return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x)); | |
11805 | } | |
8ac8dba0 RD |
11806 | static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) { |
11807 | return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x)); | |
11808 | } | |
44127b65 RD |
11809 | static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) { |
11810 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
11811 | } | |
11812 | static void *_p_wxListBoxTo_p_wxWindow(void *x) { | |
11813 | return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x)); | |
11814 | } | |
11815 | static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { | |
11816 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
11817 | } | |
11818 | static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { | |
11819 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
11820 | } | |
f9bf356b RD |
11821 | static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) { |
11822 | return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
11823 | } | |
44127b65 RD |
11824 | static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) { |
11825 | return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x)); | |
11826 | } | |
44127b65 RD |
11827 | static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) { |
11828 | return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x)); | |
11829 | } | |
11830 | static void *_p_wxSpinButtonTo_p_wxWindow(void *x) { | |
11831 | return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x)); | |
11832 | } | |
11833 | static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) { | |
11834 | return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x)); | |
11835 | } | |
11836 | static void *_p_wxButtonTo_p_wxWindow(void *x) { | |
11837 | return (void *)((wxWindow *) (wxControl *) ((wxButton *) x)); | |
11838 | } | |
11839 | static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) { | |
11840 | return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
11841 | } | |
11842 | static void *_p_wxRadioBoxTo_p_wxWindow(void *x) { | |
11843 | return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x)); | |
11844 | } | |
11845 | static void *_p_wxScrollBarTo_p_wxWindow(void *x) { | |
11846 | return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x)); | |
11847 | } | |
11848 | static void *_p_wxComboBoxTo_p_wxWindow(void *x) { | |
11849 | return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x)); | |
11850 | } | |
11851 | static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { | |
11852 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
11853 | } | |
11854 | static void *_p_wxFrameTo_p_wxWindow(void *x) { | |
11855 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); | |
11856 | } | |
11857 | static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) { | |
11858 | return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x)); | |
11859 | } | |
11860 | static void *_p_wxStatusBarTo_p_wxWindow(void *x) { | |
11861 | return (void *)((wxWindow *) ((wxStatusBar *) x)); | |
11862 | } | |
11863 | static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { | |
11864 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
11865 | } | |
6260902d RD |
11866 | static void *_p_wxStaticPictureTo_p_wxWindow(void *x) { |
11867 | return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x)); | |
11868 | } | |
823f0cfe RD |
11869 | static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
11870 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
11871 | } | |
d3b6e4ff RD |
11872 | static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
11873 | return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); | |
11874 | } | |
44127b65 RD |
11875 | static void *_p_wxSashWindowTo_p_wxWindow(void *x) { |
11876 | return (void *)((wxWindow *) ((wxSashWindow *) x)); | |
11877 | } | |
11878 | static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { | |
11879 | return (void *)((wxWindow *) ((wxSplitterWindow *) x)); | |
11880 | } | |
11881 | static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { | |
11882 | return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); | |
11883 | } | |
11884 | static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { | |
11885 | return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); | |
11886 | } | |
11887 | static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { | |
11888 | return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); | |
11889 | } | |
11890 | static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { | |
11891 | return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
11892 | } | |
11893 | static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { | |
11894 | return (void *)((wxWindow *) ((wxPopupWindow *) x)); | |
11895 | } | |
11896 | static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { | |
11897 | return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
11898 | } | |
11899 | static void *_p_wxTipWindowTo_p_wxWindow(void *x) { | |
11900 | return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
11901 | } | |
11902 | static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { | |
11903 | return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); | |
11904 | } | |
da9714b5 RD |
11905 | static void *_p_wxPyHScrolledWindowTo_p_wxWindow(void *x) { |
11906 | return (void *)((wxWindow *) (wxPanel *) ((wxPyHScrolledWindow *) x)); | |
11907 | } | |
11908 | static void *_p_wxPyHVScrolledWindowTo_p_wxWindow(void *x) { | |
11909 | return (void *)((wxWindow *) (wxPanel *) ((wxPyHVScrolledWindow *) x)); | |
11910 | } | |
44127b65 RD |
11911 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { |
11912 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
11913 | } | |
11914 | static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) { | |
11915 | return (void *)((wxWindow *) ((wxDynamicSashWindow *) x)); | |
11916 | } | |
11917 | static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) { | |
11918 | return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x)); | |
11919 | } | |
11920 | static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) { | |
11921 | return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
11922 | } | |
11923 | static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) { | |
11924 | return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
11925 | } | |
44127b65 RD |
11926 | static void *_p_wxDialogTo_p_wxWindow(void *x) { |
11927 | return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); | |
11928 | } | |
11929 | static void *_p_wxColourDialogTo_p_wxWindow(void *x) { | |
11930 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
11931 | } | |
11932 | static void *_p_wxDirDialogTo_p_wxWindow(void *x) { | |
11933 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
11934 | } | |
11935 | static void *_p_wxFontDialogTo_p_wxWindow(void *x) { | |
11936 | return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
11937 | } | |
11938 | static void *_p_wxPanelTo_p_wxWindow(void *x) { | |
11939 | return (void *)((wxWindow *) ((wxPanel *) x)); | |
11940 | } | |
f9bf356b RD |
11941 | static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x) { |
11942 | return (void *)((wxWindow *) (wxControl *) ((wxCollapsiblePane *) x)); | |
11943 | } | |
44127b65 RD |
11944 | static void *_p_wxStaticTextTo_p_wxWindow(void *x) { |
11945 | return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x)); | |
11946 | } | |
11947 | static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { | |
11948 | return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
11949 | } | |
11950 | static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { | |
11951 | return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); | |
11952 | } | |
53aa7709 RD |
11953 | static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) { |
11954 | return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x)); | |
11955 | } | |
453fb36b RD |
11956 | static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) { |
11957 | return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x)); | |
11958 | } | |
11959 | static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) { | |
11960 | return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x)); | |
11961 | } | |
11962 | static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) { | |
11963 | return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x)); | |
11964 | } | |
11965 | static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) { | |
11966 | return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x)); | |
11967 | } | |
44127b65 RD |
11968 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { |
11969 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
11970 | } | |
092f0ed7 RD |
11971 | static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) { |
11972 | return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x)); | |
11973 | } | |
44127b65 RD |
11974 | static void *_p_wxToolBarTo_p_wxWindow(void *x) { |
11975 | return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x)); | |
11976 | } | |
11977 | static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) { | |
11978 | return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
11979 | } | |
823f0cfe RD |
11980 | static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
11981 | return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
11982 | } | |
44127b65 RD |
11983 | static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) { |
11984 | return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
11985 | } | |
11986 | static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { | |
11987 | return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
11988 | } | |
f9bf356b RD |
11989 | static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x) { |
11990 | return (void *)((wxControl *) ((wxCollapsiblePane *) x)); | |
11991 | } | |
8ac8dba0 RD |
11992 | static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) { |
11993 | return (void *)((wxControl *) ((wxBookCtrlBase *) x)); | |
44127b65 RD |
11994 | } |
11995 | static void *_p_wxToolBarTo_p_wxControl(void *x) { | |
11996 | return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x)); | |
11997 | } | |
453fb36b RD |
11998 | static void *_p_wxPickerBaseTo_p_wxControl(void *x) { |
11999 | return (void *)((wxControl *) ((wxPickerBase *) x)); | |
12000 | } | |
44127b65 RD |
12001 | static void *_p_wxToggleButtonTo_p_wxControl(void *x) { |
12002 | return (void *)((wxControl *) ((wxToggleButton *) x)); | |
12003 | } | |
12004 | static void *_p_wxRadioButtonTo_p_wxControl(void *x) { | |
12005 | return (void *)((wxControl *) ((wxRadioButton *) x)); | |
12006 | } | |
bda4b4c6 RD |
12007 | static void *_p_wxSearchCtrlTo_p_wxControl(void *x) { |
12008 | return (void *)((wxControl *) (wxTextCtrl *) ((wxSearchCtrl *) x)); | |
12009 | } | |
44127b65 RD |
12010 | static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) { |
12011 | return (void *)((wxControl *) ((wxLEDNumberCtrl *) x)); | |
12012 | } | |
7e08d4ef RD |
12013 | static void *_p_wxToolbookTo_p_wxControl(void *x) { |
12014 | return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x)); | |
44127b65 RD |
12015 | } |
12016 | static void *_p_wxToolBarBaseTo_p_wxControl(void *x) { | |
12017 | return (void *)((wxControl *) ((wxToolBarBase *) x)); | |
12018 | } | |
12019 | static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) { | |
12020 | return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
12021 | } | |
12022 | static void *_p_wxPyListCtrlTo_p_wxControl(void *x) { | |
12023 | return (void *)((wxControl *) ((wxPyListCtrl *) x)); | |
12024 | } | |
12025 | static void *_p_wxComboBoxTo_p_wxControl(void *x) { | |
12026 | return (void *)((wxControl *) ((wxComboBox *) x)); | |
12027 | } | |
7e08d4ef RD |
12028 | static void *_p_wxPyControlTo_p_wxControl(void *x) { |
12029 | return (void *)((wxControl *) ((wxPyControl *) x)); | |
12030 | } | |
44127b65 RD |
12031 | static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) { |
12032 | return (void *)((wxControl *) ((wxPyTreeListCtrl *) x)); | |
12033 | } | |
12034 | static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) { | |
12035 | return (void *)((wxControl *) ((wxGenericDirCtrl *) x)); | |
12036 | } | |
12037 | static void *_p_wxScrollBarTo_p_wxControl(void *x) { | |
12038 | return (void *)((wxControl *) ((wxScrollBar *) x)); | |
12039 | } | |
12040 | static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { | |
12041 | return (void *)((wxControl *) ((wxControlWithItems *) x)); | |
12042 | } | |
12043 | static void *_p_wxGaugeTo_p_wxControl(void *x) { | |
12044 | return (void *)((wxControl *) ((wxGauge *) x)); | |
12045 | } | |
12046 | static void *_p_wxStaticLineTo_p_wxControl(void *x) { | |
12047 | return (void *)((wxControl *) ((wxStaticLine *) x)); | |
12048 | } | |
ae8162c8 | 12049 | static void *_p_wxChoicebookTo_p_wxControl(void *x) { |
8ac8dba0 | 12050 | return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x)); |
ae8162c8 | 12051 | } |
44127b65 | 12052 | static void *_p_wxListbookTo_p_wxControl(void *x) { |
8ac8dba0 | 12053 | return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x)); |
44127b65 | 12054 | } |
092f0ed7 RD |
12055 | static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) { |
12056 | return (void *)((wxControl *) ((wxHyperlinkCtrl *) x)); | |
12057 | } | |
44127b65 RD |
12058 | static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) { |
12059 | return (void *)((wxControl *) ((wxPyTreeCtrl *) x)); | |
12060 | } | |
ae8162c8 RD |
12061 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) { |
12062 | return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
12063 | } | |
44127b65 RD |
12064 | static void *_p_wxCheckBoxTo_p_wxControl(void *x) { |
12065 | return (void *)((wxControl *) ((wxCheckBox *) x)); | |
12066 | } | |
12067 | static void *_p_wxRadioBoxTo_p_wxControl(void *x) { | |
12068 | return (void *)((wxControl *) ((wxRadioBox *) x)); | |
12069 | } | |
12070 | static void *_p_wxChoiceTo_p_wxControl(void *x) { | |
12071 | return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x)); | |
12072 | } | |
12073 | static void *_p_wxListBoxTo_p_wxControl(void *x) { | |
12074 | return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x)); | |
12075 | } | |
12076 | static void *_p_wxCheckListBoxTo_p_wxControl(void *x) { | |
12077 | return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
12078 | } | |
12079 | static void *_p_wxListViewTo_p_wxControl(void *x) { | |
12080 | return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x)); | |
12081 | } | |
12082 | static void *_p_wxNotebookTo_p_wxControl(void *x) { | |
8ac8dba0 | 12083 | return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x)); |
44127b65 RD |
12084 | } |
12085 | static void *_p_wxStaticBitmapTo_p_wxControl(void *x) { | |
12086 | return (void *)((wxControl *) ((wxStaticBitmap *) x)); | |
12087 | } | |
12088 | static void *_p_wxSpinCtrlTo_p_wxControl(void *x) { | |
12089 | return (void *)((wxControl *) ((wxSpinCtrl *) x)); | |
12090 | } | |
12091 | static void *_p_wxStaticTextTo_p_wxControl(void *x) { | |
12092 | return (void *)((wxControl *) ((wxStaticText *) x)); | |
12093 | } | |
12094 | static void *_p_wxStaticBoxTo_p_wxControl(void *x) { | |
12095 | return (void *)((wxControl *) ((wxStaticBox *) x)); | |
12096 | } | |
12097 | static void *_p_wxSliderTo_p_wxControl(void *x) { | |
12098 | return (void *)((wxControl *) ((wxSlider *) x)); | |
12099 | } | |
7e08d4ef RD |
12100 | static void *_p_wxTreebookTo_p_wxControl(void *x) { |
12101 | return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x)); | |
44127b65 RD |
12102 | } |
12103 | static void *_p_wxSpinButtonTo_p_wxControl(void *x) { | |
12104 | return (void *)((wxControl *) ((wxSpinButton *) x)); | |
12105 | } | |
12106 | static void *_p_wxButtonTo_p_wxControl(void *x) { | |
12107 | return (void *)((wxControl *) ((wxButton *) x)); | |
12108 | } | |
12109 | static void *_p_wxBitmapButtonTo_p_wxControl(void *x) { | |
12110 | return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x)); | |
12111 | } | |
7e08d4ef RD |
12112 | static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) { |
12113 | return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
12114 | } | |
53aa7709 RD |
12115 | static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) { |
12116 | return (void *)((wxControl *) ((wxDatePickerCtrl *) x)); | |
12117 | } | |
453fb36b RD |
12118 | static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) { |
12119 | return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x)); | |
12120 | } | |
12121 | static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) { | |
12122 | return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x)); | |
12123 | } | |
12124 | static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) { | |
12125 | return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x)); | |
12126 | } | |
12127 | static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) { | |
12128 | return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x)); | |
12129 | } | |
6260902d RD |
12130 | static void *_p_wxStaticPictureTo_p_wxControl(void *x) { |
12131 | return (void *)((wxControl *) ((wxStaticPicture *) x)); | |
12132 | } | |
44127b65 RD |
12133 | static void *_p_wxTextCtrlTo_p_wxControl(void *x) { |
12134 | return (void *)((wxControl *) ((wxTextCtrl *) x)); | |
12135 | } | |
12136 | static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { | |
12137 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
12138 | } | |
12139 | static void *_p_wxMenuEventTo_p_wxEvent(void *x) { | |
12140 | return (void *)((wxEvent *) ((wxMenuEvent *) x)); | |
12141 | } | |
12142 | static void *_p_wxCloseEventTo_p_wxEvent(void *x) { | |
12143 | return (void *)((wxEvent *) ((wxCloseEvent *) x)); | |
12144 | } | |
12145 | static void *_p_wxMouseEventTo_p_wxEvent(void *x) { | |
12146 | return (void *)((wxEvent *) ((wxMouseEvent *) x)); | |
12147 | } | |
12148 | static void *_p_wxEraseEventTo_p_wxEvent(void *x) { | |
12149 | return (void *)((wxEvent *) ((wxEraseEvent *) x)); | |
12150 | } | |
8ac8dba0 RD |
12151 | static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) { |
12152 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x)); | |
12153 | } | |
44127b65 RD |
12154 | static void *_p_wxTreeEventTo_p_wxEvent(void *x) { |
12155 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x)); | |
12156 | } | |
12157 | static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { | |
12158 | return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); | |
12159 | } | |
12160 | static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { | |
12161 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
12162 | } | |
453fb36b RD |
12163 | static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) { |
12164 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x)); | |
12165 | } | |
12166 | static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) { | |
12167 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x)); | |
12168 | } | |
12169 | static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) { | |
12170 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x)); | |
12171 | } | |
44127b65 RD |
12172 | static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { |
12173 | return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); | |
12174 | } | |
12175 | static void *_p_wxScrollEventTo_p_wxEvent(void *x) { | |
12176 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); | |
12177 | } | |
12178 | static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { | |
12179 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
12180 | } | |
12181 | static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) { | |
12182 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x)); | |
12183 | } | |
44127b65 RD |
12184 | static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { |
12185 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); | |
12186 | } | |
34e0a3bb RD |
12187 | static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { |
12188 | return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
12189 | } | |
2131d850 RD |
12190 | static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
12191 | return (void *)((wxEvent *) ((wxPyEvent *) x)); | |
12192 | } | |
44127b65 RD |
12193 | static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { |
12194 | return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
12195 | } | |
12196 | static void *_p_wxListEventTo_p_wxEvent(void *x) { | |
12197 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x)); | |
12198 | } | |
12199 | static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) { | |
12200 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x)); | |
12201 | } | |
12202 | static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) { | |
12203 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x)); | |
12204 | } | |
12205 | static void *_p_wxNotebookEventTo_p_wxEvent(void *x) { | |
8ac8dba0 | 12206 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x)); |
44127b65 RD |
12207 | } |
12208 | static void *_p_wxListbookEventTo_p_wxEvent(void *x) { | |
8ac8dba0 | 12209 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x)); |
44127b65 | 12210 | } |
ae8162c8 | 12211 | static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) { |
8ac8dba0 | 12212 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x)); |
ae8162c8 | 12213 | } |
7e08d4ef RD |
12214 | static void *_p_wxTreebookEventTo_p_wxEvent(void *x) { |
12215 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x)); | |
12216 | } | |
12217 | static void *_p_wxToolbookEventTo_p_wxEvent(void *x) { | |
12218 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x)); | |
12219 | } | |
44127b65 RD |
12220 | static void *_p_wxHelpEventTo_p_wxEvent(void *x) { |
12221 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x)); | |
12222 | } | |
12223 | static void *_p_wxIdleEventTo_p_wxEvent(void *x) { | |
12224 | return (void *)((wxEvent *) ((wxIdleEvent *) x)); | |
12225 | } | |
12226 | static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { | |
12227 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
12228 | } | |
12229 | static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { | |
12230 | return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
12231 | } | |
12232 | static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { | |
12233 | return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); | |
12234 | } | |
12235 | static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { | |
12236 | return (void *)((wxEvent *) ((wxIconizeEvent *) x)); | |
12237 | } | |
12238 | static void *_p_wxActivateEventTo_p_wxEvent(void *x) { | |
12239 | return (void *)((wxEvent *) ((wxActivateEvent *) x)); | |
12240 | } | |
12241 | static void *_p_wxSizeEventTo_p_wxEvent(void *x) { | |
12242 | return (void *)((wxEvent *) ((wxSizeEvent *) x)); | |
12243 | } | |
12244 | static void *_p_wxMoveEventTo_p_wxEvent(void *x) { | |
12245 | return (void *)((wxEvent *) ((wxMoveEvent *) x)); | |
12246 | } | |
53aa7709 RD |
12247 | static void *_p_wxDateEventTo_p_wxEvent(void *x) { |
12248 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); | |
12249 | } | |
f9bf356b RD |
12250 | static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x) { |
12251 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxCollapsiblePaneEvent *) x)); | |
12252 | } | |
44127b65 RD |
12253 | static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
12254 | return (void *)((wxEvent *) ((wxPaintEvent *) x)); | |
12255 | } | |
12256 | static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { | |
12257 | return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); | |
12258 | } | |
34e0a3bb RD |
12259 | static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
12260 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
12261 | } | |
44127b65 RD |
12262 | static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
12263 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
12264 | } | |
12265 | static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { | |
12266 | return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); | |
12267 | } | |
12268 | static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { | |
12269 | return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); | |
12270 | } | |
12271 | static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { | |
12272 | return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
12273 | } | |
12274 | static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { | |
12275 | return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); | |
12276 | } | |
092f0ed7 RD |
12277 | static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) { |
12278 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x)); | |
12279 | } | |
44127b65 RD |
12280 | static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { |
12281 | return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); | |
12282 | } | |
12283 | static void *_p_wxFocusEventTo_p_wxEvent(void *x) { | |
12284 | return (void *)((wxEvent *) ((wxFocusEvent *) x)); | |
12285 | } | |
12286 | static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { | |
12287 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
12288 | } | |
12289 | static void *_p_wxSashEventTo_p_wxEvent(void *x) { | |
12290 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); | |
12291 | } | |
12292 | static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { | |
12293 | return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
12294 | } | |
12295 | static void *_p_wxShowEventTo_p_wxEvent(void *x) { | |
12296 | return (void *)((wxEvent *) ((wxShowEvent *) x)); | |
12297 | } | |
12298 | static void *_p_wxCommandEventTo_p_wxEvent(void *x) { | |
12299 | return (void *)((wxEvent *) ((wxCommandEvent *) x)); | |
12300 | } | |
12301 | static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { | |
12302 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
12303 | } | |
12304 | static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { | |
12305 | return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
12306 | } | |
12307 | static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { | |
12308 | return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); | |
12309 | } | |
12310 | static void *_p_wxKeyEventTo_p_wxEvent(void *x) { | |
12311 | return (void *)((wxEvent *) ((wxKeyEvent *) x)); | |
12312 | } | |
12313 | static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { | |
12314 | return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); | |
12315 | } | |
12316 | static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { | |
12317 | return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); | |
12318 | } | |
d1e20054 RD |
12319 | static void *_p_wxSpinEventTo_p_wxEvent(void *x) { |
12320 | return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x)); | |
12321 | } | |
44127b65 RD |
12322 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { |
12323 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
12324 | } | |
da9714b5 RD |
12325 | static void *_p_wxScrollBarTo_p_wxObject(void *x) { |
12326 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x)); | |
12327 | } | |
44127b65 RD |
12328 | static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { |
12329 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
12330 | } | |
12331 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
12332 | return (void *)((wxObject *) ((wxEvent *) x)); | |
12333 | } | |
44127b65 RD |
12334 | static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { |
12335 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
12336 | } | |
12337 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
12338 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
12339 | } | |
12340 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
12341 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
12342 | } | |
12343 | static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { | |
12344 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
12345 | } | |
12346 | static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { | |
12347 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
12348 | } | |
12349 | static void *_p_wxToolBarBaseTo_p_wxObject(void *x) { | |
12350 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x)); | |
12351 | } | |
12352 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
12353 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
12354 | } | |
12355 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
12356 | return (void *)((wxObject *) ((wxImage *) x)); | |
12357 | } | |
12358 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
12359 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
12360 | } | |
12361 | static void *_p_wxStaticBitmapTo_p_wxObject(void *x) { | |
12362 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x)); | |
12363 | } | |
12364 | static void *_p_wxGenericDragImageTo_p_wxObject(void *x) { | |
12365 | return (void *)((wxObject *) ((wxGenericDragImage *) x)); | |
12366 | } | |
12367 | static void *_p_wxComboBoxTo_p_wxObject(void *x) { | |
12368 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x)); | |
12369 | } | |
84f85550 RD |
12370 | static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
12371 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
44127b65 RD |
12372 | } |
12373 | static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { | |
12374 | return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); | |
12375 | } | |
12376 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
12377 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
12378 | } | |
7e08d4ef RD |
12379 | static void *_p_wxTreebookTo_p_wxObject(void *x) { |
12380 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x)); | |
12381 | } | |
44127b65 | 12382 | static void *_p_wxNotebookTo_p_wxObject(void *x) { |
8ac8dba0 | 12383 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x)); |
44127b65 RD |
12384 | } |
12385 | static void *_p_wxListItemTo_p_wxObject(void *x) { | |
12386 | return (void *)((wxObject *) ((wxListItem *) x)); | |
12387 | } | |
ae8162c8 | 12388 | static void *_p_wxChoicebookTo_p_wxObject(void *x) { |
8ac8dba0 RD |
12389 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x)); |
12390 | } | |
12391 | static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) { | |
12392 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x)); | |
ae8162c8 | 12393 | } |
44127b65 RD |
12394 | static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) { |
12395 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x)); | |
12396 | } | |
12397 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) { | |
12398 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
12399 | } | |
12400 | static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { | |
12401 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
12402 | } | |
12403 | static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { | |
12404 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
12405 | } | |
12406 | static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { | |
12407 | return (void *)((wxObject *) ((wxFindReplaceData *) x)); | |
12408 | } | |
12409 | static void *_p_wxStaticLineTo_p_wxObject(void *x) { | |
12410 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x)); | |
12411 | } | |
12412 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
12413 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
12414 | } | |
12415 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
12416 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
12417 | } | |
12418 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
12419 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
12420 | } | |
12421 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
12422 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
12423 | } | |
12424 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
12425 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
12426 | } | |
53aa7709 RD |
12427 | static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) { |
12428 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x)); | |
12429 | } | |
44127b65 RD |
12430 | static void *_p_wxTreeEventTo_p_wxObject(void *x) { |
12431 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x)); | |
12432 | } | |
44127b65 RD |
12433 | static void *_p_wxTextUrlEventTo_p_wxObject(void *x) { |
12434 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x)); | |
12435 | } | |
12436 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
12437 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
12438 | } | |
12439 | static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { | |
12440 | return (void *)((wxObject *) ((wxPrintDialogData *) x)); | |
12441 | } | |
12442 | static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { | |
12443 | return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); | |
12444 | } | |
12445 | static void *_p_wxPrinterTo_p_wxObject(void *x) { | |
12446 | return (void *)((wxObject *) ((wxPrinter *) x)); | |
12447 | } | |
12448 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
12449 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
12450 | } | |
12451 | static void *_p_wxRadioBoxTo_p_wxObject(void *x) { | |
12452 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x)); | |
12453 | } | |
f9bf356b RD |
12454 | static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x) { |
12455 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCollapsiblePane *) x)); | |
12456 | } | |
44127b65 RD |
12457 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { |
12458 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
12459 | } | |
4976f996 RD |
12460 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { |
12461 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
12462 | } | |
44127b65 RD |
12463 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
12464 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
12465 | } | |
bda4b4c6 RD |
12466 | static void *_p_wxSearchCtrlTo_p_wxObject(void *x) { |
12467 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x)); | |
12468 | } | |
44127b65 RD |
12469 | static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) { |
12470 | return (void *)((wxObject *) ((wxTreeListColumnInfo *) x)); | |
12471 | } | |
12472 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
12473 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
12474 | } | |
12475 | static void *_p_wxPyControlTo_p_wxObject(void *x) { | |
12476 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x)); | |
12477 | } | |
12478 | static void *_p_wxContextHelpTo_p_wxObject(void *x) { | |
12479 | return (void *)((wxObject *) ((wxContextHelp *) x)); | |
12480 | } | |
12481 | static void *_p_wxColourDataTo_p_wxObject(void *x) { | |
12482 | return (void *)((wxObject *) ((wxColourData *) x)); | |
12483 | } | |
12484 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
12485 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
12486 | } | |
12487 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
12488 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
12489 | } | |
12490 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
12491 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
12492 | } | |
12493 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
12494 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
12495 | } | |
12496 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
12497 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
12498 | } | |
12499 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
12500 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
12501 | } | |
12502 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
12503 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
12504 | } | |
12505 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
12506 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
12507 | } | |
53aa7709 RD |
12508 | static void *_p_wxDateEventTo_p_wxObject(void *x) { |
12509 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); | |
12510 | } | |
f9bf356b RD |
12511 | static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x) { |
12512 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxCollapsiblePaneEvent *) x)); | |
12513 | } | |
44127b65 RD |
12514 | static void *_p_wxStaticTextTo_p_wxObject(void *x) { |
12515 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x)); | |
12516 | } | |
12517 | static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { | |
12518 | return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); | |
12519 | } | |
34e0a3bb RD |
12520 | static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { |
12521 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); | |
12522 | } | |
44127b65 RD |
12523 | static void *_p_wxListEventTo_p_wxObject(void *x) { |
12524 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x)); | |
12525 | } | |
12526 | static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) { | |
12527 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x)); | |
12528 | } | |
12529 | static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { | |
12530 | return (void *)((wxObject *) ((wxPyPrintout *) x)); | |
12531 | } | |
12532 | static void *_p_wxGaugeTo_p_wxObject(void *x) { | |
12533 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x)); | |
12534 | } | |
12535 | static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { | |
12536 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
12537 | } | |
51b83b37 RD |
12538 | static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
12539 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); | |
12540 | } | |
44127b65 RD |
12541 | static void *_p_wxChoiceTo_p_wxObject(void *x) { |
12542 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x)); | |
12543 | } | |
44127b65 RD |
12544 | static void *_p_wxBitmapButtonTo_p_wxObject(void *x) { |
12545 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x)); | |
12546 | } | |
12547 | static void *_p_wxButtonTo_p_wxObject(void *x) { | |
12548 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x)); | |
12549 | } | |
da9714b5 RD |
12550 | static void *_p_wxSpinButtonTo_p_wxObject(void *x) { |
12551 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x)); | |
12552 | } | |
44127b65 RD |
12553 | static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) { |
12554 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
12555 | } | |
12556 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
12557 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
12558 | } | |
12559 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
12560 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
12561 | } | |
12562 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
12563 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
12564 | } | |
12565 | static void *_p_wxSashEventTo_p_wxObject(void *x) { | |
12566 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); | |
12567 | } | |
12568 | static void *_p_wxCheckListBoxTo_p_wxObject(void *x) { | |
12569 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
12570 | } | |
12571 | static void *_p_wxListBoxTo_p_wxObject(void *x) { | |
12572 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x)); | |
12573 | } | |
f9bf356b RD |
12574 | static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) { |
12575 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
12576 | } | |
44127b65 RD |
12577 | static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { |
12578 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
12579 | } | |
12580 | static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { | |
12581 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
12582 | } | |
12583 | static void *_p_wxPrintDataTo_p_wxObject(void *x) { | |
12584 | return (void *)((wxObject *) ((wxPrintData *) x)); | |
12585 | } | |
12586 | static void *_p_wxFontDataTo_p_wxObject(void *x) { | |
12587 | return (void *)((wxObject *) ((wxFontData *) x)); | |
12588 | } | |
12589 | static void *_p_wxEditableListBoxTo_p_wxObject(void *x) { | |
12590 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x)); | |
12591 | } | |
12592 | static void *_p_wxMiniFrameTo_p_wxObject(void *x) { | |
12593 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
12594 | } | |
12595 | static void *_p_wxListbookTo_p_wxObject(void *x) { | |
8ac8dba0 | 12596 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x)); |
44127b65 RD |
12597 | } |
12598 | static void *_p_wxFrameTo_p_wxObject(void *x) { | |
12599 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
12600 | } | |
12601 | static void *_p_wxPyPanelTo_p_wxObject(void *x) { | |
12602 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
12603 | } | |
12604 | static void *_p_wxStaticBoxTo_p_wxObject(void *x) { | |
12605 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x)); | |
12606 | } | |
12607 | static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { | |
12608 | return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); | |
12609 | } | |
12610 | static void *_p_wxSplashScreenTo_p_wxObject(void *x) { | |
12611 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
12612 | } | |
12613 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
12614 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
12615 | } | |
12616 | static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { | |
12617 | return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); | |
12618 | } | |
12619 | static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { | |
12620 | return (void *)((wxObject *) ((wxPrintPreview *) x)); | |
12621 | } | |
12622 | static void *_p_wxListViewTo_p_wxObject(void *x) { | |
12623 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x)); | |
12624 | } | |
12625 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
12626 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
12627 | } | |
12628 | static void *_p_wxPyListCtrlTo_p_wxObject(void *x) { | |
12629 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x)); | |
12630 | } | |
12631 | static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) { | |
12632 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
12633 | } | |
12634 | static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) { | |
12635 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x)); | |
12636 | } | |
12637 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
12638 | return (void *)((wxObject *) ((wxSizer *) x)); | |
12639 | } | |
12640 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
12641 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
12642 | } | |
12643 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
12644 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
12645 | } | |
12646 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
12647 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
12648 | } | |
12649 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
12650 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
12651 | } | |
12652 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
12653 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
12654 | } | |
2131d850 RD |
12655 | static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
12656 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
12657 | } | |
44127b65 RD |
12658 | static void *_p_wxFSFileTo_p_wxObject(void *x) { |
12659 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
12660 | } | |
453fb36b RD |
12661 | static void *_p_wxPickerBaseTo_p_wxObject(void *x) { |
12662 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x)); | |
12663 | } | |
44127b65 RD |
12664 | static void *_p_wxSplitterEventTo_p_wxObject(void *x) { |
12665 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
12666 | } | |
12667 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
12668 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
12669 | } | |
453fb36b RD |
12670 | static void *_p_wxColourPickerEventTo_p_wxObject(void *x) { |
12671 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x)); | |
12672 | } | |
12673 | static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) { | |
12674 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x)); | |
12675 | } | |
12676 | static void *_p_wxFontPickerEventTo_p_wxObject(void *x) { | |
12677 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x)); | |
12678 | } | |
44127b65 RD |
12679 | static void *_p_wxTextCtrlTo_p_wxObject(void *x) { |
12680 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x)); | |
12681 | } | |
12682 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
12683 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
12684 | } | |
34e0a3bb RD |
12685 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
12686 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
44127b65 RD |
12687 | } |
12688 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
12689 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
12690 | } | |
34e0a3bb RD |
12691 | static void *_p_wxRadioButtonTo_p_wxObject(void *x) { |
12692 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x)); | |
44127b65 | 12693 | } |
2131d850 RD |
12694 | static void *_p_wxToggleButtonTo_p_wxObject(void *x) { |
12695 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x)); | |
12696 | } | |
44127b65 | 12697 | static void *_p_wxPrintDialogTo_p_wxObject(void *x) { |
fc71d09b | 12698 | return (void *)((wxObject *) ((wxPrintDialog *) x)); |
44127b65 RD |
12699 | } |
12700 | static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { | |
8ac8dba0 | 12701 | return (void *)((wxObject *) ((wxPageSetupDialog *) x)); |
44127b65 RD |
12702 | } |
12703 | static void *_p_wxFontDialogTo_p_wxObject(void *x) { | |
12704 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
12705 | } | |
12706 | static void *_p_wxDirDialogTo_p_wxObject(void *x) { | |
12707 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
12708 | } | |
12709 | static void *_p_wxColourDialogTo_p_wxObject(void *x) { | |
12710 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
12711 | } | |
12712 | static void *_p_wxDialogTo_p_wxObject(void *x) { | |
12713 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
12714 | } | |
12715 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
12716 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
12717 | } | |
12718 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
12719 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
12720 | } | |
12721 | static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) { | |
12722 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x)); | |
12723 | } | |
12724 | static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) { | |
12725 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x)); | |
12726 | } | |
6260902d RD |
12727 | static void *_p_wxStaticPictureTo_p_wxObject(void *x) { |
12728 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x)); | |
12729 | } | |
44127b65 RD |
12730 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
12731 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
12732 | } | |
580080c5 RD |
12733 | static void *_p_wxTGAHandlerTo_p_wxObject(void *x) { |
12734 | return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x)); | |
12735 | } | |
44127b65 RD |
12736 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { |
12737 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
12738 | } | |
943e8dfd RD |
12739 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { |
12740 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
12741 | } | |
44127b65 RD |
12742 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { |
12743 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
12744 | } | |
943e8dfd RD |
12745 | static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { |
12746 | return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); | |
12747 | } | |
44127b65 RD |
12748 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { |
12749 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
12750 | } | |
12751 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
12752 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
12753 | } | |
12754 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
12755 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
12756 | } | |
12757 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
12758 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
12759 | } | |
12760 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
12761 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
12762 | } | |
12763 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
12764 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
12765 | } | |
12766 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
12767 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
12768 | } | |
12769 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
12770 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
12771 | } | |
12772 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
12773 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
12774 | } | |
44127b65 RD |
12775 | static void *_p_wxShowEventTo_p_wxObject(void *x) { |
12776 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
12777 | } | |
092f0ed7 RD |
12778 | static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) { |
12779 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x)); | |
12780 | } | |
823f0cfe RD |
12781 | static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
12782 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
12783 | } | |
44127b65 RD |
12784 | static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { |
12785 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); | |
12786 | } | |
da9714b5 RD |
12787 | static void *_p_wxPyHVScrolledWindowTo_p_wxObject(void *x) { |
12788 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x)); | |
12789 | } | |
12790 | static void *_p_wxPyHScrolledWindowTo_p_wxObject(void *x) { | |
12791 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x)); | |
12792 | } | |
44127b65 RD |
12793 | static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { |
12794 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
12795 | } | |
12796 | static void *_p_wxTipWindowTo_p_wxObject(void *x) { | |
12797 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
12798 | } | |
12799 | static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { | |
12800 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
12801 | } | |
12802 | static void *_p_wxPopupWindowTo_p_wxObject(void *x) { | |
12803 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); | |
12804 | } | |
12805 | static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { | |
12806 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
12807 | } | |
12808 | static void *_p_wxSashWindowTo_p_wxObject(void *x) { | |
12809 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); | |
12810 | } | |
12811 | static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { | |
12812 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); | |
12813 | } | |
12814 | static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { | |
12815 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); | |
12816 | } | |
12817 | static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { | |
12818 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); | |
12819 | } | |
44127b65 RD |
12820 | static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
12821 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
12822 | } | |
0df68c9f RD |
12823 | static void *_p_wxWindowTo_p_wxObject(void *x) { |
12824 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
12825 | } | |
44127b65 RD |
12826 | static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) { |
12827 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x)); | |
12828 | } | |
12829 | static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) { | |
12830 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x)); | |
12831 | } | |
12832 | static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) { | |
12833 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
12834 | } | |
12835 | static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) { | |
12836 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
12837 | } | |
12838 | static void *_p_wxSpinCtrlTo_p_wxObject(void *x) { | |
12839 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x)); | |
12840 | } | |
44127b65 | 12841 | static void *_p_wxNotebookEventTo_p_wxObject(void *x) { |
8ac8dba0 | 12842 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x)); |
44127b65 | 12843 | } |
d1e20054 | 12844 | static void *_p_wxListbookEventTo_p_wxObject(void *x) { |
8ac8dba0 | 12845 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x)); |
d1e20054 | 12846 | } |
ae8162c8 | 12847 | static void *_p_wxChoicebookEventTo_p_wxObject(void *x) { |
8ac8dba0 | 12848 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x)); |
ae8162c8 | 12849 | } |
7e08d4ef RD |
12850 | static void *_p_wxTreebookEventTo_p_wxObject(void *x) { |
12851 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x)); | |
12852 | } | |
12853 | static void *_p_wxToolbookEventTo_p_wxObject(void *x) { | |
12854 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x)); | |
12855 | } | |
44127b65 RD |
12856 | static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { |
12857 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
12858 | } | |
12859 | static void *_p_wxProgressDialogTo_p_wxObject(void *x) { | |
12860 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
12861 | } | |
12862 | static void *_p_wxMessageDialogTo_p_wxObject(void *x) { | |
12863 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
12864 | } | |
27e45892 RD |
12865 | static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) { |
12866 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
12867 | } | |
d3b6e4ff RD |
12868 | static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
12869 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
12870 | } | |
44127b65 RD |
12871 | static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { |
12872 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
12873 | } | |
12874 | static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { | |
12875 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
12876 | } | |
12877 | static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { | |
12878 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
12879 | } | |
12880 | static void *_p_wxFileDialogTo_p_wxObject(void *x) { | |
12881 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
12882 | } | |
12883 | static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) { | |
12884 | return (void *)((wxObject *) ((wxToolBarToolBase *) x)); | |
12885 | } | |
44127b65 RD |
12886 | static void *_p_wxPyWindowTo_p_wxObject(void *x) { |
12887 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); | |
12888 | } | |
27e45892 RD |
12889 | static void *_p_wxSliderTo_p_wxObject(void *x) { |
12890 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x)); | |
12891 | } | |
53aa7709 RD |
12892 | static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) { |
12893 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x)); | |
12894 | } | |
453fb36b RD |
12895 | static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) { |
12896 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x)); | |
12897 | } | |
12898 | static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) { | |
12899 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x)); | |
12900 | } | |
12901 | static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) { | |
12902 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x)); | |
12903 | } | |
12904 | static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) { | |
12905 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x)); | |
12906 | } | |
44127b65 RD |
12907 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { |
12908 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
12909 | } | |
12910 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
12911 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
12912 | } | |
12913 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
12914 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
12915 | } | |
12916 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
12917 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
12918 | } | |
4976f996 RD |
12919 | static void *_p_wxEventBlockerTo_p_wxObject(void *x) { |
12920 | return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x)); | |
12921 | } | |
44127b65 RD |
12922 | static void *_p_wxCheckBoxTo_p_wxObject(void *x) { |
12923 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x)); | |
12924 | } | |
092f0ed7 RD |
12925 | static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) { |
12926 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x)); | |
12927 | } | |
44127b65 RD |
12928 | static void *_p_wxHelpEventTo_p_wxObject(void *x) { |
12929 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x)); | |
12930 | } | |
12931 | static void *_p_wxPanelTo_p_wxObject(void *x) { | |
12932 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); | |
12933 | } | |
12934 | static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { | |
12935 | return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); | |
12936 | } | |
12937 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
12938 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
12939 | } | |
f9bf356b RD |
12940 | static void *_p_wxSpinEventTo_p_wxObject(void *x) { |
12941 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x)); | |
12942 | } | |
44127b65 RD |
12943 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { |
12944 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
12945 | } | |
12946 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
12947 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
12948 | } | |
12949 | static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) { | |
12950 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x)); | |
12951 | } | |
12952 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
12953 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
12954 | } | |
12955 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
12956 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
12957 | } | |
7e08d4ef RD |
12958 | static void *_p_wxToolbookTo_p_wxObject(void *x) { |
12959 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x)); | |
12960 | } | |
44127b65 RD |
12961 | static void *_p_wxToolBarTo_p_wxObject(void *x) { |
12962 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x)); | |
12963 | } | |
12964 | static void *_p_wxStatusBarTo_p_wxObject(void *x) { | |
12965 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); | |
12966 | } | |
12967 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
12968 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
12969 | } | |
12970 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
12971 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
12972 | } | |
12973 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
12974 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
12975 | } | |
12976 | static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { | |
12977 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
12978 | } | |
12979 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
12980 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
12981 | } | |
7e08d4ef RD |
12982 | static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) { |
12983 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x)); | |
12984 | } | |
44127b65 RD |
12985 | static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { |
12986 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); | |
12987 | } | |
12988 | static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { | |
12989 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); | |
12990 | } | |
4976f996 RD |
12991 | static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) { |
12992 | return (void *)((wxEvtHandler *) ((wxEventBlocker *) x)); | |
12993 | } | |
44127b65 RD |
12994 | static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) { |
12995 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x)); | |
12996 | } | |
12997 | static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) { | |
12998 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x)); | |
12999 | } | |
13000 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) { | |
13001 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
13002 | } | |
13003 | static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { | |
13004 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); | |
13005 | } | |
bda4b4c6 RD |
13006 | static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x) { |
13007 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x)); | |
13008 | } | |
84f85550 RD |
13009 | static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { |
13010 | return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); | |
44127b65 RD |
13011 | } |
13012 | static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) { | |
13013 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x)); | |
13014 | } | |
453fb36b RD |
13015 | static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) { |
13016 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x)); | |
13017 | } | |
44127b65 RD |
13018 | static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) { |
13019 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x)); | |
13020 | } | |
13021 | static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) { | |
13022 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); | |
13023 | } | |
13024 | static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) { | |
13025 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x)); | |
13026 | } | |
13027 | static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { | |
13028 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); | |
13029 | } | |
13030 | static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) { | |
13031 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x)); | |
13032 | } | |
13033 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
13034 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
13035 | } | |
13036 | static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) { | |
13037 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x)); | |
13038 | } | |
13039 | static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) { | |
13040 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x)); | |
13041 | } | |
44127b65 RD |
13042 | static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) { |
13043 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x)); | |
13044 | } | |
13045 | static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) { | |
13046 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x)); | |
13047 | } | |
7e08d4ef RD |
13048 | static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) { |
13049 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x)); | |
13050 | } | |
44127b65 RD |
13051 | static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) { |
13052 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x)); | |
13053 | } | |
7e08d4ef RD |
13054 | static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) { |
13055 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x)); | |
13056 | } | |
44127b65 RD |
13057 | static void *_p_wxListViewTo_p_wxEvtHandler(void *x) { |
13058 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x)); | |
13059 | } | |
13060 | static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) { | |
13061 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x)); | |
13062 | } | |
44127b65 RD |
13063 | static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { |
13064 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); | |
13065 | } | |
da9714b5 RD |
13066 | static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) { |
13067 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x)); | |
13068 | } | |
ae8162c8 | 13069 | static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) { |
8ac8dba0 | 13070 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x)); |
ae8162c8 | 13071 | } |
44127b65 RD |
13072 | static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { |
13073 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); | |
13074 | } | |
13075 | static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { | |
13076 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); | |
13077 | } | |
44127b65 RD |
13078 | static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { |
13079 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); | |
13080 | } | |
13081 | static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { | |
13082 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x)); | |
13083 | } | |
13084 | static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { | |
13085 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); | |
13086 | } | |
27e45892 RD |
13087 | static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) { |
13088 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); | |
13089 | } | |
f9bf356b RD |
13090 | static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
13091 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); | |
13092 | } | |
4976f996 RD |
13093 | static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
13094 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); | |
13095 | } | |
da9714b5 RD |
13096 | static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { |
13097 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); | |
44127b65 RD |
13098 | } |
13099 | static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { | |
13100 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); | |
13101 | } | |
da9714b5 RD |
13102 | static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { |
13103 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); | |
44127b65 | 13104 | } |
4976f996 RD |
13105 | static void *_p_wxListbookTo_p_wxEvtHandler(void *x) { |
13106 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x)); | |
44127b65 RD |
13107 | } |
13108 | static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) { | |
13109 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x)); | |
13110 | } | |
13111 | static void *_p_wxSliderTo_p_wxEvtHandler(void *x) { | |
13112 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x)); | |
13113 | } | |
13114 | static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) { | |
13115 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x)); | |
13116 | } | |
8ac8dba0 RD |
13117 | static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) { |
13118 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x)); | |
13119 | } | |
44127b65 RD |
13120 | static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) { |
13121 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); | |
13122 | } | |
13123 | static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) { | |
13124 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x)); | |
13125 | } | |
13126 | static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { | |
13127 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); | |
13128 | } | |
13129 | static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { | |
13130 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); | |
13131 | } | |
f9bf356b RD |
13132 | static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) { |
13133 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); | |
13134 | } | |
44127b65 RD |
13135 | static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) { |
13136 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x)); | |
13137 | } | |
44127b65 RD |
13138 | static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) { |
13139 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x)); | |
13140 | } | |
13141 | static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) { | |
13142 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x)); | |
13143 | } | |
13144 | static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) { | |
13145 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x)); | |
13146 | } | |
13147 | static void *_p_wxButtonTo_p_wxEvtHandler(void *x) { | |
13148 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x)); | |
13149 | } | |
13150 | static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) { | |
13151 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); | |
13152 | } | |
13153 | static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) { | |
13154 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x)); | |
13155 | } | |
13156 | static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) { | |
13157 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x)); | |
13158 | } | |
13159 | static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) { | |
13160 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x)); | |
13161 | } | |
13162 | static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { | |
13163 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); | |
13164 | } | |
13165 | static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { | |
13166 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); | |
13167 | } | |
13168 | static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) { | |
13169 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x)); | |
13170 | } | |
13171 | static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { | |
13172 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); | |
13173 | } | |
13174 | static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { | |
13175 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); | |
13176 | } | |
6260902d RD |
13177 | static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) { |
13178 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x)); | |
13179 | } | |
823f0cfe RD |
13180 | static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { |
13181 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); | |
13182 | } | |
44127b65 RD |
13183 | static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { |
13184 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); | |
13185 | } | |
13186 | static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { | |
13187 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); | |
13188 | } | |
13189 | static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { | |
13190 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); | |
13191 | } | |
13192 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
13193 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
13194 | } | |
13195 | static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { | |
13196 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); | |
13197 | } | |
13198 | static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { | |
13199 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); | |
13200 | } | |
13201 | static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { | |
13202 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); | |
13203 | } | |
13204 | static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { | |
13205 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); | |
13206 | } | |
13207 | static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { | |
13208 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); | |
13209 | } | |
13210 | static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { | |
13211 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); | |
13212 | } | |
13213 | static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { | |
13214 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x)); | |
13215 | } | |
13216 | static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
13217 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); | |
13218 | } | |
da9714b5 RD |
13219 | static void *_p_wxPyHScrolledWindowTo_p_wxEvtHandler(void *x) { |
13220 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHScrolledWindow *) x)); | |
13221 | } | |
13222 | static void *_p_wxPyHVScrolledWindowTo_p_wxEvtHandler(void *x) { | |
13223 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyHVScrolledWindow *) x)); | |
13224 | } | |
44127b65 RD |
13225 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { |
13226 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
13227 | } | |
13228 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
13229 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
13230 | } | |
13231 | static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) { | |
13232 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x)); | |
13233 | } | |
13234 | static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) { | |
13235 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x)); | |
13236 | } | |
13237 | static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) { | |
13238 | return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x)); | |
13239 | } | |
13240 | static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) { | |
13241 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); | |
13242 | } | |
d3b6e4ff RD |
13243 | static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { |
13244 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); | |
13245 | } | |
44127b65 RD |
13246 | static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { |
13247 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); | |
13248 | } | |
13249 | static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { | |
13250 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); | |
13251 | } | |
13252 | static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { | |
13253 | return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); | |
13254 | } | |
44127b65 RD |
13255 | static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { |
13256 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); | |
13257 | } | |
f9bf356b RD |
13258 | static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x) { |
13259 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCollapsiblePane *) x)); | |
13260 | } | |
44127b65 RD |
13261 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { |
13262 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
13263 | } | |
13264 | static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) { | |
13265 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x)); | |
13266 | } | |
13267 | static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
13268 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); | |
13269 | } | |
13270 | static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { | |
13271 | return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); | |
13272 | } | |
53aa7709 RD |
13273 | static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) { |
13274 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x)); | |
13275 | } | |
453fb36b RD |
13276 | static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) { |
13277 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x)); | |
13278 | } | |
13279 | static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) { | |
13280 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x)); | |
13281 | } | |
13282 | static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) { | |
13283 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x)); | |
13284 | } | |
13285 | static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) { | |
13286 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x)); | |
13287 | } | |
44127b65 RD |
13288 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { |
13289 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
13290 | } | |
092f0ed7 RD |
13291 | static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) { |
13292 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x)); | |
13293 | } | |
44127b65 RD |
13294 | static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) { |
13295 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x)); | |
13296 | } | |
13297 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
13298 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
13299 | } | |
13300 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
13301 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
13302 | } | |
13303 | static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) { | |
13304 | return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); | |
13305 | } | |
13306 | static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { | |
13307 | return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); | |
13308 | } | |
13309 | static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { | |
13310 | return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
13311 | } | |
092f0ed7 RD |
13312 | static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) { |
13313 | return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x)); | |
13314 | } | |
44127b65 RD |
13315 | static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { |
13316 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); | |
13317 | } | |
2131d850 RD |
13318 | static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { |
13319 | return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); | |
13320 | } | |
453fb36b RD |
13321 | static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) { |
13322 | return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x)); | |
13323 | } | |
13324 | static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) { | |
13325 | return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x)); | |
13326 | } | |
13327 | static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) { | |
13328 | return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x)); | |
13329 | } | |
44127b65 RD |
13330 | static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) { |
13331 | return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x)); | |
13332 | } | |
13333 | static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { | |
13334 | return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); | |
13335 | } | |
13336 | static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { | |
13337 | return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
13338 | } | |
13339 | static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { | |
13340 | return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
13341 | } | |
13342 | static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { | |
13343 | return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
13344 | } | |
13345 | static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) { | |
8ac8dba0 | 13346 | return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x)); |
44127b65 RD |
13347 | } |
13348 | static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) { | |
8ac8dba0 | 13349 | return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x)); |
44127b65 | 13350 | } |
ae8162c8 | 13351 | static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) { |
8ac8dba0 | 13352 | return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x)); |
ae8162c8 | 13353 | } |
7e08d4ef RD |
13354 | static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) { |
13355 | return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x)); | |
13356 | } | |
13357 | static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) { | |
13358 | return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x)); | |
13359 | } | |
53aa7709 RD |
13360 | static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { |
13361 | return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); | |
13362 | } | |
44127b65 RD |
13363 | static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { |
13364 | return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
13365 | } | |
13366 | static void *_p_wxListEventTo_p_wxCommandEvent(void *x) { | |
13367 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x)); | |
13368 | } | |
f9bf356b RD |
13369 | static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x) { |
13370 | return (void *)((wxCommandEvent *) ((wxCollapsiblePaneEvent *) x)); | |
13371 | } | |
44127b65 RD |
13372 | static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) { |
13373 | return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x)); | |
13374 | } | |
8ac8dba0 RD |
13375 | static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) { |
13376 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x)); | |
13377 | } | |
44127b65 RD |
13378 | static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) { |
13379 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x)); | |
13380 | } | |
d1e20054 RD |
13381 | static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) { |
13382 | return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x)); | |
13383 | } | |
44127b65 RD |
13384 | static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) { |
13385 | return (void *)((wxCommandEvent *) ((wxHelpEvent *) x)); | |
13386 | } | |
13387 | static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { | |
13388 | return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); | |
13389 | } | |
13390 | static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) { | |
13391 | return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x)); | |
13392 | } | |
13393 | static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { | |
13394 | return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); | |
13395 | } | |
13396 | static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { | |
13397 | return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
13398 | } | |
0085ce49 RD |
13399 | static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; |
13400 | static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0}; | |
13401 | static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0}; | |
13402 | static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0}; | |
13403 | static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; | |
13404 | static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; | |
13405 | static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; | |
13406 | static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0}; | |
13407 | static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; | |
13408 | static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; | |
13409 | static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; | |
13410 | static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; | |
13411 | static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; | |
092f0ed7 | 13412 | static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", 0, 0, 0, 0, 0}; |
0085ce49 | 13413 | static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; |
453fb36b RD |
13414 | static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", 0, 0, 0, 0, 0}; |
13415 | static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", 0, 0, 0, 0, 0}; | |
13416 | static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", 0, 0, 0, 0, 0}; | |
2131d850 | 13417 | static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; |
0085ce49 RD |
13418 | static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0, 0}; |
13419 | static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; | |
13420 | static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; | |
13421 | static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; | |
13422 | static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; | |
13423 | static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0, 0}; | |
13424 | static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0, 0}; | |
13425 | static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0, 0}; | |
13426 | static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0, 0}; | |
13427 | static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0, 0}; | |
13428 | static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; | |
13429 | static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; | |
13430 | static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0, 0}; | |
f9bf356b | 13431 | static swig_type_info _swigt__p_wxCollapsiblePaneEvent = {"_p_wxCollapsiblePaneEvent", 0, 0, 0, 0, 0}; |
0085ce49 RD |
13432 | static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0}; |
13433 | static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0, 0}; | |
13434 | static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0, 0}; | |
13435 | static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0, 0}; | |
13436 | static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0}; | |
13437 | static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; | |
13438 | static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; | |
13439 | static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0}; | |
f9bf356b | 13440 | static swig_type_info _swigt__p_wxCollapsiblePane = {"_p_wxCollapsiblePane", 0, 0, 0, 0, 0}; |
0085ce49 RD |
13441 | static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0}; |
13442 | static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0, 0}; | |
453fb36b | 13443 | static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", 0, 0, 0, 0, 0}; |
0085ce49 RD |
13444 | static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0, 0}; |
13445 | static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0, 0}; | |
bda4b4c6 | 13446 | static swig_type_info _swigt__p_wxSearchCtrl = {"_p_wxSearchCtrl", 0, 0, 0, 0, 0}; |
0085ce49 RD |
13447 | static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0, 0}; |
13448 | static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0, 0}; | |
13449 | static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0, 0}; | |
3ecece7e | 13450 | static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", 0, 0, 0, 0, 0}; |
bda4b4c6 | 13451 | static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0}; |
0085ce49 RD |
13452 | static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0, 0}; |
13453 | static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0}; | |
13454 | static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; | |
13455 | static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0, 0}; | |
13456 | static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0, 0}; | |
13457 | static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0, 0}; | |
13458 | static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0, 0}; | |
092f0ed7 | 13459 | static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", 0, 0, 0, 0, 0}; |
0085ce49 RD |
13460 | static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0, 0}; |
13461 | static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0, 0}; | |
13462 | static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0, 0}; | |
13463 | static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0, 0}; | |
13464 | static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0, 0}; | |
13465 | static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0, 0}; | |
13466 | static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0, 0}; | |
13467 | static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0, 0}; | |
13468 | static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0, 0}; | |
13469 | static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0, 0}; | |
13470 | static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0, 0}; | |
13471 | static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0, 0}; | |
13472 | static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0, 0}; | |
13473 | static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0, 0}; | |
13474 | static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0, 0}; | |
13475 | static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0, 0}; | |
13476 | static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0, 0}; | |
13477 | static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0}; | |
453fb36b RD |
13478 | static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", 0, 0, 0, 0, 0}; |
13479 | static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", 0, 0, 0, 0, 0}; | |
13480 | static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", 0, 0, 0, 0, 0}; | |
13481 | static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", 0, 0, 0, 0, 0}; | |
0085ce49 RD |
13482 | static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0, 0}; |
13483 | static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; | |
13484 | static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, (void*)0, 0}; | |
13485 | static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, (void*)0, 0}; | |
13486 | static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, (void*)0, 0}; | |
13487 | static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, (void*)0, 0}; | |
13488 | static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; | |
13489 | static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; | |
13490 | static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; | |
13491 | static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; | |
13492 | static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; | |
13493 | static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; | |
13494 | static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; | |
13495 | static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; | |
34e0a3bb | 13496 | static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; |
0085ce49 RD |
13497 | static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; |
13498 | static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; | |
13499 | static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; | |
13500 | static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; | |
13501 | static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; | |
13502 | static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; | |
13503 | static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; | |
13504 | static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; | |
13505 | static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; | |
13506 | static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; | |
13507 | static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; | |
13508 | static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; | |
13509 | static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; | |
13510 | static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; | |
13511 | static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; | |
13512 | static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; | |
13513 | static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; | |
13514 | static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; | |
13515 | static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; | |
13516 | static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; | |
13517 | static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; | |
13518 | static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; | |
13519 | static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; | |
13520 | static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; | |
13521 | static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; | |
4976f996 | 13522 | static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0}; |
0085ce49 RD |
13523 | static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; |
13524 | static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0}; | |
13525 | static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; | |
13526 | static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; | |
13527 | static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; | |
13528 | static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; | |
13529 | static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; | |
0085ce49 | 13530 | static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; |
bda4b4c6 | 13531 | static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; |
453fb36b | 13532 | static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; |
27e45892 | 13533 | static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; |
f9bf356b | 13534 | static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; |
4976f996 | 13535 | static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; |
0085ce49 | 13536 | static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; |
da9714b5 RD |
13537 | static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; |
13538 | static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; | |
0085ce49 RD |
13539 | static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; |
13540 | static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; | |
f9bf356b | 13541 | static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; |
0085ce49 RD |
13542 | static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0}; |
13543 | static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0}; | |
13544 | static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; | |
13545 | static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; | |
0085ce49 | 13546 | static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; |
f9bf356b | 13547 | static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; |
bda4b4c6 | 13548 | static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; |
0085ce49 RD |
13549 | static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; |
13550 | static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; | |
4976f996 | 13551 | static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; |
0085ce49 | 13552 | static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; |
bda4b4c6 | 13553 | static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; |
f9bf356b | 13554 | static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; |
27e45892 | 13555 | static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; |
da9714b5 RD |
13556 | static swig_type_info _swigt__p_wxPyHScrolledWindow = {"_p_wxPyHScrolledWindow", 0, 0, 0, 0, 0}; |
13557 | static swig_type_info _swigt__p_wxPyHVScrolledWindow = {"_p_wxPyHVScrolledWindow", 0, 0, 0, 0, 0}; | |
0085ce49 RD |
13558 | static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0}; |
13559 | static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0}; | |
13560 | static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; | |
13561 | static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; | |
13562 | static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; | |
13563 | static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; | |
13564 | static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; | |
13565 | static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; | |
13566 | static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; | |
13567 | static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; | |
13568 | static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0}; | |
13569 | static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0}; | |
13570 | static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, (void*)0, 0}; | |
13571 | static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; | |
13572 | static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; | |
13573 | static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; | |
13574 | static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; | |
13575 | static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; | |
13576 | static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0, 0}; | |
13577 | static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; | |
13578 | static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0, 0}; | |
13579 | static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; | |
13580 | static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; | |
13581 | static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; | |
13582 | static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; | |
0085ce49 | 13583 | static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; |
4976f996 | 13584 | static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; |
0085ce49 RD |
13585 | static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; |
13586 | static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0, 0}; | |
13587 | static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; | |
13588 | static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; | |
13589 | static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; | |
13590 | static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0}; | |
13591 | static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; | |
13592 | static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0}; | |
13593 | static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; | |
13594 | static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; | |
13595 | static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; | |
0085ce49 | 13596 | static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; |
f9bf356b RD |
13597 | static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; |
13598 | static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0}; | |
0085ce49 RD |
13599 | static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; |
13600 | static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; | |
453fb36b | 13601 | static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0}; |
34e0a3bb | 13602 | static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; |
0085ce49 | 13603 | static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; |
453fb36b | 13604 | static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; |
0085ce49 | 13605 | static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; |
092f0ed7 | 13606 | static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; |
2131d850 | 13607 | static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; |
0085ce49 RD |
13608 | static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; |
13609 | static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; | |
13610 | static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; | |
13611 | static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; | |
13612 | static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; | |
13613 | static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; | |
13614 | static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; | |
13615 | static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; | |
13616 | static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; | |
13617 | static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; | |
580080c5 | 13618 | static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; |
0085ce49 RD |
13619 | static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0, 0}; |
13620 | static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; | |
13621 | static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; | |
0085ce49 RD |
13622 | static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, (void*)0, 0}; |
13623 | static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0}; | |
13624 | static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0}; | |
13625 | static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, (void*)0, 0}; | |
13626 | static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, (void*)0, 0}; | |
13627 | static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0}; | |
13628 | static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0}; | |
13629 | static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, (void*)0, 0}; | |
13630 | static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0}; | |
13631 | static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, (void*)0, 0}; | |
13632 | static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, (void*)0, 0}; | |
13633 | static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0}; | |
13634 | static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, (void*)0, 0}; | |
13635 | static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0}; | |
13636 | static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; | |
32fe5131 RD |
13637 | |
13638 | static swig_type_info *swig_type_initial[] = { | |
13639 | &_swigt__p_char, | |
13640 | &_swigt__p_float, | |
13641 | &_swigt__p_form_ops_t, | |
13642 | &_swigt__p_int, | |
13643 | &_swigt__p_unsigned_char, | |
13644 | &_swigt__p_unsigned_int, | |
13645 | &_swigt__p_unsigned_long, | |
13646 | &_swigt__p_wxANIHandler, | |
13647 | &_swigt__p_wxAcceleratorTable, | |
13648 | &_swigt__p_wxActivateEvent, | |
13649 | &_swigt__p_wxArrayString, | |
13650 | &_swigt__p_wxBMPHandler, | |
13651 | &_swigt__p_wxBitmap, | |
13652 | &_swigt__p_wxBitmapButton, | |
13653 | &_swigt__p_wxBookCtrlBase, | |
13654 | &_swigt__p_wxBookCtrlBaseEvent, | |
13655 | &_swigt__p_wxBoxSizer, | |
13656 | &_swigt__p_wxButton, | |
13657 | &_swigt__p_wxCURHandler, | |
13658 | &_swigt__p_wxCalculateLayoutEvent, | |
13659 | &_swigt__p_wxCheckBox, | |
13660 | &_swigt__p_wxCheckListBox, | |
13661 | &_swigt__p_wxChildFocusEvent, | |
13662 | &_swigt__p_wxChoice, | |
13663 | &_swigt__p_wxChoicebook, | |
13664 | &_swigt__p_wxChoicebookEvent, | |
2131d850 | 13665 | &_swigt__p_wxClipboardTextEvent, |
32fe5131 | 13666 | &_swigt__p_wxCloseEvent, |
f9bf356b RD |
13667 | &_swigt__p_wxCollapsiblePane, |
13668 | &_swigt__p_wxCollapsiblePaneEvent, | |
32fe5131 RD |
13669 | &_swigt__p_wxColour, |
13670 | &_swigt__p_wxColourData, | |
13671 | &_swigt__p_wxColourDialog, | |
453fb36b RD |
13672 | &_swigt__p_wxColourPickerCtrl, |
13673 | &_swigt__p_wxColourPickerEvent, | |
32fe5131 RD |
13674 | &_swigt__p_wxComboBox, |
13675 | &_swigt__p_wxCommandEvent, | |
13676 | &_swigt__p_wxContextHelp, | |
13677 | &_swigt__p_wxContextHelpButton, | |
13678 | &_swigt__p_wxContextMenuEvent, | |
13679 | &_swigt__p_wxControl, | |
13680 | &_swigt__p_wxControlWithItems, | |
13681 | &_swigt__p_wxDateEvent, | |
13682 | &_swigt__p_wxDatePickerCtrl, | |
13683 | &_swigt__p_wxDialog, | |
13684 | &_swigt__p_wxDirDialog, | |
13685 | &_swigt__p_wxDirFilterListCtrl, | |
453fb36b | 13686 | &_swigt__p_wxDirPickerCtrl, |
32fe5131 RD |
13687 | &_swigt__p_wxDisplayChangedEvent, |
13688 | &_swigt__p_wxDropFilesEvent, | |
13689 | &_swigt__p_wxDuplexMode, | |
13690 | &_swigt__p_wxDynamicSashSplitEvent, | |
13691 | &_swigt__p_wxDynamicSashUnifyEvent, | |
13692 | &_swigt__p_wxDynamicSashWindow, | |
13693 | &_swigt__p_wxEditableListBox, | |
13694 | &_swigt__p_wxEraseEvent, | |
13695 | &_swigt__p_wxEvent, | |
4976f996 | 13696 | &_swigt__p_wxEventBlocker, |
32fe5131 RD |
13697 | &_swigt__p_wxEvtHandler, |
13698 | &_swigt__p_wxFSFile, | |
13699 | &_swigt__p_wxFileDialog, | |
453fb36b RD |
13700 | &_swigt__p_wxFileDirPickerEvent, |
13701 | &_swigt__p_wxFilePickerCtrl, | |
32fe5131 RD |
13702 | &_swigt__p_wxFileSystem, |
13703 | &_swigt__p_wxFindDialogEvent, | |
13704 | &_swigt__p_wxFindReplaceData, | |
13705 | &_swigt__p_wxFindReplaceDialog, | |
13706 | &_swigt__p_wxFlexGridSizer, | |
13707 | &_swigt__p_wxFocusEvent, | |
13708 | &_swigt__p_wxFont, | |
13709 | &_swigt__p_wxFontData, | |
13710 | &_swigt__p_wxFontDialog, | |
453fb36b RD |
13711 | &_swigt__p_wxFontPickerCtrl, |
13712 | &_swigt__p_wxFontPickerEvent, | |
32fe5131 RD |
13713 | &_swigt__p_wxFrame, |
13714 | &_swigt__p_wxGBSizerItem, | |
13715 | &_swigt__p_wxGIFHandler, | |
13716 | &_swigt__p_wxGauge, | |
13717 | &_swigt__p_wxGenericDirCtrl, | |
13718 | &_swigt__p_wxGenericDragImage, | |
13719 | &_swigt__p_wxGridBagSizer, | |
13720 | &_swigt__p_wxGridSizer, | |
13721 | &_swigt__p_wxHelpEvent, | |
092f0ed7 RD |
13722 | &_swigt__p_wxHyperlinkCtrl, |
13723 | &_swigt__p_wxHyperlinkEvent, | |
32fe5131 RD |
13724 | &_swigt__p_wxICOHandler, |
13725 | &_swigt__p_wxIcon, | |
13726 | &_swigt__p_wxIconizeEvent, | |
13727 | &_swigt__p_wxIdleEvent, | |
13728 | &_swigt__p_wxImage, | |
13729 | &_swigt__p_wxImageHandler, | |
13730 | &_swigt__p_wxImageList, | |
13731 | &_swigt__p_wxIndividualLayoutConstraint, | |
13732 | &_swigt__p_wxInitDialogEvent, | |
13733 | &_swigt__p_wxJPEGHandler, | |
13734 | &_swigt__p_wxKeyEvent, | |
13735 | &_swigt__p_wxLEDNumberCtrl, | |
13736 | &_swigt__p_wxLayoutAlgorithm, | |
13737 | &_swigt__p_wxLayoutConstraints, | |
13738 | &_swigt__p_wxListBox, | |
13739 | &_swigt__p_wxListEvent, | |
13740 | &_swigt__p_wxListItem, | |
13741 | &_swigt__p_wxListView, | |
13742 | &_swigt__p_wxListbook, | |
13743 | &_swigt__p_wxListbookEvent, | |
13744 | &_swigt__p_wxMDIChildFrame, | |
13745 | &_swigt__p_wxMDIClientWindow, | |
13746 | &_swigt__p_wxMDIParentFrame, | |
13747 | &_swigt__p_wxMaximizeEvent, | |
13748 | &_swigt__p_wxMenu, | |
13749 | &_swigt__p_wxMenuBar, | |
13750 | &_swigt__p_wxMenuEvent, | |
13751 | &_swigt__p_wxMenuItem, | |
13752 | &_swigt__p_wxMessageDialog, | |
13753 | &_swigt__p_wxMiniFrame, | |
13754 | &_swigt__p_wxMouseCaptureChangedEvent, | |
34e0a3bb | 13755 | &_swigt__p_wxMouseCaptureLostEvent, |
32fe5131 RD |
13756 | &_swigt__p_wxMouseEvent, |
13757 | &_swigt__p_wxMoveEvent, | |
13758 | &_swigt__p_wxMultiChoiceDialog, | |
13759 | &_swigt__p_wxNavigationKeyEvent, | |
13760 | &_swigt__p_wxNcPaintEvent, | |
13761 | &_swigt__p_wxNotebook, | |
13762 | &_swigt__p_wxNotebookEvent, | |
13763 | &_swigt__p_wxNotifyEvent, | |
27e45892 | 13764 | &_swigt__p_wxNumberEntryDialog, |
32fe5131 RD |
13765 | &_swigt__p_wxObject, |
13766 | &_swigt__p_wxPCXHandler, | |
13767 | &_swigt__p_wxPNGHandler, | |
13768 | &_swigt__p_wxPNMHandler, | |
13769 | &_swigt__p_wxPageSetupDialog, | |
13770 | &_swigt__p_wxPageSetupDialogData, | |
13771 | &_swigt__p_wxPaintEvent, | |
13772 | &_swigt__p_wxPaletteChangedEvent, | |
13773 | &_swigt__p_wxPanel, | |
13774 | &_swigt__p_wxPaperSize, | |
13775 | &_swigt__p_wxPasswordEntryDialog, | |
453fb36b | 13776 | &_swigt__p_wxPickerBase, |
32fe5131 RD |
13777 | &_swigt__p_wxPopupWindow, |
13778 | &_swigt__p_wxPreviewCanvas, | |
13779 | &_swigt__p_wxPreviewControlBar, | |
13780 | &_swigt__p_wxPreviewFrame, | |
13781 | &_swigt__p_wxPrintData, | |
13782 | &_swigt__p_wxPrintDialog, | |
13783 | &_swigt__p_wxPrintDialogData, | |
13784 | &_swigt__p_wxPrintPreview, | |
13785 | &_swigt__p_wxPrinter, | |
13786 | &_swigt__p_wxProgressDialog, | |
13787 | &_swigt__p_wxPyApp, | |
13788 | &_swigt__p_wxPyCommandEvent, | |
13789 | &_swigt__p_wxPyControl, | |
13790 | &_swigt__p_wxPyEvent, | |
da9714b5 RD |
13791 | &_swigt__p_wxPyHScrolledWindow, |
13792 | &_swigt__p_wxPyHVScrolledWindow, | |
32fe5131 RD |
13793 | &_swigt__p_wxPyHtmlListBox, |
13794 | &_swigt__p_wxPyImageHandler, | |
13795 | &_swigt__p_wxPyListCtrl, | |
13796 | &_swigt__p_wxPyPanel, | |
13797 | &_swigt__p_wxPyPopupTransientWindow, | |
13798 | &_swigt__p_wxPyPreviewControlBar, | |
13799 | &_swigt__p_wxPyPreviewFrame, | |
13800 | &_swigt__p_wxPyPrintPreview, | |
13801 | &_swigt__p_wxPyPrintout, | |
13802 | &_swigt__p_wxPyScrolledWindow, | |
13803 | &_swigt__p_wxPySizer, | |
13804 | &_swigt__p_wxPyTaskBarIcon, | |
13805 | &_swigt__p_wxPyTreeCompanionWindow, | |
13806 | &_swigt__p_wxPyTreeCtrl, | |
13807 | &_swigt__p_wxPyTreeItemData, | |
13808 | &_swigt__p_wxPyTreeListCtrl, | |
13809 | &_swigt__p_wxPyVListBox, | |
13810 | &_swigt__p_wxPyVScrolledWindow, | |
13811 | &_swigt__p_wxPyValidator, | |
13812 | &_swigt__p_wxPyWindow, | |
13813 | &_swigt__p_wxQueryLayoutInfoEvent, | |
13814 | &_swigt__p_wxQueryNewPaletteEvent, | |
13815 | &_swigt__p_wxRadioBox, | |
13816 | &_swigt__p_wxRadioButton, | |
13817 | &_swigt__p_wxRemotelyScrolledTreeCtrl, | |
13818 | &_swigt__p_wxSashEvent, | |
13819 | &_swigt__p_wxSashLayoutWindow, | |
13820 | &_swigt__p_wxSashWindow, | |
13821 | &_swigt__p_wxScrollBar, | |
13822 | &_swigt__p_wxScrollEvent, | |
13823 | &_swigt__p_wxScrollWinEvent, | |
13824 | &_swigt__p_wxScrolledWindow, | |
bda4b4c6 | 13825 | &_swigt__p_wxSearchCtrl, |
32fe5131 RD |
13826 | &_swigt__p_wxSetCursorEvent, |
13827 | &_swigt__p_wxShowEvent, | |
f9bf356b | 13828 | &_swigt__p_wxSimpleHtmlListBox, |
32fe5131 RD |
13829 | &_swigt__p_wxSingleChoiceDialog, |
13830 | &_swigt__p_wxSizeEvent, | |
13831 | &_swigt__p_wxSizer, | |
13832 | &_swigt__p_wxSizerItem, | |
13833 | &_swigt__p_wxSlider, | |
13834 | &_swigt__p_wxSpinButton, | |
13835 | &_swigt__p_wxSpinCtrl, | |
13836 | &_swigt__p_wxSpinEvent, | |
13837 | &_swigt__p_wxSplashScreen, | |
13838 | &_swigt__p_wxSplashScreenWindow, | |
13839 | &_swigt__p_wxSplitterEvent, | |
13840 | &_swigt__p_wxSplitterScrolledWindow, | |
13841 | &_swigt__p_wxSplitterWindow, | |
13842 | &_swigt__p_wxStaticBitmap, | |
13843 | &_swigt__p_wxStaticBox, | |
13844 | &_swigt__p_wxStaticBoxSizer, | |
13845 | &_swigt__p_wxStaticLine, | |
13846 | &_swigt__p_wxStaticPicture, | |
13847 | &_swigt__p_wxStaticText, | |
13848 | &_swigt__p_wxStatusBar, | |
13849 | &_swigt__p_wxStdDialogButtonSizer, | |
13850 | &_swigt__p_wxSysColourChangedEvent, | |
580080c5 | 13851 | &_swigt__p_wxTGAHandler, |
32fe5131 RD |
13852 | &_swigt__p_wxTIFFHandler, |
13853 | &_swigt__p_wxTaskBarIconEvent, | |
13854 | &_swigt__p_wxTextCtrl, | |
13855 | &_swigt__p_wxTextEntryDialog, | |
13856 | &_swigt__p_wxTextUrlEvent, | |
13857 | &_swigt__p_wxThinSplitterWindow, | |
13858 | &_swigt__p_wxTipWindow, | |
13859 | &_swigt__p_wxToggleButton, | |
13860 | &_swigt__p_wxToolBar, | |
13861 | &_swigt__p_wxToolBarBase, | |
13862 | &_swigt__p_wxToolBarToolBase, | |
7e08d4ef RD |
13863 | &_swigt__p_wxToolbook, |
13864 | &_swigt__p_wxToolbookEvent, | |
32fe5131 RD |
13865 | &_swigt__p_wxTopLevelWindow, |
13866 | &_swigt__p_wxTreeEvent, | |
13867 | &_swigt__p_wxTreeItemId, | |
13868 | &_swigt__p_wxTreeListColumnInfo, | |
7e08d4ef RD |
13869 | &_swigt__p_wxTreebook, |
13870 | &_swigt__p_wxTreebookEvent, | |
32fe5131 RD |
13871 | &_swigt__p_wxUpdateUIEvent, |
13872 | &_swigt__p_wxValidator, | |
13873 | &_swigt__p_wxWindow, | |
13874 | &_swigt__p_wxWindowCreateEvent, | |
13875 | &_swigt__p_wxWindowDestroyEvent, | |
13876 | &_swigt__p_wxXPMHandler, | |
32fe5131 RD |
13877 | }; |
13878 | ||
13879 | static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; | |
13880 | static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}}; | |
13881 | static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; | |
13882 | static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; | |
13883 | static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; | |
13884 | static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; | |
13885 | static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; | |
13886 | static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; | |
13887 | static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
13888 | static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; | |
13889 | static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13890 | static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
092f0ed7 | 13891 | static swig_cast_info _swigc__p_wxHyperlinkEvent[] = {{&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 | 13892 | static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; |
453fb36b RD |
13893 | static swig_cast_info _swigc__p_wxColourPickerEvent[] = {{&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}}; |
13894 | static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = {{&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13895 | static swig_cast_info _swigc__p_wxFontPickerEvent[] = {{&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
2131d850 | 13896 | static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
13897 | static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}}; |
13898 | static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13899 | static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13900 | static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13901 | static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13902 | static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13903 | static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13904 | static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
7e08d4ef RD |
13905 | static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}}; |
13906 | static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 RD |
13907 | static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; |
13908 | static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13909 | static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 13910 | static swig_cast_info _swigc__p_wxCollapsiblePaneEvent[] = {{&_swigt__p_wxCollapsiblePaneEvent, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
13911 | static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}}; |
13912 | static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13913 | static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13914 | static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13915 | static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13916 | static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13917 | static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b RD |
13918 | 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_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_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_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_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}}; |
13919 | static swig_cast_info _swigc__p_wxCollapsiblePane[] = {{&_swigt__p_wxCollapsiblePane, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 RD |
13920 | static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}}; |
13921 | static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}}; | |
453fb36b | 13922 | static swig_cast_info _swigc__p_wxPickerBase[] = {{&_swigt__p_wxPickerBase, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
13923 | static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}}; |
13924 | static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}}; | |
bda4b4c6 | 13925 | static swig_cast_info _swigc__p_wxSearchCtrl[] = {{&_swigt__p_wxSearchCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
7e08d4ef | 13926 | static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
13927 | static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}}; |
13928 | static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}}; | |
3ecece7e | 13929 | static swig_cast_info _swigc__p_wxPyListCtrl[] = {{&_swigt__p_wxPyListCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
bda4b4c6 | 13930 | static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
13931 | static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}}; |
13932 | static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
13933 | static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; | |
13934 | static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}}; | |
13935 | static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}}; | |
13936 | static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}}; | |
13937 | static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}}; | |
092f0ed7 | 13938 | static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = {{&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
13939 | static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}}; |
13940 | static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}}; | |
13941 | static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}}; | |
13942 | static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
13943 | static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
13944 | static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}}; | |
13945 | static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}}; | |
13946 | static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}}; | |
13947 | static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
13948 | static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}}; | |
13949 | static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}}; | |
13950 | static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}}; | |
7e08d4ef | 13951 | static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
13952 | static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}}; |
13953 | static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}}; | |
13954 | static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}}; | |
7e08d4ef | 13955 | static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 | 13956 | static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
453fb36b RD |
13957 | static swig_cast_info _swigc__p_wxColourPickerCtrl[] = {{&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
13958 | static swig_cast_info _swigc__p_wxFilePickerCtrl[] = {{&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
13959 | static swig_cast_info _swigc__p_wxDirPickerCtrl[] = {{&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
13960 | static swig_cast_info _swigc__p_wxFontPickerCtrl[] = {{&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 | 13961 | static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
bda4b4c6 | 13962 | static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxControl, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_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_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_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_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_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_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_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}}; |
32fe5131 RD |
13963 | static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; |
13964 | static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13965 | static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13966 | static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
13967 | static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
13968 | static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13969 | static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13970 | static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13971 | static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13972 | static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13973 | static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13974 | static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
34e0a3bb | 13975 | static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
13976 | static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; |
13977 | static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13978 | static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13979 | static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13980 | static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13981 | static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13982 | static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13983 | static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13984 | static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13985 | static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13986 | static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13987 | static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13988 | static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13989 | static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13990 | static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13991 | static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13992 | static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13993 | static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13994 | static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13995 | static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13996 | static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
13997 | static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 13998 | 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_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_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_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_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_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_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_wxHyperlinkEvent, _p_wxHyperlinkEventTo_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}}; |
32fe5131 RD |
13999 | static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; |
14000 | static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
4976f996 | 14001 | static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
14002 | static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; |
14003 | static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; | |
14004 | static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
14005 | static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; | |
14006 | static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
14007 | static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
14008 | static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 | 14009 | static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
bda4b4c6 | 14010 | static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; |
453fb36b | 14011 | static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 14012 | static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
f9bf356b | 14013 | static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
4976f996 | 14014 | static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 | 14015 | static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
da9714b5 RD |
14016 | static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
14017 | static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 RD |
14018 | static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; |
14019 | static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; | |
f9bf356b | 14020 | static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
14021 | static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; |
14022 | static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
14023 | static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; | |
14024 | static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; | |
7e08d4ef | 14025 | static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; |
f9bf356b | 14026 | static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; |
bda4b4c6 | 14027 | static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
14028 | static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; |
14029 | static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
4976f996 | 14030 | static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 | 14031 | static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; |
bda4b4c6 | 14032 | static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; |
f9bf356b | 14033 | static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; |
27e45892 | 14034 | static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; |
da9714b5 RD |
14035 | static swig_cast_info _swigc__p_wxPyHScrolledWindow[] = {{&_swigt__p_wxPyHScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; |
14036 | static swig_cast_info _swigc__p_wxPyHVScrolledWindow[] = {{&_swigt__p_wxPyHVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 RD |
14037 | static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; |
14038 | static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
14039 | static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
14040 | static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
14041 | static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; | |
14042 | static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; | |
14043 | static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
14044 | static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; | |
14045 | static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; | |
da9714b5 | 14046 | 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_wxEventBlocker, _p_wxEventBlockerTo_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_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_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_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_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_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_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_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_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_wxCollapsiblePane, _p_wxCollapsiblePaneTo_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_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_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}}; |
32fe5131 RD |
14047 | static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; |
14048 | static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}}; | |
14049 | static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}}; | |
14050 | static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
14051 | static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; | |
14052 | static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; | |
14053 | static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; | |
14054 | static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; | |
14055 | static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}}; | |
14056 | static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; | |
14057 | static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}}; | |
14058 | static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; | |
14059 | static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
14060 | static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; | |
14061 | static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 | 14062 | static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; |
4976f996 | 14063 | static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
14064 | static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; |
14065 | static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}}; | |
14066 | static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; | |
14067 | static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; | |
14068 | static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
14069 | static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; | |
14070 | static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; | |
14071 | static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; | |
14072 | static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
14073 | static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; | |
14074 | static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 | 14075 | static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; |
f9bf356b RD |
14076 | static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; |
14077 | static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 RD |
14078 | static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; |
14079 | static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; | |
453fb36b | 14080 | static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}}; |
34e0a3bb | 14081 | static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 | 14082 | static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; |
453fb36b | 14083 | static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 | 14084 | static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; |
092f0ed7 | 14085 | static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; |
2131d850 | 14086 | static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; |
7e08d4ef RD |
14087 | static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; |
14088 | static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
14089 | static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
14090 | static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 RD |
14091 | static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; |
14092 | static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
14093 | static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
14094 | static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
14095 | static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
14096 | static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; | |
580080c5 | 14097 | static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 | 14098 | static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}}; |
da9714b5 RD |
14099 | 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_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_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_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_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_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_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_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeListColumnInfo, _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_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_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_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_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_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_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_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_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_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_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_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_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_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_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_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_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_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_wxEventBlocker, _p_wxEventBlockerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_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}}; |
14100 | static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPanel, 0, 0, 0},{0, 0, 0, 0}}; | |
32fe5131 | 14101 | static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; |
32fe5131 RD |
14102 | static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}}; |
14103 | 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}}; | |
14104 | static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}}; | |
14105 | static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
14106 | static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}}; | |
14107 | static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}}; | |
14108 | 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}}; | |
14109 | static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
14110 | 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}}; | |
14111 | static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}}; | |
14112 | static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; | |
14113 | static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}}; | |
14114 | static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}}; | |
14115 | 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}}; | |
da9714b5 | 14116 | 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_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_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_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 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_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_wxPyHScrolledWindow, _p_wxPyHScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHVScrolledWindow, _p_wxPyHVScrolledWindowTo_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_wxCollapsiblePane, _p_wxCollapsiblePaneTo_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_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_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}}; |
32fe5131 RD |
14117 | |
14118 | static swig_cast_info *swig_cast_initial[] = { | |
14119 | _swigc__p_char, | |
14120 | _swigc__p_float, | |
14121 | _swigc__p_form_ops_t, | |
14122 | _swigc__p_int, | |
14123 | _swigc__p_unsigned_char, | |
14124 | _swigc__p_unsigned_int, | |
14125 | _swigc__p_unsigned_long, | |
14126 | _swigc__p_wxANIHandler, | |
14127 | _swigc__p_wxAcceleratorTable, | |
14128 | _swigc__p_wxActivateEvent, | |
14129 | _swigc__p_wxArrayString, | |
14130 | _swigc__p_wxBMPHandler, | |
14131 | _swigc__p_wxBitmap, | |
14132 | _swigc__p_wxBitmapButton, | |
14133 | _swigc__p_wxBookCtrlBase, | |
14134 | _swigc__p_wxBookCtrlBaseEvent, | |
14135 | _swigc__p_wxBoxSizer, | |
14136 | _swigc__p_wxButton, | |
14137 | _swigc__p_wxCURHandler, | |
14138 | _swigc__p_wxCalculateLayoutEvent, | |
14139 | _swigc__p_wxCheckBox, | |
14140 | _swigc__p_wxCheckListBox, | |
14141 | _swigc__p_wxChildFocusEvent, | |
14142 | _swigc__p_wxChoice, | |
14143 | _swigc__p_wxChoicebook, | |
14144 | _swigc__p_wxChoicebookEvent, | |
2131d850 | 14145 | _swigc__p_wxClipboardTextEvent, |
32fe5131 | 14146 | _swigc__p_wxCloseEvent, |
f9bf356b RD |
14147 | _swigc__p_wxCollapsiblePane, |
14148 | _swigc__p_wxCollapsiblePaneEvent, | |
32fe5131 RD |
14149 | _swigc__p_wxColour, |
14150 | _swigc__p_wxColourData, | |
14151 | _swigc__p_wxColourDialog, | |
453fb36b RD |
14152 | _swigc__p_wxColourPickerCtrl, |
14153 | _swigc__p_wxColourPickerEvent, | |
32fe5131 RD |
14154 | _swigc__p_wxComboBox, |
14155 | _swigc__p_wxCommandEvent, | |
14156 | _swigc__p_wxContextHelp, | |
14157 | _swigc__p_wxContextHelpButton, | |
14158 | _swigc__p_wxContextMenuEvent, | |
14159 | _swigc__p_wxControl, | |
14160 | _swigc__p_wxControlWithItems, | |
14161 | _swigc__p_wxDateEvent, | |
14162 | _swigc__p_wxDatePickerCtrl, | |
14163 | _swigc__p_wxDialog, | |
14164 | _swigc__p_wxDirDialog, | |
14165 | _swigc__p_wxDirFilterListCtrl, | |
453fb36b | 14166 | _swigc__p_wxDirPickerCtrl, |
32fe5131 RD |
14167 | _swigc__p_wxDisplayChangedEvent, |
14168 | _swigc__p_wxDropFilesEvent, | |
14169 | _swigc__p_wxDuplexMode, | |
14170 | _swigc__p_wxDynamicSashSplitEvent, | |
14171 | _swigc__p_wxDynamicSashUnifyEvent, | |
14172 | _swigc__p_wxDynamicSashWindow, | |
14173 | _swigc__p_wxEditableListBox, | |
14174 | _swigc__p_wxEraseEvent, | |
14175 | _swigc__p_wxEvent, | |
4976f996 | 14176 | _swigc__p_wxEventBlocker, |
32fe5131 RD |
14177 | _swigc__p_wxEvtHandler, |
14178 | _swigc__p_wxFSFile, | |
14179 | _swigc__p_wxFileDialog, | |
453fb36b RD |
14180 | _swigc__p_wxFileDirPickerEvent, |
14181 | _swigc__p_wxFilePickerCtrl, | |
32fe5131 RD |
14182 | _swigc__p_wxFileSystem, |
14183 | _swigc__p_wxFindDialogEvent, | |
14184 | _swigc__p_wxFindReplaceData, | |
14185 | _swigc__p_wxFindReplaceDialog, | |
14186 | _swigc__p_wxFlexGridSizer, | |
14187 | _swigc__p_wxFocusEvent, | |
14188 | _swigc__p_wxFont, | |
14189 | _swigc__p_wxFontData, | |
14190 | _swigc__p_wxFontDialog, | |
453fb36b RD |
14191 | _swigc__p_wxFontPickerCtrl, |
14192 | _swigc__p_wxFontPickerEvent, | |
32fe5131 RD |
14193 | _swigc__p_wxFrame, |
14194 | _swigc__p_wxGBSizerItem, | |
14195 | _swigc__p_wxGIFHandler, | |
14196 | _swigc__p_wxGauge, | |
14197 | _swigc__p_wxGenericDirCtrl, | |
14198 | _swigc__p_wxGenericDragImage, | |
14199 | _swigc__p_wxGridBagSizer, | |
14200 | _swigc__p_wxGridSizer, | |
14201 | _swigc__p_wxHelpEvent, | |
092f0ed7 RD |
14202 | _swigc__p_wxHyperlinkCtrl, |
14203 | _swigc__p_wxHyperlinkEvent, | |
32fe5131 RD |
14204 | _swigc__p_wxICOHandler, |
14205 | _swigc__p_wxIcon, | |
14206 | _swigc__p_wxIconizeEvent, | |
14207 | _swigc__p_wxIdleEvent, | |
14208 | _swigc__p_wxImage, | |
14209 | _swigc__p_wxImageHandler, | |
14210 | _swigc__p_wxImageList, | |
14211 | _swigc__p_wxIndividualLayoutConstraint, | |
14212 | _swigc__p_wxInitDialogEvent, | |
14213 | _swigc__p_wxJPEGHandler, | |
14214 | _swigc__p_wxKeyEvent, | |
14215 | _swigc__p_wxLEDNumberCtrl, | |
14216 | _swigc__p_wxLayoutAlgorithm, | |
14217 | _swigc__p_wxLayoutConstraints, | |
14218 | _swigc__p_wxListBox, | |
14219 | _swigc__p_wxListEvent, | |
14220 | _swigc__p_wxListItem, | |
14221 | _swigc__p_wxListView, | |
14222 | _swigc__p_wxListbook, | |
14223 | _swigc__p_wxListbookEvent, | |
14224 | _swigc__p_wxMDIChildFrame, | |
14225 | _swigc__p_wxMDIClientWindow, | |
14226 | _swigc__p_wxMDIParentFrame, | |
14227 | _swigc__p_wxMaximizeEvent, | |
14228 | _swigc__p_wxMenu, | |
14229 | _swigc__p_wxMenuBar, | |
14230 | _swigc__p_wxMenuEvent, | |
14231 | _swigc__p_wxMenuItem, | |
14232 | _swigc__p_wxMessageDialog, | |
14233 | _swigc__p_wxMiniFrame, | |
14234 | _swigc__p_wxMouseCaptureChangedEvent, | |
34e0a3bb | 14235 | _swigc__p_wxMouseCaptureLostEvent, |
32fe5131 RD |
14236 | _swigc__p_wxMouseEvent, |
14237 | _swigc__p_wxMoveEvent, | |
14238 | _swigc__p_wxMultiChoiceDialog, | |
14239 | _swigc__p_wxNavigationKeyEvent, | |
14240 | _swigc__p_wxNcPaintEvent, | |
14241 | _swigc__p_wxNotebook, | |
14242 | _swigc__p_wxNotebookEvent, | |
14243 | _swigc__p_wxNotifyEvent, | |
27e45892 | 14244 | _swigc__p_wxNumberEntryDialog, |
32fe5131 RD |
14245 | _swigc__p_wxObject, |
14246 | _swigc__p_wxPCXHandler, | |
14247 | _swigc__p_wxPNGHandler, | |
14248 | _swigc__p_wxPNMHandler, | |
14249 | _swigc__p_wxPageSetupDialog, | |
14250 | _swigc__p_wxPageSetupDialogData, | |
14251 | _swigc__p_wxPaintEvent, | |
14252 | _swigc__p_wxPaletteChangedEvent, | |
14253 | _swigc__p_wxPanel, | |
14254 | _swigc__p_wxPaperSize, | |
14255 | _swigc__p_wxPasswordEntryDialog, | |
453fb36b | 14256 | _swigc__p_wxPickerBase, |
32fe5131 RD |
14257 | _swigc__p_wxPopupWindow, |
14258 | _swigc__p_wxPreviewCanvas, | |
14259 | _swigc__p_wxPreviewControlBar, | |
14260 | _swigc__p_wxPreviewFrame, | |
14261 | _swigc__p_wxPrintData, | |
14262 | _swigc__p_wxPrintDialog, | |
14263 | _swigc__p_wxPrintDialogData, | |
14264 | _swigc__p_wxPrintPreview, | |
14265 | _swigc__p_wxPrinter, | |
14266 | _swigc__p_wxProgressDialog, | |
14267 | _swigc__p_wxPyApp, | |
14268 | _swigc__p_wxPyCommandEvent, | |
14269 | _swigc__p_wxPyControl, | |
14270 | _swigc__p_wxPyEvent, | |
da9714b5 RD |
14271 | _swigc__p_wxPyHScrolledWindow, |
14272 | _swigc__p_wxPyHVScrolledWindow, | |
32fe5131 RD |
14273 | _swigc__p_wxPyHtmlListBox, |
14274 | _swigc__p_wxPyImageHandler, | |
14275 | _swigc__p_wxPyListCtrl, | |
14276 | _swigc__p_wxPyPanel, | |
14277 | _swigc__p_wxPyPopupTransientWindow, | |
14278 | _swigc__p_wxPyPreviewControlBar, | |
14279 | _swigc__p_wxPyPreviewFrame, | |
14280 | _swigc__p_wxPyPrintPreview, | |
14281 | _swigc__p_wxPyPrintout, | |
14282 | _swigc__p_wxPyScrolledWindow, | |
14283 | _swigc__p_wxPySizer, | |
14284 | _swigc__p_wxPyTaskBarIcon, | |
14285 | _swigc__p_wxPyTreeCompanionWindow, | |
14286 | _swigc__p_wxPyTreeCtrl, | |
14287 | _swigc__p_wxPyTreeItemData, | |
14288 | _swigc__p_wxPyTreeListCtrl, | |
14289 | _swigc__p_wxPyVListBox, | |
14290 | _swigc__p_wxPyVScrolledWindow, | |
14291 | _swigc__p_wxPyValidator, | |
14292 | _swigc__p_wxPyWindow, | |
14293 | _swigc__p_wxQueryLayoutInfoEvent, | |
14294 | _swigc__p_wxQueryNewPaletteEvent, | |
14295 | _swigc__p_wxRadioBox, | |
14296 | _swigc__p_wxRadioButton, | |
14297 | _swigc__p_wxRemotelyScrolledTreeCtrl, | |
14298 | _swigc__p_wxSashEvent, | |
14299 | _swigc__p_wxSashLayoutWindow, | |
14300 | _swigc__p_wxSashWindow, | |
14301 | _swigc__p_wxScrollBar, | |
14302 | _swigc__p_wxScrollEvent, | |
14303 | _swigc__p_wxScrollWinEvent, | |
14304 | _swigc__p_wxScrolledWindow, | |
bda4b4c6 | 14305 | _swigc__p_wxSearchCtrl, |
32fe5131 RD |
14306 | _swigc__p_wxSetCursorEvent, |
14307 | _swigc__p_wxShowEvent, | |
f9bf356b | 14308 | _swigc__p_wxSimpleHtmlListBox, |
32fe5131 RD |
14309 | _swigc__p_wxSingleChoiceDialog, |
14310 | _swigc__p_wxSizeEvent, | |
14311 | _swigc__p_wxSizer, | |
14312 | _swigc__p_wxSizerItem, | |
14313 | _swigc__p_wxSlider, | |
14314 | _swigc__p_wxSpinButton, | |
14315 | _swigc__p_wxSpinCtrl, | |
14316 | _swigc__p_wxSpinEvent, | |
14317 | _swigc__p_wxSplashScreen, | |
14318 | _swigc__p_wxSplashScreenWindow, | |
14319 | _swigc__p_wxSplitterEvent, | |
14320 | _swigc__p_wxSplitterScrolledWindow, | |
14321 | _swigc__p_wxSplitterWindow, | |
14322 | _swigc__p_wxStaticBitmap, | |
14323 | _swigc__p_wxStaticBox, | |
14324 | _swigc__p_wxStaticBoxSizer, | |
14325 | _swigc__p_wxStaticLine, | |
14326 | _swigc__p_wxStaticPicture, | |
14327 | _swigc__p_wxStaticText, | |
14328 | _swigc__p_wxStatusBar, | |
14329 | _swigc__p_wxStdDialogButtonSizer, | |
14330 | _swigc__p_wxSysColourChangedEvent, | |
580080c5 | 14331 | _swigc__p_wxTGAHandler, |
32fe5131 RD |
14332 | _swigc__p_wxTIFFHandler, |
14333 | _swigc__p_wxTaskBarIconEvent, | |
14334 | _swigc__p_wxTextCtrl, | |
14335 | _swigc__p_wxTextEntryDialog, | |
14336 | _swigc__p_wxTextUrlEvent, | |
14337 | _swigc__p_wxThinSplitterWindow, | |
14338 | _swigc__p_wxTipWindow, | |
14339 | _swigc__p_wxToggleButton, | |
14340 | _swigc__p_wxToolBar, | |
14341 | _swigc__p_wxToolBarBase, | |
14342 | _swigc__p_wxToolBarToolBase, | |
7e08d4ef RD |
14343 | _swigc__p_wxToolbook, |
14344 | _swigc__p_wxToolbookEvent, | |
32fe5131 RD |
14345 | _swigc__p_wxTopLevelWindow, |
14346 | _swigc__p_wxTreeEvent, | |
14347 | _swigc__p_wxTreeItemId, | |
14348 | _swigc__p_wxTreeListColumnInfo, | |
7e08d4ef RD |
14349 | _swigc__p_wxTreebook, |
14350 | _swigc__p_wxTreebookEvent, | |
32fe5131 RD |
14351 | _swigc__p_wxUpdateUIEvent, |
14352 | _swigc__p_wxValidator, | |
14353 | _swigc__p_wxWindow, | |
14354 | _swigc__p_wxWindowCreateEvent, | |
14355 | _swigc__p_wxWindowDestroyEvent, | |
14356 | _swigc__p_wxXPMHandler, | |
44127b65 RD |
14357 | }; |
14358 | ||
14359 | ||
14360 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
14361 | ||
14362 | static swig_const_info swig_const_table[] = { | |
c32bde28 | 14363 | {0, 0, 0, 0.0, 0, 0}}; |
44127b65 RD |
14364 | |
14365 | #ifdef __cplusplus | |
14366 | } | |
14367 | #endif | |
0085ce49 | 14368 | /* ----------------------------------------------------------------------------- |
32fe5131 RD |
14369 | * Type initialization: |
14370 | * This problem is tough by the requirement that no dynamic | |
14371 | * memory is used. Also, since swig_type_info structures store pointers to | |
14372 | * swig_cast_info structures and swig_cast_info structures store pointers back | |
14373 | * to swig_type_info structures, we need some lookup code at initialization. | |
14374 | * The idea is that swig generates all the structures that are needed. | |
14375 | * The runtime then collects these partially filled structures. | |
14376 | * The SWIG_InitializeModule function takes these initial arrays out of | |
14377 | * swig_module, and does all the lookup, filling in the swig_module.types | |
14378 | * array with the correct data and linking the correct swig_cast_info | |
14379 | * structures together. | |
0085ce49 | 14380 | * |
32fe5131 RD |
14381 | * The generated swig_type_info structures are assigned staticly to an initial |
14382 | * array. We just loop though that array, and handle each type individually. | |
14383 | * First we lookup if this type has been already loaded, and if so, use the | |
14384 | * loaded structure instead of the generated one. Then we have to fill in the | |
14385 | * cast linked list. The cast data is initially stored in something like a | |
14386 | * two-dimensional array. Each row corresponds to a type (there are the same | |
14387 | * number of rows as there are in the swig_type_initial array). Each entry in | |
14388 | * a column is one of the swig_cast_info structures for that type. | |
14389 | * The cast_initial array is actually an array of arrays, because each row has | |
14390 | * a variable number of columns. So to actually build the cast linked list, | |
14391 | * we find the array of casts associated with the type, and loop through it | |
14392 | * adding the casts to the list. The one last trick we need to do is making | |
14393 | * sure the type pointer in the swig_cast_info struct is correct. | |
0085ce49 | 14394 | * |
32fe5131 RD |
14395 | * First off, we lookup the cast->type name to see if it is already loaded. |
14396 | * There are three cases to handle: | |
14397 | * 1) If the cast->type has already been loaded AND the type we are adding | |
14398 | * casting info to has not been loaded (it is in this module), THEN we | |
14399 | * replace the cast->type pointer with the type pointer that has already | |
14400 | * been loaded. | |
14401 | * 2) If BOTH types (the one we are adding casting info to, and the | |
14402 | * cast->type) are loaded, THEN the cast info has already been loaded by | |
14403 | * the previous module so we just ignore it. | |
14404 | * 3) Finally, if cast->type has not already been loaded, then we add that | |
14405 | * swig_cast_info to the linked list (because the cast->type) pointer will | |
14406 | * be correct. | |
0085ce49 | 14407 | * ----------------------------------------------------------------------------- */ |
32fe5131 RD |
14408 | |
14409 | #ifdef __cplusplus | |
14410 | extern "C" { | |
14411 | #if 0 | |
14412 | } /* c-mode */ | |
14413 | #endif | |
14414 | #endif | |
14415 | ||
14416 | #if 0 | |
14417 | #define SWIGRUNTIME_DEBUG | |
14418 | #endif | |
14419 | ||
14420 | SWIGRUNTIME void | |
14421 | SWIG_InitializeModule(void *clientdata) { | |
0085ce49 RD |
14422 | size_t i; |
14423 | swig_module_info *module_head; | |
14424 | static int init_run = 0; | |
14425 | ||
14426 | clientdata = clientdata; | |
14427 | ||
14428 | if (init_run) return; | |
14429 | init_run = 1; | |
14430 | ||
14431 | /* Initialize the swig_module */ | |
14432 | swig_module.type_initial = swig_type_initial; | |
14433 | swig_module.cast_initial = swig_cast_initial; | |
14434 | ||
14435 | /* Try and load any already created modules */ | |
14436 | module_head = SWIG_GetModule(clientdata); | |
14437 | if (module_head) { | |
14438 | swig_module.next = module_head->next; | |
14439 | module_head->next = &swig_module; | |
14440 | } else { | |
14441 | /* This is the first module loaded */ | |
14442 | swig_module.next = &swig_module; | |
14443 | SWIG_SetModule(clientdata, &swig_module); | |
14444 | } | |
14445 | ||
14446 | /* Now work on filling in swig_module.types */ | |
32fe5131 | 14447 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 14448 | printf("SWIG_InitializeModule: size %d\n", swig_module.size); |
32fe5131 | 14449 | #endif |
0085ce49 RD |
14450 | for (i = 0; i < swig_module.size; ++i) { |
14451 | swig_type_info *type = 0; | |
14452 | swig_type_info *ret; | |
14453 | swig_cast_info *cast; | |
14454 | ||
32fe5131 | 14455 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 14456 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); |
32fe5131 | 14457 | #endif |
0085ce49 RD |
14458 | |
14459 | /* if there is another module already loaded */ | |
14460 | if (swig_module.next != &swig_module) { | |
14461 | type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); | |
14462 | } | |
14463 | if (type) { | |
14464 | /* Overwrite clientdata field */ | |
32fe5131 | 14465 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 14466 | printf("SWIG_InitializeModule: found type %s\n", type->name); |
32fe5131 | 14467 | #endif |
0085ce49 RD |
14468 | if (swig_module.type_initial[i]->clientdata) { |
14469 | type->clientdata = swig_module.type_initial[i]->clientdata; | |
32fe5131 | 14470 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 14471 | printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); |
32fe5131 | 14472 | #endif |
0085ce49 RD |
14473 | } |
14474 | } else { | |
14475 | type = swig_module.type_initial[i]; | |
14476 | } | |
14477 | ||
14478 | /* Insert casting types */ | |
14479 | cast = swig_module.cast_initial[i]; | |
14480 | while (cast->type) { | |
14481 | /* Don't need to add information already in the list */ | |
14482 | ret = 0; | |
32fe5131 | 14483 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 14484 | printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); |
32fe5131 | 14485 | #endif |
0085ce49 RD |
14486 | if (swig_module.next != &swig_module) { |
14487 | ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); | |
32fe5131 | 14488 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 14489 | if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); |
32fe5131 | 14490 | #endif |
0085ce49 RD |
14491 | } |
14492 | if (ret) { | |
14493 | if (type == swig_module.type_initial[i]) { | |
32fe5131 | 14494 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 14495 | printf("SWIG_InitializeModule: skip old type %s\n", ret->name); |
32fe5131 | 14496 | #endif |
0085ce49 RD |
14497 | cast->type = ret; |
14498 | ret = 0; | |
14499 | } else { | |
14500 | /* Check for casting already in the list */ | |
14501 | swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); | |
32fe5131 | 14502 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 14503 | if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); |
32fe5131 | 14504 | #endif |
0085ce49 RD |
14505 | if (!ocast) ret = 0; |
14506 | } | |
14507 | } | |
14508 | ||
14509 | if (!ret) { | |
32fe5131 | 14510 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 | 14511 | printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); |
32fe5131 | 14512 | #endif |
0085ce49 RD |
14513 | if (type->cast) { |
14514 | type->cast->prev = cast; | |
14515 | cast->next = type->cast; | |
32fe5131 | 14516 | } |
0085ce49 RD |
14517 | type->cast = cast; |
14518 | } | |
14519 | cast++; | |
32fe5131 | 14520 | } |
0085ce49 RD |
14521 | /* Set entry in modules->types array equal to the type */ |
14522 | swig_module.types[i] = type; | |
14523 | } | |
14524 | swig_module.types[i] = 0; | |
14525 | ||
32fe5131 | 14526 | #ifdef SWIGRUNTIME_DEBUG |
0085ce49 RD |
14527 | printf("**** SWIG_InitializeModule: Cast List ******\n"); |
14528 | for (i = 0; i < swig_module.size; ++i) { | |
14529 | int j = 0; | |
14530 | swig_cast_info *cast = swig_module.cast_initial[i]; | |
14531 | printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); | |
14532 | while (cast->type) { | |
14533 | printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); | |
14534 | cast++; | |
14535 | ++j; | |
14536 | } | |
14537 | printf("---- Total casts: %d\n",j); | |
14538 | } | |
14539 | printf("**** SWIG_InitializeModule: Cast List ******\n"); | |
32fe5131 RD |
14540 | #endif |
14541 | } | |
14542 | ||
14543 | /* This function will propagate the clientdata field of type to | |
14544 | * any new swig_type_info structures that have been added into the list | |
14545 | * of equivalent types. It is like calling | |
14546 | * SWIG_TypeClientData(type, clientdata) a second time. | |
14547 | */ | |
14548 | SWIGRUNTIME void | |
14549 | SWIG_PropagateClientData(void) { | |
0085ce49 RD |
14550 | size_t i; |
14551 | swig_cast_info *equiv; | |
14552 | static int init_run = 0; | |
14553 | ||
14554 | if (init_run) return; | |
14555 | init_run = 1; | |
14556 | ||
14557 | for (i = 0; i < swig_module.size; i++) { | |
14558 | if (swig_module.types[i]->clientdata) { | |
14559 | equiv = swig_module.types[i]->cast; | |
14560 | while (equiv) { | |
14561 | if (!equiv->converter) { | |
14562 | if (equiv->type && !equiv->type->clientdata) | |
14563 | SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); | |
14564 | } | |
14565 | equiv = equiv->next; | |
14566 | } | |
32fe5131 | 14567 | } |
0085ce49 | 14568 | } |
32fe5131 RD |
14569 | } |
14570 | ||
14571 | #ifdef __cplusplus | |
14572 | #if 0 | |
14573 | { | |
0085ce49 | 14574 | /* c-mode */ |
32fe5131 RD |
14575 | #endif |
14576 | } | |
14577 | #endif | |
14578 | ||
44127b65 | 14579 | |
3004cfd8 RD |
14580 | |
14581 | #ifdef __cplusplus | |
14582 | extern "C" { | |
14583 | #endif | |
0085ce49 RD |
14584 | |
14585 | /* Python-specific SWIG API */ | |
3004cfd8 RD |
14586 | #define SWIG_newvarlink() SWIG_Python_newvarlink() |
14587 | #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
14588 | #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) | |
0085ce49 RD |
14589 | |
14590 | /* ----------------------------------------------------------------------------- | |
14591 | * global variable support code. | |
14592 | * ----------------------------------------------------------------------------- */ | |
14593 | ||
14594 | typedef struct swig_globalvar { | |
14595 | char *name; /* Name of global variable */ | |
14596 | PyObject *(*get_attr)(void); /* Return the current value */ | |
14597 | int (*set_attr)(PyObject *); /* Set the value */ | |
14598 | struct swig_globalvar *next; | |
14599 | } swig_globalvar; | |
14600 | ||
14601 | typedef struct swig_varlinkobject { | |
14602 | PyObject_HEAD | |
14603 | swig_globalvar *vars; | |
14604 | } swig_varlinkobject; | |
14605 | ||
14606 | SWIGINTERN PyObject * | |
14607 | swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { | |
14608 | return PyString_FromString("<Swig global variables>"); | |
14609 | } | |
14610 | ||
14611 | SWIGINTERN PyObject * | |
14612 | swig_varlink_str(swig_varlinkobject *v) { | |
14613 | PyObject *str = PyString_FromString("("); | |
14614 | swig_globalvar *var; | |
14615 | for (var = v->vars; var; var=var->next) { | |
14616 | PyString_ConcatAndDel(&str,PyString_FromString(var->name)); | |
14617 | if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); | |
14618 | } | |
14619 | PyString_ConcatAndDel(&str,PyString_FromString(")")); | |
14620 | return str; | |
14621 | } | |
14622 | ||
14623 | SWIGINTERN int | |
14624 | swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { | |
14625 | PyObject *str = swig_varlink_str(v); | |
14626 | fprintf(fp,"Swig global variables "); | |
14627 | fprintf(fp,"%s\n", PyString_AsString(str)); | |
14628 | Py_DECREF(str); | |
14629 | return 0; | |
14630 | } | |
14631 | ||
14632 | SWIGINTERN void | |
14633 | swig_varlink_dealloc(swig_varlinkobject *v) { | |
14634 | swig_globalvar *var = v->vars; | |
14635 | while (var) { | |
14636 | swig_globalvar *n = var->next; | |
14637 | free(var->name); | |
14638 | free(var); | |
14639 | var = n; | |
3004cfd8 | 14640 | } |
0085ce49 RD |
14641 | } |
14642 | ||
14643 | SWIGINTERN PyObject * | |
14644 | swig_varlink_getattr(swig_varlinkobject *v, char *n) { | |
14645 | PyObject *res = NULL; | |
14646 | swig_globalvar *var = v->vars; | |
14647 | while (var) { | |
14648 | if (strcmp(var->name,n) == 0) { | |
14649 | res = (*var->get_attr)(); | |
14650 | break; | |
14651 | } | |
14652 | var = var->next; | |
3004cfd8 | 14653 | } |
0085ce49 RD |
14654 | if (res == NULL && !PyErr_Occurred()) { |
14655 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
3004cfd8 | 14656 | } |
0085ce49 RD |
14657 | return res; |
14658 | } | |
14659 | ||
14660 | SWIGINTERN int | |
14661 | swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { | |
14662 | int res = 1; | |
14663 | swig_globalvar *var = v->vars; | |
14664 | while (var) { | |
14665 | if (strcmp(var->name,n) == 0) { | |
14666 | res = (*var->set_attr)(p); | |
14667 | break; | |
14668 | } | |
14669 | var = var->next; | |
3004cfd8 | 14670 | } |
0085ce49 RD |
14671 | if (res == 1 && !PyErr_Occurred()) { |
14672 | PyErr_SetString(PyExc_NameError,"Unknown C global variable"); | |
14673 | } | |
14674 | return res; | |
14675 | } | |
14676 | ||
14677 | SWIGINTERN PyTypeObject* | |
14678 | swig_varlink_type(void) { | |
14679 | static char varlink__doc__[] = "Swig var link object"; | |
14680 | static PyTypeObject varlink_type; | |
14681 | static int type_init = 0; | |
14682 | if (!type_init) { | |
14683 | const PyTypeObject tmp | |
14684 | = { | |
14685 | PyObject_HEAD_INIT(NULL) | |
14686 | 0, /* Number of items in variable part (ob_size) */ | |
14687 | (char *)"swigvarlink", /* Type name (tp_name) */ | |
14688 | sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ | |
14689 | 0, /* Itemsize (tp_itemsize) */ | |
14690 | (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ | |
14691 | (printfunc) swig_varlink_print, /* Print (tp_print) */ | |
14692 | (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ | |
14693 | (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ | |
14694 | 0, /* tp_compare */ | |
14695 | (reprfunc) swig_varlink_repr, /* tp_repr */ | |
14696 | 0, /* tp_as_number */ | |
14697 | 0, /* tp_as_sequence */ | |
14698 | 0, /* tp_as_mapping */ | |
14699 | 0, /* tp_hash */ | |
14700 | 0, /* tp_call */ | |
14701 | (reprfunc)swig_varlink_str, /* tp_str */ | |
14702 | 0, /* tp_getattro */ | |
14703 | 0, /* tp_setattro */ | |
14704 | 0, /* tp_as_buffer */ | |
14705 | 0, /* tp_flags */ | |
14706 | varlink__doc__, /* tp_doc */ | |
14707 | 0, /* tp_traverse */ | |
14708 | 0, /* tp_clear */ | |
14709 | 0, /* tp_richcompare */ | |
14710 | 0, /* tp_weaklistoffset */ | |
3004cfd8 | 14711 | #if PY_VERSION_HEX >= 0x02020000 |
0085ce49 | 14712 | 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ |
3004cfd8 RD |
14713 | #endif |
14714 | #if PY_VERSION_HEX >= 0x02030000 | |
0085ce49 | 14715 | 0, /* tp_del */ |
3004cfd8 RD |
14716 | #endif |
14717 | #ifdef COUNT_ALLOCS | |
0085ce49 | 14718 | 0,0,0,0 /* tp_alloc -> tp_next */ |
3004cfd8 | 14719 | #endif |
0085ce49 RD |
14720 | }; |
14721 | varlink_type = tmp; | |
14722 | varlink_type.ob_type = &PyType_Type; | |
14723 | type_init = 1; | |
3004cfd8 | 14724 | } |
0085ce49 RD |
14725 | return &varlink_type; |
14726 | } | |
14727 | ||
14728 | /* Create a variable linking object for use later */ | |
14729 | SWIGINTERN PyObject * | |
14730 | SWIG_Python_newvarlink(void) { | |
14731 | swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); | |
14732 | if (result) { | |
14733 | result->vars = 0; | |
14734 | } | |
14735 | return ((PyObject*) result); | |
14736 | } | |
14737 | ||
14738 | SWIGINTERN void | |
14739 | SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { | |
14740 | swig_varlinkobject *v = (swig_varlinkobject *) p; | |
14741 | swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); | |
14742 | if (gv) { | |
14743 | size_t size = strlen(name)+1; | |
14744 | gv->name = (char *)malloc(size); | |
14745 | if (gv->name) { | |
14746 | strncpy(gv->name,name,size); | |
14747 | gv->get_attr = get_attr; | |
14748 | gv->set_attr = set_attr; | |
14749 | gv->next = v->vars; | |
14750 | } | |
3004cfd8 | 14751 | } |
0085ce49 RD |
14752 | v->vars = gv; |
14753 | } | |
14754 | ||
14755 | SWIGINTERN PyObject * | |
14756 | SWIG_globals() { | |
14757 | static PyObject *_SWIG_globals = 0; | |
14758 | if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); | |
14759 | return _SWIG_globals; | |
14760 | } | |
14761 | ||
14762 | /* ----------------------------------------------------------------------------- | |
14763 | * constants/methods manipulation | |
14764 | * ----------------------------------------------------------------------------- */ | |
14765 | ||
14766 | /* Install Constants */ | |
14767 | SWIGINTERN void | |
14768 | SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { | |
14769 | PyObject *obj = 0; | |
14770 | size_t i; | |
14771 | for (i = 0; constants[i].type; ++i) { | |
14772 | switch(constants[i].type) { | |
14773 | case SWIG_PY_POINTER: | |
14774 | obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); | |
14775 | break; | |
14776 | case SWIG_PY_BINARY: | |
14777 | obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); | |
14778 | break; | |
14779 | default: | |
14780 | obj = 0; | |
14781 | break; | |
14782 | } | |
14783 | if (obj) { | |
14784 | PyDict_SetItemString(d, constants[i].name, obj); | |
14785 | Py_DECREF(obj); | |
14786 | } | |
3004cfd8 | 14787 | } |
0085ce49 RD |
14788 | } |
14789 | ||
14790 | /* -----------------------------------------------------------------------------*/ | |
14791 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
14792 | /* -----------------------------------------------------------------------------*/ | |
14793 | ||
14794 | SWIGINTERN void | |
14795 | SWIG_Python_FixMethods(PyMethodDef *methods, | |
3004cfd8 RD |
14796 | swig_const_info *const_table, |
14797 | swig_type_info **types, | |
14798 | swig_type_info **types_initial) { | |
0085ce49 RD |
14799 | size_t i; |
14800 | for (i = 0; methods[i].ml_name; ++i) { | |
453fb36b | 14801 | const char *c = methods[i].ml_doc; |
0085ce49 RD |
14802 | if (c && (c = strstr(c, "swig_ptr: "))) { |
14803 | int j; | |
14804 | swig_const_info *ci = 0; | |
453fb36b | 14805 | const char *name = c + 10; |
0085ce49 RD |
14806 | for (j = 0; const_table[j].type; ++j) { |
14807 | if (strncmp(const_table[j].name, name, | |
14808 | strlen(const_table[j].name)) == 0) { | |
14809 | ci = &(const_table[j]); | |
14810 | break; | |
14811 | } | |
14812 | } | |
14813 | if (ci) { | |
14814 | size_t shift = (ci->ptype) - types; | |
14815 | swig_type_info *ty = types_initial[shift]; | |
14816 | size_t ldoc = (c - methods[i].ml_doc); | |
14817 | size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; | |
14818 | char *ndoc = (char*)malloc(ldoc + lptr + 10); | |
14819 | if (ndoc) { | |
14820 | char *buff = ndoc; | |
14821 | void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; | |
14822 | if (ptr) { | |
14823 | strncpy(buff, methods[i].ml_doc, ldoc); | |
14824 | buff += ldoc; | |
14825 | strncpy(buff, "swig_ptr: ", 10); | |
14826 | buff += 10; | |
14827 | SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); | |
14828 | methods[i].ml_doc = ndoc; | |
3004cfd8 | 14829 | } |
0085ce49 | 14830 | } |
3004cfd8 | 14831 | } |
0085ce49 | 14832 | } |
3004cfd8 | 14833 | } |
0085ce49 RD |
14834 | } |
14835 | ||
3004cfd8 RD |
14836 | #ifdef __cplusplus |
14837 | } | |
14838 | #endif | |
14839 | ||
14840 | /* -----------------------------------------------------------------------------* | |
14841 | * Partial Init method | |
14842 | * -----------------------------------------------------------------------------*/ | |
14843 | ||
44127b65 RD |
14844 | #ifdef __cplusplus |
14845 | extern "C" | |
14846 | #endif | |
32fe5131 | 14847 | SWIGEXPORT void SWIG_init(void) { |
0085ce49 RD |
14848 | PyObject *m, *d; |
14849 | ||
14850 | /* Fix SwigMethods to carry the callback ptrs when needed */ | |
14851 | SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); | |
14852 | ||
14853 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
14854 | d = PyModule_GetDict(m); | |
14855 | ||
14856 | SWIG_InitializeModule(0); | |
14857 | SWIG_InstallConstants(d,swig_const_table); | |
14858 | ||
14859 | ||
14860 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); | |
14861 | SWIG_addvarlink(SWIG_globals(),(char*)"DynamicSashNameStr",DynamicSashNameStr_get, DynamicSashNameStr_set); | |
14862 | SWIG_addvarlink(SWIG_globals(),(char*)"EditableListBoxNameStr",EditableListBoxNameStr_get, EditableListBoxNameStr_set); | |
0085ce49 RD |
14863 | SWIG_addvarlink(SWIG_globals(),(char*)"StaticPictureNameStr",StaticPictureNameStr_get, StaticPictureNameStr_set); |
14864 | SWIG_Python_SetConstant(d, "DS_MANAGE_SCROLLBARS",SWIG_From_int(static_cast< int >(wxDS_MANAGE_SCROLLBARS))); | |
14865 | SWIG_Python_SetConstant(d, "DS_DRAG_CORNER",SWIG_From_int(static_cast< int >(wxDS_DRAG_CORNER))); | |
14866 | PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT)); | |
14867 | PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY)); | |
14868 | SWIG_Python_SetConstant(d, "EL_ALLOW_NEW",SWIG_From_int(static_cast< int >(wxEL_ALLOW_NEW))); | |
14869 | SWIG_Python_SetConstant(d, "EL_ALLOW_EDIT",SWIG_From_int(static_cast< int >(wxEL_ALLOW_EDIT))); | |
14870 | SWIG_Python_SetConstant(d, "EL_ALLOW_DELETE",SWIG_From_int(static_cast< int >(wxEL_ALLOW_DELETE))); | |
14871 | SWIG_Python_SetConstant(d, "LED_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_LEFT))); | |
14872 | SWIG_Python_SetConstant(d, "LED_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_RIGHT))); | |
14873 | SWIG_Python_SetConstant(d, "LED_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxLED_ALIGN_CENTER))); | |
14874 | SWIG_Python_SetConstant(d, "LED_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLED_ALIGN_MASK))); | |
14875 | SWIG_Python_SetConstant(d, "LED_DRAW_FADED",SWIG_From_int(static_cast< int >(wxLED_DRAW_FADED))); | |
33d6fd3b RD |
14876 | SWIG_addvarlink(SWIG_globals(),(char*)"TreeListCtrlNameStr",TreeListCtrlNameStr_get, TreeListCtrlNameStr_set); |
14877 | SWIG_Python_SetConstant(d, "DEFAULT_COL_WIDTH",SWIG_From_int(static_cast< int >(DEFAULT_COL_WIDTH))); | |
14878 | SWIG_Python_SetConstant(d, "TL_MODE_NAV_FULLTREE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_FULLTREE))); | |
14879 | SWIG_Python_SetConstant(d, "TL_MODE_NAV_EXPANDED",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_EXPANDED))); | |
14880 | SWIG_Python_SetConstant(d, "TL_MODE_NAV_VISIBLE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_VISIBLE))); | |
14881 | SWIG_Python_SetConstant(d, "TL_MODE_NAV_LEVEL",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_LEVEL))); | |
14882 | SWIG_Python_SetConstant(d, "TL_MODE_FIND_EXACT",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_EXACT))); | |
14883 | SWIG_Python_SetConstant(d, "TL_MODE_FIND_PARTIAL",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_PARTIAL))); | |
14884 | SWIG_Python_SetConstant(d, "TL_MODE_FIND_NOCASE",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_NOCASE))); | |
0085ce49 | 14885 | SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMCOLUMN",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMCOLUMN))); |
33d6fd3b RD |
14886 | SWIG_Python_SetConstant(d, "TR_COLUMN_LINES",SWIG_From_int(static_cast< int >(wxTR_COLUMN_LINES))); |
14887 | SWIG_Python_SetConstant(d, "TR_VIRTUAL",SWIG_From_int(static_cast< int >(wxTR_VIRTUAL))); | |
14888 | ||
14889 | wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl"); | |
14890 | ||
0085ce49 RD |
14891 | SWIG_Python_SetConstant(d, "SCALE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSCALE_HORIZONTAL))); |
14892 | SWIG_Python_SetConstant(d, "SCALE_VERTICAL",SWIG_From_int(static_cast< int >(wxSCALE_VERTICAL))); | |
14893 | SWIG_Python_SetConstant(d, "SCALE_UNIFORM",SWIG_From_int(static_cast< int >(wxSCALE_UNIFORM))); | |
14894 | SWIG_Python_SetConstant(d, "SCALE_CUSTOM",SWIG_From_int(static_cast< int >(wxSCALE_CUSTOM))); | |
14895 | ||
0085ce49 | 14896 | wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow"); |
0085ce49 | 14897 | |
44127b65 RD |
14898 | } |
14899 |