1
by Matthias Klose
Import upstream version 2.8.1.1 |
1 |
/* ---------------------------------------------------------------------------- |
2 |
* This file was automatically generated by SWIG (http://www.swig.org). |
|
3 |
* Version 1.3.29 |
|
4 |
* |
|
5 |
* This file is not intended to be easily readable and contains a number of |
|
6 |
* coding conventions designed to improve portability and efficiency. Do not make |
|
7 |
* changes to this file unless you know what you are doing--modify the SWIG |
|
8 |
* interface file instead. |
|
9 |
* ----------------------------------------------------------------------------- */ |
|
10 |
||
11 |
#define SWIGPYTHON |
|
12 |
#define SWIG_PYTHON_DIRECTOR_NO_VTABLE |
|
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); |
|
27 |
}; |
|
28 |
#endif |
|
29 |
||
30 |
/* ----------------------------------------------------------------------------- |
|
31 |
* This section contains generic SWIG labels for method/variable |
|
32 |
* declarations/attributes, and other compiler dependent labels. |
|
33 |
* ----------------------------------------------------------------------------- */ |
|
34 |
||
35 |
/* template workaround for compilers that cannot correctly implement the C++ standard */ |
|
36 |
#ifndef SWIGTEMPLATEDISAMBIGUATOR |
|
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 |
|
46 |
#endif |
|
47 |
||
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 |
|
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__)) |
|
67 |
# else |
|
68 |
# define SWIGUNUSED |
|
69 |
# endif |
|
70 |
#endif |
|
71 |
||
72 |
#ifndef SWIGUNUSEDPARM |
|
73 |
# ifdef __cplusplus |
|
74 |
# define SWIGUNUSEDPARM(p) |
|
75 |
# else |
|
76 |
# define SWIGUNUSEDPARM(p) p SWIGUNUSED |
|
77 |
# endif |
|
78 |
#endif |
|
79 |
||
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 |
||
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 |
||
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 |
|
105 |
# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) |
|
106 |
# define SWIGEXPORT __attribute__ ((visibility("default"))) |
|
107 |
# else |
|
108 |
# define SWIGEXPORT |
|
109 |
# endif |
|
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 |
||
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 |
|
126 |
||
127 |
||
128 |
/* Python.h has to appear first */ |
|
129 |
#include <Python.h> |
|
130 |
||
131 |
/* ----------------------------------------------------------------------------- |
|
132 |
* swigrun.swg |
|
133 |
* |
|
134 |
* This file contains generic CAPI SWIG runtime support for pointer |
|
135 |
* type checking. |
|
136 |
* ----------------------------------------------------------------------------- */ |
|
137 |
||
138 |
/* This should only be incremented when either the layout of swig_type_info changes, |
|
139 |
or for whatever reason, the runtime changes incompatibly */ |
|
140 |
#define SWIG_RUNTIME_VERSION "2" |
|
141 |
||
142 |
/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */ |
|
143 |
#ifdef SWIG_TYPE_TABLE |
|
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) |
|
147 |
#else |
|
148 |
# define SWIG_TYPE_TABLE_NAME |
|
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 |
*/ |
|
159 |
||
160 |
#ifndef SWIGRUNTIME |
|
161 |
# define SWIGRUNTIME SWIGINTERN |
|
162 |
#endif |
|
163 |
||
164 |
#ifndef SWIGRUNTIMEINLINE |
|
165 |
# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE |
|
166 |
#endif |
|
167 |
||
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 |
||
309 |
#include <string.h> |
|
310 |
||
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 |
||
318 |
/* Structure to store inforomation on one type */ |
|
319 |
typedef struct swig_type_info { |
|
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 */ |
|
325 |
int owndata; /* flag if the structure owns the clientdata */ |
|
326 |
} swig_type_info; |
|
327 |
||
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 |
||
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; |
|
361 |
if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1; |
|
362 |
} |
|
363 |
return (l1 - f1) - (l2 - f2); |
|
364 |
} |
|
365 |
||
366 |
/* |
|
367 |
Check type equivalence in a name list like <name1>|<name2>|... |
|
368 |
Return 0 if not equal, 1 if equal |
|
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 |
} |
|
379 |
equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; |
|
380 |
if (*ne) ++ne; |
|
381 |
} |
|
382 |
return equiv; |
|
383 |
} |
|
384 |
||
385 |
/* |
|
386 |
Check type equivalence in a name list like <name1>|<name2>|... |
|
387 |
Return 0 if equal, -1 if nb < tb, 1 if nb > tb |
|
388 |
*/ |
|
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; |
|
397 |
} |
|
398 |
equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0; |
|
399 |
if (*ne) ++ne; |
|
400 |
} |
|
401 |
return equiv; |
|
402 |
} |
|
403 |
||
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 |
||
427 |
/* |
|
428 |
Check the typename |
|
429 |
*/ |
|
430 |
SWIGRUNTIME swig_cast_info * |
|
431 |
SWIG_TypeCheck(const char *c, swig_type_info *ty) { |
|
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); |
|
439 |
} |
|
440 |
||
441 |
/* |
|
442 |
Cast a pointer up an inheritance hierarchy |
|
443 |
*/ |
|
444 |
SWIGRUNTIMEINLINE void * |
|
445 |
SWIG_TypeCast(swig_cast_info *ty, void *ptr) { |
|
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. */ |
|
481 |
if (!type) return NULL; |
|
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 |
||
493 |
/* |
|
494 |
Set the clientdata field for a type |
|
495 |
*/ |
|
496 |
SWIGRUNTIME void |
|
497 |
SWIG_TypeClientData(swig_type_info *ti, void *clientdata) { |
|
498 |
swig_cast_info *cast = ti->cast; |
|
499 |
/* if (ti->clientdata == clientdata) return; */ |
|
500 |
ti->clientdata = clientdata; |
|
501 |
||
502 |
while (cast) { |
|
503 |
if (!cast->converter) { |
|
504 |
swig_type_info *tc = cast->type; |
|
505 |
if (!tc->clientdata) { |
|
506 |
SWIG_TypeClientData(tc, clientdata); |
|
507 |
} |
|
508 |
} |
|
509 |
cast = cast->next; |
|
510 |
} |
|
511 |
} |
|
512 |
SWIGRUNTIME void |
|
513 |
SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) { |
|
514 |
SWIG_TypeClientData(ti, clientdata); |
|
515 |
ti->owndata = 1; |
|
516 |
} |
|
517 |
||
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); |
|
556 |
} |
|
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); |
|
591 |
} |
|
592 |
||
593 |
/* neither found a match */ |
|
594 |
return 0; |
|
595 |
} |
|
596 |
||
597 |
/* |
|
598 |
Pack binary data into a string |
|
599 |
*/ |
|
600 |
SWIGRUNTIME char * |
|
601 |
SWIG_PackData(char *c, void *ptr, size_t sz) { |
|
602 |
static const char hex[17] = "0123456789abcdef"; |
|
603 |
register const unsigned char *u = (unsigned char *) ptr; |
|
604 |
register const unsigned char *eu = u + sz; |
|
605 |
for (; u != eu; ++u) { |
|
606 |
register unsigned char uu = *u; |
|
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; |
|
619 |
register const unsigned char *eu = u + sz; |
|
620 |
for (; u != eu; ++u) { |
|
621 |
register char d = *(c++); |
|
622 |
register unsigned char uu; |
|
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 |
||
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 |
} |
|
695 |
||
696 |
#ifdef __cplusplus |
|
697 |
} |
|
698 |
#endif |
|
699 |
||
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 |
|
714 |
||
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 |
|
764 |
#endif |
|
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 |
||
799 |
||
800 |
/* ----------------------------------------------------------------------------- |
|
801 |
* error manipulation |
|
802 |
* ----------------------------------------------------------------------------- */ |
|
803 |
||
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 |
} |
|
846 |
||
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 { |
|
5.1.24
by Olly Betts
* Avoid parallelism in debian/rules itself. (Closes: #742657) |
864 |
PyErr_Format(PyExc_RuntimeError, "%s", mesg); |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
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 |
|
935 |
#endif |
|
936 |
||
937 |
/* ----------------------------------------------------------------------------- |
|
938 |
* Python API portion that goes into the runtime |
|
939 |
* ----------------------------------------------------------------------------- */ |
|
940 |
||
941 |
#ifdef __cplusplus |
|
942 |
extern "C" { |
|
943 |
#if 0 |
|
944 |
} /* cc-mode */ |
|
945 |
#endif |
|
946 |
#endif |
|
947 |
||
948 |
/* ----------------------------------------------------------------------------- |
|
949 |
* Constant declarations |
|
950 |
* ----------------------------------------------------------------------------- */ |
|
951 |
||
952 |
/* Constant Types */ |
|
953 |
#define SWIG_PY_POINTER 4 |
|
954 |
#define SWIG_PY_BINARY 5 |
|
955 |
||
956 |
/* Constant information structure */ |
|
957 |
typedef struct swig_const_info { |
|
958 |
int type; |
|
959 |
char *name; |
|
960 |
long lvalue; |
|
961 |
double dvalue; |
|
962 |
void *pvalue; |
|
963 |
swig_type_info **ptype; |
|
964 |
} swig_const_info; |
|
965 |
||
966 |
#ifdef __cplusplus |
|
967 |
#if 0 |
|
968 |
{ /* cc-mode */ |
|
969 |
#endif |
|
970 |
} |
|
971 |
#endif |
|
972 |
||
973 |
||
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 |
* |
|
978 |
* pyrun.swg |
|
979 |
* |
|
980 |
* This file contains the runtime support for Python modules |
|
981 |
* and includes code for managing global variables and pointer |
|
982 |
* type checking. |
|
983 |
* |
|
984 |
* ----------------------------------------------------------------------------- */ |
|
985 |
||
986 |
/* Common SWIG API */ |
|
987 |
||
988 |
#if PY_VERSION_HEX < 0x02050000 |
|
989 |
typedef int Py_ssize_t; |
|
990 |
#endif |
|
991 |
||
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 |
|
1000 |
||
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) |
|
1004 |
||
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) |
|
1008 |
||
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) |
|
1012 |
||
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) |
|
1016 |
||
1017 |
||
1018 |
/* Runtime API */ |
|
1019 |
||
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) |
|
1023 |
||
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 |
|
1029 |
||
1030 |
||
1031 |
/* Runtime API implementation */ |
|
1032 |
||
1033 |
/* Error manipulation */ |
|
1034 |
||
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; |
|
1041 |
} |
|
1042 |
||
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; |
|
1048 |
} |
|
1049 |
||
1050 |
#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj) |
|
1051 |
||
1052 |
/* Set a constant value */ |
|
1053 |
||
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); |
|
1058 |
} |
|
1059 |
||
1060 |
/* Append a value to the result obj */ |
|
1061 |
||
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; |
|
1088 |
} else { |
|
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); |
|
1100 |
} |
|
1101 |
return result; |
|
1102 |
#endif |
|
1103 |
} |
|
1104 |
||
1105 |
/* Unpack the argument tuple */ |
|
1106 |
||
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*/ |
|
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*/ |
|
1609 |
#if PY_VERSION_HEX >= 0x02020000 |
|
1610 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */ |
|
1611 |
#elif PY_VERSION_HEX >= 0x02000000 |
|
1612 |
0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */ |
|
1613 |
#endif |
|
1614 |
}; |
|
1615 |
||
1616 |
static PyTypeObject pyswigobject_type; |
|
1617 |
static int type_init = 0; |
|
1618 |
if (!type_init) { |
|
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 */ |
|
1632 |
#endif |
|
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 */ |
|
1651 |
#if PY_VERSION_HEX >= 0x02020000 |
|
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 */ |
|
1672 |
#endif |
|
1673 |
#if PY_VERSION_HEX >= 0x02030000 |
|
1674 |
0, /* tp_del */ |
|
1675 |
#endif |
|
1676 |
#ifdef COUNT_ALLOCS |
|
1677 |
0,0,0,0 /* tp_alloc -> tp_next */ |
|
1678 |
#endif |
|
1679 |
}; |
|
1680 |
pyswigobject_type = tmp; |
|
1681 |
pyswigobject_type.ob_type = &PyType_Type; |
|
1682 |
type_init = 1; |
|
1683 |
} |
|
1684 |
return &pyswigobject_type; |
|
1685 |
} |
|
1686 |
||
1687 |
SWIGRUNTIME PyObject * |
|
1688 |
PySwigObject_New(void *ptr, swig_type_info *ty, int own) |
|
1689 |
{ |
|
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; |
|
1696 |
} |
|
1697 |
return (PyObject *)sobj; |
|
1698 |
} |
|
1699 |
||
1700 |
/* ----------------------------------------------------------------------------- |
|
1701 |
* Implements a simple Swig Packed type, and use it instead of string |
|
1702 |
* ----------------------------------------------------------------------------- */ |
|
1703 |
||
1704 |
typedef struct { |
|
1705 |
PyObject_HEAD |
|
1706 |
void *pack; |
|
1707 |
swig_type_info *ty; |
|
1708 |
size_t size; |
|
1709 |
} PySwigPacked; |
|
1710 |
||
1711 |
SWIGRUNTIME int |
|
1712 |
PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags)) |
|
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 |
} |
|
1720 |
fputs(v->ty->name,fp); |
|
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))) { |
|
1730 |
return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name); |
|
1731 |
} else { |
|
1732 |
return PyString_FromFormat("<Swig Packed %s>", v->ty->name); |
|
1733 |
} |
|
1734 |
} |
|
1735 |
||
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))){ |
|
1741 |
return PyString_FromFormat("%s%s", result, v->ty->name); |
|
1742 |
} else { |
|
1743 |
return PyString_FromString(v->ty->name); |
|
1744 |
} |
|
1745 |
} |
|
1746 |
||
1747 |
SWIGRUNTIME int |
|
1748 |
PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w) |
|
1749 |
{ |
|
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); |
|
1754 |
} |
|
1755 |
||
1756 |
SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void); |
|
1757 |
||
1758 |
SWIGRUNTIME PyTypeObject* |
|
1759 |
PySwigPacked_type(void) { |
|
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 */ |
|
1835 |
#endif |
|
1836 |
#if PY_VERSION_HEX >= 0x02030000 |
|
1837 |
0, /* tp_del */ |
|
1838 |
#endif |
|
1839 |
#ifdef COUNT_ALLOCS |
|
1840 |
0,0,0,0 /* tp_alloc -> tp_next */ |
|
1841 |
#endif |
|
1842 |
}; |
|
1843 |
pyswigpacked_type = tmp; |
|
1844 |
pyswigpacked_type.ob_type = &PyType_Type; |
|
1845 |
type_init = 1; |
|
1846 |
} |
|
1847 |
return &pyswigpacked_type; |
|
1848 |
} |
|
1849 |
||
1850 |
SWIGRUNTIME PyObject * |
|
1851 |
PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty) |
|
1852 |
{ |
|
1853 |
PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type()); |
|
1854 |
if (sobj) { |
|
1855 |
void *pack = malloc(size); |
|
1856 |
if (pack) { |
|
1857 |
memcpy(pack, ptr, size); |
|
1858 |
sobj->pack = pack; |
|
1859 |
sobj->ty = ty; |
|
1860 |
sobj->size = size; |
|
1861 |
} else { |
|
1862 |
PyObject_DEL((PyObject *) sobj); |
|
1863 |
sobj = 0; |
|
1864 |
} |
|
1865 |
} |
|
1866 |
return (PyObject *) sobj; |
|
1867 |
} |
|
1868 |
||
1869 |
SWIGRUNTIME swig_type_info * |
|
1870 |
PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size) |
|
1871 |
{ |
|
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 |
} |
|
1880 |
} |
|
1881 |
||
1882 |
/* ----------------------------------------------------------------------------- |
|
1883 |
* pointers/data manipulation |
|
1884 |
* ----------------------------------------------------------------------------- */ |
|
1885 |
||
1886 |
SWIGRUNTIMEINLINE PyObject * |
|
1887 |
_SWIG_This(void) |
|
1888 |
{ |
|
1889 |
return PyString_FromString("this"); |
|
1890 |
} |
|
1891 |
||
1892 |
SWIGRUNTIME PyObject * |
|
1893 |
SWIG_This(void) |
|
1894 |
{ |
|
1895 |
static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This(); |
|
1896 |
return swig_this; |
|
1897 |
} |
|
1898 |
||
1899 |
/* #define SWIG_PYTHON_SLOW_GETSET_THIS */ |
|
1900 |
||
1901 |
SWIGRUNTIME PySwigObject * |
|
1902 |
SWIG_Python_GetSwigThis(PyObject *pyobj) |
|
1903 |
{ |
|
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); |
|
1926 |
} else { |
|
1927 |
if (PyErr_Occurred()) PyErr_Clear(); |
|
1928 |
return 0; |
|
1929 |
} |
|
1930 |
} |
|
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; |
|
1947 |
} |
|
1948 |
} |
|
1949 |
||
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 |
} |
|
1961 |
} |
|
1962 |
return 0; |
|
1963 |
} |
|
1964 |
||
1965 |
/* Convert a pointer value */ |
|
1966 |
||
1967 |
SWIGRUNTIME int |
|
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 |
} |
|
1992 |
} else { |
|
1993 |
if (ptr) *ptr = vptr; |
|
1994 |
break; |
|
1995 |
} |
|
1996 |
} |
|
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 |
} |
|
2042 |
} |
|
2043 |
} |
|
2044 |
||
2045 |
/* Convert a function ptr value */ |
|
2046 |
||
2047 |
SWIGRUNTIME int |
|
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); |
|
2051 |
} else { |
|
2052 |
void *vptr = 0; |
|
2053 |
||
2054 |
/* here we get the method pointer for callbacks */ |
|
2055 |
const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc); |
|
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; |
|
2069 |
} |
|
2070 |
} |
|
2071 |
||
2072 |
/* Convert a packed value value */ |
|
2073 |
||
2074 |
SWIGRUNTIME int |
|
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 |
} |
|
2084 |
} |
|
2085 |
return SWIG_OK; |
|
2086 |
} |
|
2087 |
||
2088 |
/* ----------------------------------------------------------------------------- |
|
2089 |
* Create a new pointer object |
|
2090 |
* ----------------------------------------------------------------------------- */ |
|
2091 |
||
2092 |
/* |
|
2093 |
Create a new instance object, whitout calling __init__, and set the |
|
2094 |
'this' attribute. |
|
2095 |
*/ |
|
2096 |
||
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 |
} |
|
2115 |
} |
|
2116 |
#else |
|
2117 |
PyObject *key = SWIG_This(); |
|
2118 |
PyObject_SetAttr(inst, key, swig_this); |
|
2119 |
#endif |
|
2120 |
} |
|
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); |
|
2126 |
} |
|
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; |
|
2140 |
} |
|
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; |
|
2147 |
} |
|
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 |
|
2158 |
} |
|
2159 |
||
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 |
} |
|
2175 |
#endif |
|
2176 |
dict = PyObject_GetAttrString(inst, "__dict__"); |
|
2177 |
PyDict_SetItem(dict, SWIG_This(), swig_this); |
|
2178 |
Py_DECREF(dict); |
|
2179 |
} |
|
2180 |
||
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]); |
|
2191 |
} else { |
|
2192 |
SWIG_Python_SetSwigThis(obj[0], obj[1]); |
|
2193 |
} |
|
2194 |
return SWIG_Py_Void(); |
|
2195 |
} |
|
2196 |
} |
|
2197 |
||
2198 |
/* Create a new pointer object */ |
|
2199 |
||
2200 |
SWIGRUNTIME PyObject * |
|
2201 |
SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) { |
|
2202 |
if (!ptr) { |
|
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; |
|
2213 |
} |
|
2214 |
} |
|
2215 |
return robj; |
|
2216 |
} |
|
2217 |
} |
|
2218 |
||
2219 |
/* Create a new packed object */ |
|
2220 |
||
2221 |
SWIGRUNTIMEINLINE PyObject * |
|
2222 |
SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) { |
|
2223 |
return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void(); |
|
2224 |
} |
|
2225 |
||
2226 |
/* -----------------------------------------------------------------------------* |
|
2227 |
* Get type list |
|
2228 |
* -----------------------------------------------------------------------------*/ |
|
2229 |
||
2230 |
#ifdef SWIG_LINK_RUNTIME |
|
2231 |
void *SWIG_ReturnGlobalTypeList(void *); |
|
2232 |
#endif |
|
2233 |
||
2234 |
SWIGRUNTIME swig_module_info * |
|
2235 |
SWIG_Python_GetModule(void) { |
|
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 |
} |
|
2248 |
#endif |
|
2249 |
} |
|
2250 |
return (swig_module_info *) type_pointer; |
|
2251 |
} |
|
2252 |
||
2253 |
#if PY_MAJOR_VERSION < 2 |
|
2254 |
/* PyModule_AddObject function was introduced in Python 2.0. The following function |
|
2255 |
is copied out of Python/modsupport.c in python version 2.3.4 */ |
|
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"); |
|
2263 |
return SWIG_ERROR; |
|
2264 |
} |
|
2265 |
if (!o) { |
|
2266 |
PyErr_SetString(PyExc_TypeError, |
|
2267 |
"PyModule_AddObject() needs non-NULL value"); |
|
2268 |
return SWIG_ERROR; |
|
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)); |
|
2276 |
return SWIG_ERROR; |
|
2277 |
} |
|
2278 |
if (PyDict_SetItemString(dict, name, o)) |
|
2279 |
return SWIG_ERROR; |
|
2280 |
Py_DECREF(o); |
|
2281 |
return SWIG_OK; |
|
2282 |
} |
|
2283 |
#endif |
|
2284 |
||
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 |
||
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); |
|
2307 |
PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule); |
|
2308 |
if (pointer && module) { |
|
2309 |
PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer); |
|
2310 |
} else { |
|
2311 |
Py_XDECREF(pointer); |
|
2312 |
} |
|
2313 |
} |
|
2314 |
||
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; |
|
2320 |
} |
|
2321 |
||
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] |
|
1.1.3
by Devid Filoni
Import upstream version 2.8.6.1 |
2467 |
#define SWIGTYPE_p_double swig_types[1] |
2468 |
#define SWIGTYPE_p_float swig_types[2] |
|
2469 |
#define SWIGTYPE_p_form_ops_t swig_types[3] |
|
2470 |
#define SWIGTYPE_p_int swig_types[4] |
|
2471 |
#define SWIGTYPE_p_unsigned_char swig_types[5] |
|
2472 |
#define SWIGTYPE_p_unsigned_int swig_types[6] |
|
2473 |
#define SWIGTYPE_p_unsigned_long swig_types[7] |
|
2474 |
#define SWIGTYPE_p_wxANIHandler swig_types[8] |
|
2475 |
#define SWIGTYPE_p_wxAcceleratorTable swig_types[9] |
|
2476 |
#define SWIGTYPE_p_wxActivateEvent swig_types[10] |
|
2477 |
#define SWIGTYPE_p_wxArrayString swig_types[11] |
|
2478 |
#define SWIGTYPE_p_wxBMPHandler swig_types[12] |
|
2479 |
#define SWIGTYPE_p_wxBitmap swig_types[13] |
|
2480 |
#define SWIGTYPE_p_wxBitmapButton swig_types[14] |
|
2481 |
#define SWIGTYPE_p_wxBookCtrlBase swig_types[15] |
|
2482 |
#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[16] |
|
2483 |
#define SWIGTYPE_p_wxBoxSizer swig_types[17] |
|
2484 |
#define SWIGTYPE_p_wxButton swig_types[18] |
|
2485 |
#define SWIGTYPE_p_wxCURHandler swig_types[19] |
|
2486 |
#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[20] |
|
2487 |
#define SWIGTYPE_p_wxCheckBox swig_types[21] |
|
2488 |
#define SWIGTYPE_p_wxCheckListBox swig_types[22] |
|
2489 |
#define SWIGTYPE_p_wxChildFocusEvent swig_types[23] |
|
2490 |
#define SWIGTYPE_p_wxChoice swig_types[24] |
|
2491 |
#define SWIGTYPE_p_wxChoicebook swig_types[25] |
|
2492 |
#define SWIGTYPE_p_wxChoicebookEvent swig_types[26] |
|
2493 |
#define SWIGTYPE_p_wxClipboardTextEvent swig_types[27] |
|
2494 |
#define SWIGTYPE_p_wxCloseEvent swig_types[28] |
|
2495 |
#define SWIGTYPE_p_wxCollapsiblePane swig_types[29] |
|
2496 |
#define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[30] |
|
2497 |
#define SWIGTYPE_p_wxColour swig_types[31] |
|
2498 |
#define SWIGTYPE_p_wxColourData swig_types[32] |
|
2499 |
#define SWIGTYPE_p_wxColourDialog swig_types[33] |
|
1.1.7
by Devid Antonio Filoni
Import upstream version 2.8.10.1 |
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_wxDatePickerCtrlBase swig_types[44] |
|
2511 |
#define SWIGTYPE_p_wxDatePickerCtrlGeneric swig_types[45] |
|
2512 |
#define SWIGTYPE_p_wxDialog swig_types[46] |
|
2513 |
#define SWIGTYPE_p_wxDirDialog swig_types[47] |
|
2514 |
#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[48] |
|
2515 |
#define SWIGTYPE_p_wxDirItemData swig_types[49] |
|
2516 |
#define SWIGTYPE_p_wxDirPickerCtrl swig_types[50] |
|
2517 |
#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[51] |
|
2518 |
#define SWIGTYPE_p_wxDropFilesEvent swig_types[52] |
|
2519 |
#define SWIGTYPE_p_wxDuplexMode swig_types[53] |
|
2520 |
#define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[54] |
|
2521 |
#define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[55] |
|
2522 |
#define SWIGTYPE_p_wxDynamicSashWindow swig_types[56] |
|
2523 |
#define SWIGTYPE_p_wxEditableListBox swig_types[57] |
|
2524 |
#define SWIGTYPE_p_wxEraseEvent swig_types[58] |
|
2525 |
#define SWIGTYPE_p_wxEvent swig_types[59] |
|
2526 |
#define SWIGTYPE_p_wxEvtHandler swig_types[60] |
|
2527 |
#define SWIGTYPE_p_wxFSFile swig_types[61] |
|
2528 |
#define SWIGTYPE_p_wxFileDialog swig_types[62] |
|
2529 |
#define SWIGTYPE_p_wxFileDirPickerEvent swig_types[63] |
|
2530 |
#define SWIGTYPE_p_wxFilePickerCtrl swig_types[64] |
|
2531 |
#define SWIGTYPE_p_wxFileSystem swig_types[65] |
|
2532 |
#define SWIGTYPE_p_wxFindDialogEvent swig_types[66] |
|
2533 |
#define SWIGTYPE_p_wxFindReplaceData swig_types[67] |
|
2534 |
#define SWIGTYPE_p_wxFindReplaceDialog swig_types[68] |
|
2535 |
#define SWIGTYPE_p_wxFlexGridSizer swig_types[69] |
|
2536 |
#define SWIGTYPE_p_wxFocusEvent swig_types[70] |
|
2537 |
#define SWIGTYPE_p_wxFont swig_types[71] |
|
2538 |
#define SWIGTYPE_p_wxFontData swig_types[72] |
|
2539 |
#define SWIGTYPE_p_wxFontDialog swig_types[73] |
|
2540 |
#define SWIGTYPE_p_wxFontPickerCtrl swig_types[74] |
|
2541 |
#define SWIGTYPE_p_wxFontPickerEvent swig_types[75] |
|
2542 |
#define SWIGTYPE_p_wxFrame swig_types[76] |
|
2543 |
#define SWIGTYPE_p_wxGBSizerItem swig_types[77] |
|
2544 |
#define SWIGTYPE_p_wxGIFHandler swig_types[78] |
|
2545 |
#define SWIGTYPE_p_wxGauge swig_types[79] |
|
2546 |
#define SWIGTYPE_p_wxGenericDirCtrl swig_types[80] |
|
2547 |
#define SWIGTYPE_p_wxGenericDragImage swig_types[81] |
|
2548 |
#define SWIGTYPE_p_wxGridBagSizer swig_types[82] |
|
2549 |
#define SWIGTYPE_p_wxGridSizer swig_types[83] |
|
2550 |
#define SWIGTYPE_p_wxHelpEvent swig_types[84] |
|
2551 |
#define SWIGTYPE_p_wxHyperlinkCtrl swig_types[85] |
|
2552 |
#define SWIGTYPE_p_wxHyperlinkEvent swig_types[86] |
|
2553 |
#define SWIGTYPE_p_wxICOHandler swig_types[87] |
|
2554 |
#define SWIGTYPE_p_wxIcon swig_types[88] |
|
2555 |
#define SWIGTYPE_p_wxIconizeEvent swig_types[89] |
|
2556 |
#define SWIGTYPE_p_wxIdleEvent swig_types[90] |
|
2557 |
#define SWIGTYPE_p_wxImage swig_types[91] |
|
2558 |
#define SWIGTYPE_p_wxImageHandler swig_types[92] |
|
2559 |
#define SWIGTYPE_p_wxImageList swig_types[93] |
|
2560 |
#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[94] |
|
2561 |
#define SWIGTYPE_p_wxInitDialogEvent swig_types[95] |
|
2562 |
#define SWIGTYPE_p_wxJPEGHandler swig_types[96] |
|
2563 |
#define SWIGTYPE_p_wxKeyEvent swig_types[97] |
|
2564 |
#define SWIGTYPE_p_wxLEDNumberCtrl swig_types[98] |
|
2565 |
#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[99] |
|
2566 |
#define SWIGTYPE_p_wxLayoutConstraints swig_types[100] |
|
2567 |
#define SWIGTYPE_p_wxListBox swig_types[101] |
|
2568 |
#define SWIGTYPE_p_wxListEvent swig_types[102] |
|
2569 |
#define SWIGTYPE_p_wxListItem swig_types[103] |
|
2570 |
#define SWIGTYPE_p_wxListView swig_types[104] |
|
2571 |
#define SWIGTYPE_p_wxListbook swig_types[105] |
|
2572 |
#define SWIGTYPE_p_wxListbookEvent swig_types[106] |
|
2573 |
#define SWIGTYPE_p_wxMDIChildFrame swig_types[107] |
|
2574 |
#define SWIGTYPE_p_wxMDIClientWindow swig_types[108] |
|
2575 |
#define SWIGTYPE_p_wxMDIParentFrame swig_types[109] |
|
2576 |
#define SWIGTYPE_p_wxMaximizeEvent swig_types[110] |
|
2577 |
#define SWIGTYPE_p_wxMenu swig_types[111] |
|
2578 |
#define SWIGTYPE_p_wxMenuBar swig_types[112] |
|
2579 |
#define SWIGTYPE_p_wxMenuEvent swig_types[113] |
|
2580 |
#define SWIGTYPE_p_wxMenuItem swig_types[114] |
|
2581 |
#define SWIGTYPE_p_wxMessageDialog swig_types[115] |
|
2582 |
#define SWIGTYPE_p_wxMiniFrame swig_types[116] |
|
2583 |
#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[117] |
|
2584 |
#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[118] |
|
2585 |
#define SWIGTYPE_p_wxMouseEvent swig_types[119] |
|
2586 |
#define SWIGTYPE_p_wxMoveEvent swig_types[120] |
|
2587 |
#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[121] |
|
2588 |
#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[122] |
|
2589 |
#define SWIGTYPE_p_wxNcPaintEvent swig_types[123] |
|
2590 |
#define SWIGTYPE_p_wxNotebook swig_types[124] |
|
2591 |
#define SWIGTYPE_p_wxNotebookEvent swig_types[125] |
|
2592 |
#define SWIGTYPE_p_wxNotifyEvent swig_types[126] |
|
2593 |
#define SWIGTYPE_p_wxNumberEntryDialog swig_types[127] |
|
2594 |
#define SWIGTYPE_p_wxObject swig_types[128] |
|
2595 |
#define SWIGTYPE_p_wxPCXHandler swig_types[129] |
|
2596 |
#define SWIGTYPE_p_wxPNGHandler swig_types[130] |
|
2597 |
#define SWIGTYPE_p_wxPNMHandler swig_types[131] |
|
2598 |
#define SWIGTYPE_p_wxPageSetupDialog swig_types[132] |
|
2599 |
#define SWIGTYPE_p_wxPageSetupDialogData swig_types[133] |
|
2600 |
#define SWIGTYPE_p_wxPaintEvent swig_types[134] |
|
2601 |
#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[135] |
|
2602 |
#define SWIGTYPE_p_wxPanel swig_types[136] |
|
2603 |
#define SWIGTYPE_p_wxPaperSize swig_types[137] |
|
2604 |
#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[138] |
|
2605 |
#define SWIGTYPE_p_wxPickerBase swig_types[139] |
|
2606 |
#define SWIGTYPE_p_wxPopupWindow swig_types[140] |
|
2607 |
#define SWIGTYPE_p_wxPreviewCanvas swig_types[141] |
|
2608 |
#define SWIGTYPE_p_wxPreviewControlBar swig_types[142] |
|
2609 |
#define SWIGTYPE_p_wxPreviewFrame swig_types[143] |
|
2610 |
#define SWIGTYPE_p_wxPrintData swig_types[144] |
|
2611 |
#define SWIGTYPE_p_wxPrintDialog swig_types[145] |
|
2612 |
#define SWIGTYPE_p_wxPrintDialogData swig_types[146] |
|
2613 |
#define SWIGTYPE_p_wxPrintPreview swig_types[147] |
|
2614 |
#define SWIGTYPE_p_wxPrinter swig_types[148] |
|
2615 |
#define SWIGTYPE_p_wxProgressDialog swig_types[149] |
|
2616 |
#define SWIGTYPE_p_wxPyApp swig_types[150] |
|
2617 |
#define SWIGTYPE_p_wxPyCommandEvent swig_types[151] |
|
2618 |
#define SWIGTYPE_p_wxPyControl swig_types[152] |
|
2619 |
#define SWIGTYPE_p_wxPyEvent swig_types[153] |
|
2620 |
#define SWIGTYPE_p_wxPyEvtHandler swig_types[154] |
|
2621 |
#define SWIGTYPE_p_wxPyHtmlListBox swig_types[155] |
|
2622 |
#define SWIGTYPE_p_wxPyImageHandler swig_types[156] |
|
2623 |
#define SWIGTYPE_p_wxPyListCtrl swig_types[157] |
|
2624 |
#define SWIGTYPE_p_wxPyPanel swig_types[158] |
|
2625 |
#define SWIGTYPE_p_wxPyPickerBase swig_types[159] |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
2626 |
#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[160] |
2627 |
#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[161] |
|
2628 |
#define SWIGTYPE_p_wxPyPreviewFrame swig_types[162] |
|
2629 |
#define SWIGTYPE_p_wxPyPrintPreview swig_types[163] |
|
2630 |
#define SWIGTYPE_p_wxPyPrintout swig_types[164] |
|
2631 |
#define SWIGTYPE_p_wxPyScrolledWindow swig_types[165] |
|
2632 |
#define SWIGTYPE_p_wxPySizer swig_types[166] |
|
2633 |
#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[167] |
|
2634 |
#define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[168] |
|
2635 |
#define SWIGTYPE_p_wxPyTreeCtrl swig_types[169] |
|
2636 |
#define SWIGTYPE_p_wxPyTreeItemData swig_types[170] |
|
2637 |
#define SWIGTYPE_p_wxPyTreeListCtrl swig_types[171] |
|
2638 |
#define SWIGTYPE_p_wxPyVListBox swig_types[172] |
|
2639 |
#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[173] |
|
2640 |
#define SWIGTYPE_p_wxPyValidator swig_types[174] |
|
2641 |
#define SWIGTYPE_p_wxPyWindow swig_types[175] |
|
2642 |
#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[176] |
|
2643 |
#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[177] |
|
2644 |
#define SWIGTYPE_p_wxRadioBox swig_types[178] |
|
2645 |
#define SWIGTYPE_p_wxRadioButton swig_types[179] |
|
2646 |
#define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[180] |
|
2647 |
#define SWIGTYPE_p_wxSashEvent swig_types[181] |
|
2648 |
#define SWIGTYPE_p_wxSashLayoutWindow swig_types[182] |
|
2649 |
#define SWIGTYPE_p_wxSashWindow swig_types[183] |
|
2650 |
#define SWIGTYPE_p_wxScrollBar swig_types[184] |
|
2651 |
#define SWIGTYPE_p_wxScrollEvent swig_types[185] |
|
2652 |
#define SWIGTYPE_p_wxScrollWinEvent swig_types[186] |
|
2653 |
#define SWIGTYPE_p_wxScrolledWindow swig_types[187] |
|
2654 |
#define SWIGTYPE_p_wxSearchCtrl swig_types[188] |
|
2655 |
#define SWIGTYPE_p_wxSetCursorEvent swig_types[189] |
|
2656 |
#define SWIGTYPE_p_wxShowEvent swig_types[190] |
|
2657 |
#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[191] |
|
2658 |
#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[192] |
|
2659 |
#define SWIGTYPE_p_wxSizeEvent swig_types[193] |
|
2660 |
#define SWIGTYPE_p_wxSizer swig_types[194] |
|
2661 |
#define SWIGTYPE_p_wxSizerItem swig_types[195] |
|
2662 |
#define SWIGTYPE_p_wxSlider swig_types[196] |
|
2663 |
#define SWIGTYPE_p_wxSpinButton swig_types[197] |
|
2664 |
#define SWIGTYPE_p_wxSpinCtrl swig_types[198] |
|
2665 |
#define SWIGTYPE_p_wxSpinEvent swig_types[199] |
|
2666 |
#define SWIGTYPE_p_wxSplashScreen swig_types[200] |
|
2667 |
#define SWIGTYPE_p_wxSplashScreenWindow swig_types[201] |
|
2668 |
#define SWIGTYPE_p_wxSplitterEvent swig_types[202] |
|
2669 |
#define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[203] |
|
2670 |
#define SWIGTYPE_p_wxSplitterWindow swig_types[204] |
|
2671 |
#define SWIGTYPE_p_wxStaticBitmap swig_types[205] |
|
2672 |
#define SWIGTYPE_p_wxStaticBox swig_types[206] |
|
2673 |
#define SWIGTYPE_p_wxStaticBoxSizer swig_types[207] |
|
2674 |
#define SWIGTYPE_p_wxStaticLine swig_types[208] |
|
2675 |
#define SWIGTYPE_p_wxStaticPicture swig_types[209] |
|
2676 |
#define SWIGTYPE_p_wxStaticText swig_types[210] |
|
2677 |
#define SWIGTYPE_p_wxStatusBar swig_types[211] |
|
2678 |
#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[212] |
|
2679 |
#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[213] |
|
2680 |
#define SWIGTYPE_p_wxTGAHandler swig_types[214] |
|
2681 |
#define SWIGTYPE_p_wxTIFFHandler swig_types[215] |
|
2682 |
#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[216] |
|
2683 |
#define SWIGTYPE_p_wxTextCtrl swig_types[217] |
|
2684 |
#define SWIGTYPE_p_wxTextEntryDialog swig_types[218] |
|
2685 |
#define SWIGTYPE_p_wxTextUrlEvent swig_types[219] |
|
2686 |
#define SWIGTYPE_p_wxThinSplitterWindow swig_types[220] |
|
2687 |
#define SWIGTYPE_p_wxTipWindow swig_types[221] |
|
2688 |
#define SWIGTYPE_p_wxToggleButton swig_types[222] |
|
2689 |
#define SWIGTYPE_p_wxToolBar swig_types[223] |
|
2690 |
#define SWIGTYPE_p_wxToolBarBase swig_types[224] |
|
2691 |
#define SWIGTYPE_p_wxToolBarToolBase swig_types[225] |
|
2692 |
#define SWIGTYPE_p_wxToolbook swig_types[226] |
|
2693 |
#define SWIGTYPE_p_wxToolbookEvent swig_types[227] |
|
2694 |
#define SWIGTYPE_p_wxTopLevelWindow swig_types[228] |
|
2695 |
#define SWIGTYPE_p_wxTreeEvent swig_types[229] |
|
2696 |
#define SWIGTYPE_p_wxTreeItemId swig_types[230] |
|
2697 |
#define SWIGTYPE_p_wxTreeListColumnInfo swig_types[231] |
|
2698 |
#define SWIGTYPE_p_wxTreebook swig_types[232] |
|
2699 |
#define SWIGTYPE_p_wxTreebookEvent swig_types[233] |
|
2700 |
#define SWIGTYPE_p_wxUpdateUIEvent swig_types[234] |
|
2701 |
#define SWIGTYPE_p_wxValidator swig_types[235] |
|
2702 |
#define SWIGTYPE_p_wxWindow swig_types[236] |
|
2703 |
#define SWIGTYPE_p_wxWindowCreateEvent swig_types[237] |
|
2704 |
#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[238] |
|
2705 |
#define SWIGTYPE_p_wxXPMHandler swig_types[239] |
|
2706 |
static swig_type_info *swig_types[241]; |
|
2707 |
static swig_module_info swig_module = {swig_types, 240, 0, 0, 0, 0}; |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
2708 |
#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) |
2709 |
#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) |
|
2710 |
||
2711 |
/* -------- TYPES TABLE (END) -------- */ |
|
2712 |
||
2713 |
#if (PY_VERSION_HEX <= 0x02000000) |
|
2714 |
# if !defined(SWIG_PYTHON_CLASSIC) |
|
2715 |
# error "This python version requires to use swig with the '-classic' option" |
|
2716 |
# endif |
|
2717 |
#endif |
|
2718 |
#if (PY_VERSION_HEX <= 0x02020000) |
|
2719 |
# error "This python version requires to use swig with the '-nomodern' option" |
|
2720 |
#endif |
|
2721 |
#if (PY_VERSION_HEX <= 0x02020000) |
|
2722 |
# error "This python version requires to use swig with the '-nomodernargs' option" |
|
2723 |
#endif |
|
2724 |
#ifndef METH_O |
|
2725 |
# error "This python version requires to use swig with the '-nofastunpack' option" |
|
2726 |
#endif |
|
2727 |
||
2728 |
/*----------------------------------------------- |
|
2729 |
@(target):= _gizmos.so |
|
2730 |
------------------------------------------------*/ |
|
2731 |
#define SWIG_init init_gizmos |
|
2732 |
||
2733 |
#define SWIG_name "_gizmos" |
|
2734 |
||
2735 |
#define SWIGVERSION 0x010329 |
|
2736 |
||
2737 |
||
2738 |
#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a)) |
|
2739 |
#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a)) |
|
2740 |
||
2741 |
||
2742 |
#include <stdexcept> |
|
2743 |
||
2744 |
||
2745 |
namespace swig { |
|
2746 |
class PyObject_ptr { |
|
2747 |
protected: |
|
2748 |
PyObject *_obj; |
|
2749 |
||
2750 |
public: |
|
2751 |
PyObject_ptr() :_obj(0) |
|
2752 |
{ |
|
2753 |
} |
|
2754 |
||
2755 |
PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj) |
|
2756 |
{ |
|
2757 |
Py_XINCREF(_obj); |
|
2758 |
} |
|
2759 |
||
2760 |
PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj) |
|
2761 |
{ |
|
2762 |
if (initial_ref) Py_XINCREF(_obj); |
|
2763 |
} |
|
2764 |
||
2765 |
PyObject_ptr & operator=(const PyObject_ptr& item) |
|
2766 |
{ |
|
2767 |
Py_XINCREF(item._obj); |
|
2768 |
Py_XDECREF(_obj); |
|
2769 |
_obj = item._obj; |
|
2770 |
return *this; |
|
2771 |
} |
|
2772 |
||
2773 |
~PyObject_ptr() |
|
2774 |
{ |
|
2775 |
Py_XDECREF(_obj); |
|
2776 |
} |
|
2777 |
||
2778 |
operator PyObject *() const |
|
2779 |
{ |
|
2780 |
return _obj; |
|
2781 |
} |
|
2782 |
||
2783 |
PyObject *operator->() const |
|
2784 |
{ |
|
2785 |
return _obj; |
|
2786 |
} |
|
2787 |
}; |
|
2788 |
} |
|
2789 |
||
2790 |
||
2791 |
namespace swig { |
|
2792 |
struct PyObject_var : PyObject_ptr { |
|
2793 |
PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { } |
|
2794 |
||
2795 |
PyObject_var & operator = (PyObject* obj) |
|
2796 |
{ |
|
2797 |
Py_XDECREF(_obj); |
|
2798 |
_obj = obj; |
|
2799 |
return *this; |
|
2800 |
} |
|
2801 |
}; |
|
2802 |
} |
|
2803 |
||
2804 |
||
2805 |
#include "wx/wxPython/wxPython.h" |
|
2806 |
#include "wx/wxPython/pyclasses.h" |
|
2807 |
||
2808 |
#include <wx/gizmos/dynamicsash.h> |
|
2809 |
#include <wx/gizmos/editlbox.h> |
|
2810 |
#include <wx/gizmos/splittree.h> |
|
2811 |
#include <wx/gizmos/ledctrl.h> |
|
2812 |
#include <wx/gizmos/statpict.h> |
|
2813 |
||
2814 |
#include <wx/listctrl.h> |
|
2815 |
#include <wx/treectrl.h> |
|
2816 |
#include <wx/imaglist.h> |
|
2817 |
||
2818 |
||
2819 |
static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow")); |
|
2820 |
static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox")); |
|
2821 |
static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr); |
|
2822 |
static const wxString wxPyEmptyString(wxEmptyString); |
|
2823 |
||
2824 |
#define SWIG_From_long PyInt_FromLong |
|
2825 |
||
2826 |
||
2827 |
SWIGINTERNINLINE PyObject * |
|
2828 |
SWIG_From_int (int value) |
|
2829 |
{ |
|
2830 |
return SWIG_From_long (value); |
|
2831 |
} |
|
2832 |
||
2833 |
||
2834 |
#include <limits.h> |
|
2835 |
#ifndef LLONG_MIN |
|
2836 |
# define LLONG_MIN LONG_LONG_MIN |
|
2837 |
#endif |
|
2838 |
#ifndef LLONG_MAX |
|
2839 |
# define LLONG_MAX LONG_LONG_MAX |
|
2840 |
#endif |
|
2841 |
#ifndef ULLONG_MAX |
|
2842 |
# define ULLONG_MAX ULONG_LONG_MAX |
|
2843 |
#endif |
|
2844 |
||
2845 |
||
2846 |
SWIGINTERN int |
|
2847 |
SWIG_AsVal_long (PyObject* obj, long* val) |
|
2848 |
{ |
|
2849 |
if (PyNumber_Check(obj)) { |
|
2850 |
if (val) *val = PyInt_AsLong(obj); |
|
2851 |
return SWIG_OK; |
|
2852 |
} |
|
2853 |
return SWIG_TypeError; |
|
2854 |
} |
|
2855 |
||
2856 |
||
2857 |
SWIGINTERN int |
|
2858 |
SWIG_AsVal_int (PyObject * obj, int *val) |
|
2859 |
{ |
|
2860 |
long v; |
|
2861 |
int res = SWIG_AsVal_long (obj, &v); |
|
2862 |
if (SWIG_IsOK(res)) { |
|
2863 |
if ((v < INT_MIN || v > INT_MAX)) { |
|
2864 |
return SWIG_OverflowError; |
|
2865 |
} else { |
|
2866 |
if (val) *val = static_cast< int >(v); |
|
2867 |
} |
|
2868 |
} |
|
2869 |
return res; |
|
2870 |
} |
|
2871 |
||
2872 |
SWIGINTERN PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){ |
|
2873 |
wxArrayString strings; |
|
2874 |
self->GetStrings(strings); |
|
2875 |
return wxArrayString2PyList_helper(strings); |
|
2876 |
} |
|
2877 |
||
2878 |
typedef wxTreeCtrl wxPyTreeCtrl; |
|
2879 |
||
2880 |
||
2881 |
class wxPyTreeCompanionWindow: public wxTreeCompanionWindow |
|
2882 |
{ |
|
2883 |
public: |
|
2884 |
wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1, |
|
2885 |
const wxPoint& pos = wxDefaultPosition, |
|
2886 |
const wxSize& size = wxDefaultSize, |
|
2887 |
long style = 0) |
|
2888 |
: wxTreeCompanionWindow(parent, id, pos, size, style) {} |
|
2889 |
||
2890 |
||
2891 |
virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) { |
|
2892 |
bool found; |
|
2893 |
wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
|
2894 |
if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) { |
|
2895 |
PyObject* dcobj = wxPyMake_wxObject(&dc,false); |
|
2896 |
PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false); |
|
2897 |
PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false); |
|
2898 |
wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj)); |
|
2899 |
Py_DECREF(dcobj); |
|
2900 |
Py_DECREF(idobj); |
|
2901 |
Py_DECREF(recobj); |
|
2902 |
} |
|
2903 |
wxPyEndBlockThreads(blocked); |
|
2904 |
if (! found) |
|
2905 |
wxTreeCompanionWindow::DrawItem(dc, id, rect); |
|
2906 |
} |
|
2907 |
||
2908 |
PYPRIVATE; |
|
2909 |
}; |
|
2910 |
||
2911 |
||
2912 |
SWIGINTERN int |
|
2913 |
SWIG_AsVal_bool (PyObject *obj, bool *val) |
|
2914 |
{ |
|
2915 |
if (obj == Py_True) { |
|
2916 |
if (val) *val = true; |
|
2917 |
return SWIG_OK; |
|
2918 |
} else if (obj == Py_False) { |
|
2919 |
if (val) *val = false; |
|
2920 |
return SWIG_OK; |
|
2921 |
} else { |
|
2922 |
long v = 0; |
|
2923 |
int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0)); |
|
2924 |
if (SWIG_IsOK(res) && val) *val = v ? true : false; |
|
2925 |
return res; |
|
2926 |
} |
|
2927 |
} |
|
2928 |
||
2929 |
||
2930 |
#include "wx/treelistctrl.h" |
|
2931 |
#include "wx/wxPython/pytree.h" |
|
2932 |
||
2933 |
||
2934 |
static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl")); |
|
2935 |
||
2936 |
SWIGINTERNINLINE PyObject* |
|
2937 |
SWIG_From_unsigned_SS_long (unsigned long value) |
|
2938 |
{ |
|
2939 |
return (value > LONG_MAX) ? |
|
2940 |
PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value)); |
|
2941 |
} |
|
2942 |
||
2943 |
||
2944 |
SWIGINTERNINLINE PyObject * |
|
2945 |
SWIG_From_size_t (size_t value) |
|
2946 |
{ |
|
2947 |
return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value)); |
|
2948 |
} |
|
2949 |
||
2950 |
||
2951 |
SWIGINTERN int |
|
2952 |
SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val) |
|
2953 |
{ |
|
2954 |
long v = 0; |
|
1.1.4
by Devid Filoni
Import upstream version 2.8.7.1 |
2955 |
int res = SWIG_AsVal_long(obj, &v); |
2956 |
if (SWIG_IsOK(res)) { |
|
2957 |
if ( v < 0) { |
|
2958 |
return SWIG_ValueError; |
|
2959 |
} |
|
2960 |
else if (val) |
|
2961 |
*val = (unsigned long)v; |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
2962 |
} |
1.1.4
by Devid Filoni
Import upstream version 2.8.7.1 |
2963 |
return res; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
2964 |
} |
2965 |
||
2966 |
||
2967 |
SWIGINTERNINLINE int |
|
2968 |
SWIG_AsVal_size_t (PyObject * obj, size_t *val) |
|
2969 |
{ |
|
2970 |
unsigned long v; |
|
2971 |
int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0); |
|
2972 |
if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v); |
|
2973 |
return res; |
|
2974 |
} |
|
2975 |
||
2976 |
// C++ version of Python aware control |
|
2977 |
class wxPyTreeListCtrl : public wxTreeListCtrl { |
|
2978 |
DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl); |
|
2979 |
public: |
|
2980 |
wxPyTreeListCtrl() : wxTreeListCtrl() {} |
|
2981 |
wxPyTreeListCtrl(wxWindow *parent, wxWindowID id, |
|
2982 |
const wxPoint& pos, |
|
2983 |
const wxSize& size, |
|
2984 |
long style, |
|
2985 |
const wxValidator &validator, |
|
2986 |
const wxString& name) : |
|
2987 |
wxTreeListCtrl(parent, id, pos, size, style, validator, name) {} |
|
2988 |
||
2989 |
virtual int OnCompareItems(const wxTreeItemId& item1, |
|
2990 |
const wxTreeItemId& item2) { |
|
2991 |
int rval = 0; |
|
2992 |
bool found; |
|
2993 |
wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
|
2994 |
if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) { |
|
2995 |
PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0); |
|
2996 |
PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0); |
|
2997 |
rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2)); |
|
2998 |
Py_DECREF(o1); |
|
2999 |
Py_DECREF(o2); |
|
3000 |
} |
|
3001 |
wxPyEndBlockThreads(blocked); |
|
3002 |
if (! found) |
|
3003 |
rval = wxTreeListCtrl::OnCompareItems(item1, item2); |
|
3004 |
return rval; |
|
3005 |
} |
|
3006 |
||
3007 |
virtual wxString OnGetItemText( wxTreeItemData* item, long column ) const { |
|
3008 |
wxString rval; |
|
3009 |
bool found; |
|
3010 |
wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
|
3011 |
if ((found = wxPyCBH_findCallback(m_myInst, "OnGetItemText"))) { |
|
3012 |
PyObject* ro; |
|
3013 |
PyObject* itemo = wxPyConstructObject((void*)&item, wxT("wxTreeItemId"), 0); |
|
3014 |
ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(Oi)", itemo, column)); |
|
3015 |
Py_DECREF(itemo); |
|
3016 |
if (ro) { |
|
3017 |
rval = Py2wxString(ro); |
|
3018 |
Py_DECREF(ro); |
|
3019 |
} |
|
3020 |
} |
|
3021 |
wxPyEndBlockThreads(blocked); |
|
3022 |
if (! found) |
|
3023 |
rval = wxTreeListCtrl::OnGetItemText(item, column); |
|
3024 |
return rval; |
|
3025 |
} |
|
3026 |
||
3027 |
PYPRIVATE; |
|
3028 |
}; |
|
3029 |
||
3030 |
IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl) |
|
3031 |
||
3032 |
||
3033 |
||
3034 |
SWIGINTERNINLINE PyObject * |
|
3035 |
SWIG_From_unsigned_SS_int (unsigned int value) |
|
3036 |
{ |
|
3037 |
return SWIG_From_unsigned_SS_long (value); |
|
3038 |
} |
|
3039 |
||
3040 |
||
3041 |
SWIGINTERN int |
|
3042 |
SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val) |
|
3043 |
{ |
|
3044 |
unsigned long v; |
|
3045 |
int res = SWIG_AsVal_unsigned_SS_long (obj, &v); |
|
3046 |
if (SWIG_IsOK(res)) { |
|
3047 |
if ((v > UINT_MAX)) { |
|
3048 |
return SWIG_OverflowError; |
|
3049 |
} else { |
|
3050 |
if (val) *val = static_cast< unsigned int >(v); |
|
3051 |
} |
|
3052 |
} |
|
3053 |
return res; |
|
3054 |
} |
|
3055 |
||
3056 |
SWIGINTERN wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){ |
|
3057 |
if (column < 0) column = self->GetMainColumn(); |
|
3058 |
return self->GetItemText(item, column); |
|
3059 |
} |
|
3060 |
SWIGINTERN int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){ |
|
3061 |
if (column < 0) column = self->GetMainColumn(); |
|
3062 |
return self->GetItemImage(item, column, which); |
|
3063 |
} |
|
3064 |
SWIGINTERN void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){ |
|
3065 |
if (column < 0) column = self->GetMainColumn(); |
|
3066 |
self->SetItemText(item, column, text); |
|
3067 |
} |
|
3068 |
SWIGINTERN void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){ |
|
3069 |
if (column < 0) column = self->GetMainColumn(); |
|
3070 |
self->SetItemImage(item, column, image, which); |
|
3071 |
} |
|
3072 |
SWIGINTERN wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){ |
|
3073 |
wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); |
|
3074 |
if (data == NULL) { |
|
3075 |
data = new wxPyTreeItemData(); |
|
3076 |
data->SetId(item); // set the id |
|
3077 |
self->SetItemData(item, data); |
|
3078 |
} |
|
3079 |
return data; |
|
3080 |
} |
|
3081 |
SWIGINTERN void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){ |
|
3082 |
data->SetId(item); // set the id |
|
3083 |
self->SetItemData(item, data); |
|
3084 |
} |
|
3085 |
SWIGINTERN PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){ |
|
3086 |
wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); |
|
3087 |
if (data == NULL) { |
|
3088 |
data = new wxPyTreeItemData(); |
|
3089 |
data->SetId(item); // set the id |
|
3090 |
self->SetItemData(item, data); |
|
3091 |
} |
|
3092 |
return data->GetData(); |
|
3093 |
} |
|
3094 |
SWIGINTERN void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){ |
|
3095 |
wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item); |
|
3096 |
if (data == NULL) { |
|
3097 |
data = new wxPyTreeItemData(obj); |
|
3098 |
data->SetId(item); // set the id |
|
3099 |
self->SetItemData(item, data); |
|
3100 |
} else |
|
3101 |
data->SetData(obj); |
|
3102 |
} |
|
3103 |
SWIGINTERN PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){ |
|
3104 |
wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
|
3105 |
PyObject* rval = PyList_New(0); |
|
3106 |
wxArrayTreeItemIds array; |
|
3107 |
size_t num, x; |
|
3108 |
num = self->GetSelections(array); |
|
3109 |
for (x=0; x < num; x++) { |
|
3110 |
wxTreeItemId *tii = new wxTreeItemId(array.Item(x)); |
|
3111 |
PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true); |
|
3112 |
PyList_Append(rval, item); |
|
3113 |
Py_DECREF(item); |
|
3114 |
} |
|
3115 |
wxPyEndBlockThreads(blocked); |
|
3116 |
return rval; |
|
3117 |
} |
|
3118 |
SWIGINTERN PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){ |
|
3119 |
void* cookie = 0; |
|
3120 |
wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie)); |
|
3121 |
wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
|
3122 |
PyObject* tup = PyTuple_New(2); |
|
3123 |
PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true)); |
|
3124 |
PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void"))); |
|
3125 |
wxPyEndBlockThreads(blocked); |
|
3126 |
return tup; |
|
3127 |
} |
|
3128 |
SWIGINTERN PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){ |
|
3129 |
wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie)); |
|
3130 |
wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
|
3131 |
PyObject* tup = PyTuple_New(2); |
|
3132 |
PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true)); |
|
3133 |
PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void"))); |
|
3134 |
wxPyEndBlockThreads(blocked); |
|
3135 |
return tup; |
|
3136 |
} |
|
3137 |
SWIGINTERN PyObject *wxPyTreeListCtrl_GetLastChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){ |
|
3138 |
void* cookie = 0; |
|
3139 |
wxTreeItemId* ritem = new wxTreeItemId(self->GetLastChild(item, cookie)); |
|
3140 |
wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
|
3141 |
PyObject* tup = PyTuple_New(2); |
|
3142 |
PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true)); |
|
3143 |
PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void"))); |
|
3144 |
wxPyEndBlockThreads(blocked); |
|
3145 |
return tup; |
|
3146 |
} |
|
3147 |
SWIGINTERN PyObject *wxPyTreeListCtrl_GetPrevChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){ |
|
3148 |
wxTreeItemId* ritem = new wxTreeItemId(self->GetPrevChild(item, cookie)); |
|
3149 |
wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
|
3150 |
PyObject* tup = PyTuple_New(2); |
|
3151 |
PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true)); |
|
3152 |
PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void"))); |
|
3153 |
wxPyEndBlockThreads(blocked); |
|
3154 |
return tup; |
|
3155 |
} |
|
3156 |
SWIGINTERN PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){ |
|
3157 |
wxRect rect; |
|
3158 |
if (self->GetBoundingRect(item, rect, textOnly)) { |
|
3159 |
wxPyBlock_t blocked = wxPyBeginBlockThreads(); |
|
3160 |
wxRect* r = new wxRect(rect); |
|
3161 |
PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1); |
|
3162 |
wxPyEndBlockThreads(blocked); |
|
3163 |
return val; |
|
3164 |
} |
|
3165 |
else { |
|
3166 |
RETURN_NONE(); |
|
3167 |
} |
|
3168 |
} |
|
3169 |
SWIGINTERN void wxPyTreeListCtrl_EditLabel(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){ |
|
3170 |
if (column < 0) column = self->GetMainColumn(); |
|
3171 |
self->EditLabel(item, column); |
|
3172 |
} |
|
3173 |
||
3174 |
#include <float.h> |
|
3175 |
||
3176 |
||
3177 |
SWIGINTERN int |
|
3178 |
SWIG_AsVal_double (PyObject *obj, double* val) |
|
3179 |
{ |
|
3180 |
if (PyNumber_Check(obj)) { |
|
3181 |
if (val) *val = PyFloat_AsDouble(obj); |
|
3182 |
return SWIG_OK; |
|
3183 |
} |
|
3184 |
return SWIG_TypeError; |
|
3185 |
} |
|
3186 |
||
3187 |
||
3188 |
SWIGINTERN int |
|
3189 |
SWIG_AsVal_float (PyObject * obj, float *val) |
|
3190 |
{ |
|
3191 |
double v; |
|
3192 |
int res = SWIG_AsVal_double (obj, &v); |
|
3193 |
if (SWIG_IsOK(res)) { |
|
3194 |
if ((v < -FLT_MAX || v > FLT_MAX)) { |
|
3195 |
return SWIG_OverflowError; |
|
3196 |
} else { |
|
3197 |
if (val) *val = static_cast< float >(v); |
|
3198 |
} |
|
3199 |
} |
|
3200 |
return res; |
|
3201 |
} |
|
3202 |
||
3203 |
||
3204 |
#define SWIG_From_double PyFloat_FromDouble |
|
3205 |
||
3206 |
||
3207 |
SWIGINTERNINLINE PyObject * |
|
3208 |
SWIG_From_float (float value) |
|
3209 |
{ |
|
3210 |
return SWIG_From_double (value); |
|
3211 |
} |
|
3212 |
||
3213 |
#ifdef __cplusplus |
|
3214 |
extern "C" { |
|
3215 |
#endif |
|
3216 |
SWIGINTERN int DynamicSashNameStr_set(PyObject *) { |
|
3217 |
SWIG_Error(SWIG_AttributeError,"Variable DynamicSashNameStr is read-only."); |
|
3218 |
return 1; |
|
3219 |
} |
|
3220 |
||
3221 |
||
3222 |
SWIGINTERN PyObject *DynamicSashNameStr_get(void) { |
|
3223 |
PyObject *pyobj = 0; |
|
3224 |
||
3225 |
{ |
|
3226 |
#if wxUSE_UNICODE |
|
3227 |
pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len()); |
|
3228 |
#else |
|
3229 |
pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len()); |
|
3230 |
#endif |
|
3231 |
} |
|
3232 |
return pyobj; |
|
3233 |
} |
|
3234 |
||
3235 |
||
3236 |
SWIGINTERN int EditableListBoxNameStr_set(PyObject *) { |
|
3237 |
SWIG_Error(SWIG_AttributeError,"Variable EditableListBoxNameStr is read-only."); |
|
3238 |
return 1; |
|
3239 |
} |
|
3240 |
||
3241 |
||
3242 |
SWIGINTERN PyObject *EditableListBoxNameStr_get(void) { |
|
3243 |
PyObject *pyobj = 0; |
|
3244 |
||
3245 |
{ |
|
3246 |
#if wxUSE_UNICODE |
|
3247 |
pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len()); |
|
3248 |
#else |
|
3249 |
pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len()); |
|
3250 |
#endif |
|
3251 |
} |
|
3252 |
return pyobj; |
|
3253 |
} |
|
3254 |
||
3255 |
||
3256 |
SWIGINTERN int StaticPictureNameStr_set(PyObject *) { |
|
3257 |
SWIG_Error(SWIG_AttributeError,"Variable StaticPictureNameStr is read-only."); |
|
3258 |
return 1; |
|
3259 |
} |
|
3260 |
||
3261 |
||
3262 |
SWIGINTERN PyObject *StaticPictureNameStr_get(void) { |
|
3263 |
PyObject *pyobj = 0; |
|
3264 |
||
3265 |
{ |
|
3266 |
#if wxUSE_UNICODE |
|
3267 |
pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len()); |
|
3268 |
#else |
|
3269 |
pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len()); |
|
3270 |
#endif |
|
3271 |
} |
|
3272 |
return pyobj; |
|
3273 |
} |
|
3274 |
||
3275 |
||
3276 |
SWIGINTERN PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
3277 |
PyObject *resultobj = 0; |
|
3278 |
wxObject *arg1 = (wxObject *) 0 ; |
|
3279 |
wxDynamicSashSplitEvent *result = 0 ; |
|
3280 |
void *argp1 = 0 ; |
|
3281 |
int res1 = 0 ; |
|
3282 |
PyObject * obj0 = 0 ; |
|
3283 |
char * kwnames[] = { |
|
3284 |
(char *) "target", NULL |
|
3285 |
}; |
|
3286 |
||
3287 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) SWIG_fail; |
|
3288 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 ); |
|
3289 |
if (!SWIG_IsOK(res1)) { |
|
3290 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashSplitEvent" "', expected argument " "1"" of type '" "wxObject *""'"); |
|
3291 |
} |
|
3292 |
arg1 = reinterpret_cast< wxObject * >(argp1); |
|
3293 |
{ |
|
3294 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
3295 |
result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1); |
|
3296 |
wxPyEndAllowThreads(__tstate); |
|
3297 |
if (PyErr_Occurred()) SWIG_fail; |
|
3298 |
} |
|
3299 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_POINTER_NEW | 0 ); |
|
3300 |
return resultobj; |
|
3301 |
fail: |
|
3302 |
return NULL; |
|
3303 |
} |
|
3304 |
||
3305 |
||
3306 |
SWIGINTERN PyObject *DynamicSashSplitEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
3307 |
PyObject *obj; |
|
3308 |
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; |
|
3309 |
SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_NewClientData(obj)); |
|
3310 |
return SWIG_Py_Void(); |
|
3311 |
} |
|
3312 |
||
3313 |
SWIGINTERN PyObject *DynamicSashSplitEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
3314 |
return SWIG_Python_InitShadowInstance(args); |
|
3315 |
} |
|
3316 |
||
3317 |
SWIGINTERN PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
3318 |
PyObject *resultobj = 0; |
|
3319 |
wxObject *arg1 = (wxObject *) 0 ; |
|
3320 |
wxDynamicSashUnifyEvent *result = 0 ; |
|
3321 |
void *argp1 = 0 ; |
|
3322 |
int res1 = 0 ; |
|
3323 |
PyObject * obj0 = 0 ; |
|
3324 |
char * kwnames[] = { |
|
3325 |
(char *) "target", NULL |
|
3326 |
}; |
|
3327 |
||
3328 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) SWIG_fail; |
|
3329 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 ); |
|
3330 |
if (!SWIG_IsOK(res1)) { |
|
3331 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashUnifyEvent" "', expected argument " "1"" of type '" "wxObject *""'"); |
|
3332 |
} |
|
3333 |
arg1 = reinterpret_cast< wxObject * >(argp1); |
|
3334 |
{ |
|
3335 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
3336 |
result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1); |
|
3337 |
wxPyEndAllowThreads(__tstate); |
|
3338 |
if (PyErr_Occurred()) SWIG_fail; |
|
3339 |
} |
|
3340 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_POINTER_NEW | 0 ); |
|
3341 |
return resultobj; |
|
3342 |
fail: |
|
3343 |
return NULL; |
|
3344 |
} |
|
3345 |
||
3346 |
||
3347 |
SWIGINTERN PyObject *DynamicSashUnifyEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
3348 |
PyObject *obj; |
|
3349 |
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; |
|
3350 |
SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_NewClientData(obj)); |
|
3351 |
return SWIG_Py_Void(); |
|
3352 |
} |
|
3353 |
||
3354 |
SWIGINTERN PyObject *DynamicSashUnifyEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
3355 |
return SWIG_Python_InitShadowInstance(args); |
|
3356 |
} |
|
3357 |
||
3358 |
SWIGINTERN PyObject *_wrap_new_DynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
3359 |
PyObject *resultobj = 0; |
|
3360 |
wxWindow *arg1 = (wxWindow *) 0 ; |
|
3361 |
int arg2 = (int) -1 ; |
|
3362 |
wxPoint const &arg3_defvalue = wxDefaultPosition ; |
|
3363 |
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; |
|
3364 |
wxSize const &arg4_defvalue = wxDefaultSize ; |
|
3365 |
wxSize *arg4 = (wxSize *) &arg4_defvalue ; |
|
3366 |
long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ; |
|
3367 |
wxString const &arg6_defvalue = wxPyDynamicSashNameStr ; |
|
3368 |
wxString *arg6 = (wxString *) &arg6_defvalue ; |
|
3369 |
wxDynamicSashWindow *result = 0 ; |
|
3370 |
void *argp1 = 0 ; |
|
3371 |
int res1 = 0 ; |
|
3372 |
int val2 ; |
|
3373 |
int ecode2 = 0 ; |
|
3374 |
wxPoint temp3 ; |
|
3375 |
wxSize temp4 ; |
|
3376 |
long val5 ; |
|
3377 |
int ecode5 = 0 ; |
|
3378 |
bool temp6 = false ; |
|
3379 |
PyObject * obj0 = 0 ; |
|
3380 |
PyObject * obj1 = 0 ; |
|
3381 |
PyObject * obj2 = 0 ; |
|
3382 |
PyObject * obj3 = 0 ; |
|
3383 |
PyObject * obj4 = 0 ; |
|
3384 |
PyObject * obj5 = 0 ; |
|
3385 |
char * kwnames[] = { |
|
3386 |
(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
|
3387 |
}; |
|
3388 |
||
3389 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
|
3390 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
|
3391 |
if (!SWIG_IsOK(res1)) { |
|
3392 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); |
|
3393 |
} |
|
3394 |
arg1 = reinterpret_cast< wxWindow * >(argp1); |
|
3395 |
if (obj1) { |
|
3396 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
3397 |
if (!SWIG_IsOK(ecode2)) { |
|
3398 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DynamicSashWindow" "', expected argument " "2"" of type '" "int""'"); |
|
3399 |
} |
|
3400 |
arg2 = static_cast< int >(val2); |
|
3401 |
} |
|
3402 |
if (obj2) { |
|
3403 |
{ |
|
3404 |
arg3 = &temp3; |
|
3405 |
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; |
|
3406 |
} |
|
3407 |
} |
|
3408 |
if (obj3) { |
|
3409 |
{ |
|
3410 |
arg4 = &temp4; |
|
3411 |
if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; |
|
3412 |
} |
|
3413 |
} |
|
3414 |
if (obj4) { |
|
3415 |
ecode5 = SWIG_AsVal_long(obj4, &val5); |
|
3416 |
if (!SWIG_IsOK(ecode5)) { |
|
3417 |
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DynamicSashWindow" "', expected argument " "5"" of type '" "long""'"); |
|
3418 |
} |
|
3419 |
arg5 = static_cast< long >(val5); |
|
3420 |
} |
|
3421 |
if (obj5) { |
|
3422 |
{ |
|
3423 |
arg6 = wxString_in_helper(obj5); |
|
3424 |
if (arg6 == NULL) SWIG_fail; |
|
3425 |
temp6 = true; |
|
3426 |
} |
|
3427 |
} |
|
3428 |
{ |
|
3429 |
if (!wxPyCheckForApp()) SWIG_fail; |
|
3430 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
3431 |
result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6); |
|
3432 |
wxPyEndAllowThreads(__tstate); |
|
3433 |
if (PyErr_Occurred()) SWIG_fail; |
|
3434 |
} |
|
3435 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_NEW | 0 ); |
|
3436 |
{ |
|
3437 |
if (temp6) |
|
3438 |
delete arg6; |
|
3439 |
} |
|
3440 |
return resultobj; |
|
3441 |
fail: |
|
3442 |
{ |
|
3443 |
if (temp6) |
|
3444 |
delete arg6; |
|
3445 |
} |
|
3446 |
return NULL; |
|
3447 |
} |
|
3448 |
||
3449 |
||
3450 |
SWIGINTERN PyObject *_wrap_new_PreDynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
3451 |
PyObject *resultobj = 0; |
|
3452 |
wxDynamicSashWindow *result = 0 ; |
|
3453 |
||
3454 |
if (!SWIG_Python_UnpackTuple(args,"new_PreDynamicSashWindow",0,0,0)) SWIG_fail; |
|
3455 |
{ |
|
3456 |
if (!wxPyCheckForApp()) SWIG_fail; |
|
3457 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
3458 |
result = (wxDynamicSashWindow *)new wxDynamicSashWindow(); |
|
3459 |
wxPyEndAllowThreads(__tstate); |
|
3460 |
if (PyErr_Occurred()) SWIG_fail; |
|
3461 |
} |
|
3462 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_OWN | 0 ); |
|
3463 |
return resultobj; |
|
3464 |
fail: |
|
3465 |
return NULL; |
|
3466 |
} |
|
3467 |
||
3468 |
||
3469 |
SWIGINTERN PyObject *_wrap_DynamicSashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
3470 |
PyObject *resultobj = 0; |
|
3471 |
wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; |
|
3472 |
wxWindow *arg2 = (wxWindow *) 0 ; |
|
3473 |
int arg3 = (int) -1 ; |
|
3474 |
wxPoint const &arg4_defvalue = wxDefaultPosition ; |
|
3475 |
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; |
|
3476 |
wxSize const &arg5_defvalue = wxDefaultSize ; |
|
3477 |
wxSize *arg5 = (wxSize *) &arg5_defvalue ; |
|
3478 |
long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ; |
|
3479 |
wxString const &arg7_defvalue = wxPyDynamicSashNameStr ; |
|
3480 |
wxString *arg7 = (wxString *) &arg7_defvalue ; |
|
3481 |
bool result; |
|
3482 |
void *argp1 = 0 ; |
|
3483 |
int res1 = 0 ; |
|
3484 |
void *argp2 = 0 ; |
|
3485 |
int res2 = 0 ; |
|
3486 |
int val3 ; |
|
3487 |
int ecode3 = 0 ; |
|
3488 |
wxPoint temp4 ; |
|
3489 |
wxSize temp5 ; |
|
3490 |
long val6 ; |
|
3491 |
int ecode6 = 0 ; |
|
3492 |
bool temp7 = false ; |
|
3493 |
PyObject * obj0 = 0 ; |
|
3494 |
PyObject * obj1 = 0 ; |
|
3495 |
PyObject * obj2 = 0 ; |
|
3496 |
PyObject * obj3 = 0 ; |
|
3497 |
PyObject * obj4 = 0 ; |
|
3498 |
PyObject * obj5 = 0 ; |
|
3499 |
PyObject * obj6 = 0 ; |
|
3500 |
char * kwnames[] = { |
|
3501 |
(char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
|
3502 |
}; |
|
3503 |
||
3504 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
|
3505 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 ); |
|
3506 |
if (!SWIG_IsOK(res1)) { |
|
3507 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_Create" "', expected argument " "1"" of type '" "wxDynamicSashWindow *""'"); |
|
3508 |
} |
|
3509 |
arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1); |
|
3510 |
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
|
3511 |
if (!SWIG_IsOK(res2)) { |
|
3512 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); |
|
3513 |
} |
|
3514 |
arg2 = reinterpret_cast< wxWindow * >(argp2); |
|
3515 |
if (obj2) { |
|
3516 |
ecode3 = SWIG_AsVal_int(obj2, &val3); |
|
3517 |
if (!SWIG_IsOK(ecode3)) { |
|
3518 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DynamicSashWindow_Create" "', expected argument " "3"" of type '" "int""'"); |
|
3519 |
} |
|
3520 |
arg3 = static_cast< int >(val3); |
|
3521 |
} |
|
3522 |
if (obj3) { |
|
3523 |
{ |
|
3524 |
arg4 = &temp4; |
|
3525 |
if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; |
|
3526 |
} |
|
3527 |
} |
|
3528 |
if (obj4) { |
|
3529 |
{ |
|
3530 |
arg5 = &temp5; |
|
3531 |
if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; |
|
3532 |
} |
|
3533 |
} |
|
3534 |
if (obj5) { |
|
3535 |
ecode6 = SWIG_AsVal_long(obj5, &val6); |
|
3536 |
if (!SWIG_IsOK(ecode6)) { |
|
3537 |
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DynamicSashWindow_Create" "', expected argument " "6"" of type '" "long""'"); |
|
3538 |
} |
|
3539 |
arg6 = static_cast< long >(val6); |
|
3540 |
} |
|
3541 |
if (obj6) { |
|
3542 |
{ |
|
3543 |
arg7 = wxString_in_helper(obj6); |
|
3544 |
if (arg7 == NULL) SWIG_fail; |
|
3545 |
temp7 = true; |
|
3546 |
} |
|
3547 |
} |
|
3548 |
{ |
|
3549 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
3550 |
result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); |
|
3551 |
wxPyEndAllowThreads(__tstate); |
|
3552 |
if (PyErr_Occurred()) SWIG_fail; |
|
3553 |
} |
|
3554 |
{ |
|
3555 |
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
|
3556 |
} |
|
3557 |
{ |
|
3558 |
if (temp7) |
|
3559 |
delete arg7; |
|
3560 |
} |
|
3561 |
return resultobj; |
|
3562 |
fail: |
|
3563 |
{ |
|
3564 |
if (temp7) |
|
3565 |
delete arg7; |
|
3566 |
} |
|
3567 |
return NULL; |
|
3568 |
} |
|
3569 |
||
3570 |
||
3571 |
SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
3572 |
PyObject *resultobj = 0; |
|
3573 |
wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; |
|
3574 |
wxWindow *arg2 = (wxWindow *) 0 ; |
|
3575 |
wxScrollBar *result = 0 ; |
|
3576 |
void *argp1 = 0 ; |
|
3577 |
int res1 = 0 ; |
|
3578 |
void *argp2 = 0 ; |
|
3579 |
int res2 = 0 ; |
|
3580 |
PyObject * obj0 = 0 ; |
|
3581 |
PyObject * obj1 = 0 ; |
|
3582 |
char * kwnames[] = { |
|
3583 |
(char *) "self",(char *) "child", NULL |
|
3584 |
}; |
|
3585 |
||
3586 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail; |
|
3587 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 ); |
|
3588 |
if (!SWIG_IsOK(res1)) { |
|
3589 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'"); |
|
3590 |
} |
|
3591 |
arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1); |
|
3592 |
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
|
3593 |
if (!SWIG_IsOK(res2)) { |
|
3594 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'"); |
|
3595 |
} |
|
3596 |
arg2 = reinterpret_cast< wxWindow * >(argp2); |
|
3597 |
{ |
|
3598 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
3599 |
result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2); |
|
3600 |
wxPyEndAllowThreads(__tstate); |
|
3601 |
if (PyErr_Occurred()) SWIG_fail; |
|
3602 |
} |
|
3603 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 ); |
|
3604 |
return resultobj; |
|
3605 |
fail: |
|
3606 |
return NULL; |
|
3607 |
} |
|
3608 |
||
3609 |
||
3610 |
SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
3611 |
PyObject *resultobj = 0; |
|
3612 |
wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ; |
|
3613 |
wxWindow *arg2 = (wxWindow *) 0 ; |
|
3614 |
wxScrollBar *result = 0 ; |
|
3615 |
void *argp1 = 0 ; |
|
3616 |
int res1 = 0 ; |
|
3617 |
void *argp2 = 0 ; |
|
3618 |
int res2 = 0 ; |
|
3619 |
PyObject * obj0 = 0 ; |
|
3620 |
PyObject * obj1 = 0 ; |
|
3621 |
char * kwnames[] = { |
|
3622 |
(char *) "self",(char *) "child", NULL |
|
3623 |
}; |
|
3624 |
||
3625 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail; |
|
3626 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 ); |
|
3627 |
if (!SWIG_IsOK(res1)) { |
|
3628 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'"); |
|
3629 |
} |
|
3630 |
arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1); |
|
3631 |
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
|
3632 |
if (!SWIG_IsOK(res2)) { |
|
3633 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'"); |
|
3634 |
} |
|
3635 |
arg2 = reinterpret_cast< wxWindow * >(argp2); |
|
3636 |
{ |
|
3637 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
3638 |
result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2); |
|
3639 |
wxPyEndAllowThreads(__tstate); |
|
3640 |
if (PyErr_Occurred()) SWIG_fail; |
|
3641 |
} |
|
3642 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 ); |
|
3643 |
return resultobj; |
|
3644 |
fail: |
|
3645 |
return NULL; |
|
3646 |
} |
|
3647 |
||
3648 |
||
3649 |
SWIGINTERN PyObject *DynamicSashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
3650 |
PyObject *obj; |
|
3651 |
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; |
|
3652 |
SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashWindow, SWIG_NewClientData(obj)); |
|
3653 |
return SWIG_Py_Void(); |
|
3654 |
} |
|
3655 |
||
3656 |
SWIGINTERN PyObject *DynamicSashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
3657 |
return SWIG_Python_InitShadowInstance(args); |
|
3658 |
} |
|
3659 |
||
3660 |
SWIGINTERN PyObject *_wrap_new_EditableListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
3661 |
PyObject *resultobj = 0; |
|
3662 |
wxWindow *arg1 = (wxWindow *) 0 ; |
|
3663 |
int arg2 = (int) -1 ; |
|
3664 |
wxString const &arg3_defvalue = wxPyEmptyString ; |
|
3665 |
wxString *arg3 = (wxString *) &arg3_defvalue ; |
|
3666 |
wxPoint const &arg4_defvalue = wxDefaultPosition ; |
|
3667 |
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; |
|
3668 |
wxSize const &arg5_defvalue = wxDefaultSize ; |
|
3669 |
wxSize *arg5 = (wxSize *) &arg5_defvalue ; |
|
3670 |
long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ; |
|
3671 |
wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ; |
|
3672 |
wxString *arg7 = (wxString *) &arg7_defvalue ; |
|
3673 |
wxEditableListBox *result = 0 ; |
|
3674 |
void *argp1 = 0 ; |
|
3675 |
int res1 = 0 ; |
|
3676 |
int val2 ; |
|
3677 |
int ecode2 = 0 ; |
|
3678 |
bool temp3 = false ; |
|
3679 |
wxPoint temp4 ; |
|
3680 |
wxSize temp5 ; |
|
3681 |
long val6 ; |
|
3682 |
int ecode6 = 0 ; |
|
3683 |
bool temp7 = false ; |
|
3684 |
PyObject * obj0 = 0 ; |
|
3685 |
PyObject * obj1 = 0 ; |
|
3686 |
PyObject * obj2 = 0 ; |
|
3687 |
PyObject * obj3 = 0 ; |
|
3688 |
PyObject * obj4 = 0 ; |
|
3689 |
PyObject * obj5 = 0 ; |
|
3690 |
PyObject * obj6 = 0 ; |
|
3691 |
char * kwnames[] = { |
|
3692 |
(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
|
3693 |
}; |
|
3694 |
||
3695 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
|
3696 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
|
3697 |
if (!SWIG_IsOK(res1)) { |
|
3698 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_EditableListBox" "', expected argument " "1"" of type '" "wxWindow *""'"); |
|
3699 |
} |
|
3700 |
arg1 = reinterpret_cast< wxWindow * >(argp1); |
|
3701 |
if (obj1) { |
|
3702 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
3703 |
if (!SWIG_IsOK(ecode2)) { |
|
3704 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_EditableListBox" "', expected argument " "2"" of type '" "int""'"); |
|
3705 |
} |
|
3706 |
arg2 = static_cast< int >(val2); |
|
3707 |
} |
|
3708 |
if (obj2) { |
|
3709 |
{ |
|
3710 |
arg3 = wxString_in_helper(obj2); |
|
3711 |
if (arg3 == NULL) SWIG_fail; |
|
3712 |
temp3 = true; |
|
3713 |
} |
|
3714 |
} |
|
3715 |
if (obj3) { |
|
3716 |
{ |
|
3717 |
arg4 = &temp4; |
|
3718 |
if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; |
|
3719 |
} |
|
3720 |
} |
|
3721 |
if (obj4) { |
|
3722 |
{ |
|
3723 |
arg5 = &temp5; |
|
3724 |
if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; |
|
3725 |
} |
|
3726 |
} |
|
3727 |
if (obj5) { |
|
3728 |
ecode6 = SWIG_AsVal_long(obj5, &val6); |
|
3729 |
if (!SWIG_IsOK(ecode6)) { |
|
3730 |
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EditableListBox" "', expected argument " "6"" of type '" "long""'"); |
|
3731 |
} |
|
3732 |
arg6 = static_cast< long >(val6); |
|
3733 |
} |
|
3734 |
if (obj6) { |
|
3735 |
{ |
|
3736 |
arg7 = wxString_in_helper(obj6); |
|
3737 |
if (arg7 == NULL) SWIG_fail; |
|
3738 |
temp7 = true; |
|
3739 |
} |
|
3740 |
} |
|
3741 |
{ |
|
3742 |
if (!wxPyCheckForApp()) SWIG_fail; |
|
3743 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
3744 |
result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); |
|
3745 |
wxPyEndAllowThreads(__tstate); |
|
3746 |
if (PyErr_Occurred()) SWIG_fail; |
|
3747 |
} |
|
3748 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_NEW | 0 ); |
|
3749 |
{ |
|
3750 |
if (temp3) |
|
3751 |
delete arg3; |
|
3752 |
} |
|
3753 |
{ |
|
3754 |
if (temp7) |
|
3755 |
delete arg7; |
|
3756 |
} |
|
3757 |
return resultobj; |
|
3758 |
fail: |
|
3759 |
{ |
|
3760 |
if (temp3) |
|
3761 |
delete arg3; |
|
3762 |
} |
|
3763 |
{ |
|
3764 |
if (temp7) |
|
3765 |
delete arg7; |
|
3766 |
} |
|
3767 |
return NULL; |
|
3768 |
} |
|
3769 |
||
3770 |
||
3771 |
SWIGINTERN PyObject *_wrap_EditableListBox_SetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
3772 |
PyObject *resultobj = 0; |
|
3773 |
wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; |
|
3774 |
wxArrayString *arg2 = 0 ; |
|
3775 |
void *argp1 = 0 ; |
|
3776 |
int res1 = 0 ; |
|
3777 |
bool temp2 = false ; |
|
3778 |
PyObject * obj0 = 0 ; |
|
3779 |
PyObject * obj1 = 0 ; |
|
3780 |
char * kwnames[] = { |
|
3781 |
(char *) "self",(char *) "strings", NULL |
|
3782 |
}; |
|
3783 |
||
3784 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) SWIG_fail; |
|
3785 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 ); |
|
3786 |
if (!SWIG_IsOK(res1)) { |
|
3787 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_SetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); |
|
3788 |
} |
|
3789 |
arg1 = reinterpret_cast< wxEditableListBox * >(argp1); |
|
3790 |
{ |
|
3791 |
if (! PySequence_Check(obj1)) { |
|
3792 |
PyErr_SetString(PyExc_TypeError, "Sequence of strings expected."); |
|
3793 |
SWIG_fail; |
|
3794 |
} |
|
3795 |
arg2 = new wxArrayString; |
|
3796 |
temp2 = true; |
|
3797 |
int i, len=PySequence_Length(obj1); |
|
3798 |
for (i=0; i<len; i++) { |
|
3799 |
PyObject* item = PySequence_GetItem(obj1, i); |
|
3800 |
wxString* s = wxString_in_helper(item); |
|
3801 |
if (PyErr_Occurred()) SWIG_fail; |
|
3802 |
arg2->Add(*s); |
|
3803 |
delete s; |
|
3804 |
Py_DECREF(item); |
|
3805 |
} |
|
3806 |
} |
|
3807 |
{ |
|
3808 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
3809 |
(arg1)->SetStrings((wxArrayString const &)*arg2); |
|
3810 |
wxPyEndAllowThreads(__tstate); |
|
3811 |
if (PyErr_Occurred()) SWIG_fail; |
|
3812 |
} |
|
3813 |
resultobj = SWIG_Py_Void(); |
|
3814 |
{ |
|
3815 |
if (temp2) delete arg2; |
|
3816 |
} |
|
3817 |
return resultobj; |
|
3818 |
fail: |
|
3819 |
{ |
|
3820 |
if (temp2) delete arg2; |
|
3821 |
} |
|
3822 |
return NULL; |
|
3823 |
} |
|
3824 |
||
3825 |
||
3826 |
SWIGINTERN PyObject *_wrap_EditableListBox_GetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
3827 |
PyObject *resultobj = 0; |
|
3828 |
wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; |
|
3829 |
PyObject *result = 0 ; |
|
3830 |
void *argp1 = 0 ; |
|
3831 |
int res1 = 0 ; |
|
3832 |
PyObject *swig_obj[1] ; |
|
3833 |
||
3834 |
if (!args) SWIG_fail; |
|
3835 |
swig_obj[0] = args; |
|
3836 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 ); |
|
3837 |
if (!SWIG_IsOK(res1)) { |
|
3838 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); |
|
3839 |
} |
|
3840 |
arg1 = reinterpret_cast< wxEditableListBox * >(argp1); |
|
3841 |
{ |
|
3842 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
3843 |
result = (PyObject *)wxEditableListBox_GetStrings(arg1); |
|
3844 |
wxPyEndAllowThreads(__tstate); |
|
3845 |
if (PyErr_Occurred()) SWIG_fail; |
|
3846 |
} |
|
3847 |
resultobj = result; |
|
3848 |
return resultobj; |
|
3849 |
fail: |
|
3850 |
return NULL; |
|
3851 |
} |
|
3852 |
||
3853 |
||
3854 |
SWIGINTERN PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
3855 |
PyObject *resultobj = 0; |
|
3856 |
wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; |
|
3857 |
wxPyListCtrl *result = 0 ; |
|
3858 |
void *argp1 = 0 ; |
|
3859 |
int res1 = 0 ; |
|
3860 |
PyObject *swig_obj[1] ; |
|
3861 |
||
3862 |
if (!args) SWIG_fail; |
|
3863 |
swig_obj[0] = args; |
|
3864 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 ); |
|
3865 |
if (!SWIG_IsOK(res1)) { |
|
3866 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetListCtrl" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); |
|
3867 |
} |
|
3868 |
arg1 = reinterpret_cast< wxEditableListBox * >(argp1); |
|
3869 |
{ |
|
3870 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
3871 |
result = (wxPyListCtrl *)(arg1)->GetListCtrl(); |
|
3872 |
wxPyEndAllowThreads(__tstate); |
|
3873 |
if (PyErr_Occurred()) SWIG_fail; |
|
3874 |
} |
|
3875 |
{ |
|
3876 |
resultobj = wxPyMake_wxObject((wxObject*)result, (bool)0); |
|
3877 |
} |
|
3878 |
return resultobj; |
|
3879 |
fail: |
|
3880 |
return NULL; |
|
3881 |
} |
|
3882 |
||
3883 |
||
3884 |
SWIGINTERN PyObject *_wrap_EditableListBox_GetDelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
3885 |
PyObject *resultobj = 0; |
|
3886 |
wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; |
|
3887 |
wxBitmapButton *result = 0 ; |
|
3888 |
void *argp1 = 0 ; |
|
3889 |
int res1 = 0 ; |
|
3890 |
PyObject *swig_obj[1] ; |
|
3891 |
||
3892 |
if (!args) SWIG_fail; |
|
3893 |
swig_obj[0] = args; |
|
3894 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 ); |
|
3895 |
if (!SWIG_IsOK(res1)) { |
|
3896 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDelButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); |
|
3897 |
} |
|
3898 |
arg1 = reinterpret_cast< wxEditableListBox * >(argp1); |
|
3899 |
{ |
|
3900 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
3901 |
result = (wxBitmapButton *)(arg1)->GetDelButton(); |
|
3902 |
wxPyEndAllowThreads(__tstate); |
|
3903 |
if (PyErr_Occurred()) SWIG_fail; |
|
3904 |
} |
|
3905 |
{ |
|
3906 |
resultobj = wxPyMake_wxObject(result, 0); |
|
3907 |
} |
|
3908 |
return resultobj; |
|
3909 |
fail: |
|
3910 |
return NULL; |
|
3911 |
} |
|
3912 |
||
3913 |
||
3914 |
SWIGINTERN PyObject *_wrap_EditableListBox_GetNewButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
3915 |
PyObject *resultobj = 0; |
|
3916 |
wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; |
|
3917 |
wxBitmapButton *result = 0 ; |
|
3918 |
void *argp1 = 0 ; |
|
3919 |
int res1 = 0 ; |
|
3920 |
PyObject *swig_obj[1] ; |
|
3921 |
||
3922 |
if (!args) SWIG_fail; |
|
3923 |
swig_obj[0] = args; |
|
3924 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 ); |
|
3925 |
if (!SWIG_IsOK(res1)) { |
|
3926 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetNewButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); |
|
3927 |
} |
|
3928 |
arg1 = reinterpret_cast< wxEditableListBox * >(argp1); |
|
3929 |
{ |
|
3930 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
3931 |
result = (wxBitmapButton *)(arg1)->GetNewButton(); |
|
3932 |
wxPyEndAllowThreads(__tstate); |
|
3933 |
if (PyErr_Occurred()) SWIG_fail; |
|
3934 |
} |
|
3935 |
{ |
|
3936 |
resultobj = wxPyMake_wxObject(result, 0); |
|
3937 |
} |
|
3938 |
return resultobj; |
|
3939 |
fail: |
|
3940 |
return NULL; |
|
3941 |
} |
|
3942 |
||
3943 |
||
3944 |
SWIGINTERN PyObject *_wrap_EditableListBox_GetUpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
3945 |
PyObject *resultobj = 0; |
|
3946 |
wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; |
|
3947 |
wxBitmapButton *result = 0 ; |
|
3948 |
void *argp1 = 0 ; |
|
3949 |
int res1 = 0 ; |
|
3950 |
PyObject *swig_obj[1] ; |
|
3951 |
||
3952 |
if (!args) SWIG_fail; |
|
3953 |
swig_obj[0] = args; |
|
3954 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 ); |
|
3955 |
if (!SWIG_IsOK(res1)) { |
|
3956 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetUpButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); |
|
3957 |
} |
|
3958 |
arg1 = reinterpret_cast< wxEditableListBox * >(argp1); |
|
3959 |
{ |
|
3960 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
3961 |
result = (wxBitmapButton *)(arg1)->GetUpButton(); |
|
3962 |
wxPyEndAllowThreads(__tstate); |
|
3963 |
if (PyErr_Occurred()) SWIG_fail; |
|
3964 |
} |
|
3965 |
{ |
|
3966 |
resultobj = wxPyMake_wxObject(result, 0); |
|
3967 |
} |
|
3968 |
return resultobj; |
|
3969 |
fail: |
|
3970 |
return NULL; |
|
3971 |
} |
|
3972 |
||
3973 |
||
3974 |
SWIGINTERN PyObject *_wrap_EditableListBox_GetDownButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
3975 |
PyObject *resultobj = 0; |
|
3976 |
wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; |
|
3977 |
wxBitmapButton *result = 0 ; |
|
3978 |
void *argp1 = 0 ; |
|
3979 |
int res1 = 0 ; |
|
3980 |
PyObject *swig_obj[1] ; |
|
3981 |
||
3982 |
if (!args) SWIG_fail; |
|
3983 |
swig_obj[0] = args; |
|
3984 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 ); |
|
3985 |
if (!SWIG_IsOK(res1)) { |
|
3986 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDownButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); |
|
3987 |
} |
|
3988 |
arg1 = reinterpret_cast< wxEditableListBox * >(argp1); |
|
3989 |
{ |
|
3990 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
3991 |
result = (wxBitmapButton *)(arg1)->GetDownButton(); |
|
3992 |
wxPyEndAllowThreads(__tstate); |
|
3993 |
if (PyErr_Occurred()) SWIG_fail; |
|
3994 |
} |
|
3995 |
{ |
|
3996 |
resultobj = wxPyMake_wxObject(result, 0); |
|
3997 |
} |
|
3998 |
return resultobj; |
|
3999 |
fail: |
|
4000 |
return NULL; |
|
4001 |
} |
|
4002 |
||
4003 |
||
4004 |
SWIGINTERN PyObject *_wrap_EditableListBox_GetEditButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4005 |
PyObject *resultobj = 0; |
|
4006 |
wxEditableListBox *arg1 = (wxEditableListBox *) 0 ; |
|
4007 |
wxBitmapButton *result = 0 ; |
|
4008 |
void *argp1 = 0 ; |
|
4009 |
int res1 = 0 ; |
|
4010 |
PyObject *swig_obj[1] ; |
|
4011 |
||
4012 |
if (!args) SWIG_fail; |
|
4013 |
swig_obj[0] = args; |
|
4014 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 ); |
|
4015 |
if (!SWIG_IsOK(res1)) { |
|
4016 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetEditButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'"); |
|
4017 |
} |
|
4018 |
arg1 = reinterpret_cast< wxEditableListBox * >(argp1); |
|
4019 |
{ |
|
4020 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4021 |
result = (wxBitmapButton *)(arg1)->GetEditButton(); |
|
4022 |
wxPyEndAllowThreads(__tstate); |
|
4023 |
if (PyErr_Occurred()) SWIG_fail; |
|
4024 |
} |
|
4025 |
{ |
|
4026 |
resultobj = wxPyMake_wxObject(result, 0); |
|
4027 |
} |
|
4028 |
return resultobj; |
|
4029 |
fail: |
|
4030 |
return NULL; |
|
4031 |
} |
|
4032 |
||
4033 |
||
4034 |
SWIGINTERN PyObject *EditableListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4035 |
PyObject *obj; |
|
4036 |
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; |
|
4037 |
SWIG_TypeNewClientData(SWIGTYPE_p_wxEditableListBox, SWIG_NewClientData(obj)); |
|
4038 |
return SWIG_Py_Void(); |
|
4039 |
} |
|
4040 |
||
4041 |
SWIGINTERN PyObject *EditableListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4042 |
return SWIG_Python_InitShadowInstance(args); |
|
4043 |
} |
|
4044 |
||
4045 |
SWIGINTERN PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
4046 |
PyObject *resultobj = 0; |
|
4047 |
wxWindow *arg1 = (wxWindow *) 0 ; |
|
4048 |
int arg2 ; |
|
4049 |
wxPoint const &arg3_defvalue = wxDefaultPosition ; |
|
4050 |
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; |
|
4051 |
wxSize const &arg4_defvalue = wxDefaultSize ; |
|
4052 |
wxSize *arg4 = (wxSize *) &arg4_defvalue ; |
|
4053 |
long arg5 = (long) wxTR_HAS_BUTTONS ; |
|
4054 |
wxRemotelyScrolledTreeCtrl *result = 0 ; |
|
4055 |
void *argp1 = 0 ; |
|
4056 |
int res1 = 0 ; |
|
4057 |
int val2 ; |
|
4058 |
int ecode2 = 0 ; |
|
4059 |
wxPoint temp3 ; |
|
4060 |
wxSize temp4 ; |
|
4061 |
long val5 ; |
|
4062 |
int ecode5 = 0 ; |
|
4063 |
PyObject * obj0 = 0 ; |
|
4064 |
PyObject * obj1 = 0 ; |
|
4065 |
PyObject * obj2 = 0 ; |
|
4066 |
PyObject * obj3 = 0 ; |
|
4067 |
PyObject * obj4 = 0 ; |
|
4068 |
char * kwnames[] = { |
|
4069 |
(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL |
|
4070 |
}; |
|
4071 |
||
4072 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
|
4073 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
|
4074 |
if (!SWIG_IsOK(res1)) { |
|
4075 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); |
|
4076 |
} |
|
4077 |
arg1 = reinterpret_cast< wxWindow * >(argp1); |
|
4078 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
4079 |
if (!SWIG_IsOK(ecode2)) { |
|
4080 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "2"" of type '" "int""'"); |
|
4081 |
} |
|
4082 |
arg2 = static_cast< int >(val2); |
|
4083 |
if (obj2) { |
|
4084 |
{ |
|
4085 |
arg3 = &temp3; |
|
4086 |
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; |
|
4087 |
} |
|
4088 |
} |
|
4089 |
if (obj3) { |
|
4090 |
{ |
|
4091 |
arg4 = &temp4; |
|
4092 |
if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; |
|
4093 |
} |
|
4094 |
} |
|
4095 |
if (obj4) { |
|
4096 |
ecode5 = SWIG_AsVal_long(obj4, &val5); |
|
4097 |
if (!SWIG_IsOK(ecode5)) { |
|
4098 |
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "5"" of type '" "long""'"); |
|
4099 |
} |
|
4100 |
arg5 = static_cast< long >(val5); |
|
4101 |
} |
|
4102 |
{ |
|
4103 |
if (!wxPyCheckForApp()) SWIG_fail; |
|
4104 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4105 |
result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); |
|
4106 |
wxPyEndAllowThreads(__tstate); |
|
4107 |
if (PyErr_Occurred()) SWIG_fail; |
|
4108 |
} |
|
4109 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_NEW | 0 ); |
|
4110 |
return resultobj; |
|
4111 |
fail: |
|
4112 |
return NULL; |
|
4113 |
} |
|
4114 |
||
4115 |
||
4116 |
SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4117 |
PyObject *resultobj = 0; |
|
4118 |
wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; |
|
4119 |
void *argp1 = 0 ; |
|
4120 |
int res1 = 0 ; |
|
4121 |
PyObject *swig_obj[1] ; |
|
4122 |
||
4123 |
if (!args) SWIG_fail; |
|
4124 |
swig_obj[0] = args; |
|
4125 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 ); |
|
4126 |
if (!SWIG_IsOK(res1)) { |
|
4127 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_HideVScrollbar" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'"); |
|
4128 |
} |
|
4129 |
arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1); |
|
4130 |
{ |
|
4131 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4132 |
(arg1)->HideVScrollbar(); |
|
4133 |
wxPyEndAllowThreads(__tstate); |
|
4134 |
if (PyErr_Occurred()) SWIG_fail; |
|
4135 |
} |
|
4136 |
resultobj = SWIG_Py_Void(); |
|
4137 |
return resultobj; |
|
4138 |
fail: |
|
4139 |
return NULL; |
|
4140 |
} |
|
4141 |
||
4142 |
||
4143 |
SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4144 |
PyObject *resultobj = 0; |
|
4145 |
wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; |
|
4146 |
void *argp1 = 0 ; |
|
4147 |
int res1 = 0 ; |
|
4148 |
PyObject *swig_obj[1] ; |
|
4149 |
||
4150 |
if (!args) SWIG_fail; |
|
4151 |
swig_obj[0] = args; |
|
4152 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 ); |
|
4153 |
if (!SWIG_IsOK(res1)) { |
|
4154 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'"); |
|
4155 |
} |
|
4156 |
arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1); |
|
4157 |
{ |
|
4158 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4159 |
(arg1)->AdjustRemoteScrollbars(); |
|
4160 |
wxPyEndAllowThreads(__tstate); |
|
4161 |
if (PyErr_Occurred()) SWIG_fail; |
|
4162 |
} |
|
4163 |
resultobj = SWIG_Py_Void(); |
|
4164 |
return resultobj; |
|
4165 |
fail: |
|
4166 |
return NULL; |
|
4167 |
} |
|
4168 |
||
4169 |
||
4170 |
SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4171 |
PyObject *resultobj = 0; |
|
4172 |
wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; |
|
4173 |
wxScrolledWindow *result = 0 ; |
|
4174 |
void *argp1 = 0 ; |
|
4175 |
int res1 = 0 ; |
|
4176 |
PyObject *swig_obj[1] ; |
|
4177 |
||
4178 |
if (!args) SWIG_fail; |
|
4179 |
swig_obj[0] = args; |
|
4180 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 ); |
|
4181 |
if (!SWIG_IsOK(res1)) { |
|
4182 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetScrolledWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'"); |
|
4183 |
} |
|
4184 |
arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1); |
|
4185 |
{ |
|
4186 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4187 |
result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow(); |
|
4188 |
wxPyEndAllowThreads(__tstate); |
|
4189 |
if (PyErr_Occurred()) SWIG_fail; |
|
4190 |
} |
|
4191 |
{ |
|
4192 |
resultobj = wxPyMake_wxObject(result, 0); |
|
4193 |
} |
|
4194 |
return resultobj; |
|
4195 |
fail: |
|
4196 |
return NULL; |
|
4197 |
} |
|
4198 |
||
4199 |
||
4200 |
SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
4201 |
PyObject *resultobj = 0; |
|
4202 |
wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; |
|
4203 |
int arg2 ; |
|
4204 |
int arg3 ; |
|
4205 |
void *argp1 = 0 ; |
|
4206 |
int res1 = 0 ; |
|
4207 |
int val2 ; |
|
4208 |
int ecode2 = 0 ; |
|
4209 |
int val3 ; |
|
4210 |
int ecode3 = 0 ; |
|
4211 |
PyObject * obj0 = 0 ; |
|
4212 |
PyObject * obj1 = 0 ; |
|
4213 |
PyObject * obj2 = 0 ; |
|
4214 |
char * kwnames[] = { |
|
4215 |
(char *) "self",(char *) "posHoriz",(char *) "posVert", NULL |
|
4216 |
}; |
|
4217 |
||
4218 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
4219 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 ); |
|
4220 |
if (!SWIG_IsOK(res1)) { |
|
4221 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'"); |
|
4222 |
} |
|
4223 |
arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1); |
|
4224 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
4225 |
if (!SWIG_IsOK(ecode2)) { |
|
4226 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'"); |
|
4227 |
} |
|
4228 |
arg2 = static_cast< int >(val2); |
|
4229 |
ecode3 = SWIG_AsVal_int(obj2, &val3); |
|
4230 |
if (!SWIG_IsOK(ecode3)) { |
|
4231 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "3"" of type '" "int""'"); |
|
4232 |
} |
|
4233 |
arg3 = static_cast< int >(val3); |
|
4234 |
{ |
|
4235 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4236 |
(arg1)->ScrollToLine(arg2,arg3); |
|
4237 |
wxPyEndAllowThreads(__tstate); |
|
4238 |
if (PyErr_Occurred()) SWIG_fail; |
|
4239 |
} |
|
4240 |
resultobj = SWIG_Py_Void(); |
|
4241 |
return resultobj; |
|
4242 |
fail: |
|
4243 |
return NULL; |
|
4244 |
} |
|
4245 |
||
4246 |
||
4247 |
SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
4248 |
PyObject *resultobj = 0; |
|
4249 |
wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; |
|
4250 |
wxWindow *arg2 = (wxWindow *) 0 ; |
|
4251 |
void *argp1 = 0 ; |
|
4252 |
int res1 = 0 ; |
|
4253 |
void *argp2 = 0 ; |
|
4254 |
int res2 = 0 ; |
|
4255 |
PyObject * obj0 = 0 ; |
|
4256 |
PyObject * obj1 = 0 ; |
|
4257 |
char * kwnames[] = { |
|
4258 |
(char *) "self",(char *) "companion", NULL |
|
4259 |
}; |
|
4260 |
||
4261 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) SWIG_fail; |
|
4262 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 ); |
|
4263 |
if (!SWIG_IsOK(res1)) { |
|
4264 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'"); |
|
4265 |
} |
|
4266 |
arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1); |
|
4267 |
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
|
4268 |
if (!SWIG_IsOK(res2)) { |
|
4269 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "2"" of type '" "wxWindow *""'"); |
|
4270 |
} |
|
4271 |
arg2 = reinterpret_cast< wxWindow * >(argp2); |
|
4272 |
{ |
|
4273 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4274 |
(arg1)->SetCompanionWindow(arg2); |
|
4275 |
wxPyEndAllowThreads(__tstate); |
|
4276 |
if (PyErr_Occurred()) SWIG_fail; |
|
4277 |
} |
|
4278 |
resultobj = SWIG_Py_Void(); |
|
4279 |
return resultobj; |
|
4280 |
fail: |
|
4281 |
return NULL; |
|
4282 |
} |
|
4283 |
||
4284 |
||
4285 |
SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4286 |
PyObject *resultobj = 0; |
|
4287 |
wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ; |
|
4288 |
wxWindow *result = 0 ; |
|
4289 |
void *argp1 = 0 ; |
|
4290 |
int res1 = 0 ; |
|
4291 |
PyObject *swig_obj[1] ; |
|
4292 |
||
4293 |
if (!args) SWIG_fail; |
|
4294 |
swig_obj[0] = args; |
|
4295 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 ); |
|
4296 |
if (!SWIG_IsOK(res1)) { |
|
4297 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'"); |
|
4298 |
} |
|
4299 |
arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1); |
|
4300 |
{ |
|
4301 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4302 |
result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow(); |
|
4303 |
wxPyEndAllowThreads(__tstate); |
|
4304 |
if (PyErr_Occurred()) SWIG_fail; |
|
4305 |
} |
|
4306 |
{ |
|
4307 |
resultobj = wxPyMake_wxObject(result, 0); |
|
4308 |
} |
|
4309 |
return resultobj; |
|
4310 |
fail: |
|
4311 |
return NULL; |
|
4312 |
} |
|
4313 |
||
4314 |
||
4315 |
SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4316 |
PyObject *obj; |
|
4317 |
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; |
|
4318 |
SWIG_TypeNewClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_NewClientData(obj)); |
|
4319 |
return SWIG_Py_Void(); |
|
4320 |
} |
|
4321 |
||
4322 |
SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4323 |
return SWIG_Python_InitShadowInstance(args); |
|
4324 |
} |
|
4325 |
||
4326 |
SWIGINTERN PyObject *_wrap_new_TreeCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
4327 |
PyObject *resultobj = 0; |
|
4328 |
wxWindow *arg1 = (wxWindow *) 0 ; |
|
4329 |
int arg2 = (int) -1 ; |
|
4330 |
wxPoint const &arg3_defvalue = wxDefaultPosition ; |
|
4331 |
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; |
|
4332 |
wxSize const &arg4_defvalue = wxDefaultSize ; |
|
4333 |
wxSize *arg4 = (wxSize *) &arg4_defvalue ; |
|
4334 |
long arg5 = (long) 0 ; |
|
4335 |
wxPyTreeCompanionWindow *result = 0 ; |
|
4336 |
void *argp1 = 0 ; |
|
4337 |
int res1 = 0 ; |
|
4338 |
int val2 ; |
|
4339 |
int ecode2 = 0 ; |
|
4340 |
wxPoint temp3 ; |
|
4341 |
wxSize temp4 ; |
|
4342 |
long val5 ; |
|
4343 |
int ecode5 = 0 ; |
|
4344 |
PyObject * obj0 = 0 ; |
|
4345 |
PyObject * obj1 = 0 ; |
|
4346 |
PyObject * obj2 = 0 ; |
|
4347 |
PyObject * obj3 = 0 ; |
|
4348 |
PyObject * obj4 = 0 ; |
|
4349 |
char * kwnames[] = { |
|
4350 |
(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL |
|
4351 |
}; |
|
4352 |
||
4353 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
|
4354 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
|
4355 |
if (!SWIG_IsOK(res1)) { |
|
4356 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCompanionWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); |
|
4357 |
} |
|
4358 |
arg1 = reinterpret_cast< wxWindow * >(argp1); |
|
4359 |
if (obj1) { |
|
4360 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
4361 |
if (!SWIG_IsOK(ecode2)) { |
|
4362 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCompanionWindow" "', expected argument " "2"" of type '" "int""'"); |
|
4363 |
} |
|
4364 |
arg2 = static_cast< int >(val2); |
|
4365 |
} |
|
4366 |
if (obj2) { |
|
4367 |
{ |
|
4368 |
arg3 = &temp3; |
|
4369 |
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; |
|
4370 |
} |
|
4371 |
} |
|
4372 |
if (obj3) { |
|
4373 |
{ |
|
4374 |
arg4 = &temp4; |
|
4375 |
if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; |
|
4376 |
} |
|
4377 |
} |
|
4378 |
if (obj4) { |
|
4379 |
ecode5 = SWIG_AsVal_long(obj4, &val5); |
|
4380 |
if (!SWIG_IsOK(ecode5)) { |
|
4381 |
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCompanionWindow" "', expected argument " "5"" of type '" "long""'"); |
|
4382 |
} |
|
4383 |
arg5 = static_cast< long >(val5); |
|
4384 |
} |
|
4385 |
{ |
|
4386 |
if (!wxPyCheckForApp()) SWIG_fail; |
|
4387 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4388 |
result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); |
|
4389 |
wxPyEndAllowThreads(__tstate); |
|
4390 |
if (PyErr_Occurred()) SWIG_fail; |
|
4391 |
} |
|
4392 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_NEW | 0 ); |
|
4393 |
return resultobj; |
|
4394 |
fail: |
|
4395 |
return NULL; |
|
4396 |
} |
|
4397 |
||
4398 |
||
4399 |
SWIGINTERN PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
4400 |
PyObject *resultobj = 0; |
|
4401 |
wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; |
|
4402 |
PyObject *arg2 = (PyObject *) 0 ; |
|
4403 |
PyObject *arg3 = (PyObject *) 0 ; |
|
4404 |
void *argp1 = 0 ; |
|
4405 |
int res1 = 0 ; |
|
4406 |
PyObject * obj0 = 0 ; |
|
4407 |
PyObject * obj1 = 0 ; |
|
4408 |
PyObject * obj2 = 0 ; |
|
4409 |
char * kwnames[] = { |
|
4410 |
(char *) "self",(char *) "self",(char *) "_class", NULL |
|
4411 |
}; |
|
4412 |
||
4413 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
4414 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 ); |
|
4415 |
if (!SWIG_IsOK(res1)) { |
|
4416 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'"); |
|
4417 |
} |
|
4418 |
arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1); |
|
4419 |
arg2 = obj1; |
|
4420 |
arg3 = obj2; |
|
4421 |
{ |
|
4422 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4423 |
(arg1)->_setCallbackInfo(arg2,arg3); |
|
4424 |
wxPyEndAllowThreads(__tstate); |
|
4425 |
if (PyErr_Occurred()) SWIG_fail; |
|
4426 |
} |
|
4427 |
resultobj = SWIG_Py_Void(); |
|
4428 |
return resultobj; |
|
4429 |
fail: |
|
4430 |
return NULL; |
|
4431 |
} |
|
4432 |
||
4433 |
||
4434 |
SWIGINTERN PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4435 |
PyObject *resultobj = 0; |
|
4436 |
wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; |
|
4437 |
wxRemotelyScrolledTreeCtrl *result = 0 ; |
|
4438 |
void *argp1 = 0 ; |
|
4439 |
int res1 = 0 ; |
|
4440 |
PyObject *swig_obj[1] ; |
|
4441 |
||
4442 |
if (!args) SWIG_fail; |
|
4443 |
swig_obj[0] = args; |
|
4444 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 ); |
|
4445 |
if (!SWIG_IsOK(res1)) { |
|
4446 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow const *""'"); |
|
4447 |
} |
|
4448 |
arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1); |
|
4449 |
{ |
|
4450 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4451 |
result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl(); |
|
4452 |
wxPyEndAllowThreads(__tstate); |
|
4453 |
if (PyErr_Occurred()) SWIG_fail; |
|
4454 |
} |
|
4455 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 ); |
|
4456 |
return resultobj; |
|
4457 |
fail: |
|
4458 |
return NULL; |
|
4459 |
} |
|
4460 |
||
4461 |
||
4462 |
SWIGINTERN PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
4463 |
PyObject *resultobj = 0; |
|
4464 |
wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ; |
|
4465 |
wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ; |
|
4466 |
void *argp1 = 0 ; |
|
4467 |
int res1 = 0 ; |
|
4468 |
void *argp2 = 0 ; |
|
4469 |
int res2 = 0 ; |
|
4470 |
PyObject * obj0 = 0 ; |
|
4471 |
PyObject * obj1 = 0 ; |
|
4472 |
char * kwnames[] = { |
|
4473 |
(char *) "self",(char *) "treeCtrl", NULL |
|
4474 |
}; |
|
4475 |
||
4476 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) SWIG_fail; |
|
4477 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 ); |
|
4478 |
if (!SWIG_IsOK(res1)) { |
|
4479 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'"); |
|
4480 |
} |
|
4481 |
arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1); |
|
4482 |
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 ); |
|
4483 |
if (!SWIG_IsOK(res2)) { |
|
4484 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "2"" of type '" "wxRemotelyScrolledTreeCtrl *""'"); |
|
4485 |
} |
|
4486 |
arg2 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp2); |
|
4487 |
{ |
|
4488 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4489 |
(arg1)->SetTreeCtrl(arg2); |
|
4490 |
wxPyEndAllowThreads(__tstate); |
|
4491 |
if (PyErr_Occurred()) SWIG_fail; |
|
4492 |
} |
|
4493 |
resultobj = SWIG_Py_Void(); |
|
4494 |
return resultobj; |
|
4495 |
fail: |
|
4496 |
return NULL; |
|
4497 |
} |
|
4498 |
||
4499 |
||
4500 |
SWIGINTERN PyObject *TreeCompanionWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4501 |
PyObject *obj; |
|
4502 |
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; |
|
4503 |
SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_NewClientData(obj)); |
|
4504 |
return SWIG_Py_Void(); |
|
4505 |
} |
|
4506 |
||
4507 |
SWIGINTERN PyObject *TreeCompanionWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4508 |
return SWIG_Python_InitShadowInstance(args); |
|
4509 |
} |
|
4510 |
||
4511 |
SWIGINTERN PyObject *_wrap_new_ThinSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
4512 |
PyObject *resultobj = 0; |
|
4513 |
wxWindow *arg1 = (wxWindow *) 0 ; |
|
4514 |
int arg2 = (int) -1 ; |
|
4515 |
wxPoint const &arg3_defvalue = wxDefaultPosition ; |
|
4516 |
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; |
|
4517 |
wxSize const &arg4_defvalue = wxDefaultSize ; |
|
4518 |
wxSize *arg4 = (wxSize *) &arg4_defvalue ; |
|
4519 |
long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ; |
|
4520 |
wxThinSplitterWindow *result = 0 ; |
|
4521 |
void *argp1 = 0 ; |
|
4522 |
int res1 = 0 ; |
|
4523 |
int val2 ; |
|
4524 |
int ecode2 = 0 ; |
|
4525 |
wxPoint temp3 ; |
|
4526 |
wxSize temp4 ; |
|
4527 |
long val5 ; |
|
4528 |
int ecode5 = 0 ; |
|
4529 |
PyObject * obj0 = 0 ; |
|
4530 |
PyObject * obj1 = 0 ; |
|
4531 |
PyObject * obj2 = 0 ; |
|
4532 |
PyObject * obj3 = 0 ; |
|
4533 |
PyObject * obj4 = 0 ; |
|
4534 |
char * kwnames[] = { |
|
4535 |
(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL |
|
4536 |
}; |
|
4537 |
||
4538 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
|
4539 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
|
4540 |
if (!SWIG_IsOK(res1)) { |
|
4541 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ThinSplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); |
|
4542 |
} |
|
4543 |
arg1 = reinterpret_cast< wxWindow * >(argp1); |
|
4544 |
if (obj1) { |
|
4545 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
4546 |
if (!SWIG_IsOK(ecode2)) { |
|
4547 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ThinSplitterWindow" "', expected argument " "2"" of type '" "int""'"); |
|
4548 |
} |
|
4549 |
arg2 = static_cast< int >(val2); |
|
4550 |
} |
|
4551 |
if (obj2) { |
|
4552 |
{ |
|
4553 |
arg3 = &temp3; |
|
4554 |
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; |
|
4555 |
} |
|
4556 |
} |
|
4557 |
if (obj3) { |
|
4558 |
{ |
|
4559 |
arg4 = &temp4; |
|
4560 |
if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; |
|
4561 |
} |
|
4562 |
} |
|
4563 |
if (obj4) { |
|
4564 |
ecode5 = SWIG_AsVal_long(obj4, &val5); |
|
4565 |
if (!SWIG_IsOK(ecode5)) { |
|
4566 |
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ThinSplitterWindow" "', expected argument " "5"" of type '" "long""'"); |
|
4567 |
} |
|
4568 |
arg5 = static_cast< long >(val5); |
|
4569 |
} |
|
4570 |
{ |
|
4571 |
if (!wxPyCheckForApp()) SWIG_fail; |
|
4572 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4573 |
result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); |
|
4574 |
wxPyEndAllowThreads(__tstate); |
|
4575 |
if (PyErr_Occurred()) SWIG_fail; |
|
4576 |
} |
|
4577 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxThinSplitterWindow, SWIG_POINTER_NEW | 0 ); |
|
4578 |
return resultobj; |
|
4579 |
fail: |
|
4580 |
return NULL; |
|
4581 |
} |
|
4582 |
||
4583 |
||
4584 |
SWIGINTERN PyObject *ThinSplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4585 |
PyObject *obj; |
|
4586 |
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; |
|
4587 |
SWIG_TypeNewClientData(SWIGTYPE_p_wxThinSplitterWindow, SWIG_NewClientData(obj)); |
|
4588 |
return SWIG_Py_Void(); |
|
4589 |
} |
|
4590 |
||
4591 |
SWIGINTERN PyObject *ThinSplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4592 |
return SWIG_Python_InitShadowInstance(args); |
|
4593 |
} |
|
4594 |
||
4595 |
SWIGINTERN PyObject *_wrap_new_SplitterScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
4596 |
PyObject *resultobj = 0; |
|
4597 |
wxWindow *arg1 = (wxWindow *) 0 ; |
|
4598 |
int arg2 = (int) -1 ; |
|
4599 |
wxPoint const &arg3_defvalue = wxDefaultPosition ; |
|
4600 |
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; |
|
4601 |
wxSize const &arg4_defvalue = wxDefaultSize ; |
|
4602 |
wxSize *arg4 = (wxSize *) &arg4_defvalue ; |
|
4603 |
long arg5 = (long) 0 ; |
|
4604 |
wxSplitterScrolledWindow *result = 0 ; |
|
4605 |
void *argp1 = 0 ; |
|
4606 |
int res1 = 0 ; |
|
4607 |
int val2 ; |
|
4608 |
int ecode2 = 0 ; |
|
4609 |
wxPoint temp3 ; |
|
4610 |
wxSize temp4 ; |
|
4611 |
long val5 ; |
|
4612 |
int ecode5 = 0 ; |
|
4613 |
PyObject * obj0 = 0 ; |
|
4614 |
PyObject * obj1 = 0 ; |
|
4615 |
PyObject * obj2 = 0 ; |
|
4616 |
PyObject * obj3 = 0 ; |
|
4617 |
PyObject * obj4 = 0 ; |
|
4618 |
char * kwnames[] = { |
|
4619 |
(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL |
|
4620 |
}; |
|
4621 |
||
4622 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
|
4623 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
|
4624 |
if (!SWIG_IsOK(res1)) { |
|
4625 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'"); |
|
4626 |
} |
|
4627 |
arg1 = reinterpret_cast< wxWindow * >(argp1); |
|
4628 |
if (obj1) { |
|
4629 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
4630 |
if (!SWIG_IsOK(ecode2)) { |
|
4631 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterScrolledWindow" "', expected argument " "2"" of type '" "int""'"); |
|
4632 |
} |
|
4633 |
arg2 = static_cast< int >(val2); |
|
4634 |
} |
|
4635 |
if (obj2) { |
|
4636 |
{ |
|
4637 |
arg3 = &temp3; |
|
4638 |
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; |
|
4639 |
} |
|
4640 |
} |
|
4641 |
if (obj3) { |
|
4642 |
{ |
|
4643 |
arg4 = &temp4; |
|
4644 |
if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; |
|
4645 |
} |
|
4646 |
} |
|
4647 |
if (obj4) { |
|
4648 |
ecode5 = SWIG_AsVal_long(obj4, &val5); |
|
4649 |
if (!SWIG_IsOK(ecode5)) { |
|
4650 |
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterScrolledWindow" "', expected argument " "5"" of type '" "long""'"); |
|
4651 |
} |
|
4652 |
arg5 = static_cast< long >(val5); |
|
4653 |
} |
|
4654 |
{ |
|
4655 |
if (!wxPyCheckForApp()) SWIG_fail; |
|
4656 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4657 |
result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); |
|
4658 |
wxPyEndAllowThreads(__tstate); |
|
4659 |
if (PyErr_Occurred()) SWIG_fail; |
|
4660 |
} |
|
4661 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_POINTER_NEW | 0 ); |
|
4662 |
return resultobj; |
|
4663 |
fail: |
|
4664 |
return NULL; |
|
4665 |
} |
|
4666 |
||
4667 |
||
4668 |
SWIGINTERN PyObject *SplitterScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4669 |
PyObject *obj; |
|
4670 |
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; |
|
4671 |
SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_NewClientData(obj)); |
|
4672 |
return SWIG_Py_Void(); |
|
4673 |
} |
|
4674 |
||
4675 |
SWIGINTERN PyObject *SplitterScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4676 |
return SWIG_Python_InitShadowInstance(args); |
|
4677 |
} |
|
4678 |
||
4679 |
SWIGINTERN PyObject *_wrap_new_LEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
4680 |
PyObject *resultobj = 0; |
|
4681 |
wxWindow *arg1 = (wxWindow *) 0 ; |
|
4682 |
int arg2 = (int) -1 ; |
|
4683 |
wxPoint const &arg3_defvalue = wxDefaultPosition ; |
|
4684 |
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; |
|
4685 |
wxSize const &arg4_defvalue = wxDefaultSize ; |
|
4686 |
wxSize *arg4 = (wxSize *) &arg4_defvalue ; |
|
4687 |
long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ; |
|
4688 |
wxLEDNumberCtrl *result = 0 ; |
|
4689 |
void *argp1 = 0 ; |
|
4690 |
int res1 = 0 ; |
|
4691 |
int val2 ; |
|
4692 |
int ecode2 = 0 ; |
|
4693 |
wxPoint temp3 ; |
|
4694 |
wxSize temp4 ; |
|
4695 |
long val5 ; |
|
4696 |
int ecode5 = 0 ; |
|
4697 |
PyObject * obj0 = 0 ; |
|
4698 |
PyObject * obj1 = 0 ; |
|
4699 |
PyObject * obj2 = 0 ; |
|
4700 |
PyObject * obj3 = 0 ; |
|
4701 |
PyObject * obj4 = 0 ; |
|
4702 |
char * kwnames[] = { |
|
4703 |
(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL |
|
4704 |
}; |
|
4705 |
||
4706 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
|
4707 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
|
4708 |
if (!SWIG_IsOK(res1)) { |
|
4709 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LEDNumberCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); |
|
4710 |
} |
|
4711 |
arg1 = reinterpret_cast< wxWindow * >(argp1); |
|
4712 |
if (obj1) { |
|
4713 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
4714 |
if (!SWIG_IsOK(ecode2)) { |
|
4715 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LEDNumberCtrl" "', expected argument " "2"" of type '" "int""'"); |
|
4716 |
} |
|
4717 |
arg2 = static_cast< int >(val2); |
|
4718 |
} |
|
4719 |
if (obj2) { |
|
4720 |
{ |
|
4721 |
arg3 = &temp3; |
|
4722 |
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; |
|
4723 |
} |
|
4724 |
} |
|
4725 |
if (obj3) { |
|
4726 |
{ |
|
4727 |
arg4 = &temp4; |
|
4728 |
if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; |
|
4729 |
} |
|
4730 |
} |
|
4731 |
if (obj4) { |
|
4732 |
ecode5 = SWIG_AsVal_long(obj4, &val5); |
|
4733 |
if (!SWIG_IsOK(ecode5)) { |
|
4734 |
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LEDNumberCtrl" "', expected argument " "5"" of type '" "long""'"); |
|
4735 |
} |
|
4736 |
arg5 = static_cast< long >(val5); |
|
4737 |
} |
|
4738 |
{ |
|
4739 |
if (!wxPyCheckForApp()) SWIG_fail; |
|
4740 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4741 |
result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5); |
|
4742 |
wxPyEndAllowThreads(__tstate); |
|
4743 |
if (PyErr_Occurred()) SWIG_fail; |
|
4744 |
} |
|
4745 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_NEW | 0 ); |
|
4746 |
return resultobj; |
|
4747 |
fail: |
|
4748 |
return NULL; |
|
4749 |
} |
|
4750 |
||
4751 |
||
4752 |
SWIGINTERN PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4753 |
PyObject *resultobj = 0; |
|
4754 |
wxLEDNumberCtrl *result = 0 ; |
|
4755 |
||
4756 |
if (!SWIG_Python_UnpackTuple(args,"new_PreLEDNumberCtrl",0,0,0)) SWIG_fail; |
|
4757 |
{ |
|
4758 |
if (!wxPyCheckForApp()) SWIG_fail; |
|
4759 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4760 |
result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(); |
|
4761 |
wxPyEndAllowThreads(__tstate); |
|
4762 |
if (PyErr_Occurred()) SWIG_fail; |
|
4763 |
} |
|
4764 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_OWN | 0 ); |
|
4765 |
return resultobj; |
|
4766 |
fail: |
|
4767 |
return NULL; |
|
4768 |
} |
|
4769 |
||
4770 |
||
4771 |
SWIGINTERN PyObject *_wrap_LEDNumberCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
4772 |
PyObject *resultobj = 0; |
|
4773 |
wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; |
|
4774 |
wxWindow *arg2 = (wxWindow *) 0 ; |
|
4775 |
int arg3 = (int) -1 ; |
|
4776 |
wxPoint const &arg4_defvalue = wxDefaultPosition ; |
|
4777 |
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; |
|
4778 |
wxSize const &arg5_defvalue = wxDefaultSize ; |
|
4779 |
wxSize *arg5 = (wxSize *) &arg5_defvalue ; |
|
4780 |
long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ; |
|
4781 |
bool result; |
|
4782 |
void *argp1 = 0 ; |
|
4783 |
int res1 = 0 ; |
|
4784 |
void *argp2 = 0 ; |
|
4785 |
int res2 = 0 ; |
|
4786 |
int val3 ; |
|
4787 |
int ecode3 = 0 ; |
|
4788 |
wxPoint temp4 ; |
|
4789 |
wxSize temp5 ; |
|
4790 |
long val6 ; |
|
4791 |
int ecode6 = 0 ; |
|
4792 |
PyObject * obj0 = 0 ; |
|
4793 |
PyObject * obj1 = 0 ; |
|
4794 |
PyObject * obj2 = 0 ; |
|
4795 |
PyObject * obj3 = 0 ; |
|
4796 |
PyObject * obj4 = 0 ; |
|
4797 |
PyObject * obj5 = 0 ; |
|
4798 |
char * kwnames[] = { |
|
4799 |
(char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL |
|
4800 |
}; |
|
4801 |
||
4802 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
|
4803 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 ); |
|
4804 |
if (!SWIG_IsOK(res1)) { |
|
4805 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_Create" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'"); |
|
4806 |
} |
|
4807 |
arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1); |
|
4808 |
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
|
4809 |
if (!SWIG_IsOK(res2)) { |
|
4810 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LEDNumberCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); |
|
4811 |
} |
|
4812 |
arg2 = reinterpret_cast< wxWindow * >(argp2); |
|
4813 |
if (obj2) { |
|
4814 |
ecode3 = SWIG_AsVal_int(obj2, &val3); |
|
4815 |
if (!SWIG_IsOK(ecode3)) { |
|
4816 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_Create" "', expected argument " "3"" of type '" "int""'"); |
|
4817 |
} |
|
4818 |
arg3 = static_cast< int >(val3); |
|
4819 |
} |
|
4820 |
if (obj3) { |
|
4821 |
{ |
|
4822 |
arg4 = &temp4; |
|
4823 |
if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; |
|
4824 |
} |
|
4825 |
} |
|
4826 |
if (obj4) { |
|
4827 |
{ |
|
4828 |
arg5 = &temp5; |
|
4829 |
if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; |
|
4830 |
} |
|
4831 |
} |
|
4832 |
if (obj5) { |
|
4833 |
ecode6 = SWIG_AsVal_long(obj5, &val6); |
|
4834 |
if (!SWIG_IsOK(ecode6)) { |
|
4835 |
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LEDNumberCtrl_Create" "', expected argument " "6"" of type '" "long""'"); |
|
4836 |
} |
|
4837 |
arg6 = static_cast< long >(val6); |
|
4838 |
} |
|
4839 |
{ |
|
4840 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4841 |
result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6); |
|
4842 |
wxPyEndAllowThreads(__tstate); |
|
4843 |
if (PyErr_Occurred()) SWIG_fail; |
|
4844 |
} |
|
4845 |
{ |
|
4846 |
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
|
4847 |
} |
|
4848 |
return resultobj; |
|
4849 |
fail: |
|
4850 |
return NULL; |
|
4851 |
} |
|
4852 |
||
4853 |
||
4854 |
SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4855 |
PyObject *resultobj = 0; |
|
4856 |
wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; |
|
4857 |
wxLEDValueAlign result; |
|
4858 |
void *argp1 = 0 ; |
|
4859 |
int res1 = 0 ; |
|
4860 |
PyObject *swig_obj[1] ; |
|
4861 |
||
4862 |
if (!args) SWIG_fail; |
|
4863 |
swig_obj[0] = args; |
|
4864 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 ); |
|
4865 |
if (!SWIG_IsOK(res1)) { |
|
4866 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'"); |
|
4867 |
} |
|
4868 |
arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1); |
|
4869 |
{ |
|
4870 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4871 |
result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment(); |
|
4872 |
wxPyEndAllowThreads(__tstate); |
|
4873 |
if (PyErr_Occurred()) SWIG_fail; |
|
4874 |
} |
|
4875 |
resultobj = SWIG_From_int(static_cast< int >(result)); |
|
4876 |
return resultobj; |
|
4877 |
fail: |
|
4878 |
return NULL; |
|
4879 |
} |
|
4880 |
||
4881 |
||
4882 |
SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4883 |
PyObject *resultobj = 0; |
|
4884 |
wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; |
|
4885 |
bool result; |
|
4886 |
void *argp1 = 0 ; |
|
4887 |
int res1 = 0 ; |
|
4888 |
PyObject *swig_obj[1] ; |
|
4889 |
||
4890 |
if (!args) SWIG_fail; |
|
4891 |
swig_obj[0] = args; |
|
4892 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 ); |
|
4893 |
if (!SWIG_IsOK(res1)) { |
|
4894 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'"); |
|
4895 |
} |
|
4896 |
arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1); |
|
4897 |
{ |
|
4898 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4899 |
result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded(); |
|
4900 |
wxPyEndAllowThreads(__tstate); |
|
4901 |
if (PyErr_Occurred()) SWIG_fail; |
|
4902 |
} |
|
4903 |
{ |
|
4904 |
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
|
4905 |
} |
|
4906 |
return resultobj; |
|
4907 |
fail: |
|
4908 |
return NULL; |
|
4909 |
} |
|
4910 |
||
4911 |
||
4912 |
SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
4913 |
PyObject *resultobj = 0; |
|
4914 |
wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; |
|
4915 |
wxString *result = 0 ; |
|
4916 |
void *argp1 = 0 ; |
|
4917 |
int res1 = 0 ; |
|
4918 |
PyObject *swig_obj[1] ; |
|
4919 |
||
4920 |
if (!args) SWIG_fail; |
|
4921 |
swig_obj[0] = args; |
|
4922 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 ); |
|
4923 |
if (!SWIG_IsOK(res1)) { |
|
4924 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'"); |
|
4925 |
} |
|
4926 |
arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1); |
|
4927 |
{ |
|
4928 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4929 |
{ |
|
4930 |
wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue(); |
|
4931 |
result = (wxString *) &_result_ref; |
|
4932 |
} |
|
4933 |
wxPyEndAllowThreads(__tstate); |
|
4934 |
if (PyErr_Occurred()) SWIG_fail; |
|
4935 |
} |
|
4936 |
{ |
|
4937 |
#if wxUSE_UNICODE |
|
4938 |
resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len()); |
|
4939 |
#else |
|
4940 |
resultobj = PyString_FromStringAndSize(result->c_str(), result->Len()); |
|
4941 |
#endif |
|
4942 |
} |
|
4943 |
return resultobj; |
|
4944 |
fail: |
|
4945 |
return NULL; |
|
4946 |
} |
|
4947 |
||
4948 |
||
4949 |
SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
4950 |
PyObject *resultobj = 0; |
|
4951 |
wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; |
|
4952 |
wxLEDValueAlign arg2 ; |
|
4953 |
bool arg3 = (bool) true ; |
|
4954 |
void *argp1 = 0 ; |
|
4955 |
int res1 = 0 ; |
|
4956 |
int val2 ; |
|
4957 |
int ecode2 = 0 ; |
|
4958 |
bool val3 ; |
|
4959 |
int ecode3 = 0 ; |
|
4960 |
PyObject * obj0 = 0 ; |
|
4961 |
PyObject * obj1 = 0 ; |
|
4962 |
PyObject * obj2 = 0 ; |
|
4963 |
char * kwnames[] = { |
|
4964 |
(char *) "self",(char *) "Alignment",(char *) "Redraw", NULL |
|
4965 |
}; |
|
4966 |
||
4967 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
4968 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 ); |
|
4969 |
if (!SWIG_IsOK(res1)) { |
|
4970 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'"); |
|
4971 |
} |
|
4972 |
arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1); |
|
4973 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
4974 |
if (!SWIG_IsOK(ecode2)) { |
|
4975 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "2"" of type '" "wxLEDValueAlign""'"); |
|
4976 |
} |
|
4977 |
arg2 = static_cast< wxLEDValueAlign >(val2); |
|
4978 |
if (obj2) { |
|
4979 |
ecode3 = SWIG_AsVal_bool(obj2, &val3); |
|
4980 |
if (!SWIG_IsOK(ecode3)) { |
|
4981 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "3"" of type '" "bool""'"); |
|
4982 |
} |
|
4983 |
arg3 = static_cast< bool >(val3); |
|
4984 |
} |
|
4985 |
{ |
|
4986 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
4987 |
(arg1)->SetAlignment(arg2,arg3); |
|
4988 |
wxPyEndAllowThreads(__tstate); |
|
4989 |
if (PyErr_Occurred()) SWIG_fail; |
|
4990 |
} |
|
4991 |
resultobj = SWIG_Py_Void(); |
|
4992 |
return resultobj; |
|
4993 |
fail: |
|
4994 |
return NULL; |
|
4995 |
} |
|
4996 |
||
4997 |
||
4998 |
SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
4999 |
PyObject *resultobj = 0; |
|
5000 |
wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; |
|
5001 |
bool arg2 ; |
|
5002 |
bool arg3 = (bool) true ; |
|
5003 |
void *argp1 = 0 ; |
|
5004 |
int res1 = 0 ; |
|
5005 |
bool val2 ; |
|
5006 |
int ecode2 = 0 ; |
|
5007 |
bool val3 ; |
|
5008 |
int ecode3 = 0 ; |
|
5009 |
PyObject * obj0 = 0 ; |
|
5010 |
PyObject * obj1 = 0 ; |
|
5011 |
PyObject * obj2 = 0 ; |
|
5012 |
char * kwnames[] = { |
|
5013 |
(char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL |
|
5014 |
}; |
|
5015 |
||
5016 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
5017 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 ); |
|
5018 |
if (!SWIG_IsOK(res1)) { |
|
5019 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'"); |
|
5020 |
} |
|
5021 |
arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1); |
|
5022 |
ecode2 = SWIG_AsVal_bool(obj1, &val2); |
|
5023 |
if (!SWIG_IsOK(ecode2)) { |
|
5024 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "2"" of type '" "bool""'"); |
|
5025 |
} |
|
5026 |
arg2 = static_cast< bool >(val2); |
|
5027 |
if (obj2) { |
|
5028 |
ecode3 = SWIG_AsVal_bool(obj2, &val3); |
|
5029 |
if (!SWIG_IsOK(ecode3)) { |
|
5030 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "3"" of type '" "bool""'"); |
|
5031 |
} |
|
5032 |
arg3 = static_cast< bool >(val3); |
|
5033 |
} |
|
5034 |
{ |
|
5035 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5036 |
(arg1)->SetDrawFaded(arg2,arg3); |
|
5037 |
wxPyEndAllowThreads(__tstate); |
|
5038 |
if (PyErr_Occurred()) SWIG_fail; |
|
5039 |
} |
|
5040 |
resultobj = SWIG_Py_Void(); |
|
5041 |
return resultobj; |
|
5042 |
fail: |
|
5043 |
return NULL; |
|
5044 |
} |
|
5045 |
||
5046 |
||
5047 |
SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
5048 |
PyObject *resultobj = 0; |
|
5049 |
wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ; |
|
5050 |
wxString *arg2 = 0 ; |
|
5051 |
bool arg3 = (bool) true ; |
|
5052 |
void *argp1 = 0 ; |
|
5053 |
int res1 = 0 ; |
|
5054 |
bool temp2 = false ; |
|
5055 |
bool val3 ; |
|
5056 |
int ecode3 = 0 ; |
|
5057 |
PyObject * obj0 = 0 ; |
|
5058 |
PyObject * obj1 = 0 ; |
|
5059 |
PyObject * obj2 = 0 ; |
|
5060 |
char * kwnames[] = { |
|
5061 |
(char *) "self",(char *) "Value",(char *) "Redraw", NULL |
|
5062 |
}; |
|
5063 |
||
5064 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
5065 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 ); |
|
5066 |
if (!SWIG_IsOK(res1)) { |
|
5067 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'"); |
|
5068 |
} |
|
5069 |
arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1); |
|
5070 |
{ |
|
5071 |
arg2 = wxString_in_helper(obj1); |
|
5072 |
if (arg2 == NULL) SWIG_fail; |
|
5073 |
temp2 = true; |
|
5074 |
} |
|
5075 |
if (obj2) { |
|
5076 |
ecode3 = SWIG_AsVal_bool(obj2, &val3); |
|
5077 |
if (!SWIG_IsOK(ecode3)) { |
|
5078 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "3"" of type '" "bool""'"); |
|
5079 |
} |
|
5080 |
arg3 = static_cast< bool >(val3); |
|
5081 |
} |
|
5082 |
{ |
|
5083 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5084 |
(arg1)->SetValue((wxString const &)*arg2,arg3); |
|
5085 |
wxPyEndAllowThreads(__tstate); |
|
5086 |
if (PyErr_Occurred()) SWIG_fail; |
|
5087 |
} |
|
5088 |
resultobj = SWIG_Py_Void(); |
|
5089 |
{ |
|
5090 |
if (temp2) |
|
5091 |
delete arg2; |
|
5092 |
} |
|
5093 |
return resultobj; |
|
5094 |
fail: |
|
5095 |
{ |
|
5096 |
if (temp2) |
|
5097 |
delete arg2; |
|
5098 |
} |
|
5099 |
return NULL; |
|
5100 |
} |
|
5101 |
||
5102 |
||
5103 |
SWIGINTERN PyObject *LEDNumberCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
5104 |
PyObject *obj; |
|
5105 |
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; |
|
5106 |
SWIG_TypeNewClientData(SWIGTYPE_p_wxLEDNumberCtrl, SWIG_NewClientData(obj)); |
|
5107 |
return SWIG_Py_Void(); |
|
5108 |
} |
|
5109 |
||
5110 |
SWIGINTERN PyObject *LEDNumberCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
5111 |
return SWIG_Python_InitShadowInstance(args); |
|
5112 |
} |
|
5113 |
||
5114 |
SWIGINTERN int TreeListCtrlNameStr_set(PyObject *) { |
|
5115 |
SWIG_Error(SWIG_AttributeError,"Variable TreeListCtrlNameStr is read-only."); |
|
5116 |
return 1; |
|
5117 |
} |
|
5118 |
||
5119 |
||
5120 |
SWIGINTERN PyObject *TreeListCtrlNameStr_get(void) { |
|
5121 |
PyObject *pyobj = 0; |
|
5122 |
||
5123 |
{ |
|
5124 |
#if wxUSE_UNICODE |
|
5125 |
pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len()); |
|
5126 |
#else |
|
5127 |
pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len()); |
|
5128 |
#endif |
|
5129 |
} |
|
5130 |
return pyobj; |
|
5131 |
} |
|
5132 |
||
5133 |
||
5134 |
SWIGINTERN PyObject *_wrap_new_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
5135 |
PyObject *resultobj = 0; |
|
5136 |
wxString const &arg1_defvalue = wxPyEmptyString ; |
|
5137 |
wxString *arg1 = (wxString *) &arg1_defvalue ; |
|
5138 |
int arg2 = (int) DEFAULT_COL_WIDTH ; |
|
5139 |
int arg3 = (int) wxALIGN_LEFT ; |
|
5140 |
int arg4 = (int) -1 ; |
|
5141 |
bool arg5 = (bool) true ; |
|
5142 |
bool arg6 = (bool) false ; |
|
5143 |
wxTreeListColumnInfo *result = 0 ; |
|
5144 |
bool temp1 = false ; |
|
5145 |
int val2 ; |
|
5146 |
int ecode2 = 0 ; |
|
5147 |
int val3 ; |
|
5148 |
int ecode3 = 0 ; |
|
5149 |
int val4 ; |
|
5150 |
int ecode4 = 0 ; |
|
5151 |
bool val5 ; |
|
5152 |
int ecode5 = 0 ; |
|
5153 |
bool val6 ; |
|
5154 |
int ecode6 = 0 ; |
|
5155 |
PyObject * obj0 = 0 ; |
|
5156 |
PyObject * obj1 = 0 ; |
|
5157 |
PyObject * obj2 = 0 ; |
|
5158 |
PyObject * obj3 = 0 ; |
|
5159 |
PyObject * obj4 = 0 ; |
|
5160 |
PyObject * obj5 = 0 ; |
|
5161 |
char * kwnames[] = { |
|
5162 |
(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL |
|
5163 |
}; |
|
5164 |
||
5165 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
|
5166 |
if (obj0) { |
|
5167 |
{ |
|
5168 |
arg1 = wxString_in_helper(obj0); |
|
5169 |
if (arg1 == NULL) SWIG_fail; |
|
5170 |
temp1 = true; |
|
5171 |
} |
|
5172 |
} |
|
5173 |
if (obj1) { |
|
5174 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
5175 |
if (!SWIG_IsOK(ecode2)) { |
|
5176 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListColumnInfo" "', expected argument " "2"" of type '" "int""'"); |
|
5177 |
} |
|
5178 |
arg2 = static_cast< int >(val2); |
|
5179 |
} |
|
5180 |
if (obj2) { |
|
5181 |
ecode3 = SWIG_AsVal_int(obj2, &val3); |
|
5182 |
if (!SWIG_IsOK(ecode3)) { |
|
5183 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreeListColumnInfo" "', expected argument " "3"" of type '" "int""'"); |
|
5184 |
} |
|
5185 |
arg3 = static_cast< int >(val3); |
|
5186 |
} |
|
5187 |
if (obj3) { |
|
5188 |
ecode4 = SWIG_AsVal_int(obj3, &val4); |
|
5189 |
if (!SWIG_IsOK(ecode4)) { |
|
5190 |
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreeListColumnInfo" "', expected argument " "4"" of type '" "int""'"); |
|
5191 |
} |
|
5192 |
arg4 = static_cast< int >(val4); |
|
5193 |
} |
|
5194 |
if (obj4) { |
|
5195 |
ecode5 = SWIG_AsVal_bool(obj4, &val5); |
|
5196 |
if (!SWIG_IsOK(ecode5)) { |
|
5197 |
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListColumnInfo" "', expected argument " "5"" of type '" "bool""'"); |
|
5198 |
} |
|
5199 |
arg5 = static_cast< bool >(val5); |
|
5200 |
} |
|
5201 |
if (obj5) { |
|
5202 |
ecode6 = SWIG_AsVal_bool(obj5, &val6); |
|
5203 |
if (!SWIG_IsOK(ecode6)) { |
|
5204 |
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TreeListColumnInfo" "', expected argument " "6"" of type '" "bool""'"); |
|
5205 |
} |
|
5206 |
arg6 = static_cast< bool >(val6); |
|
5207 |
} |
|
5208 |
{ |
|
5209 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5210 |
result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5,arg6); |
|
5211 |
wxPyEndAllowThreads(__tstate); |
|
5212 |
if (PyErr_Occurred()) SWIG_fail; |
|
5213 |
} |
|
5214 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_NEW | 0 ); |
|
5215 |
{ |
|
5216 |
if (temp1) |
|
5217 |
delete arg1; |
|
5218 |
} |
|
5219 |
return resultobj; |
|
5220 |
fail: |
|
5221 |
{ |
|
5222 |
if (temp1) |
|
5223 |
delete arg1; |
|
5224 |
} |
|
5225 |
return NULL; |
|
5226 |
} |
|
5227 |
||
5228 |
||
5229 |
SWIGINTERN PyObject *_wrap_delete_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
5230 |
PyObject *resultobj = 0; |
|
5231 |
wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
|
5232 |
void *argp1 = 0 ; |
|
5233 |
int res1 = 0 ; |
|
5234 |
PyObject *swig_obj[1] ; |
|
5235 |
||
5236 |
if (!args) SWIG_fail; |
|
5237 |
swig_obj[0] = args; |
|
5238 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_DISOWN | 0 ); |
|
5239 |
if (!SWIG_IsOK(res1)) { |
|
5240 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeListColumnInfo" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); |
|
5241 |
} |
|
5242 |
arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); |
|
5243 |
{ |
|
5244 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5245 |
delete arg1; |
|
5246 |
||
5247 |
wxPyEndAllowThreads(__tstate); |
|
5248 |
if (PyErr_Occurred()) SWIG_fail; |
|
5249 |
} |
|
5250 |
resultobj = SWIG_Py_Void(); |
|
5251 |
return resultobj; |
|
5252 |
fail: |
|
5253 |
return NULL; |
|
5254 |
} |
|
5255 |
||
5256 |
||
5257 |
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
5258 |
PyObject *resultobj = 0; |
|
5259 |
wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
|
5260 |
int result; |
|
5261 |
void *argp1 = 0 ; |
|
5262 |
int res1 = 0 ; |
|
5263 |
PyObject *swig_obj[1] ; |
|
5264 |
||
5265 |
if (!args) SWIG_fail; |
|
5266 |
swig_obj[0] = args; |
|
5267 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); |
|
5268 |
if (!SWIG_IsOK(res1)) { |
|
5269 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); |
|
5270 |
} |
|
5271 |
arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); |
|
5272 |
{ |
|
5273 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5274 |
result = (int)((wxTreeListColumnInfo const *)arg1)->GetAlignment(); |
|
5275 |
wxPyEndAllowThreads(__tstate); |
|
5276 |
if (PyErr_Occurred()) SWIG_fail; |
|
5277 |
} |
|
5278 |
resultobj = SWIG_From_int(static_cast< int >(result)); |
|
5279 |
return resultobj; |
|
5280 |
fail: |
|
5281 |
return NULL; |
|
5282 |
} |
|
5283 |
||
5284 |
||
5285 |
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
5286 |
PyObject *resultobj = 0; |
|
5287 |
wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
|
5288 |
wxString result; |
|
5289 |
void *argp1 = 0 ; |
|
5290 |
int res1 = 0 ; |
|
5291 |
PyObject *swig_obj[1] ; |
|
5292 |
||
5293 |
if (!args) SWIG_fail; |
|
5294 |
swig_obj[0] = args; |
|
5295 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); |
|
5296 |
if (!SWIG_IsOK(res1)) { |
|
5297 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); |
|
5298 |
} |
|
5299 |
arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); |
|
5300 |
{ |
|
5301 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5302 |
result = ((wxTreeListColumnInfo const *)arg1)->GetText(); |
|
5303 |
wxPyEndAllowThreads(__tstate); |
|
5304 |
if (PyErr_Occurred()) SWIG_fail; |
|
5305 |
} |
|
5306 |
{ |
|
5307 |
#if wxUSE_UNICODE |
|
5308 |
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
|
5309 |
#else |
|
5310 |
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
|
5311 |
#endif |
|
5312 |
} |
|
5313 |
return resultobj; |
|
5314 |
fail: |
|
5315 |
return NULL; |
|
5316 |
} |
|
5317 |
||
5318 |
||
5319 |
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
5320 |
PyObject *resultobj = 0; |
|
5321 |
wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
|
5322 |
int result; |
|
5323 |
void *argp1 = 0 ; |
|
5324 |
int res1 = 0 ; |
|
5325 |
PyObject *swig_obj[1] ; |
|
5326 |
||
5327 |
if (!args) SWIG_fail; |
|
5328 |
swig_obj[0] = args; |
|
5329 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); |
|
5330 |
if (!SWIG_IsOK(res1)) { |
|
5331 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); |
|
5332 |
} |
|
5333 |
arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); |
|
5334 |
{ |
|
5335 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5336 |
result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage(); |
|
5337 |
wxPyEndAllowThreads(__tstate); |
|
5338 |
if (PyErr_Occurred()) SWIG_fail; |
|
5339 |
} |
|
5340 |
resultobj = SWIG_From_int(static_cast< int >(result)); |
|
5341 |
return resultobj; |
|
5342 |
fail: |
|
5343 |
return NULL; |
|
5344 |
} |
|
5345 |
||
5346 |
||
5347 |
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
5348 |
PyObject *resultobj = 0; |
|
5349 |
wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
|
5350 |
int result; |
|
5351 |
void *argp1 = 0 ; |
|
5352 |
int res1 = 0 ; |
|
5353 |
PyObject *swig_obj[1] ; |
|
5354 |
||
5355 |
if (!args) SWIG_fail; |
|
5356 |
swig_obj[0] = args; |
|
5357 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); |
|
5358 |
if (!SWIG_IsOK(res1)) { |
|
5359 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); |
|
5360 |
} |
|
5361 |
arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); |
|
5362 |
{ |
|
5363 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5364 |
result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage(); |
|
5365 |
wxPyEndAllowThreads(__tstate); |
|
5366 |
if (PyErr_Occurred()) SWIG_fail; |
|
5367 |
} |
|
5368 |
resultobj = SWIG_From_int(static_cast< int >(result)); |
|
5369 |
return resultobj; |
|
5370 |
fail: |
|
5371 |
return NULL; |
|
5372 |
} |
|
5373 |
||
5374 |
||
5375 |
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
5376 |
PyObject *resultobj = 0; |
|
5377 |
wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
|
5378 |
size_t result; |
|
5379 |
void *argp1 = 0 ; |
|
5380 |
int res1 = 0 ; |
|
5381 |
PyObject *swig_obj[1] ; |
|
5382 |
||
5383 |
if (!args) SWIG_fail; |
|
5384 |
swig_obj[0] = args; |
|
5385 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); |
|
5386 |
if (!SWIG_IsOK(res1)) { |
|
5387 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); |
|
5388 |
} |
|
5389 |
arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); |
|
5390 |
{ |
|
5391 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5392 |
result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth(); |
|
5393 |
wxPyEndAllowThreads(__tstate); |
|
5394 |
if (PyErr_Occurred()) SWIG_fail; |
|
5395 |
} |
|
5396 |
resultobj = SWIG_From_size_t(static_cast< size_t >(result)); |
|
5397 |
return resultobj; |
|
5398 |
fail: |
|
5399 |
return NULL; |
|
5400 |
} |
|
5401 |
||
5402 |
||
5403 |
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
5404 |
PyObject *resultobj = 0; |
|
5405 |
wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
|
5406 |
bool result; |
|
5407 |
void *argp1 = 0 ; |
|
5408 |
int res1 = 0 ; |
|
5409 |
PyObject *swig_obj[1] ; |
|
5410 |
||
5411 |
if (!args) SWIG_fail; |
|
5412 |
swig_obj[0] = args; |
|
5413 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); |
|
5414 |
if (!SWIG_IsOK(res1)) { |
|
5415 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); |
|
5416 |
} |
|
5417 |
arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); |
|
5418 |
{ |
|
5419 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5420 |
result = (bool)((wxTreeListColumnInfo const *)arg1)->IsEditable(); |
|
5421 |
wxPyEndAllowThreads(__tstate); |
|
5422 |
if (PyErr_Occurred()) SWIG_fail; |
|
5423 |
} |
|
5424 |
{ |
|
5425 |
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
|
5426 |
} |
|
5427 |
return resultobj; |
|
5428 |
fail: |
|
5429 |
return NULL; |
|
5430 |
} |
|
5431 |
||
5432 |
||
5433 |
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
5434 |
PyObject *resultobj = 0; |
|
5435 |
wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
|
5436 |
bool result; |
|
5437 |
void *argp1 = 0 ; |
|
5438 |
int res1 = 0 ; |
|
5439 |
PyObject *swig_obj[1] ; |
|
5440 |
||
5441 |
if (!args) SWIG_fail; |
|
5442 |
swig_obj[0] = args; |
|
5443 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); |
|
5444 |
if (!SWIG_IsOK(res1)) { |
|
5445 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'"); |
|
5446 |
} |
|
5447 |
arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); |
|
5448 |
{ |
|
5449 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5450 |
result = (bool)((wxTreeListColumnInfo const *)arg1)->IsShown(); |
|
5451 |
wxPyEndAllowThreads(__tstate); |
|
5452 |
if (PyErr_Occurred()) SWIG_fail; |
|
5453 |
} |
|
5454 |
{ |
|
5455 |
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
|
5456 |
} |
|
5457 |
return resultobj; |
|
5458 |
fail: |
|
5459 |
return NULL; |
|
5460 |
} |
|
5461 |
||
5462 |
||
5463 |
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
5464 |
PyObject *resultobj = 0; |
|
5465 |
wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
|
5466 |
int arg2 ; |
|
5467 |
void *argp1 = 0 ; |
|
5468 |
int res1 = 0 ; |
|
5469 |
int val2 ; |
|
5470 |
int ecode2 = 0 ; |
|
5471 |
PyObject * obj0 = 0 ; |
|
5472 |
PyObject * obj1 = 0 ; |
|
5473 |
char * kwnames[] = { |
|
5474 |
(char *) "self",(char *) "alignment", NULL |
|
5475 |
}; |
|
5476 |
||
5477 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail; |
|
5478 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); |
|
5479 |
if (!SWIG_IsOK(res1)) { |
|
5480 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); |
|
5481 |
} |
|
5482 |
arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); |
|
5483 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
5484 |
if (!SWIG_IsOK(ecode2)) { |
|
5485 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "2"" of type '" "int""'"); |
|
5486 |
} |
|
5487 |
arg2 = static_cast< int >(val2); |
|
5488 |
{ |
|
5489 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5490 |
(arg1)->SetAlignment(arg2); |
|
5491 |
wxPyEndAllowThreads(__tstate); |
|
5492 |
if (PyErr_Occurred()) SWIG_fail; |
|
5493 |
} |
|
5494 |
resultobj = SWIG_Py_Void(); |
|
5495 |
return resultobj; |
|
5496 |
fail: |
|
5497 |
return NULL; |
|
5498 |
} |
|
5499 |
||
5500 |
||
5501 |
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
5502 |
PyObject *resultobj = 0; |
|
5503 |
wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
|
5504 |
wxString *arg2 = 0 ; |
|
5505 |
void *argp1 = 0 ; |
|
5506 |
int res1 = 0 ; |
|
5507 |
bool temp2 = false ; |
|
5508 |
PyObject * obj0 = 0 ; |
|
5509 |
PyObject * obj1 = 0 ; |
|
5510 |
char * kwnames[] = { |
|
5511 |
(char *) "self",(char *) "text", NULL |
|
5512 |
}; |
|
5513 |
||
5514 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) SWIG_fail; |
|
5515 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); |
|
5516 |
if (!SWIG_IsOK(res1)) { |
|
5517 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); |
|
5518 |
} |
|
5519 |
arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); |
|
5520 |
{ |
|
5521 |
arg2 = wxString_in_helper(obj1); |
|
5522 |
if (arg2 == NULL) SWIG_fail; |
|
5523 |
temp2 = true; |
|
5524 |
} |
|
5525 |
{ |
|
5526 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5527 |
(arg1)->SetText((wxString const &)*arg2); |
|
5528 |
wxPyEndAllowThreads(__tstate); |
|
5529 |
if (PyErr_Occurred()) SWIG_fail; |
|
5530 |
} |
|
5531 |
resultobj = SWIG_Py_Void(); |
|
5532 |
{ |
|
5533 |
if (temp2) |
|
5534 |
delete arg2; |
|
5535 |
} |
|
5536 |
return resultobj; |
|
5537 |
fail: |
|
5538 |
{ |
|
5539 |
if (temp2) |
|
5540 |
delete arg2; |
|
5541 |
} |
|
5542 |
return NULL; |
|
5543 |
} |
|
5544 |
||
5545 |
||
5546 |
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
5547 |
PyObject *resultobj = 0; |
|
5548 |
wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
|
5549 |
int arg2 ; |
|
5550 |
void *argp1 = 0 ; |
|
5551 |
int res1 = 0 ; |
|
5552 |
int val2 ; |
|
5553 |
int ecode2 = 0 ; |
|
5554 |
PyObject * obj0 = 0 ; |
|
5555 |
PyObject * obj1 = 0 ; |
|
5556 |
char * kwnames[] = { |
|
5557 |
(char *) "self",(char *) "image", NULL |
|
5558 |
}; |
|
5559 |
||
5560 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) SWIG_fail; |
|
5561 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); |
|
5562 |
if (!SWIG_IsOK(res1)) { |
|
5563 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); |
|
5564 |
} |
|
5565 |
arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); |
|
5566 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
5567 |
if (!SWIG_IsOK(ecode2)) { |
|
5568 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "2"" of type '" "int""'"); |
|
5569 |
} |
|
5570 |
arg2 = static_cast< int >(val2); |
|
5571 |
{ |
|
5572 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5573 |
(arg1)->SetImage(arg2); |
|
5574 |
wxPyEndAllowThreads(__tstate); |
|
5575 |
if (PyErr_Occurred()) SWIG_fail; |
|
5576 |
} |
|
5577 |
resultobj = SWIG_Py_Void(); |
|
5578 |
return resultobj; |
|
5579 |
fail: |
|
5580 |
return NULL; |
|
5581 |
} |
|
5582 |
||
5583 |
||
5584 |
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
5585 |
PyObject *resultobj = 0; |
|
5586 |
wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
|
5587 |
int arg2 ; |
|
5588 |
void *argp1 = 0 ; |
|
5589 |
int res1 = 0 ; |
|
5590 |
int val2 ; |
|
5591 |
int ecode2 = 0 ; |
|
5592 |
PyObject * obj0 = 0 ; |
|
5593 |
PyObject * obj1 = 0 ; |
|
5594 |
char * kwnames[] = { |
|
5595 |
(char *) "self",(char *) "image", NULL |
|
5596 |
}; |
|
5597 |
||
5598 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) SWIG_fail; |
|
5599 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); |
|
5600 |
if (!SWIG_IsOK(res1)) { |
|
5601 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); |
|
5602 |
} |
|
5603 |
arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); |
|
5604 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
5605 |
if (!SWIG_IsOK(ecode2)) { |
|
5606 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "2"" of type '" "int""'"); |
|
5607 |
} |
|
5608 |
arg2 = static_cast< int >(val2); |
|
5609 |
{ |
|
5610 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5611 |
(arg1)->SetSelectedImage(arg2); |
|
5612 |
wxPyEndAllowThreads(__tstate); |
|
5613 |
if (PyErr_Occurred()) SWIG_fail; |
|
5614 |
} |
|
5615 |
resultobj = SWIG_Py_Void(); |
|
5616 |
return resultobj; |
|
5617 |
fail: |
|
5618 |
return NULL; |
|
5619 |
} |
|
5620 |
||
5621 |
||
5622 |
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
5623 |
PyObject *resultobj = 0; |
|
5624 |
wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
|
5625 |
size_t arg2 ; |
|
5626 |
void *argp1 = 0 ; |
|
5627 |
int res1 = 0 ; |
|
5628 |
size_t val2 ; |
|
5629 |
int ecode2 = 0 ; |
|
5630 |
PyObject * obj0 = 0 ; |
|
5631 |
PyObject * obj1 = 0 ; |
|
5632 |
char * kwnames[] = { |
|
5633 |
(char *) "self",(char *) "with", NULL |
|
5634 |
}; |
|
5635 |
||
5636 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail; |
|
5637 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); |
|
5638 |
if (!SWIG_IsOK(res1)) { |
|
5639 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); |
|
5640 |
} |
|
5641 |
arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); |
|
5642 |
ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
|
5643 |
if (!SWIG_IsOK(ecode2)) { |
|
5644 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "2"" of type '" "size_t""'"); |
|
5645 |
} |
|
5646 |
arg2 = static_cast< size_t >(val2); |
|
5647 |
{ |
|
5648 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5649 |
(arg1)->SetWidth(arg2); |
|
5650 |
wxPyEndAllowThreads(__tstate); |
|
5651 |
if (PyErr_Occurred()) SWIG_fail; |
|
5652 |
} |
|
5653 |
resultobj = SWIG_Py_Void(); |
|
5654 |
return resultobj; |
|
5655 |
fail: |
|
5656 |
return NULL; |
|
5657 |
} |
|
5658 |
||
5659 |
||
5660 |
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
5661 |
PyObject *resultobj = 0; |
|
5662 |
wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
|
5663 |
bool arg2 ; |
|
5664 |
void *argp1 = 0 ; |
|
5665 |
int res1 = 0 ; |
|
5666 |
bool val2 ; |
|
5667 |
int ecode2 = 0 ; |
|
5668 |
PyObject * obj0 = 0 ; |
|
5669 |
PyObject * obj1 = 0 ; |
|
5670 |
char * kwnames[] = { |
|
5671 |
(char *) "self",(char *) "edit", NULL |
|
5672 |
}; |
|
5673 |
||
5674 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail; |
|
5675 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); |
|
5676 |
if (!SWIG_IsOK(res1)) { |
|
5677 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); |
|
5678 |
} |
|
5679 |
arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); |
|
5680 |
ecode2 = SWIG_AsVal_bool(obj1, &val2); |
|
5681 |
if (!SWIG_IsOK(ecode2)) { |
|
5682 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "2"" of type '" "bool""'"); |
|
5683 |
} |
|
5684 |
arg2 = static_cast< bool >(val2); |
|
5685 |
{ |
|
5686 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5687 |
(arg1)->SetEditable(arg2); |
|
5688 |
wxPyEndAllowThreads(__tstate); |
|
5689 |
if (PyErr_Occurred()) SWIG_fail; |
|
5690 |
} |
|
5691 |
resultobj = SWIG_Py_Void(); |
|
5692 |
return resultobj; |
|
5693 |
fail: |
|
5694 |
return NULL; |
|
5695 |
} |
|
5696 |
||
5697 |
||
5698 |
SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
5699 |
PyObject *resultobj = 0; |
|
5700 |
wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ; |
|
5701 |
bool arg2 ; |
|
5702 |
void *argp1 = 0 ; |
|
5703 |
int res1 = 0 ; |
|
5704 |
bool val2 ; |
|
5705 |
int ecode2 = 0 ; |
|
5706 |
PyObject * obj0 = 0 ; |
|
5707 |
PyObject * obj1 = 0 ; |
|
5708 |
char * kwnames[] = { |
|
5709 |
(char *) "self",(char *) "shown", NULL |
|
5710 |
}; |
|
5711 |
||
5712 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) SWIG_fail; |
|
5713 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); |
|
5714 |
if (!SWIG_IsOK(res1)) { |
|
5715 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'"); |
|
5716 |
} |
|
5717 |
arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1); |
|
5718 |
ecode2 = SWIG_AsVal_bool(obj1, &val2); |
|
5719 |
if (!SWIG_IsOK(ecode2)) { |
|
5720 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "2"" of type '" "bool""'"); |
|
5721 |
} |
|
5722 |
arg2 = static_cast< bool >(val2); |
|
5723 |
{ |
|
5724 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5725 |
(arg1)->SetShown(arg2); |
|
5726 |
wxPyEndAllowThreads(__tstate); |
|
5727 |
if (PyErr_Occurred()) SWIG_fail; |
|
5728 |
} |
|
5729 |
resultobj = SWIG_Py_Void(); |
|
5730 |
return resultobj; |
|
5731 |
fail: |
|
5732 |
return NULL; |
|
5733 |
} |
|
5734 |
||
5735 |
||
5736 |
SWIGINTERN PyObject *TreeListColumnInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
5737 |
PyObject *obj; |
|
5738 |
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; |
|
5739 |
SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeListColumnInfo, SWIG_NewClientData(obj)); |
|
5740 |
return SWIG_Py_Void(); |
|
5741 |
} |
|
5742 |
||
5743 |
SWIGINTERN PyObject *TreeListColumnInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
5744 |
return SWIG_Python_InitShadowInstance(args); |
|
5745 |
} |
|
5746 |
||
5747 |
SWIGINTERN PyObject *_wrap_new_TreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
5748 |
PyObject *resultobj = 0; |
|
5749 |
wxWindow *arg1 = (wxWindow *) 0 ; |
|
5750 |
int arg2 = (int) -1 ; |
|
5751 |
wxPoint const &arg3_defvalue = wxDefaultPosition ; |
|
5752 |
wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; |
|
5753 |
wxSize const &arg4_defvalue = wxDefaultSize ; |
|
5754 |
wxSize *arg4 = (wxSize *) &arg4_defvalue ; |
|
5755 |
long arg5 = (long) wxTR_DEFAULT_STYLE ; |
|
5756 |
wxValidator const &arg6_defvalue = wxDefaultValidator ; |
|
5757 |
wxValidator *arg6 = (wxValidator *) &arg6_defvalue ; |
|
5758 |
wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ; |
|
5759 |
wxString *arg7 = (wxString *) &arg7_defvalue ; |
|
5760 |
wxPyTreeListCtrl *result = 0 ; |
|
5761 |
void *argp1 = 0 ; |
|
5762 |
int res1 = 0 ; |
|
5763 |
int val2 ; |
|
5764 |
int ecode2 = 0 ; |
|
5765 |
wxPoint temp3 ; |
|
5766 |
wxSize temp4 ; |
|
5767 |
long val5 ; |
|
5768 |
int ecode5 = 0 ; |
|
5769 |
void *argp6 = 0 ; |
|
5770 |
int res6 = 0 ; |
|
5771 |
bool temp7 = false ; |
|
5772 |
PyObject * obj0 = 0 ; |
|
5773 |
PyObject * obj1 = 0 ; |
|
5774 |
PyObject * obj2 = 0 ; |
|
5775 |
PyObject * obj3 = 0 ; |
|
5776 |
PyObject * obj4 = 0 ; |
|
5777 |
PyObject * obj5 = 0 ; |
|
5778 |
PyObject * obj6 = 0 ; |
|
5779 |
char * kwnames[] = { |
|
5780 |
(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL |
|
5781 |
}; |
|
5782 |
||
5783 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
|
5784 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
|
5785 |
if (!SWIG_IsOK(res1)) { |
|
5786 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'"); |
|
5787 |
} |
|
5788 |
arg1 = reinterpret_cast< wxWindow * >(argp1); |
|
5789 |
if (obj1) { |
|
5790 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
5791 |
if (!SWIG_IsOK(ecode2)) { |
|
5792 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListCtrl" "', expected argument " "2"" of type '" "int""'"); |
|
5793 |
} |
|
5794 |
arg2 = static_cast< int >(val2); |
|
5795 |
} |
|
5796 |
if (obj2) { |
|
5797 |
{ |
|
5798 |
arg3 = &temp3; |
|
5799 |
if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; |
|
5800 |
} |
|
5801 |
} |
|
5802 |
if (obj3) { |
|
5803 |
{ |
|
5804 |
arg4 = &temp4; |
|
5805 |
if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; |
|
5806 |
} |
|
5807 |
} |
|
5808 |
if (obj4) { |
|
5809 |
ecode5 = SWIG_AsVal_long(obj4, &val5); |
|
5810 |
if (!SWIG_IsOK(ecode5)) { |
|
5811 |
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListCtrl" "', expected argument " "5"" of type '" "long""'"); |
|
5812 |
} |
|
5813 |
arg5 = static_cast< long >(val5); |
|
5814 |
} |
|
5815 |
if (obj5) { |
|
5816 |
res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0); |
|
5817 |
if (!SWIG_IsOK(res6)) { |
|
5818 |
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'"); |
|
5819 |
} |
|
5820 |
if (!argp6) { |
|
5821 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'"); |
|
5822 |
} |
|
5823 |
arg6 = reinterpret_cast< wxValidator * >(argp6); |
|
5824 |
} |
|
5825 |
if (obj6) { |
|
5826 |
{ |
|
5827 |
arg7 = wxString_in_helper(obj6); |
|
5828 |
if (arg7 == NULL) SWIG_fail; |
|
5829 |
temp7 = true; |
|
5830 |
} |
|
5831 |
} |
|
5832 |
{ |
|
5833 |
if (!wxPyCheckForApp()) SWIG_fail; |
|
5834 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5835 |
result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7); |
|
5836 |
wxPyEndAllowThreads(__tstate); |
|
5837 |
if (PyErr_Occurred()) SWIG_fail; |
|
5838 |
} |
|
5839 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_NEW | 0 ); |
|
5840 |
{ |
|
5841 |
if (temp7) |
|
5842 |
delete arg7; |
|
5843 |
} |
|
5844 |
return resultobj; |
|
5845 |
fail: |
|
5846 |
{ |
|
5847 |
if (temp7) |
|
5848 |
delete arg7; |
|
5849 |
} |
|
5850 |
return NULL; |
|
5851 |
} |
|
5852 |
||
5853 |
||
5854 |
SWIGINTERN PyObject *_wrap_new_PreTreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
5855 |
PyObject *resultobj = 0; |
|
5856 |
wxPyTreeListCtrl *result = 0 ; |
|
5857 |
||
5858 |
if (!SWIG_Python_UnpackTuple(args,"new_PreTreeListCtrl",0,0,0)) SWIG_fail; |
|
5859 |
{ |
|
5860 |
if (!wxPyCheckForApp()) SWIG_fail; |
|
5861 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5862 |
result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(); |
|
5863 |
wxPyEndAllowThreads(__tstate); |
|
5864 |
if (PyErr_Occurred()) SWIG_fail; |
|
5865 |
} |
|
5866 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_OWN | 0 ); |
|
5867 |
return resultobj; |
|
5868 |
fail: |
|
5869 |
return NULL; |
|
5870 |
} |
|
5871 |
||
5872 |
||
5873 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
5874 |
PyObject *resultobj = 0; |
|
5875 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
5876 |
wxWindow *arg2 = (wxWindow *) 0 ; |
|
5877 |
int arg3 = (int) -1 ; |
|
5878 |
wxPoint const &arg4_defvalue = wxDefaultPosition ; |
|
5879 |
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; |
|
5880 |
wxSize const &arg5_defvalue = wxDefaultSize ; |
|
5881 |
wxSize *arg5 = (wxSize *) &arg5_defvalue ; |
|
5882 |
long arg6 = (long) wxTR_DEFAULT_STYLE ; |
|
5883 |
wxValidator const &arg7_defvalue = wxDefaultValidator ; |
|
5884 |
wxValidator *arg7 = (wxValidator *) &arg7_defvalue ; |
|
5885 |
wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ; |
|
5886 |
wxString *arg8 = (wxString *) &arg8_defvalue ; |
|
5887 |
bool result; |
|
5888 |
void *argp1 = 0 ; |
|
5889 |
int res1 = 0 ; |
|
5890 |
void *argp2 = 0 ; |
|
5891 |
int res2 = 0 ; |
|
5892 |
int val3 ; |
|
5893 |
int ecode3 = 0 ; |
|
5894 |
wxPoint temp4 ; |
|
5895 |
wxSize temp5 ; |
|
5896 |
long val6 ; |
|
5897 |
int ecode6 = 0 ; |
|
5898 |
void *argp7 = 0 ; |
|
5899 |
int res7 = 0 ; |
|
5900 |
bool temp8 = false ; |
|
5901 |
PyObject * obj0 = 0 ; |
|
5902 |
PyObject * obj1 = 0 ; |
|
5903 |
PyObject * obj2 = 0 ; |
|
5904 |
PyObject * obj3 = 0 ; |
|
5905 |
PyObject * obj4 = 0 ; |
|
5906 |
PyObject * obj5 = 0 ; |
|
5907 |
PyObject * obj6 = 0 ; |
|
5908 |
PyObject * obj7 = 0 ; |
|
5909 |
char * kwnames[] = { |
|
5910 |
(char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL |
|
5911 |
}; |
|
5912 |
||
5913 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; |
|
5914 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
5915 |
if (!SWIG_IsOK(res1)) { |
|
5916 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
5917 |
} |
|
5918 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
5919 |
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
|
5920 |
if (!SWIG_IsOK(res2)) { |
|
5921 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); |
|
5922 |
} |
|
5923 |
arg2 = reinterpret_cast< wxWindow * >(argp2); |
|
5924 |
if (obj2) { |
|
5925 |
ecode3 = SWIG_AsVal_int(obj2, &val3); |
|
5926 |
if (!SWIG_IsOK(ecode3)) { |
|
5927 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_Create" "', expected argument " "3"" of type '" "int""'"); |
|
5928 |
} |
|
5929 |
arg3 = static_cast< int >(val3); |
|
5930 |
} |
|
5931 |
if (obj3) { |
|
5932 |
{ |
|
5933 |
arg4 = &temp4; |
|
5934 |
if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; |
|
5935 |
} |
|
5936 |
} |
|
5937 |
if (obj4) { |
|
5938 |
{ |
|
5939 |
arg5 = &temp5; |
|
5940 |
if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; |
|
5941 |
} |
|
5942 |
} |
|
5943 |
if (obj5) { |
|
5944 |
ecode6 = SWIG_AsVal_long(obj5, &val6); |
|
5945 |
if (!SWIG_IsOK(ecode6)) { |
|
5946 |
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_Create" "', expected argument " "6"" of type '" "long""'"); |
|
5947 |
} |
|
5948 |
arg6 = static_cast< long >(val6); |
|
5949 |
} |
|
5950 |
if (obj6) { |
|
5951 |
res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0); |
|
5952 |
if (!SWIG_IsOK(res7)) { |
|
5953 |
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'"); |
|
5954 |
} |
|
5955 |
if (!argp7) { |
|
5956 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'"); |
|
5957 |
} |
|
5958 |
arg7 = reinterpret_cast< wxValidator * >(argp7); |
|
5959 |
} |
|
5960 |
if (obj7) { |
|
5961 |
{ |
|
5962 |
arg8 = wxString_in_helper(obj7); |
|
5963 |
if (arg8 == NULL) SWIG_fail; |
|
5964 |
temp8 = true; |
|
5965 |
} |
|
5966 |
} |
|
5967 |
{ |
|
5968 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
5969 |
result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8); |
|
5970 |
wxPyEndAllowThreads(__tstate); |
|
5971 |
if (PyErr_Occurred()) SWIG_fail; |
|
5972 |
} |
|
5973 |
{ |
|
5974 |
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
|
5975 |
} |
|
5976 |
{ |
|
5977 |
if (temp8) |
|
5978 |
delete arg8; |
|
5979 |
} |
|
5980 |
return resultobj; |
|
5981 |
fail: |
|
5982 |
{ |
|
5983 |
if (temp8) |
|
5984 |
delete arg8; |
|
5985 |
} |
|
5986 |
return NULL; |
|
5987 |
} |
|
5988 |
||
5989 |
||
5990 |
SWIGINTERN PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
5991 |
PyObject *resultobj = 0; |
|
5992 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
5993 |
PyObject *arg2 = (PyObject *) 0 ; |
|
5994 |
PyObject *arg3 = (PyObject *) 0 ; |
|
5995 |
void *argp1 = 0 ; |
|
5996 |
int res1 = 0 ; |
|
5997 |
PyObject * obj0 = 0 ; |
|
5998 |
PyObject * obj1 = 0 ; |
|
5999 |
PyObject * obj2 = 0 ; |
|
6000 |
char * kwnames[] = { |
|
6001 |
(char *) "self",(char *) "self",(char *) "_class", NULL |
|
6002 |
}; |
|
6003 |
||
6004 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
6005 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6006 |
if (!SWIG_IsOK(res1)) { |
|
6007 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
6008 |
} |
|
6009 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6010 |
arg2 = obj1; |
|
6011 |
arg3 = obj2; |
|
6012 |
{ |
|
6013 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6014 |
(arg1)->_setCallbackInfo(arg2,arg3); |
|
6015 |
wxPyEndAllowThreads(__tstate); |
|
6016 |
if (PyErr_Occurred()) SWIG_fail; |
|
6017 |
} |
|
6018 |
resultobj = SWIG_Py_Void(); |
|
6019 |
return resultobj; |
|
6020 |
fail: |
|
6021 |
return NULL; |
|
6022 |
} |
|
6023 |
||
6024 |
||
6025 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
6026 |
PyObject *resultobj = 0; |
|
6027 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6028 |
size_t result; |
|
6029 |
void *argp1 = 0 ; |
|
6030 |
int res1 = 0 ; |
|
6031 |
PyObject *swig_obj[1] ; |
|
6032 |
||
6033 |
if (!args) SWIG_fail; |
|
6034 |
swig_obj[0] = args; |
|
6035 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6036 |
if (!SWIG_IsOK(res1)) { |
|
6037 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
6038 |
} |
|
6039 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6040 |
{ |
|
6041 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6042 |
result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount(); |
|
6043 |
wxPyEndAllowThreads(__tstate); |
|
6044 |
if (PyErr_Occurred()) SWIG_fail; |
|
6045 |
} |
|
6046 |
resultobj = SWIG_From_size_t(static_cast< size_t >(result)); |
|
6047 |
return resultobj; |
|
6048 |
fail: |
|
6049 |
return NULL; |
|
6050 |
} |
|
6051 |
||
6052 |
||
6053 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
6054 |
PyObject *resultobj = 0; |
|
6055 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6056 |
unsigned int result; |
|
6057 |
void *argp1 = 0 ; |
|
6058 |
int res1 = 0 ; |
|
6059 |
PyObject *swig_obj[1] ; |
|
6060 |
||
6061 |
if (!args) SWIG_fail; |
|
6062 |
swig_obj[0] = args; |
|
6063 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6064 |
if (!SWIG_IsOK(res1)) { |
|
6065 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
6066 |
} |
|
6067 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6068 |
{ |
|
6069 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6070 |
result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent(); |
|
6071 |
wxPyEndAllowThreads(__tstate); |
|
6072 |
if (PyErr_Occurred()) SWIG_fail; |
|
6073 |
} |
|
6074 |
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); |
|
6075 |
return resultobj; |
|
6076 |
fail: |
|
6077 |
return NULL; |
|
6078 |
} |
|
6079 |
||
6080 |
||
6081 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
6082 |
PyObject *resultobj = 0; |
|
6083 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6084 |
unsigned int arg2 ; |
|
6085 |
void *argp1 = 0 ; |
|
6086 |
int res1 = 0 ; |
|
6087 |
unsigned int val2 ; |
|
6088 |
int ecode2 = 0 ; |
|
6089 |
PyObject * obj0 = 0 ; |
|
6090 |
PyObject * obj1 = 0 ; |
|
6091 |
char * kwnames[] = { |
|
6092 |
(char *) "self",(char *) "indent", NULL |
|
6093 |
}; |
|
6094 |
||
6095 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail; |
|
6096 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6097 |
if (!SWIG_IsOK(res1)) { |
|
6098 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
6099 |
} |
|
6100 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6101 |
ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); |
|
6102 |
if (!SWIG_IsOK(ecode2)) { |
|
6103 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'"); |
|
6104 |
} |
|
6105 |
arg2 = static_cast< unsigned int >(val2); |
|
6106 |
{ |
|
6107 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6108 |
(arg1)->SetIndent(arg2); |
|
6109 |
wxPyEndAllowThreads(__tstate); |
|
6110 |
if (PyErr_Occurred()) SWIG_fail; |
|
6111 |
} |
|
6112 |
resultobj = SWIG_Py_Void(); |
|
6113 |
return resultobj; |
|
6114 |
fail: |
|
6115 |
return NULL; |
|
6116 |
} |
|
6117 |
||
6118 |
||
6119 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
6120 |
PyObject *resultobj = 0; |
|
6121 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6122 |
unsigned int result; |
|
6123 |
void *argp1 = 0 ; |
|
6124 |
int res1 = 0 ; |
|
6125 |
PyObject *swig_obj[1] ; |
|
6126 |
||
6127 |
if (!args) SWIG_fail; |
|
6128 |
swig_obj[0] = args; |
|
6129 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6130 |
if (!SWIG_IsOK(res1)) { |
|
6131 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
6132 |
} |
|
6133 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6134 |
{ |
|
6135 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6136 |
result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing(); |
|
6137 |
wxPyEndAllowThreads(__tstate); |
|
6138 |
if (PyErr_Occurred()) SWIG_fail; |
|
6139 |
} |
|
6140 |
resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); |
|
6141 |
return resultobj; |
|
6142 |
fail: |
|
6143 |
return NULL; |
|
6144 |
} |
|
6145 |
||
6146 |
||
6147 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
6148 |
PyObject *resultobj = 0; |
|
6149 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6150 |
unsigned int arg2 ; |
|
6151 |
void *argp1 = 0 ; |
|
6152 |
int res1 = 0 ; |
|
6153 |
unsigned int val2 ; |
|
6154 |
int ecode2 = 0 ; |
|
6155 |
PyObject * obj0 = 0 ; |
|
6156 |
PyObject * obj1 = 0 ; |
|
6157 |
char * kwnames[] = { |
|
6158 |
(char *) "self",(char *) "spacing", NULL |
|
6159 |
}; |
|
6160 |
||
6161 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail; |
|
6162 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6163 |
if (!SWIG_IsOK(res1)) { |
|
6164 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
6165 |
} |
|
6166 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6167 |
ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2); |
|
6168 |
if (!SWIG_IsOK(ecode2)) { |
|
6169 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "2"" of type '" "unsigned int""'"); |
|
6170 |
} |
|
6171 |
arg2 = static_cast< unsigned int >(val2); |
|
6172 |
{ |
|
6173 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6174 |
(arg1)->SetLineSpacing(arg2); |
|
6175 |
wxPyEndAllowThreads(__tstate); |
|
6176 |
if (PyErr_Occurred()) SWIG_fail; |
|
6177 |
} |
|
6178 |
resultobj = SWIG_Py_Void(); |
|
6179 |
return resultobj; |
|
6180 |
fail: |
|
6181 |
return NULL; |
|
6182 |
} |
|
6183 |
||
6184 |
||
6185 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
6186 |
PyObject *resultobj = 0; |
|
6187 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6188 |
wxImageList *result = 0 ; |
|
6189 |
void *argp1 = 0 ; |
|
6190 |
int res1 = 0 ; |
|
6191 |
PyObject *swig_obj[1] ; |
|
6192 |
||
6193 |
if (!args) SWIG_fail; |
|
6194 |
swig_obj[0] = args; |
|
6195 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6196 |
if (!SWIG_IsOK(res1)) { |
|
6197 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
6198 |
} |
|
6199 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6200 |
{ |
|
6201 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6202 |
result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList(); |
|
6203 |
wxPyEndAllowThreads(__tstate); |
|
6204 |
if (PyErr_Occurred()) SWIG_fail; |
|
6205 |
} |
|
6206 |
{ |
|
6207 |
resultobj = wxPyMake_wxObject(result, (bool)0); |
|
6208 |
} |
|
6209 |
return resultobj; |
|
6210 |
fail: |
|
6211 |
return NULL; |
|
6212 |
} |
|
6213 |
||
6214 |
||
6215 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
6216 |
PyObject *resultobj = 0; |
|
6217 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6218 |
wxImageList *result = 0 ; |
|
6219 |
void *argp1 = 0 ; |
|
6220 |
int res1 = 0 ; |
|
6221 |
PyObject *swig_obj[1] ; |
|
6222 |
||
6223 |
if (!args) SWIG_fail; |
|
6224 |
swig_obj[0] = args; |
|
6225 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6226 |
if (!SWIG_IsOK(res1)) { |
|
6227 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
6228 |
} |
|
6229 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6230 |
{ |
|
6231 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6232 |
result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList(); |
|
6233 |
wxPyEndAllowThreads(__tstate); |
|
6234 |
if (PyErr_Occurred()) SWIG_fail; |
|
6235 |
} |
|
6236 |
{ |
|
6237 |
resultobj = wxPyMake_wxObject(result, (bool)0); |
|
6238 |
} |
|
6239 |
return resultobj; |
|
6240 |
fail: |
|
6241 |
return NULL; |
|
6242 |
} |
|
6243 |
||
6244 |
||
6245 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
6246 |
PyObject *resultobj = 0; |
|
6247 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6248 |
wxImageList *result = 0 ; |
|
6249 |
void *argp1 = 0 ; |
|
6250 |
int res1 = 0 ; |
|
6251 |
PyObject *swig_obj[1] ; |
|
6252 |
||
6253 |
if (!args) SWIG_fail; |
|
6254 |
swig_obj[0] = args; |
|
6255 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6256 |
if (!SWIG_IsOK(res1)) { |
|
6257 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
6258 |
} |
|
6259 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6260 |
{ |
|
6261 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6262 |
result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList(); |
|
6263 |
wxPyEndAllowThreads(__tstate); |
|
6264 |
if (PyErr_Occurred()) SWIG_fail; |
|
6265 |
} |
|
6266 |
{ |
|
6267 |
resultobj = wxPyMake_wxObject(result, (bool)0); |
|
6268 |
} |
|
6269 |
return resultobj; |
|
6270 |
fail: |
|
6271 |
return NULL; |
|
6272 |
} |
|
6273 |
||
6274 |
||
6275 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
6276 |
PyObject *resultobj = 0; |
|
6277 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6278 |
wxImageList *arg2 = (wxImageList *) 0 ; |
|
6279 |
void *argp1 = 0 ; |
|
6280 |
int res1 = 0 ; |
|
6281 |
void *argp2 = 0 ; |
|
6282 |
int res2 = 0 ; |
|
6283 |
PyObject * obj0 = 0 ; |
|
6284 |
PyObject * obj1 = 0 ; |
|
6285 |
char * kwnames[] = { |
|
6286 |
(char *) "self",(char *) "imageList", NULL |
|
6287 |
}; |
|
6288 |
||
6289 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail; |
|
6290 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6291 |
if (!SWIG_IsOK(res1)) { |
|
6292 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
6293 |
} |
|
6294 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6295 |
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 ); |
|
6296 |
if (!SWIG_IsOK(res2)) { |
|
6297 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'"); |
|
6298 |
} |
|
6299 |
arg2 = reinterpret_cast< wxImageList * >(argp2); |
|
6300 |
{ |
|
6301 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6302 |
(arg1)->SetImageList(arg2); |
|
6303 |
wxPyEndAllowThreads(__tstate); |
|
6304 |
if (PyErr_Occurred()) SWIG_fail; |
|
6305 |
} |
|
6306 |
resultobj = SWIG_Py_Void(); |
|
6307 |
return resultobj; |
|
6308 |
fail: |
|
6309 |
return NULL; |
|
6310 |
} |
|
6311 |
||
6312 |
||
6313 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
6314 |
PyObject *resultobj = 0; |
|
6315 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6316 |
wxImageList *arg2 = (wxImageList *) 0 ; |
|
6317 |
void *argp1 = 0 ; |
|
6318 |
int res1 = 0 ; |
|
6319 |
void *argp2 = 0 ; |
|
6320 |
int res2 = 0 ; |
|
6321 |
PyObject * obj0 = 0 ; |
|
6322 |
PyObject * obj1 = 0 ; |
|
6323 |
char * kwnames[] = { |
|
6324 |
(char *) "self",(char *) "imageList", NULL |
|
6325 |
}; |
|
6326 |
||
6327 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail; |
|
6328 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6329 |
if (!SWIG_IsOK(res1)) { |
|
6330 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
6331 |
} |
|
6332 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6333 |
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 ); |
|
6334 |
if (!SWIG_IsOK(res2)) { |
|
6335 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'"); |
|
6336 |
} |
|
6337 |
arg2 = reinterpret_cast< wxImageList * >(argp2); |
|
6338 |
{ |
|
6339 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6340 |
(arg1)->SetStateImageList(arg2); |
|
6341 |
wxPyEndAllowThreads(__tstate); |
|
6342 |
if (PyErr_Occurred()) SWIG_fail; |
|
6343 |
} |
|
6344 |
resultobj = SWIG_Py_Void(); |
|
6345 |
return resultobj; |
|
6346 |
fail: |
|
6347 |
return NULL; |
|
6348 |
} |
|
6349 |
||
6350 |
||
6351 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
6352 |
PyObject *resultobj = 0; |
|
6353 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6354 |
wxImageList *arg2 = (wxImageList *) 0 ; |
|
6355 |
void *argp1 = 0 ; |
|
6356 |
int res1 = 0 ; |
|
6357 |
void *argp2 = 0 ; |
|
6358 |
int res2 = 0 ; |
|
6359 |
PyObject * obj0 = 0 ; |
|
6360 |
PyObject * obj1 = 0 ; |
|
6361 |
char * kwnames[] = { |
|
6362 |
(char *) "self",(char *) "imageList", NULL |
|
6363 |
}; |
|
6364 |
||
6365 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail; |
|
6366 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6367 |
if (!SWIG_IsOK(res1)) { |
|
6368 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
6369 |
} |
|
6370 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6371 |
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 ); |
|
6372 |
if (!SWIG_IsOK(res2)) { |
|
6373 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'"); |
|
6374 |
} |
|
6375 |
arg2 = reinterpret_cast< wxImageList * >(argp2); |
|
6376 |
{ |
|
6377 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6378 |
(arg1)->SetButtonsImageList(arg2); |
|
6379 |
wxPyEndAllowThreads(__tstate); |
|
6380 |
if (PyErr_Occurred()) SWIG_fail; |
|
6381 |
} |
|
6382 |
resultobj = SWIG_Py_Void(); |
|
6383 |
return resultobj; |
|
6384 |
fail: |
|
6385 |
return NULL; |
|
6386 |
} |
|
6387 |
||
6388 |
||
6389 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
6390 |
PyObject *resultobj = 0; |
|
6391 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6392 |
wxImageList *arg2 = (wxImageList *) 0 ; |
|
6393 |
void *argp1 = 0 ; |
|
6394 |
int res1 = 0 ; |
|
6395 |
int res2 = 0 ; |
|
6396 |
PyObject * obj0 = 0 ; |
|
6397 |
PyObject * obj1 = 0 ; |
|
6398 |
char * kwnames[] = { |
|
6399 |
(char *) "self",(char *) "imageList", NULL |
|
6400 |
}; |
|
6401 |
||
6402 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail; |
|
6403 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6404 |
if (!SWIG_IsOK(res1)) { |
|
6405 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
6406 |
} |
|
6407 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6408 |
res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 ); |
|
6409 |
if (!SWIG_IsOK(res2)) { |
|
6410 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'"); |
|
6411 |
} |
|
6412 |
{ |
|
6413 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6414 |
(arg1)->AssignImageList(arg2); |
|
6415 |
wxPyEndAllowThreads(__tstate); |
|
6416 |
if (PyErr_Occurred()) SWIG_fail; |
|
6417 |
} |
|
6418 |
resultobj = SWIG_Py_Void(); |
|
6419 |
return resultobj; |
|
6420 |
fail: |
|
6421 |
return NULL; |
|
6422 |
} |
|
6423 |
||
6424 |
||
6425 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
6426 |
PyObject *resultobj = 0; |
|
6427 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6428 |
wxImageList *arg2 = (wxImageList *) 0 ; |
|
6429 |
void *argp1 = 0 ; |
|
6430 |
int res1 = 0 ; |
|
6431 |
int res2 = 0 ; |
|
6432 |
PyObject * obj0 = 0 ; |
|
6433 |
PyObject * obj1 = 0 ; |
|
6434 |
char * kwnames[] = { |
|
6435 |
(char *) "self",(char *) "imageList", NULL |
|
6436 |
}; |
|
6437 |
||
6438 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail; |
|
6439 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6440 |
if (!SWIG_IsOK(res1)) { |
|
6441 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
6442 |
} |
|
6443 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6444 |
res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 ); |
|
6445 |
if (!SWIG_IsOK(res2)) { |
|
6446 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'"); |
|
6447 |
} |
|
6448 |
{ |
|
6449 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6450 |
(arg1)->AssignStateImageList(arg2); |
|
6451 |
wxPyEndAllowThreads(__tstate); |
|
6452 |
if (PyErr_Occurred()) SWIG_fail; |
|
6453 |
} |
|
6454 |
resultobj = SWIG_Py_Void(); |
|
6455 |
return resultobj; |
|
6456 |
fail: |
|
6457 |
return NULL; |
|
6458 |
} |
|
6459 |
||
6460 |
||
6461 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
6462 |
PyObject *resultobj = 0; |
|
6463 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6464 |
wxImageList *arg2 = (wxImageList *) 0 ; |
|
6465 |
void *argp1 = 0 ; |
|
6466 |
int res1 = 0 ; |
|
6467 |
int res2 = 0 ; |
|
6468 |
PyObject * obj0 = 0 ; |
|
6469 |
PyObject * obj1 = 0 ; |
|
6470 |
char * kwnames[] = { |
|
6471 |
(char *) "self",(char *) "imageList", NULL |
|
6472 |
}; |
|
6473 |
||
6474 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail; |
|
6475 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6476 |
if (!SWIG_IsOK(res1)) { |
|
6477 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
6478 |
} |
|
6479 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6480 |
res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 ); |
|
6481 |
if (!SWIG_IsOK(res2)) { |
|
6482 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'"); |
|
6483 |
} |
|
6484 |
{ |
|
6485 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6486 |
(arg1)->AssignButtonsImageList(arg2); |
|
6487 |
wxPyEndAllowThreads(__tstate); |
|
6488 |
if (PyErr_Occurred()) SWIG_fail; |
|
6489 |
} |
|
6490 |
resultobj = SWIG_Py_Void(); |
|
6491 |
return resultobj; |
|
6492 |
fail: |
|
6493 |
return NULL; |
|
6494 |
} |
|
6495 |
||
6496 |
||
6497 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
6498 |
PyObject *resultobj = 0; |
|
6499 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6500 |
wxString *arg2 = 0 ; |
|
6501 |
int arg3 = (int) DEFAULT_COL_WIDTH ; |
|
6502 |
int arg4 = (int) wxALIGN_LEFT ; |
|
6503 |
int arg5 = (int) -1 ; |
|
6504 |
bool arg6 = (bool) true ; |
|
6505 |
bool arg7 = (bool) false ; |
|
6506 |
void *argp1 = 0 ; |
|
6507 |
int res1 = 0 ; |
|
6508 |
bool temp2 = false ; |
|
6509 |
int val3 ; |
|
6510 |
int ecode3 = 0 ; |
|
6511 |
int val4 ; |
|
6512 |
int ecode4 = 0 ; |
|
6513 |
int val5 ; |
|
6514 |
int ecode5 = 0 ; |
|
6515 |
bool val6 ; |
|
6516 |
int ecode6 = 0 ; |
|
6517 |
bool val7 ; |
|
6518 |
int ecode7 = 0 ; |
|
6519 |
PyObject * obj0 = 0 ; |
|
6520 |
PyObject * obj1 = 0 ; |
|
6521 |
PyObject * obj2 = 0 ; |
|
6522 |
PyObject * obj3 = 0 ; |
|
6523 |
PyObject * obj4 = 0 ; |
|
6524 |
PyObject * obj5 = 0 ; |
|
6525 |
PyObject * obj6 = 0 ; |
|
6526 |
char * kwnames[] = { |
|
6527 |
(char *) "self",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL |
|
6528 |
}; |
|
6529 |
||
6530 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
|
6531 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6532 |
if (!SWIG_IsOK(res1)) { |
|
6533 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
6534 |
} |
|
6535 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6536 |
{ |
|
6537 |
arg2 = wxString_in_helper(obj1); |
|
6538 |
if (arg2 == NULL) SWIG_fail; |
|
6539 |
temp2 = true; |
|
6540 |
} |
|
6541 |
if (obj2) { |
|
6542 |
ecode3 = SWIG_AsVal_int(obj2, &val3); |
|
6543 |
if (!SWIG_IsOK(ecode3)) { |
|
6544 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "3"" of type '" "int""'"); |
|
6545 |
} |
|
6546 |
arg3 = static_cast< int >(val3); |
|
6547 |
} |
|
6548 |
if (obj3) { |
|
6549 |
ecode4 = SWIG_AsVal_int(obj3, &val4); |
|
6550 |
if (!SWIG_IsOK(ecode4)) { |
|
6551 |
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "4"" of type '" "int""'"); |
|
6552 |
} |
|
6553 |
arg4 = static_cast< int >(val4); |
|
6554 |
} |
|
6555 |
if (obj4) { |
|
6556 |
ecode5 = SWIG_AsVal_int(obj4, &val5); |
|
6557 |
if (!SWIG_IsOK(ecode5)) { |
|
6558 |
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "5"" of type '" "int""'"); |
|
6559 |
} |
|
6560 |
arg5 = static_cast< int >(val5); |
|
6561 |
} |
|
6562 |
if (obj5) { |
|
6563 |
ecode6 = SWIG_AsVal_bool(obj5, &val6); |
|
6564 |
if (!SWIG_IsOK(ecode6)) { |
|
6565 |
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "6"" of type '" "bool""'"); |
|
6566 |
} |
|
6567 |
arg6 = static_cast< bool >(val6); |
|
6568 |
} |
|
6569 |
if (obj6) { |
|
6570 |
ecode7 = SWIG_AsVal_bool(obj6, &val7); |
|
6571 |
if (!SWIG_IsOK(ecode7)) { |
|
6572 |
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "7"" of type '" "bool""'"); |
|
6573 |
} |
|
6574 |
arg7 = static_cast< bool >(val7); |
|
6575 |
} |
|
6576 |
{ |
|
6577 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6578 |
(arg1)->AddColumn((wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7); |
|
6579 |
wxPyEndAllowThreads(__tstate); |
|
6580 |
if (PyErr_Occurred()) SWIG_fail; |
|
6581 |
} |
|
6582 |
resultobj = SWIG_Py_Void(); |
|
6583 |
{ |
|
6584 |
if (temp2) |
|
6585 |
delete arg2; |
|
6586 |
} |
|
6587 |
return resultobj; |
|
6588 |
fail: |
|
6589 |
{ |
|
6590 |
if (temp2) |
|
6591 |
delete arg2; |
|
6592 |
} |
|
6593 |
return NULL; |
|
6594 |
} |
|
6595 |
||
6596 |
||
6597 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
6598 |
PyObject *resultobj = 0; |
|
6599 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6600 |
wxTreeListColumnInfo *arg2 = 0 ; |
|
6601 |
void *argp1 = 0 ; |
|
6602 |
int res1 = 0 ; |
|
6603 |
void *argp2 = 0 ; |
|
6604 |
int res2 = 0 ; |
|
6605 |
PyObject * obj0 = 0 ; |
|
6606 |
PyObject * obj1 = 0 ; |
|
6607 |
char * kwnames[] = { |
|
6608 |
(char *) "self",(char *) "col", NULL |
|
6609 |
}; |
|
6610 |
||
6611 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) SWIG_fail; |
|
6612 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6613 |
if (!SWIG_IsOK(res1)) { |
|
6614 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
6615 |
} |
|
6616 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6617 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0); |
|
6618 |
if (!SWIG_IsOK(res2)) { |
|
6619 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'"); |
|
6620 |
} |
|
6621 |
if (!argp2) { |
|
6622 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'"); |
|
6623 |
} |
|
6624 |
arg2 = reinterpret_cast< wxTreeListColumnInfo * >(argp2); |
|
6625 |
{ |
|
6626 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6627 |
(arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2); |
|
6628 |
wxPyEndAllowThreads(__tstate); |
|
6629 |
if (PyErr_Occurred()) SWIG_fail; |
|
6630 |
} |
|
6631 |
resultobj = SWIG_Py_Void(); |
|
6632 |
return resultobj; |
|
6633 |
fail: |
|
6634 |
return NULL; |
|
6635 |
} |
|
6636 |
||
6637 |
||
6638 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
6639 |
PyObject *resultobj = 0; |
|
6640 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6641 |
int arg2 ; |
|
6642 |
wxString *arg3 = 0 ; |
|
6643 |
int arg4 = (int) DEFAULT_COL_WIDTH ; |
|
6644 |
int arg5 = (int) wxALIGN_LEFT ; |
|
6645 |
int arg6 = (int) -1 ; |
|
6646 |
bool arg7 = (bool) true ; |
|
6647 |
bool arg8 = (bool) false ; |
|
6648 |
void *argp1 = 0 ; |
|
6649 |
int res1 = 0 ; |
|
6650 |
int val2 ; |
|
6651 |
int ecode2 = 0 ; |
|
6652 |
bool temp3 = false ; |
|
6653 |
int val4 ; |
|
6654 |
int ecode4 = 0 ; |
|
6655 |
int val5 ; |
|
6656 |
int ecode5 = 0 ; |
|
6657 |
int val6 ; |
|
6658 |
int ecode6 = 0 ; |
|
6659 |
bool val7 ; |
|
6660 |
int ecode7 = 0 ; |
|
6661 |
bool val8 ; |
|
6662 |
int ecode8 = 0 ; |
|
6663 |
PyObject * obj0 = 0 ; |
|
6664 |
PyObject * obj1 = 0 ; |
|
6665 |
PyObject * obj2 = 0 ; |
|
6666 |
PyObject * obj3 = 0 ; |
|
6667 |
PyObject * obj4 = 0 ; |
|
6668 |
PyObject * obj5 = 0 ; |
|
6669 |
PyObject * obj6 = 0 ; |
|
6670 |
PyObject * obj7 = 0 ; |
|
6671 |
char * kwnames[] = { |
|
6672 |
(char *) "self",(char *) "before",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL |
|
6673 |
}; |
|
6674 |
||
6675 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; |
|
6676 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6677 |
if (!SWIG_IsOK(res1)) { |
|
6678 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
6679 |
} |
|
6680 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6681 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
6682 |
if (!SWIG_IsOK(ecode2)) { |
|
6683 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "2"" of type '" "int""'"); |
|
6684 |
} |
|
6685 |
arg2 = static_cast< int >(val2); |
|
6686 |
{ |
|
6687 |
arg3 = wxString_in_helper(obj2); |
|
6688 |
if (arg3 == NULL) SWIG_fail; |
|
6689 |
temp3 = true; |
|
6690 |
} |
|
6691 |
if (obj3) { |
|
6692 |
ecode4 = SWIG_AsVal_int(obj3, &val4); |
|
6693 |
if (!SWIG_IsOK(ecode4)) { |
|
6694 |
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'"); |
|
6695 |
} |
|
6696 |
arg4 = static_cast< int >(val4); |
|
6697 |
} |
|
6698 |
if (obj4) { |
|
6699 |
ecode5 = SWIG_AsVal_int(obj4, &val5); |
|
6700 |
if (!SWIG_IsOK(ecode5)) { |
|
6701 |
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'"); |
|
6702 |
} |
|
6703 |
arg5 = static_cast< int >(val5); |
|
6704 |
} |
|
6705 |
if (obj5) { |
|
6706 |
ecode6 = SWIG_AsVal_int(obj5, &val6); |
|
6707 |
if (!SWIG_IsOK(ecode6)) { |
|
6708 |
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "6"" of type '" "int""'"); |
|
6709 |
} |
|
6710 |
arg6 = static_cast< int >(val6); |
|
6711 |
} |
|
6712 |
if (obj6) { |
|
6713 |
ecode7 = SWIG_AsVal_bool(obj6, &val7); |
|
6714 |
if (!SWIG_IsOK(ecode7)) { |
|
6715 |
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "7"" of type '" "bool""'"); |
|
6716 |
} |
|
6717 |
arg7 = static_cast< bool >(val7); |
|
6718 |
} |
|
6719 |
if (obj7) { |
|
6720 |
ecode8 = SWIG_AsVal_bool(obj7, &val8); |
|
6721 |
if (!SWIG_IsOK(ecode8)) { |
|
6722 |
SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "8"" of type '" "bool""'"); |
|
6723 |
} |
|
6724 |
arg8 = static_cast< bool >(val8); |
|
6725 |
} |
|
6726 |
{ |
|
6727 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6728 |
(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,arg8); |
|
6729 |
wxPyEndAllowThreads(__tstate); |
|
6730 |
if (PyErr_Occurred()) SWIG_fail; |
|
6731 |
} |
|
6732 |
resultobj = SWIG_Py_Void(); |
|
6733 |
{ |
|
6734 |
if (temp3) |
|
6735 |
delete arg3; |
|
6736 |
} |
|
6737 |
return resultobj; |
|
6738 |
fail: |
|
6739 |
{ |
|
6740 |
if (temp3) |
|
6741 |
delete arg3; |
|
6742 |
} |
|
6743 |
return NULL; |
|
6744 |
} |
|
6745 |
||
6746 |
||
6747 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
6748 |
PyObject *resultobj = 0; |
|
6749 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6750 |
size_t arg2 ; |
|
6751 |
wxTreeListColumnInfo *arg3 = 0 ; |
|
6752 |
void *argp1 = 0 ; |
|
6753 |
int res1 = 0 ; |
|
6754 |
size_t val2 ; |
|
6755 |
int ecode2 = 0 ; |
|
6756 |
void *argp3 = 0 ; |
|
6757 |
int res3 = 0 ; |
|
6758 |
PyObject * obj0 = 0 ; |
|
6759 |
PyObject * obj1 = 0 ; |
|
6760 |
PyObject * obj2 = 0 ; |
|
6761 |
char * kwnames[] = { |
|
6762 |
(char *) "self",(char *) "before",(char *) "col", NULL |
|
6763 |
}; |
|
6764 |
||
6765 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
6766 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6767 |
if (!SWIG_IsOK(res1)) { |
|
6768 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
6769 |
} |
|
6770 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6771 |
ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
|
6772 |
if (!SWIG_IsOK(ecode2)) { |
|
6773 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "2"" of type '" "size_t""'"); |
|
6774 |
} |
|
6775 |
arg2 = static_cast< size_t >(val2); |
|
6776 |
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0); |
|
6777 |
if (!SWIG_IsOK(res3)) { |
|
6778 |
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'"); |
|
6779 |
} |
|
6780 |
if (!argp3) { |
|
6781 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'"); |
|
6782 |
} |
|
6783 |
arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3); |
|
6784 |
{ |
|
6785 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6786 |
(arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3); |
|
6787 |
wxPyEndAllowThreads(__tstate); |
|
6788 |
if (PyErr_Occurred()) SWIG_fail; |
|
6789 |
} |
|
6790 |
resultobj = SWIG_Py_Void(); |
|
6791 |
return resultobj; |
|
6792 |
fail: |
|
6793 |
return NULL; |
|
6794 |
} |
|
6795 |
||
6796 |
||
6797 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
6798 |
PyObject *resultobj = 0; |
|
6799 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6800 |
size_t arg2 ; |
|
6801 |
void *argp1 = 0 ; |
|
6802 |
int res1 = 0 ; |
|
6803 |
size_t val2 ; |
|
6804 |
int ecode2 = 0 ; |
|
6805 |
PyObject * obj0 = 0 ; |
|
6806 |
PyObject * obj1 = 0 ; |
|
6807 |
char * kwnames[] = { |
|
6808 |
(char *) "self",(char *) "column", NULL |
|
6809 |
}; |
|
6810 |
||
6811 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) SWIG_fail; |
|
6812 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6813 |
if (!SWIG_IsOK(res1)) { |
|
6814 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
6815 |
} |
|
6816 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6817 |
ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
|
6818 |
if (!SWIG_IsOK(ecode2)) { |
|
6819 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "2"" of type '" "size_t""'"); |
|
6820 |
} |
|
6821 |
arg2 = static_cast< size_t >(val2); |
|
6822 |
{ |
|
6823 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6824 |
(arg1)->RemoveColumn(arg2); |
|
6825 |
wxPyEndAllowThreads(__tstate); |
|
6826 |
if (PyErr_Occurred()) SWIG_fail; |
|
6827 |
} |
|
6828 |
resultobj = SWIG_Py_Void(); |
|
6829 |
return resultobj; |
|
6830 |
fail: |
|
6831 |
return NULL; |
|
6832 |
} |
|
6833 |
||
6834 |
||
6835 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
6836 |
PyObject *resultobj = 0; |
|
6837 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6838 |
size_t result; |
|
6839 |
void *argp1 = 0 ; |
|
6840 |
int res1 = 0 ; |
|
6841 |
PyObject *swig_obj[1] ; |
|
6842 |
||
6843 |
if (!args) SWIG_fail; |
|
6844 |
swig_obj[0] = args; |
|
6845 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6846 |
if (!SWIG_IsOK(res1)) { |
|
6847 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
6848 |
} |
|
6849 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6850 |
{ |
|
6851 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6852 |
result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount(); |
|
6853 |
wxPyEndAllowThreads(__tstate); |
|
6854 |
if (PyErr_Occurred()) SWIG_fail; |
|
6855 |
} |
|
6856 |
resultobj = SWIG_From_size_t(static_cast< size_t >(result)); |
|
6857 |
return resultobj; |
|
6858 |
fail: |
|
6859 |
return NULL; |
|
6860 |
} |
|
6861 |
||
6862 |
||
6863 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
6864 |
PyObject *resultobj = 0; |
|
6865 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6866 |
size_t arg2 ; |
|
6867 |
void *argp1 = 0 ; |
|
6868 |
int res1 = 0 ; |
|
6869 |
size_t val2 ; |
|
6870 |
int ecode2 = 0 ; |
|
6871 |
PyObject * obj0 = 0 ; |
|
6872 |
PyObject * obj1 = 0 ; |
|
6873 |
char * kwnames[] = { |
|
6874 |
(char *) "self",(char *) "column", NULL |
|
6875 |
}; |
|
6876 |
||
6877 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) SWIG_fail; |
|
6878 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6879 |
if (!SWIG_IsOK(res1)) { |
|
6880 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
6881 |
} |
|
6882 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6883 |
ecode2 = SWIG_AsVal_size_t(obj1, &val2); |
|
6884 |
if (!SWIG_IsOK(ecode2)) { |
|
6885 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "2"" of type '" "size_t""'"); |
|
6886 |
} |
|
6887 |
arg2 = static_cast< size_t >(val2); |
|
6888 |
{ |
|
6889 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6890 |
(arg1)->SetMainColumn(arg2); |
|
6891 |
wxPyEndAllowThreads(__tstate); |
|
6892 |
if (PyErr_Occurred()) SWIG_fail; |
|
6893 |
} |
|
6894 |
resultobj = SWIG_Py_Void(); |
|
6895 |
return resultobj; |
|
6896 |
fail: |
|
6897 |
return NULL; |
|
6898 |
} |
|
6899 |
||
6900 |
||
6901 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
6902 |
PyObject *resultobj = 0; |
|
6903 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6904 |
size_t result; |
|
6905 |
void *argp1 = 0 ; |
|
6906 |
int res1 = 0 ; |
|
6907 |
PyObject *swig_obj[1] ; |
|
6908 |
||
6909 |
if (!args) SWIG_fail; |
|
6910 |
swig_obj[0] = args; |
|
6911 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6912 |
if (!SWIG_IsOK(res1)) { |
|
6913 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
6914 |
} |
|
6915 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6916 |
{ |
|
6917 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6918 |
result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn(); |
|
6919 |
wxPyEndAllowThreads(__tstate); |
|
6920 |
if (PyErr_Occurred()) SWIG_fail; |
|
6921 |
} |
|
6922 |
resultobj = SWIG_From_size_t(static_cast< size_t >(result)); |
|
6923 |
return resultobj; |
|
6924 |
fail: |
|
6925 |
return NULL; |
|
6926 |
} |
|
6927 |
||
6928 |
||
6929 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
6930 |
PyObject *resultobj = 0; |
|
6931 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6932 |
int arg2 ; |
|
6933 |
wxTreeListColumnInfo *arg3 = 0 ; |
|
6934 |
void *argp1 = 0 ; |
|
6935 |
int res1 = 0 ; |
|
6936 |
int val2 ; |
|
6937 |
int ecode2 = 0 ; |
|
6938 |
void *argp3 = 0 ; |
|
6939 |
int res3 = 0 ; |
|
6940 |
PyObject * obj0 = 0 ; |
|
6941 |
PyObject * obj1 = 0 ; |
|
6942 |
PyObject * obj2 = 0 ; |
|
6943 |
char * kwnames[] = { |
|
6944 |
(char *) "self",(char *) "column",(char *) "colInfo", NULL |
|
6945 |
}; |
|
6946 |
||
6947 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
6948 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6949 |
if (!SWIG_IsOK(res1)) { |
|
6950 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
6951 |
} |
|
6952 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
6953 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
6954 |
if (!SWIG_IsOK(ecode2)) { |
|
6955 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'"); |
|
6956 |
} |
|
6957 |
arg2 = static_cast< int >(val2); |
|
6958 |
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0); |
|
6959 |
if (!SWIG_IsOK(res3)) { |
|
6960 |
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'"); |
|
6961 |
} |
|
6962 |
if (!argp3) { |
|
6963 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'"); |
|
6964 |
} |
|
6965 |
arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3); |
|
6966 |
{ |
|
6967 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
6968 |
(arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3); |
|
6969 |
wxPyEndAllowThreads(__tstate); |
|
6970 |
if (PyErr_Occurred()) SWIG_fail; |
|
6971 |
} |
|
6972 |
resultobj = SWIG_Py_Void(); |
|
6973 |
return resultobj; |
|
6974 |
fail: |
|
6975 |
return NULL; |
|
6976 |
} |
|
6977 |
||
6978 |
||
6979 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
6980 |
PyObject *resultobj = 0; |
|
6981 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
6982 |
int arg2 ; |
|
6983 |
wxTreeListColumnInfo *result = 0 ; |
|
6984 |
void *argp1 = 0 ; |
|
6985 |
int res1 = 0 ; |
|
6986 |
int val2 ; |
|
6987 |
int ecode2 = 0 ; |
|
6988 |
PyObject * obj0 = 0 ; |
|
6989 |
PyObject * obj1 = 0 ; |
|
6990 |
char * kwnames[] = { |
|
6991 |
(char *) "self",(char *) "column", NULL |
|
6992 |
}; |
|
6993 |
||
6994 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail; |
|
6995 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
6996 |
if (!SWIG_IsOK(res1)) { |
|
6997 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
6998 |
} |
|
6999 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7000 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
7001 |
if (!SWIG_IsOK(ecode2)) { |
|
7002 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'"); |
|
7003 |
} |
|
7004 |
arg2 = static_cast< int >(val2); |
|
7005 |
{ |
|
7006 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7007 |
{ |
|
7008 |
wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2); |
|
7009 |
result = (wxTreeListColumnInfo *) &_result_ref; |
|
7010 |
} |
|
7011 |
wxPyEndAllowThreads(__tstate); |
|
7012 |
if (PyErr_Occurred()) SWIG_fail; |
|
7013 |
} |
|
7014 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 ); |
|
7015 |
return resultobj; |
|
7016 |
fail: |
|
7017 |
return NULL; |
|
7018 |
} |
|
7019 |
||
7020 |
||
7021 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7022 |
PyObject *resultobj = 0; |
|
7023 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7024 |
int arg2 ; |
|
7025 |
wxString *arg3 = 0 ; |
|
7026 |
void *argp1 = 0 ; |
|
7027 |
int res1 = 0 ; |
|
7028 |
int val2 ; |
|
7029 |
int ecode2 = 0 ; |
|
7030 |
bool temp3 = false ; |
|
7031 |
PyObject * obj0 = 0 ; |
|
7032 |
PyObject * obj1 = 0 ; |
|
7033 |
PyObject * obj2 = 0 ; |
|
7034 |
char * kwnames[] = { |
|
7035 |
(char *) "self",(char *) "column",(char *) "text", NULL |
|
7036 |
}; |
|
7037 |
||
7038 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
7039 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7040 |
if (!SWIG_IsOK(res1)) { |
|
7041 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
7042 |
} |
|
7043 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7044 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
7045 |
if (!SWIG_IsOK(ecode2)) { |
|
7046 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "2"" of type '" "int""'"); |
|
7047 |
} |
|
7048 |
arg2 = static_cast< int >(val2); |
|
7049 |
{ |
|
7050 |
arg3 = wxString_in_helper(obj2); |
|
7051 |
if (arg3 == NULL) SWIG_fail; |
|
7052 |
temp3 = true; |
|
7053 |
} |
|
7054 |
{ |
|
7055 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7056 |
(arg1)->SetColumnText(arg2,(wxString const &)*arg3); |
|
7057 |
wxPyEndAllowThreads(__tstate); |
|
7058 |
if (PyErr_Occurred()) SWIG_fail; |
|
7059 |
} |
|
7060 |
resultobj = SWIG_Py_Void(); |
|
7061 |
{ |
|
7062 |
if (temp3) |
|
7063 |
delete arg3; |
|
7064 |
} |
|
7065 |
return resultobj; |
|
7066 |
fail: |
|
7067 |
{ |
|
7068 |
if (temp3) |
|
7069 |
delete arg3; |
|
7070 |
} |
|
7071 |
return NULL; |
|
7072 |
} |
|
7073 |
||
7074 |
||
7075 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7076 |
PyObject *resultobj = 0; |
|
7077 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7078 |
int arg2 ; |
|
7079 |
wxString result; |
|
7080 |
void *argp1 = 0 ; |
|
7081 |
int res1 = 0 ; |
|
7082 |
int val2 ; |
|
7083 |
int ecode2 = 0 ; |
|
7084 |
PyObject * obj0 = 0 ; |
|
7085 |
PyObject * obj1 = 0 ; |
|
7086 |
char * kwnames[] = { |
|
7087 |
(char *) "self",(char *) "column", NULL |
|
7088 |
}; |
|
7089 |
||
7090 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) SWIG_fail; |
|
7091 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7092 |
if (!SWIG_IsOK(res1)) { |
|
7093 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
7094 |
} |
|
7095 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7096 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
7097 |
if (!SWIG_IsOK(ecode2)) { |
|
7098 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "2"" of type '" "int""'"); |
|
7099 |
} |
|
7100 |
arg2 = static_cast< int >(val2); |
|
7101 |
{ |
|
7102 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7103 |
result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2); |
|
7104 |
wxPyEndAllowThreads(__tstate); |
|
7105 |
if (PyErr_Occurred()) SWIG_fail; |
|
7106 |
} |
|
7107 |
{ |
|
7108 |
#if wxUSE_UNICODE |
|
7109 |
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
|
7110 |
#else |
|
7111 |
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
|
7112 |
#endif |
|
7113 |
} |
|
7114 |
return resultobj; |
|
7115 |
fail: |
|
7116 |
return NULL; |
|
7117 |
} |
|
7118 |
||
7119 |
||
7120 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7121 |
PyObject *resultobj = 0; |
|
7122 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7123 |
int arg2 ; |
|
7124 |
int arg3 ; |
|
7125 |
void *argp1 = 0 ; |
|
7126 |
int res1 = 0 ; |
|
7127 |
int val2 ; |
|
7128 |
int ecode2 = 0 ; |
|
7129 |
int val3 ; |
|
7130 |
int ecode3 = 0 ; |
|
7131 |
PyObject * obj0 = 0 ; |
|
7132 |
PyObject * obj1 = 0 ; |
|
7133 |
PyObject * obj2 = 0 ; |
|
7134 |
char * kwnames[] = { |
|
7135 |
(char *) "self",(char *) "column",(char *) "width", NULL |
|
7136 |
}; |
|
7137 |
||
7138 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
7139 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7140 |
if (!SWIG_IsOK(res1)) { |
|
7141 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
7142 |
} |
|
7143 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7144 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
7145 |
if (!SWIG_IsOK(ecode2)) { |
|
7146 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'"); |
|
7147 |
} |
|
7148 |
arg2 = static_cast< int >(val2); |
|
7149 |
ecode3 = SWIG_AsVal_int(obj2, &val3); |
|
7150 |
if (!SWIG_IsOK(ecode3)) { |
|
7151 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'"); |
|
7152 |
} |
|
7153 |
arg3 = static_cast< int >(val3); |
|
7154 |
{ |
|
7155 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7156 |
(arg1)->SetColumnWidth(arg2,arg3); |
|
7157 |
wxPyEndAllowThreads(__tstate); |
|
7158 |
if (PyErr_Occurred()) SWIG_fail; |
|
7159 |
} |
|
7160 |
resultobj = SWIG_Py_Void(); |
|
7161 |
return resultobj; |
|
7162 |
fail: |
|
7163 |
return NULL; |
|
7164 |
} |
|
7165 |
||
7166 |
||
7167 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7168 |
PyObject *resultobj = 0; |
|
7169 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7170 |
int arg2 ; |
|
7171 |
int result; |
|
7172 |
void *argp1 = 0 ; |
|
7173 |
int res1 = 0 ; |
|
7174 |
int val2 ; |
|
7175 |
int ecode2 = 0 ; |
|
7176 |
PyObject * obj0 = 0 ; |
|
7177 |
PyObject * obj1 = 0 ; |
|
7178 |
char * kwnames[] = { |
|
7179 |
(char *) "self",(char *) "column", NULL |
|
7180 |
}; |
|
7181 |
||
7182 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail; |
|
7183 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7184 |
if (!SWIG_IsOK(res1)) { |
|
7185 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
7186 |
} |
|
7187 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7188 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
7189 |
if (!SWIG_IsOK(ecode2)) { |
|
7190 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'"); |
|
7191 |
} |
|
7192 |
arg2 = static_cast< int >(val2); |
|
7193 |
{ |
|
7194 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7195 |
result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2); |
|
7196 |
wxPyEndAllowThreads(__tstate); |
|
7197 |
if (PyErr_Occurred()) SWIG_fail; |
|
7198 |
} |
|
7199 |
resultobj = SWIG_From_int(static_cast< int >(result)); |
|
7200 |
return resultobj; |
|
7201 |
fail: |
|
7202 |
return NULL; |
|
7203 |
} |
|
7204 |
||
7205 |
||
7206 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7207 |
PyObject *resultobj = 0; |
|
7208 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7209 |
int arg2 ; |
|
7210 |
int arg3 ; |
|
7211 |
void *argp1 = 0 ; |
|
7212 |
int res1 = 0 ; |
|
7213 |
int val2 ; |
|
7214 |
int ecode2 = 0 ; |
|
7215 |
int val3 ; |
|
7216 |
int ecode3 = 0 ; |
|
7217 |
PyObject * obj0 = 0 ; |
|
7218 |
PyObject * obj1 = 0 ; |
|
7219 |
PyObject * obj2 = 0 ; |
|
7220 |
char * kwnames[] = { |
|
7221 |
(char *) "self",(char *) "column",(char *) "flag", NULL |
|
7222 |
}; |
|
7223 |
||
7224 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
7225 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7226 |
if (!SWIG_IsOK(res1)) { |
|
7227 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
7228 |
} |
|
7229 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7230 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
7231 |
if (!SWIG_IsOK(ecode2)) { |
|
7232 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "2"" of type '" "int""'"); |
|
7233 |
} |
|
7234 |
arg2 = static_cast< int >(val2); |
|
7235 |
ecode3 = SWIG_AsVal_int(obj2, &val3); |
|
7236 |
if (!SWIG_IsOK(ecode3)) { |
|
7237 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "3"" of type '" "int""'"); |
|
7238 |
} |
|
7239 |
arg3 = static_cast< int >(val3); |
|
7240 |
{ |
|
7241 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7242 |
(arg1)->SetColumnAlignment(arg2,arg3); |
|
7243 |
wxPyEndAllowThreads(__tstate); |
|
7244 |
if (PyErr_Occurred()) SWIG_fail; |
|
7245 |
} |
|
7246 |
resultobj = SWIG_Py_Void(); |
|
7247 |
return resultobj; |
|
7248 |
fail: |
|
7249 |
return NULL; |
|
7250 |
} |
|
7251 |
||
7252 |
||
7253 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7254 |
PyObject *resultobj = 0; |
|
7255 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7256 |
int arg2 ; |
|
7257 |
int result; |
|
7258 |
void *argp1 = 0 ; |
|
7259 |
int res1 = 0 ; |
|
7260 |
int val2 ; |
|
7261 |
int ecode2 = 0 ; |
|
7262 |
PyObject * obj0 = 0 ; |
|
7263 |
PyObject * obj1 = 0 ; |
|
7264 |
char * kwnames[] = { |
|
7265 |
(char *) "self",(char *) "column", NULL |
|
7266 |
}; |
|
7267 |
||
7268 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) SWIG_fail; |
|
7269 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7270 |
if (!SWIG_IsOK(res1)) { |
|
7271 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
7272 |
} |
|
7273 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7274 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
7275 |
if (!SWIG_IsOK(ecode2)) { |
|
7276 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "2"" of type '" "int""'"); |
|
7277 |
} |
|
7278 |
arg2 = static_cast< int >(val2); |
|
7279 |
{ |
|
7280 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7281 |
result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2); |
|
7282 |
wxPyEndAllowThreads(__tstate); |
|
7283 |
if (PyErr_Occurred()) SWIG_fail; |
|
7284 |
} |
|
7285 |
resultobj = SWIG_From_int(static_cast< int >(result)); |
|
7286 |
return resultobj; |
|
7287 |
fail: |
|
7288 |
return NULL; |
|
7289 |
} |
|
7290 |
||
7291 |
||
7292 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7293 |
PyObject *resultobj = 0; |
|
7294 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7295 |
int arg2 ; |
|
7296 |
int arg3 ; |
|
7297 |
void *argp1 = 0 ; |
|
7298 |
int res1 = 0 ; |
|
7299 |
int val2 ; |
|
7300 |
int ecode2 = 0 ; |
|
7301 |
int val3 ; |
|
7302 |
int ecode3 = 0 ; |
|
7303 |
PyObject * obj0 = 0 ; |
|
7304 |
PyObject * obj1 = 0 ; |
|
7305 |
PyObject * obj2 = 0 ; |
|
7306 |
char * kwnames[] = { |
|
7307 |
(char *) "self",(char *) "column",(char *) "image", NULL |
|
7308 |
}; |
|
7309 |
||
7310 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
7311 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7312 |
if (!SWIG_IsOK(res1)) { |
|
7313 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
7314 |
} |
|
7315 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7316 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
7317 |
if (!SWIG_IsOK(ecode2)) { |
|
7318 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "2"" of type '" "int""'"); |
|
7319 |
} |
|
7320 |
arg2 = static_cast< int >(val2); |
|
7321 |
ecode3 = SWIG_AsVal_int(obj2, &val3); |
|
7322 |
if (!SWIG_IsOK(ecode3)) { |
|
7323 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "3"" of type '" "int""'"); |
|
7324 |
} |
|
7325 |
arg3 = static_cast< int >(val3); |
|
7326 |
{ |
|
7327 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7328 |
(arg1)->SetColumnImage(arg2,arg3); |
|
7329 |
wxPyEndAllowThreads(__tstate); |
|
7330 |
if (PyErr_Occurred()) SWIG_fail; |
|
7331 |
} |
|
7332 |
resultobj = SWIG_Py_Void(); |
|
7333 |
return resultobj; |
|
7334 |
fail: |
|
7335 |
return NULL; |
|
7336 |
} |
|
7337 |
||
7338 |
||
7339 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7340 |
PyObject *resultobj = 0; |
|
7341 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7342 |
int arg2 ; |
|
7343 |
int result; |
|
7344 |
void *argp1 = 0 ; |
|
7345 |
int res1 = 0 ; |
|
7346 |
int val2 ; |
|
7347 |
int ecode2 = 0 ; |
|
7348 |
PyObject * obj0 = 0 ; |
|
7349 |
PyObject * obj1 = 0 ; |
|
7350 |
char * kwnames[] = { |
|
7351 |
(char *) "self",(char *) "column", NULL |
|
7352 |
}; |
|
7353 |
||
7354 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) SWIG_fail; |
|
7355 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7356 |
if (!SWIG_IsOK(res1)) { |
|
7357 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
7358 |
} |
|
7359 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7360 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
7361 |
if (!SWIG_IsOK(ecode2)) { |
|
7362 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "2"" of type '" "int""'"); |
|
7363 |
} |
|
7364 |
arg2 = static_cast< int >(val2); |
|
7365 |
{ |
|
7366 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7367 |
result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2); |
|
7368 |
wxPyEndAllowThreads(__tstate); |
|
7369 |
if (PyErr_Occurred()) SWIG_fail; |
|
7370 |
} |
|
7371 |
resultobj = SWIG_From_int(static_cast< int >(result)); |
|
7372 |
return resultobj; |
|
7373 |
fail: |
|
7374 |
return NULL; |
|
7375 |
} |
|
7376 |
||
7377 |
||
7378 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7379 |
PyObject *resultobj = 0; |
|
7380 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7381 |
int arg2 ; |
|
7382 |
bool arg3 = (bool) true ; |
|
7383 |
void *argp1 = 0 ; |
|
7384 |
int res1 = 0 ; |
|
7385 |
int val2 ; |
|
7386 |
int ecode2 = 0 ; |
|
7387 |
bool val3 ; |
|
7388 |
int ecode3 = 0 ; |
|
7389 |
PyObject * obj0 = 0 ; |
|
7390 |
PyObject * obj1 = 0 ; |
|
7391 |
PyObject * obj2 = 0 ; |
|
7392 |
char * kwnames[] = { |
|
7393 |
(char *) "self",(char *) "column",(char *) "shown", NULL |
|
7394 |
}; |
|
7395 |
||
7396 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnShown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
7397 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7398 |
if (!SWIG_IsOK(res1)) { |
|
7399 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
7400 |
} |
|
7401 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7402 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
7403 |
if (!SWIG_IsOK(ecode2)) { |
|
7404 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "2"" of type '" "int""'"); |
|
7405 |
} |
|
7406 |
arg2 = static_cast< int >(val2); |
|
7407 |
if (obj2) { |
|
7408 |
ecode3 = SWIG_AsVal_bool(obj2, &val3); |
|
7409 |
if (!SWIG_IsOK(ecode3)) { |
|
7410 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "3"" of type '" "bool""'"); |
|
7411 |
} |
|
7412 |
arg3 = static_cast< bool >(val3); |
|
7413 |
} |
|
7414 |
{ |
|
7415 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7416 |
(arg1)->SetColumnShown(arg2,arg3); |
|
7417 |
wxPyEndAllowThreads(__tstate); |
|
7418 |
if (PyErr_Occurred()) SWIG_fail; |
|
7419 |
} |
|
7420 |
resultobj = SWIG_Py_Void(); |
|
7421 |
return resultobj; |
|
7422 |
fail: |
|
7423 |
return NULL; |
|
7424 |
} |
|
7425 |
||
7426 |
||
7427 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7428 |
PyObject *resultobj = 0; |
|
7429 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7430 |
int arg2 ; |
|
7431 |
bool result; |
|
7432 |
void *argp1 = 0 ; |
|
7433 |
int res1 = 0 ; |
|
7434 |
int val2 ; |
|
7435 |
int ecode2 = 0 ; |
|
7436 |
PyObject * obj0 = 0 ; |
|
7437 |
PyObject * obj1 = 0 ; |
|
7438 |
char * kwnames[] = { |
|
7439 |
(char *) "self",(char *) "column", NULL |
|
7440 |
}; |
|
7441 |
||
7442 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) SWIG_fail; |
|
7443 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7444 |
if (!SWIG_IsOK(res1)) { |
|
7445 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
7446 |
} |
|
7447 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7448 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
7449 |
if (!SWIG_IsOK(ecode2)) { |
|
7450 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "2"" of type '" "int""'"); |
|
7451 |
} |
|
7452 |
arg2 = static_cast< int >(val2); |
|
7453 |
{ |
|
7454 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7455 |
result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2); |
|
7456 |
wxPyEndAllowThreads(__tstate); |
|
7457 |
if (PyErr_Occurred()) SWIG_fail; |
|
7458 |
} |
|
7459 |
{ |
|
7460 |
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
|
7461 |
} |
|
7462 |
return resultobj; |
|
7463 |
fail: |
|
7464 |
return NULL; |
|
7465 |
} |
|
7466 |
||
7467 |
||
7468 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7469 |
PyObject *resultobj = 0; |
|
7470 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7471 |
int arg2 ; |
|
7472 |
bool arg3 = (bool) true ; |
|
7473 |
void *argp1 = 0 ; |
|
7474 |
int res1 = 0 ; |
|
7475 |
int val2 ; |
|
7476 |
int ecode2 = 0 ; |
|
7477 |
bool val3 ; |
|
7478 |
int ecode3 = 0 ; |
|
7479 |
PyObject * obj0 = 0 ; |
|
7480 |
PyObject * obj1 = 0 ; |
|
7481 |
PyObject * obj2 = 0 ; |
|
7482 |
char * kwnames[] = { |
|
7483 |
(char *) "self",(char *) "column",(char *) "edit", NULL |
|
7484 |
}; |
|
7485 |
||
7486 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnEditable",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
7487 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7488 |
if (!SWIG_IsOK(res1)) { |
|
7489 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
7490 |
} |
|
7491 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7492 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
7493 |
if (!SWIG_IsOK(ecode2)) { |
|
7494 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "2"" of type '" "int""'"); |
|
7495 |
} |
|
7496 |
arg2 = static_cast< int >(val2); |
|
7497 |
if (obj2) { |
|
7498 |
ecode3 = SWIG_AsVal_bool(obj2, &val3); |
|
7499 |
if (!SWIG_IsOK(ecode3)) { |
|
7500 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "3"" of type '" "bool""'"); |
|
7501 |
} |
|
7502 |
arg3 = static_cast< bool >(val3); |
|
7503 |
} |
|
7504 |
{ |
|
7505 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7506 |
(arg1)->SetColumnEditable(arg2,arg3); |
|
7507 |
wxPyEndAllowThreads(__tstate); |
|
7508 |
if (PyErr_Occurred()) SWIG_fail; |
|
7509 |
} |
|
7510 |
resultobj = SWIG_Py_Void(); |
|
7511 |
return resultobj; |
|
7512 |
fail: |
|
7513 |
return NULL; |
|
7514 |
} |
|
7515 |
||
7516 |
||
7517 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7518 |
PyObject *resultobj = 0; |
|
7519 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7520 |
int arg2 ; |
|
7521 |
bool result; |
|
7522 |
void *argp1 = 0 ; |
|
7523 |
int res1 = 0 ; |
|
7524 |
int val2 ; |
|
7525 |
int ecode2 = 0 ; |
|
7526 |
PyObject * obj0 = 0 ; |
|
7527 |
PyObject * obj1 = 0 ; |
|
7528 |
char * kwnames[] = { |
|
7529 |
(char *) "self",(char *) "column", NULL |
|
7530 |
}; |
|
7531 |
||
7532 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnEditable",kwnames,&obj0,&obj1)) SWIG_fail; |
|
7533 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7534 |
if (!SWIG_IsOK(res1)) { |
|
7535 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
7536 |
} |
|
7537 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7538 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
7539 |
if (!SWIG_IsOK(ecode2)) { |
|
7540 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "2"" of type '" "int""'"); |
|
7541 |
} |
|
7542 |
arg2 = static_cast< int >(val2); |
|
7543 |
{ |
|
7544 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7545 |
result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnEditable(arg2); |
|
7546 |
wxPyEndAllowThreads(__tstate); |
|
7547 |
if (PyErr_Occurred()) SWIG_fail; |
|
7548 |
} |
|
7549 |
{ |
|
7550 |
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
|
7551 |
} |
|
7552 |
return resultobj; |
|
7553 |
fail: |
|
7554 |
return NULL; |
|
7555 |
} |
|
7556 |
||
7557 |
||
7558 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7559 |
PyObject *resultobj = 0; |
|
7560 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7561 |
wxTreeItemId *arg2 = 0 ; |
|
7562 |
int arg3 = (int) -1 ; |
|
7563 |
wxString result; |
|
7564 |
void *argp1 = 0 ; |
|
7565 |
int res1 = 0 ; |
|
7566 |
void *argp2 = 0 ; |
|
7567 |
int res2 = 0 ; |
|
7568 |
int val3 ; |
|
7569 |
int ecode3 = 0 ; |
|
7570 |
PyObject * obj0 = 0 ; |
|
7571 |
PyObject * obj1 = 0 ; |
|
7572 |
PyObject * obj2 = 0 ; |
|
7573 |
char * kwnames[] = { |
|
7574 |
(char *) "self",(char *) "item",(char *) "column", NULL |
|
7575 |
}; |
|
7576 |
||
7577 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
7578 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7579 |
if (!SWIG_IsOK(res1)) { |
|
7580 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
7581 |
} |
|
7582 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7583 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
7584 |
if (!SWIG_IsOK(res2)) { |
|
7585 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
7586 |
} |
|
7587 |
if (!argp2) { |
|
7588 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
7589 |
} |
|
7590 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
7591 |
if (obj2) { |
|
7592 |
ecode3 = SWIG_AsVal_int(obj2, &val3); |
|
7593 |
if (!SWIG_IsOK(ecode3)) { |
|
7594 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "3"" of type '" "int""'"); |
|
7595 |
} |
|
7596 |
arg3 = static_cast< int >(val3); |
|
7597 |
} |
|
7598 |
{ |
|
7599 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7600 |
result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3); |
|
7601 |
wxPyEndAllowThreads(__tstate); |
|
7602 |
if (PyErr_Occurred()) SWIG_fail; |
|
7603 |
} |
|
7604 |
{ |
|
7605 |
#if wxUSE_UNICODE |
|
7606 |
resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len()); |
|
7607 |
#else |
|
7608 |
resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len()); |
|
7609 |
#endif |
|
7610 |
} |
|
7611 |
return resultobj; |
|
7612 |
fail: |
|
7613 |
return NULL; |
|
7614 |
} |
|
7615 |
||
7616 |
||
7617 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7618 |
PyObject *resultobj = 0; |
|
7619 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7620 |
wxTreeItemId *arg2 = 0 ; |
|
7621 |
int arg3 = (int) -1 ; |
|
7622 |
wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ; |
|
7623 |
int result; |
|
7624 |
void *argp1 = 0 ; |
|
7625 |
int res1 = 0 ; |
|
7626 |
void *argp2 = 0 ; |
|
7627 |
int res2 = 0 ; |
|
7628 |
int val3 ; |
|
7629 |
int ecode3 = 0 ; |
|
7630 |
int val4 ; |
|
7631 |
int ecode4 = 0 ; |
|
7632 |
PyObject * obj0 = 0 ; |
|
7633 |
PyObject * obj1 = 0 ; |
|
7634 |
PyObject * obj2 = 0 ; |
|
7635 |
PyObject * obj3 = 0 ; |
|
7636 |
char * kwnames[] = { |
|
7637 |
(char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL |
|
7638 |
}; |
|
7639 |
||
7640 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
|
7641 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7642 |
if (!SWIG_IsOK(res1)) { |
|
7643 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
7644 |
} |
|
7645 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7646 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
7647 |
if (!SWIG_IsOK(res2)) { |
|
7648 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
7649 |
} |
|
7650 |
if (!argp2) { |
|
7651 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
7652 |
} |
|
7653 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
7654 |
if (obj2) { |
|
7655 |
ecode3 = SWIG_AsVal_int(obj2, &val3); |
|
7656 |
if (!SWIG_IsOK(ecode3)) { |
|
7657 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "3"" of type '" "int""'"); |
|
7658 |
} |
|
7659 |
arg3 = static_cast< int >(val3); |
|
7660 |
} |
|
7661 |
if (obj3) { |
|
7662 |
ecode4 = SWIG_AsVal_int(obj3, &val4); |
|
7663 |
if (!SWIG_IsOK(ecode4)) { |
|
7664 |
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'"); |
|
7665 |
} |
|
7666 |
arg4 = static_cast< wxTreeItemIcon >(val4); |
|
7667 |
} |
|
7668 |
{ |
|
7669 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7670 |
result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4); |
|
7671 |
wxPyEndAllowThreads(__tstate); |
|
7672 |
if (PyErr_Occurred()) SWIG_fail; |
|
7673 |
} |
|
7674 |
resultobj = SWIG_From_int(static_cast< int >(result)); |
|
7675 |
return resultobj; |
|
7676 |
fail: |
|
7677 |
return NULL; |
|
7678 |
} |
|
7679 |
||
7680 |
||
7681 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7682 |
PyObject *resultobj = 0; |
|
7683 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7684 |
wxTreeItemId *arg2 = 0 ; |
|
7685 |
wxString *arg3 = 0 ; |
|
7686 |
int arg4 = (int) -1 ; |
|
7687 |
void *argp1 = 0 ; |
|
7688 |
int res1 = 0 ; |
|
7689 |
void *argp2 = 0 ; |
|
7690 |
int res2 = 0 ; |
|
7691 |
bool temp3 = false ; |
|
7692 |
int val4 ; |
|
7693 |
int ecode4 = 0 ; |
|
7694 |
PyObject * obj0 = 0 ; |
|
7695 |
PyObject * obj1 = 0 ; |
|
7696 |
PyObject * obj2 = 0 ; |
|
7697 |
PyObject * obj3 = 0 ; |
|
7698 |
char * kwnames[] = { |
|
7699 |
(char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL |
|
7700 |
}; |
|
7701 |
||
7702 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
|
7703 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7704 |
if (!SWIG_IsOK(res1)) { |
|
7705 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
7706 |
} |
|
7707 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7708 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
7709 |
if (!SWIG_IsOK(res2)) { |
|
7710 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
7711 |
} |
|
7712 |
if (!argp2) { |
|
7713 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
7714 |
} |
|
7715 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
7716 |
{ |
|
7717 |
arg3 = wxString_in_helper(obj2); |
|
7718 |
if (arg3 == NULL) SWIG_fail; |
|
7719 |
temp3 = true; |
|
7720 |
} |
|
7721 |
if (obj3) { |
|
7722 |
ecode4 = SWIG_AsVal_int(obj3, &val4); |
|
7723 |
if (!SWIG_IsOK(ecode4)) { |
|
7724 |
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "4"" of type '" "int""'"); |
|
7725 |
} |
|
7726 |
arg4 = static_cast< int >(val4); |
|
7727 |
} |
|
7728 |
{ |
|
7729 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7730 |
wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4); |
|
7731 |
wxPyEndAllowThreads(__tstate); |
|
7732 |
if (PyErr_Occurred()) SWIG_fail; |
|
7733 |
} |
|
7734 |
resultobj = SWIG_Py_Void(); |
|
7735 |
{ |
|
7736 |
if (temp3) |
|
7737 |
delete arg3; |
|
7738 |
} |
|
7739 |
return resultobj; |
|
7740 |
fail: |
|
7741 |
{ |
|
7742 |
if (temp3) |
|
7743 |
delete arg3; |
|
7744 |
} |
|
7745 |
return NULL; |
|
7746 |
} |
|
7747 |
||
7748 |
||
7749 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7750 |
PyObject *resultobj = 0; |
|
7751 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7752 |
wxTreeItemId *arg2 = 0 ; |
|
7753 |
int arg3 ; |
|
7754 |
int arg4 = (int) -1 ; |
|
7755 |
wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ; |
|
7756 |
void *argp1 = 0 ; |
|
7757 |
int res1 = 0 ; |
|
7758 |
void *argp2 = 0 ; |
|
7759 |
int res2 = 0 ; |
|
7760 |
int val3 ; |
|
7761 |
int ecode3 = 0 ; |
|
7762 |
int val4 ; |
|
7763 |
int ecode4 = 0 ; |
|
7764 |
int val5 ; |
|
7765 |
int ecode5 = 0 ; |
|
7766 |
PyObject * obj0 = 0 ; |
|
7767 |
PyObject * obj1 = 0 ; |
|
7768 |
PyObject * obj2 = 0 ; |
|
7769 |
PyObject * obj3 = 0 ; |
|
7770 |
PyObject * obj4 = 0 ; |
|
7771 |
char * kwnames[] = { |
|
7772 |
(char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL |
|
7773 |
}; |
|
7774 |
||
7775 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
|
7776 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7777 |
if (!SWIG_IsOK(res1)) { |
|
7778 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
7779 |
} |
|
7780 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7781 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
7782 |
if (!SWIG_IsOK(res2)) { |
|
7783 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
7784 |
} |
|
7785 |
if (!argp2) { |
|
7786 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
7787 |
} |
|
7788 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
7789 |
ecode3 = SWIG_AsVal_int(obj2, &val3); |
|
7790 |
if (!SWIG_IsOK(ecode3)) { |
|
7791 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'"); |
|
7792 |
} |
|
7793 |
arg3 = static_cast< int >(val3); |
|
7794 |
if (obj3) { |
|
7795 |
ecode4 = SWIG_AsVal_int(obj3, &val4); |
|
7796 |
if (!SWIG_IsOK(ecode4)) { |
|
7797 |
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'"); |
|
7798 |
} |
|
7799 |
arg4 = static_cast< int >(val4); |
|
7800 |
} |
|
7801 |
if (obj4) { |
|
7802 |
ecode5 = SWIG_AsVal_int(obj4, &val5); |
|
7803 |
if (!SWIG_IsOK(ecode5)) { |
|
7804 |
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "5"" of type '" "wxTreeItemIcon""'"); |
|
7805 |
} |
|
7806 |
arg5 = static_cast< wxTreeItemIcon >(val5); |
|
7807 |
} |
|
7808 |
{ |
|
7809 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7810 |
wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5); |
|
7811 |
wxPyEndAllowThreads(__tstate); |
|
7812 |
if (PyErr_Occurred()) SWIG_fail; |
|
7813 |
} |
|
7814 |
resultobj = SWIG_Py_Void(); |
|
7815 |
return resultobj; |
|
7816 |
fail: |
|
7817 |
return NULL; |
|
7818 |
} |
|
7819 |
||
7820 |
||
7821 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7822 |
PyObject *resultobj = 0; |
|
7823 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7824 |
wxTreeItemId *arg2 = 0 ; |
|
7825 |
wxPyTreeItemData *result = 0 ; |
|
7826 |
void *argp1 = 0 ; |
|
7827 |
int res1 = 0 ; |
|
7828 |
void *argp2 = 0 ; |
|
7829 |
int res2 = 0 ; |
|
7830 |
PyObject * obj0 = 0 ; |
|
7831 |
PyObject * obj1 = 0 ; |
|
7832 |
char * kwnames[] = { |
|
7833 |
(char *) "self",(char *) "item", NULL |
|
7834 |
}; |
|
7835 |
||
7836 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail; |
|
7837 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7838 |
if (!SWIG_IsOK(res1)) { |
|
7839 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
7840 |
} |
|
7841 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7842 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
7843 |
if (!SWIG_IsOK(res2)) { |
|
7844 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
7845 |
} |
|
7846 |
if (!argp2) { |
|
7847 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
7848 |
} |
|
7849 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
7850 |
{ |
|
7851 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7852 |
result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2); |
|
7853 |
wxPyEndAllowThreads(__tstate); |
|
7854 |
if (PyErr_Occurred()) SWIG_fail; |
|
7855 |
} |
|
7856 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 ); |
|
7857 |
return resultobj; |
|
7858 |
fail: |
|
7859 |
return NULL; |
|
7860 |
} |
|
7861 |
||
7862 |
||
7863 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7864 |
PyObject *resultobj = 0; |
|
7865 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7866 |
wxTreeItemId *arg2 = 0 ; |
|
7867 |
wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ; |
|
7868 |
void *argp1 = 0 ; |
|
7869 |
int res1 = 0 ; |
|
7870 |
void *argp2 = 0 ; |
|
7871 |
int res2 = 0 ; |
|
7872 |
int res3 = 0 ; |
|
7873 |
PyObject * obj0 = 0 ; |
|
7874 |
PyObject * obj1 = 0 ; |
|
7875 |
PyObject * obj2 = 0 ; |
|
7876 |
char * kwnames[] = { |
|
7877 |
(char *) "self",(char *) "item",(char *) "data", NULL |
|
7878 |
}; |
|
7879 |
||
7880 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
7881 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7882 |
if (!SWIG_IsOK(res1)) { |
|
7883 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
7884 |
} |
|
7885 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7886 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
7887 |
if (!SWIG_IsOK(res2)) { |
|
7888 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
7889 |
} |
|
7890 |
if (!argp2) { |
|
7891 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
7892 |
} |
|
7893 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
7894 |
res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 ); |
|
7895 |
if (!SWIG_IsOK(res3)) { |
|
7896 |
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'"); |
|
7897 |
} |
|
7898 |
{ |
|
7899 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7900 |
wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3); |
|
7901 |
wxPyEndAllowThreads(__tstate); |
|
7902 |
if (PyErr_Occurred()) SWIG_fail; |
|
7903 |
} |
|
7904 |
resultobj = SWIG_Py_Void(); |
|
7905 |
return resultobj; |
|
7906 |
fail: |
|
7907 |
return NULL; |
|
7908 |
} |
|
7909 |
||
7910 |
||
7911 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7912 |
PyObject *resultobj = 0; |
|
7913 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7914 |
wxTreeItemId *arg2 = 0 ; |
|
7915 |
PyObject *result = 0 ; |
|
7916 |
void *argp1 = 0 ; |
|
7917 |
int res1 = 0 ; |
|
7918 |
void *argp2 = 0 ; |
|
7919 |
int res2 = 0 ; |
|
7920 |
PyObject * obj0 = 0 ; |
|
7921 |
PyObject * obj1 = 0 ; |
|
7922 |
char * kwnames[] = { |
|
7923 |
(char *) "self",(char *) "item", NULL |
|
7924 |
}; |
|
7925 |
||
7926 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail; |
|
7927 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7928 |
if (!SWIG_IsOK(res1)) { |
|
7929 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
7930 |
} |
|
7931 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7932 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
7933 |
if (!SWIG_IsOK(res2)) { |
|
7934 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
7935 |
} |
|
7936 |
if (!argp2) { |
|
7937 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
7938 |
} |
|
7939 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
7940 |
{ |
|
7941 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7942 |
result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2); |
|
7943 |
wxPyEndAllowThreads(__tstate); |
|
7944 |
if (PyErr_Occurred()) SWIG_fail; |
|
7945 |
} |
|
7946 |
resultobj = result; |
|
7947 |
return resultobj; |
|
7948 |
fail: |
|
7949 |
return NULL; |
|
7950 |
} |
|
7951 |
||
7952 |
||
7953 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7954 |
PyObject *resultobj = 0; |
|
7955 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
7956 |
wxTreeItemId *arg2 = 0 ; |
|
7957 |
PyObject *arg3 = (PyObject *) 0 ; |
|
7958 |
void *argp1 = 0 ; |
|
7959 |
int res1 = 0 ; |
|
7960 |
void *argp2 = 0 ; |
|
7961 |
int res2 = 0 ; |
|
7962 |
PyObject * obj0 = 0 ; |
|
7963 |
PyObject * obj1 = 0 ; |
|
7964 |
PyObject * obj2 = 0 ; |
|
7965 |
char * kwnames[] = { |
|
7966 |
(char *) "self",(char *) "item",(char *) "obj", NULL |
|
7967 |
}; |
|
7968 |
||
7969 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
7970 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
7971 |
if (!SWIG_IsOK(res1)) { |
|
7972 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
7973 |
} |
|
7974 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
7975 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
7976 |
if (!SWIG_IsOK(res2)) { |
|
7977 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
7978 |
} |
|
7979 |
if (!argp2) { |
|
7980 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
7981 |
} |
|
7982 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
7983 |
arg3 = obj2; |
|
7984 |
{ |
|
7985 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
7986 |
wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3); |
|
7987 |
wxPyEndAllowThreads(__tstate); |
|
7988 |
if (PyErr_Occurred()) SWIG_fail; |
|
7989 |
} |
|
7990 |
resultobj = SWIG_Py_Void(); |
|
7991 |
return resultobj; |
|
7992 |
fail: |
|
7993 |
return NULL; |
|
7994 |
} |
|
7995 |
||
7996 |
||
7997 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
7998 |
PyObject *resultobj = 0; |
|
7999 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8000 |
wxTreeItemId *arg2 = 0 ; |
|
8001 |
bool result; |
|
8002 |
void *argp1 = 0 ; |
|
8003 |
int res1 = 0 ; |
|
8004 |
void *argp2 = 0 ; |
|
8005 |
int res2 = 0 ; |
|
8006 |
PyObject * obj0 = 0 ; |
|
8007 |
PyObject * obj1 = 0 ; |
|
8008 |
char * kwnames[] = { |
|
8009 |
(char *) "self",(char *) "item", NULL |
|
8010 |
}; |
|
8011 |
||
8012 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) SWIG_fail; |
|
8013 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8014 |
if (!SWIG_IsOK(res1)) { |
|
8015 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
8016 |
} |
|
8017 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8018 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
8019 |
if (!SWIG_IsOK(res2)) { |
|
8020 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8021 |
} |
|
8022 |
if (!argp2) { |
|
8023 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8024 |
} |
|
8025 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
8026 |
{ |
|
8027 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8028 |
result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2); |
|
8029 |
wxPyEndAllowThreads(__tstate); |
|
8030 |
if (PyErr_Occurred()) SWIG_fail; |
|
8031 |
} |
|
8032 |
{ |
|
8033 |
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
|
8034 |
} |
|
8035 |
return resultobj; |
|
8036 |
fail: |
|
8037 |
return NULL; |
|
8038 |
} |
|
8039 |
||
8040 |
||
8041 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
8042 |
PyObject *resultobj = 0; |
|
8043 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8044 |
wxTreeItemId *arg2 = 0 ; |
|
8045 |
wxColour result; |
|
8046 |
void *argp1 = 0 ; |
|
8047 |
int res1 = 0 ; |
|
8048 |
void *argp2 = 0 ; |
|
8049 |
int res2 = 0 ; |
|
8050 |
PyObject * obj0 = 0 ; |
|
8051 |
PyObject * obj1 = 0 ; |
|
8052 |
char * kwnames[] = { |
|
8053 |
(char *) "self",(char *) "item", NULL |
|
8054 |
}; |
|
8055 |
||
8056 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail; |
|
8057 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8058 |
if (!SWIG_IsOK(res1)) { |
|
8059 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
8060 |
} |
|
8061 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8062 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
8063 |
if (!SWIG_IsOK(res2)) { |
|
8064 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8065 |
} |
|
8066 |
if (!argp2) { |
|
8067 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8068 |
} |
|
8069 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
8070 |
{ |
|
8071 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8072 |
result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2); |
|
8073 |
wxPyEndAllowThreads(__tstate); |
|
8074 |
if (PyErr_Occurred()) SWIG_fail; |
|
8075 |
} |
|
8076 |
resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); |
|
8077 |
return resultobj; |
|
8078 |
fail: |
|
8079 |
return NULL; |
|
8080 |
} |
|
8081 |
||
8082 |
||
8083 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
8084 |
PyObject *resultobj = 0; |
|
8085 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8086 |
wxTreeItemId *arg2 = 0 ; |
|
8087 |
wxColour result; |
|
8088 |
void *argp1 = 0 ; |
|
8089 |
int res1 = 0 ; |
|
8090 |
void *argp2 = 0 ; |
|
8091 |
int res2 = 0 ; |
|
8092 |
PyObject * obj0 = 0 ; |
|
8093 |
PyObject * obj1 = 0 ; |
|
8094 |
char * kwnames[] = { |
|
8095 |
(char *) "self",(char *) "item", NULL |
|
8096 |
}; |
|
8097 |
||
8098 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail; |
|
8099 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8100 |
if (!SWIG_IsOK(res1)) { |
|
8101 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
8102 |
} |
|
8103 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8104 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
8105 |
if (!SWIG_IsOK(res2)) { |
|
8106 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8107 |
} |
|
8108 |
if (!argp2) { |
|
8109 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8110 |
} |
|
8111 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
8112 |
{ |
|
8113 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8114 |
result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2); |
|
8115 |
wxPyEndAllowThreads(__tstate); |
|
8116 |
if (PyErr_Occurred()) SWIG_fail; |
|
8117 |
} |
|
8118 |
resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 ); |
|
8119 |
return resultobj; |
|
8120 |
fail: |
|
8121 |
return NULL; |
|
8122 |
} |
|
8123 |
||
8124 |
||
8125 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
8126 |
PyObject *resultobj = 0; |
|
8127 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8128 |
wxTreeItemId *arg2 = 0 ; |
|
8129 |
wxFont result; |
|
8130 |
void *argp1 = 0 ; |
|
8131 |
int res1 = 0 ; |
|
8132 |
void *argp2 = 0 ; |
|
8133 |
int res2 = 0 ; |
|
8134 |
PyObject * obj0 = 0 ; |
|
8135 |
PyObject * obj1 = 0 ; |
|
8136 |
char * kwnames[] = { |
|
8137 |
(char *) "self",(char *) "item", NULL |
|
8138 |
}; |
|
8139 |
||
8140 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail; |
|
8141 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8142 |
if (!SWIG_IsOK(res1)) { |
|
8143 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
8144 |
} |
|
8145 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8146 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
8147 |
if (!SWIG_IsOK(res2)) { |
|
8148 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8149 |
} |
|
8150 |
if (!argp2) { |
|
8151 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8152 |
} |
|
8153 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
8154 |
{ |
|
8155 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8156 |
result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2); |
|
8157 |
wxPyEndAllowThreads(__tstate); |
|
8158 |
if (PyErr_Occurred()) SWIG_fail; |
|
8159 |
} |
|
8160 |
resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 ); |
|
8161 |
return resultobj; |
|
8162 |
fail: |
|
8163 |
return NULL; |
|
8164 |
} |
|
8165 |
||
8166 |
||
8167 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
8168 |
PyObject *resultobj = 0; |
|
8169 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8170 |
wxTreeItemId *arg2 = 0 ; |
|
8171 |
bool arg3 = (bool) true ; |
|
8172 |
void *argp1 = 0 ; |
|
8173 |
int res1 = 0 ; |
|
8174 |
void *argp2 = 0 ; |
|
8175 |
int res2 = 0 ; |
|
8176 |
bool val3 ; |
|
8177 |
int ecode3 = 0 ; |
|
8178 |
PyObject * obj0 = 0 ; |
|
8179 |
PyObject * obj1 = 0 ; |
|
8180 |
PyObject * obj2 = 0 ; |
|
8181 |
char * kwnames[] = { |
|
8182 |
(char *) "self",(char *) "item",(char *) "has", NULL |
|
8183 |
}; |
|
8184 |
||
8185 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
8186 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8187 |
if (!SWIG_IsOK(res1)) { |
|
8188 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
8189 |
} |
|
8190 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8191 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
8192 |
if (!SWIG_IsOK(res2)) { |
|
8193 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8194 |
} |
|
8195 |
if (!argp2) { |
|
8196 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8197 |
} |
|
8198 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
8199 |
if (obj2) { |
|
8200 |
ecode3 = SWIG_AsVal_bool(obj2, &val3); |
|
8201 |
if (!SWIG_IsOK(ecode3)) { |
|
8202 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'"); |
|
8203 |
} |
|
8204 |
arg3 = static_cast< bool >(val3); |
|
8205 |
} |
|
8206 |
{ |
|
8207 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8208 |
(arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3); |
|
8209 |
wxPyEndAllowThreads(__tstate); |
|
8210 |
if (PyErr_Occurred()) SWIG_fail; |
|
8211 |
} |
|
8212 |
resultobj = SWIG_Py_Void(); |
|
8213 |
return resultobj; |
|
8214 |
fail: |
|
8215 |
return NULL; |
|
8216 |
} |
|
8217 |
||
8218 |
||
8219 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
8220 |
PyObject *resultobj = 0; |
|
8221 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8222 |
wxTreeItemId *arg2 = 0 ; |
|
8223 |
bool arg3 = (bool) true ; |
|
8224 |
void *argp1 = 0 ; |
|
8225 |
int res1 = 0 ; |
|
8226 |
void *argp2 = 0 ; |
|
8227 |
int res2 = 0 ; |
|
8228 |
bool val3 ; |
|
8229 |
int ecode3 = 0 ; |
|
8230 |
PyObject * obj0 = 0 ; |
|
8231 |
PyObject * obj1 = 0 ; |
|
8232 |
PyObject * obj2 = 0 ; |
|
8233 |
char * kwnames[] = { |
|
8234 |
(char *) "self",(char *) "item",(char *) "bold", NULL |
|
8235 |
}; |
|
8236 |
||
8237 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
8238 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8239 |
if (!SWIG_IsOK(res1)) { |
|
8240 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
8241 |
} |
|
8242 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8243 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
8244 |
if (!SWIG_IsOK(res2)) { |
|
8245 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8246 |
} |
|
8247 |
if (!argp2) { |
|
8248 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8249 |
} |
|
8250 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
8251 |
if (obj2) { |
|
8252 |
ecode3 = SWIG_AsVal_bool(obj2, &val3); |
|
8253 |
if (!SWIG_IsOK(ecode3)) { |
|
8254 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'"); |
|
8255 |
} |
|
8256 |
arg3 = static_cast< bool >(val3); |
|
8257 |
} |
|
8258 |
{ |
|
8259 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8260 |
(arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3); |
|
8261 |
wxPyEndAllowThreads(__tstate); |
|
8262 |
if (PyErr_Occurred()) SWIG_fail; |
|
8263 |
} |
|
8264 |
resultobj = SWIG_Py_Void(); |
|
8265 |
return resultobj; |
|
8266 |
fail: |
|
8267 |
return NULL; |
|
8268 |
} |
|
8269 |
||
8270 |
||
8271 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
8272 |
PyObject *resultobj = 0; |
|
8273 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8274 |
wxTreeItemId *arg2 = 0 ; |
|
8275 |
wxColour *arg3 = 0 ; |
|
8276 |
void *argp1 = 0 ; |
|
8277 |
int res1 = 0 ; |
|
8278 |
void *argp2 = 0 ; |
|
8279 |
int res2 = 0 ; |
|
8280 |
wxColour temp3 ; |
|
8281 |
PyObject * obj0 = 0 ; |
|
8282 |
PyObject * obj1 = 0 ; |
|
8283 |
PyObject * obj2 = 0 ; |
|
8284 |
char * kwnames[] = { |
|
8285 |
(char *) "self",(char *) "item",(char *) "colour", NULL |
|
8286 |
}; |
|
8287 |
||
8288 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
8289 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8290 |
if (!SWIG_IsOK(res1)) { |
|
8291 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
8292 |
} |
|
8293 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8294 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
8295 |
if (!SWIG_IsOK(res2)) { |
|
8296 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8297 |
} |
|
8298 |
if (!argp2) { |
|
8299 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8300 |
} |
|
8301 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
8302 |
{ |
|
8303 |
arg3 = &temp3; |
|
8304 |
if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; |
|
8305 |
} |
|
8306 |
{ |
|
8307 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8308 |
(arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3); |
|
8309 |
wxPyEndAllowThreads(__tstate); |
|
8310 |
if (PyErr_Occurred()) SWIG_fail; |
|
8311 |
} |
|
8312 |
resultobj = SWIG_Py_Void(); |
|
8313 |
return resultobj; |
|
8314 |
fail: |
|
8315 |
return NULL; |
|
8316 |
} |
|
8317 |
||
8318 |
||
8319 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
8320 |
PyObject *resultobj = 0; |
|
8321 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8322 |
wxTreeItemId *arg2 = 0 ; |
|
8323 |
wxColour *arg3 = 0 ; |
|
8324 |
void *argp1 = 0 ; |
|
8325 |
int res1 = 0 ; |
|
8326 |
void *argp2 = 0 ; |
|
8327 |
int res2 = 0 ; |
|
8328 |
wxColour temp3 ; |
|
8329 |
PyObject * obj0 = 0 ; |
|
8330 |
PyObject * obj1 = 0 ; |
|
8331 |
PyObject * obj2 = 0 ; |
|
8332 |
char * kwnames[] = { |
|
8333 |
(char *) "self",(char *) "item",(char *) "colour", NULL |
|
8334 |
}; |
|
8335 |
||
8336 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
8337 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8338 |
if (!SWIG_IsOK(res1)) { |
|
8339 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
8340 |
} |
|
8341 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8342 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
8343 |
if (!SWIG_IsOK(res2)) { |
|
8344 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8345 |
} |
|
8346 |
if (!argp2) { |
|
8347 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8348 |
} |
|
8349 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
8350 |
{ |
|
8351 |
arg3 = &temp3; |
|
8352 |
if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail; |
|
8353 |
} |
|
8354 |
{ |
|
8355 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8356 |
(arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3); |
|
8357 |
wxPyEndAllowThreads(__tstate); |
|
8358 |
if (PyErr_Occurred()) SWIG_fail; |
|
8359 |
} |
|
8360 |
resultobj = SWIG_Py_Void(); |
|
8361 |
return resultobj; |
|
8362 |
fail: |
|
8363 |
return NULL; |
|
8364 |
} |
|
8365 |
||
8366 |
||
8367 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
8368 |
PyObject *resultobj = 0; |
|
8369 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8370 |
wxTreeItemId *arg2 = 0 ; |
|
8371 |
wxFont *arg3 = 0 ; |
|
8372 |
void *argp1 = 0 ; |
|
8373 |
int res1 = 0 ; |
|
8374 |
void *argp2 = 0 ; |
|
8375 |
int res2 = 0 ; |
|
8376 |
void *argp3 = 0 ; |
|
8377 |
int res3 = 0 ; |
|
8378 |
PyObject * obj0 = 0 ; |
|
8379 |
PyObject * obj1 = 0 ; |
|
8380 |
PyObject * obj2 = 0 ; |
|
8381 |
char * kwnames[] = { |
|
8382 |
(char *) "self",(char *) "item",(char *) "font", NULL |
|
8383 |
}; |
|
8384 |
||
8385 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
8386 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8387 |
if (!SWIG_IsOK(res1)) { |
|
8388 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
8389 |
} |
|
8390 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8391 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
8392 |
if (!SWIG_IsOK(res2)) { |
|
8393 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8394 |
} |
|
8395 |
if (!argp2) { |
|
8396 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8397 |
} |
|
8398 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
8399 |
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0); |
|
8400 |
if (!SWIG_IsOK(res3)) { |
|
8401 |
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
|
8402 |
} |
|
8403 |
if (!argp3) { |
|
8404 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'"); |
|
8405 |
} |
|
8406 |
arg3 = reinterpret_cast< wxFont * >(argp3); |
|
8407 |
{ |
|
8408 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8409 |
(arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3); |
|
8410 |
wxPyEndAllowThreads(__tstate); |
|
8411 |
if (PyErr_Occurred()) SWIG_fail; |
|
8412 |
} |
|
8413 |
resultobj = SWIG_Py_Void(); |
|
8414 |
return resultobj; |
|
8415 |
fail: |
|
8416 |
return NULL; |
|
8417 |
} |
|
8418 |
||
8419 |
||
8420 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
8421 |
PyObject *resultobj = 0; |
|
8422 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8423 |
wxTreeItemId *arg2 = 0 ; |
|
8424 |
bool result; |
|
8425 |
void *argp1 = 0 ; |
|
8426 |
int res1 = 0 ; |
|
8427 |
void *argp2 = 0 ; |
|
8428 |
int res2 = 0 ; |
|
8429 |
PyObject * obj0 = 0 ; |
|
8430 |
PyObject * obj1 = 0 ; |
|
8431 |
char * kwnames[] = { |
|
8432 |
(char *) "self",(char *) "item", NULL |
|
8433 |
}; |
|
8434 |
||
8435 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail; |
|
8436 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8437 |
if (!SWIG_IsOK(res1)) { |
|
8438 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
8439 |
} |
|
8440 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8441 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
8442 |
if (!SWIG_IsOK(res2)) { |
|
8443 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8444 |
} |
|
8445 |
if (!argp2) { |
|
8446 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8447 |
} |
|
8448 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
8449 |
{ |
|
8450 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8451 |
result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2); |
|
8452 |
wxPyEndAllowThreads(__tstate); |
|
8453 |
if (PyErr_Occurred()) SWIG_fail; |
|
8454 |
} |
|
8455 |
{ |
|
8456 |
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
|
8457 |
} |
|
8458 |
return resultobj; |
|
8459 |
fail: |
|
8460 |
return NULL; |
|
8461 |
} |
|
8462 |
||
8463 |
||
8464 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_HasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
8465 |
PyObject *resultobj = 0; |
|
8466 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8467 |
wxTreeItemId *arg2 = 0 ; |
|
8468 |
bool result; |
|
8469 |
void *argp1 = 0 ; |
|
8470 |
int res1 = 0 ; |
|
8471 |
void *argp2 = 0 ; |
|
8472 |
int res2 = 0 ; |
|
8473 |
PyObject * obj0 = 0 ; |
|
8474 |
PyObject * obj1 = 0 ; |
|
8475 |
char * kwnames[] = { |
|
8476 |
(char *) "self",(char *) "item", NULL |
|
8477 |
}; |
|
8478 |
||
8479 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HasChildren",kwnames,&obj0,&obj1)) SWIG_fail; |
|
8480 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8481 |
if (!SWIG_IsOK(res1)) { |
|
8482 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
8483 |
} |
|
8484 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8485 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
8486 |
if (!SWIG_IsOK(res2)) { |
|
8487 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8488 |
} |
|
8489 |
if (!argp2) { |
|
8490 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8491 |
} |
|
8492 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
8493 |
{ |
|
8494 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8495 |
result = (bool)((wxPyTreeListCtrl const *)arg1)->HasChildren((wxTreeItemId const &)*arg2); |
|
8496 |
wxPyEndAllowThreads(__tstate); |
|
8497 |
if (PyErr_Occurred()) SWIG_fail; |
|
8498 |
} |
|
8499 |
{ |
|
8500 |
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
|
8501 |
} |
|
8502 |
return resultobj; |
|
8503 |
fail: |
|
8504 |
return NULL; |
|
8505 |
} |
|
8506 |
||
8507 |
||
8508 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
8509 |
PyObject *resultobj = 0; |
|
8510 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8511 |
wxTreeItemId *arg2 = 0 ; |
|
8512 |
bool result; |
|
8513 |
void *argp1 = 0 ; |
|
8514 |
int res1 = 0 ; |
|
8515 |
void *argp2 = 0 ; |
|
8516 |
int res2 = 0 ; |
|
8517 |
PyObject * obj0 = 0 ; |
|
8518 |
PyObject * obj1 = 0 ; |
|
8519 |
char * kwnames[] = { |
|
8520 |
(char *) "self",(char *) "item", NULL |
|
8521 |
}; |
|
8522 |
||
8523 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail; |
|
8524 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8525 |
if (!SWIG_IsOK(res1)) { |
|
8526 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
8527 |
} |
|
8528 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8529 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
8530 |
if (!SWIG_IsOK(res2)) { |
|
8531 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8532 |
} |
|
8533 |
if (!argp2) { |
|
8534 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8535 |
} |
|
8536 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
8537 |
{ |
|
8538 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8539 |
result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2); |
|
8540 |
wxPyEndAllowThreads(__tstate); |
|
8541 |
if (PyErr_Occurred()) SWIG_fail; |
|
8542 |
} |
|
8543 |
{ |
|
8544 |
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
|
8545 |
} |
|
8546 |
return resultobj; |
|
8547 |
fail: |
|
8548 |
return NULL; |
|
8549 |
} |
|
8550 |
||
8551 |
||
8552 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
8553 |
PyObject *resultobj = 0; |
|
8554 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8555 |
wxTreeItemId *arg2 = 0 ; |
|
8556 |
bool result; |
|
8557 |
void *argp1 = 0 ; |
|
8558 |
int res1 = 0 ; |
|
8559 |
void *argp2 = 0 ; |
|
8560 |
int res2 = 0 ; |
|
8561 |
PyObject * obj0 = 0 ; |
|
8562 |
PyObject * obj1 = 0 ; |
|
8563 |
char * kwnames[] = { |
|
8564 |
(char *) "self",(char *) "item", NULL |
|
8565 |
}; |
|
8566 |
||
8567 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail; |
|
8568 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8569 |
if (!SWIG_IsOK(res1)) { |
|
8570 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
8571 |
} |
|
8572 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8573 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
8574 |
if (!SWIG_IsOK(res2)) { |
|
8575 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8576 |
} |
|
8577 |
if (!argp2) { |
|
8578 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8579 |
} |
|
8580 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
8581 |
{ |
|
8582 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8583 |
result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2); |
|
8584 |
wxPyEndAllowThreads(__tstate); |
|
8585 |
if (PyErr_Occurred()) SWIG_fail; |
|
8586 |
} |
|
8587 |
{ |
|
8588 |
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
|
8589 |
} |
|
8590 |
return resultobj; |
|
8591 |
fail: |
|
8592 |
return NULL; |
|
8593 |
} |
|
8594 |
||
8595 |
||
8596 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
8597 |
PyObject *resultobj = 0; |
|
8598 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8599 |
wxTreeItemId *arg2 = 0 ; |
|
8600 |
bool result; |
|
8601 |
void *argp1 = 0 ; |
|
8602 |
int res1 = 0 ; |
|
8603 |
void *argp2 = 0 ; |
|
8604 |
int res2 = 0 ; |
|
8605 |
PyObject * obj0 = 0 ; |
|
8606 |
PyObject * obj1 = 0 ; |
|
8607 |
char * kwnames[] = { |
|
8608 |
(char *) "self",(char *) "item", NULL |
|
8609 |
}; |
|
8610 |
||
8611 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail; |
|
8612 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8613 |
if (!SWIG_IsOK(res1)) { |
|
8614 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
8615 |
} |
|
8616 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8617 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
8618 |
if (!SWIG_IsOK(res2)) { |
|
8619 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8620 |
} |
|
8621 |
if (!argp2) { |
|
8622 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8623 |
} |
|
8624 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
8625 |
{ |
|
8626 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8627 |
result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2); |
|
8628 |
wxPyEndAllowThreads(__tstate); |
|
8629 |
if (PyErr_Occurred()) SWIG_fail; |
|
8630 |
} |
|
8631 |
{ |
|
8632 |
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
|
8633 |
} |
|
8634 |
return resultobj; |
|
8635 |
fail: |
|
8636 |
return NULL; |
|
8637 |
} |
|
8638 |
||
8639 |
||
8640 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
8641 |
PyObject *resultobj = 0; |
|
8642 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8643 |
wxTreeItemId *arg2 = 0 ; |
|
8644 |
bool arg3 = (bool) true ; |
|
8645 |
size_t result; |
|
8646 |
void *argp1 = 0 ; |
|
8647 |
int res1 = 0 ; |
|
8648 |
void *argp2 = 0 ; |
|
8649 |
int res2 = 0 ; |
|
8650 |
bool val3 ; |
|
8651 |
int ecode3 = 0 ; |
|
8652 |
PyObject * obj0 = 0 ; |
|
8653 |
PyObject * obj1 = 0 ; |
|
8654 |
PyObject * obj2 = 0 ; |
|
8655 |
char * kwnames[] = { |
|
8656 |
(char *) "self",(char *) "item",(char *) "recursively", NULL |
|
8657 |
}; |
|
8658 |
||
8659 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
8660 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8661 |
if (!SWIG_IsOK(res1)) { |
|
8662 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
8663 |
} |
|
8664 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8665 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
8666 |
if (!SWIG_IsOK(res2)) { |
|
8667 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8668 |
} |
|
8669 |
if (!argp2) { |
|
8670 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8671 |
} |
|
8672 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
8673 |
if (obj2) { |
|
8674 |
ecode3 = SWIG_AsVal_bool(obj2, &val3); |
|
8675 |
if (!SWIG_IsOK(ecode3)) { |
|
8676 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'"); |
|
8677 |
} |
|
8678 |
arg3 = static_cast< bool >(val3); |
|
8679 |
} |
|
8680 |
{ |
|
8681 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8682 |
result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3); |
|
8683 |
wxPyEndAllowThreads(__tstate); |
|
8684 |
if (PyErr_Occurred()) SWIG_fail; |
|
8685 |
} |
|
8686 |
resultobj = SWIG_From_size_t(static_cast< size_t >(result)); |
|
8687 |
return resultobj; |
|
8688 |
fail: |
|
8689 |
return NULL; |
|
8690 |
} |
|
8691 |
||
8692 |
||
8693 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
8694 |
PyObject *resultobj = 0; |
|
8695 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8696 |
wxTreeItemId result; |
|
8697 |
void *argp1 = 0 ; |
|
8698 |
int res1 = 0 ; |
|
8699 |
PyObject *swig_obj[1] ; |
|
8700 |
||
8701 |
if (!args) SWIG_fail; |
|
8702 |
swig_obj[0] = args; |
|
8703 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8704 |
if (!SWIG_IsOK(res1)) { |
|
8705 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
8706 |
} |
|
8707 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8708 |
{ |
|
8709 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8710 |
result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem(); |
|
8711 |
wxPyEndAllowThreads(__tstate); |
|
8712 |
if (PyErr_Occurred()) SWIG_fail; |
|
8713 |
} |
|
8714 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
8715 |
return resultobj; |
|
8716 |
fail: |
|
8717 |
return NULL; |
|
8718 |
} |
|
8719 |
||
8720 |
||
8721 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
8722 |
PyObject *resultobj = 0; |
|
8723 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8724 |
wxTreeItemId result; |
|
8725 |
void *argp1 = 0 ; |
|
8726 |
int res1 = 0 ; |
|
8727 |
PyObject *swig_obj[1] ; |
|
8728 |
||
8729 |
if (!args) SWIG_fail; |
|
8730 |
swig_obj[0] = args; |
|
8731 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8732 |
if (!SWIG_IsOK(res1)) { |
|
8733 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
8734 |
} |
|
8735 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8736 |
{ |
|
8737 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8738 |
result = ((wxPyTreeListCtrl const *)arg1)->GetSelection(); |
|
8739 |
wxPyEndAllowThreads(__tstate); |
|
8740 |
if (PyErr_Occurred()) SWIG_fail; |
|
8741 |
} |
|
8742 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
8743 |
return resultobj; |
|
8744 |
fail: |
|
8745 |
return NULL; |
|
8746 |
} |
|
8747 |
||
8748 |
||
8749 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
8750 |
PyObject *resultobj = 0; |
|
8751 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8752 |
PyObject *result = 0 ; |
|
8753 |
void *argp1 = 0 ; |
|
8754 |
int res1 = 0 ; |
|
8755 |
PyObject *swig_obj[1] ; |
|
8756 |
||
8757 |
if (!args) SWIG_fail; |
|
8758 |
swig_obj[0] = args; |
|
8759 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8760 |
if (!SWIG_IsOK(res1)) { |
|
8761 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
8762 |
} |
|
8763 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8764 |
{ |
|
8765 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8766 |
result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1); |
|
8767 |
wxPyEndAllowThreads(__tstate); |
|
8768 |
if (PyErr_Occurred()) SWIG_fail; |
|
8769 |
} |
|
8770 |
resultobj = result; |
|
8771 |
return resultobj; |
|
8772 |
fail: |
|
8773 |
return NULL; |
|
8774 |
} |
|
8775 |
||
8776 |
||
8777 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
8778 |
PyObject *resultobj = 0; |
|
8779 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8780 |
wxTreeItemId *arg2 = 0 ; |
|
8781 |
wxTreeItemId result; |
|
8782 |
void *argp1 = 0 ; |
|
8783 |
int res1 = 0 ; |
|
8784 |
void *argp2 = 0 ; |
|
8785 |
int res2 = 0 ; |
|
8786 |
PyObject * obj0 = 0 ; |
|
8787 |
PyObject * obj1 = 0 ; |
|
8788 |
char * kwnames[] = { |
|
8789 |
(char *) "self",(char *) "item", NULL |
|
8790 |
}; |
|
8791 |
||
8792 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail; |
|
8793 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8794 |
if (!SWIG_IsOK(res1)) { |
|
8795 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
8796 |
} |
|
8797 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8798 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
8799 |
if (!SWIG_IsOK(res2)) { |
|
8800 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8801 |
} |
|
8802 |
if (!argp2) { |
|
8803 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8804 |
} |
|
8805 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
8806 |
{ |
|
8807 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8808 |
result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2); |
|
8809 |
wxPyEndAllowThreads(__tstate); |
|
8810 |
if (PyErr_Occurred()) SWIG_fail; |
|
8811 |
} |
|
8812 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
8813 |
return resultobj; |
|
8814 |
fail: |
|
8815 |
return NULL; |
|
8816 |
} |
|
8817 |
||
8818 |
||
1.1.3
by Devid Filoni
Import upstream version 2.8.6.1 |
8819 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetCurrentItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
8820 |
PyObject *resultobj = 0; |
|
8821 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8822 |
wxTreeItemId result; |
|
8823 |
void *argp1 = 0 ; |
|
8824 |
int res1 = 0 ; |
|
8825 |
PyObject *swig_obj[1] ; |
|
8826 |
||
8827 |
if (!args) SWIG_fail; |
|
8828 |
swig_obj[0] = args; |
|
8829 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8830 |
if (!SWIG_IsOK(res1)) { |
|
8831 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetCurrentItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
8832 |
} |
|
8833 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8834 |
{ |
|
8835 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8836 |
result = ((wxPyTreeListCtrl const *)arg1)->GetCurrentItem(); |
|
8837 |
wxPyEndAllowThreads(__tstate); |
|
8838 |
if (PyErr_Occurred()) SWIG_fail; |
|
8839 |
} |
|
8840 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
8841 |
return resultobj; |
|
8842 |
fail: |
|
8843 |
return NULL; |
|
8844 |
} |
|
8845 |
||
8846 |
||
8847 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetCurrentItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
8848 |
PyObject *resultobj = 0; |
|
8849 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8850 |
wxTreeItemId *arg2 = 0 ; |
|
8851 |
void *argp1 = 0 ; |
|
8852 |
int res1 = 0 ; |
|
8853 |
void *argp2 = 0 ; |
|
8854 |
int res2 = 0 ; |
|
8855 |
PyObject * obj0 = 0 ; |
|
8856 |
PyObject * obj1 = 0 ; |
|
8857 |
char * kwnames[] = { |
|
8858 |
(char *) "self",(char *) "newItem", NULL |
|
8859 |
}; |
|
8860 |
||
8861 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetCurrentItem",kwnames,&obj0,&obj1)) SWIG_fail; |
|
8862 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8863 |
if (!SWIG_IsOK(res1)) { |
|
8864 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetCurrentItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
8865 |
} |
|
8866 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8867 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
8868 |
if (!SWIG_IsOK(res2)) { |
|
8869 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetCurrentItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8870 |
} |
|
8871 |
if (!argp2) { |
|
8872 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetCurrentItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8873 |
} |
|
8874 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
8875 |
{ |
|
8876 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8877 |
(arg1)->SetCurrentItem((wxTreeItemId const &)*arg2); |
|
8878 |
wxPyEndAllowThreads(__tstate); |
|
8879 |
if (PyErr_Occurred()) SWIG_fail; |
|
8880 |
} |
|
8881 |
resultobj = SWIG_Py_Void(); |
|
8882 |
return resultobj; |
|
8883 |
fail: |
|
8884 |
return NULL; |
|
8885 |
} |
|
8886 |
||
8887 |
||
1
by Matthias Klose
Import upstream version 2.8.1.1 |
8888 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
8889 |
PyObject *resultobj = 0; |
|
8890 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8891 |
wxTreeItemId *arg2 = 0 ; |
|
8892 |
PyObject *result = 0 ; |
|
8893 |
void *argp1 = 0 ; |
|
8894 |
int res1 = 0 ; |
|
8895 |
void *argp2 = 0 ; |
|
8896 |
int res2 = 0 ; |
|
8897 |
PyObject * obj0 = 0 ; |
|
8898 |
PyObject * obj1 = 0 ; |
|
8899 |
char * kwnames[] = { |
|
8900 |
(char *) "self",(char *) "item", NULL |
|
8901 |
}; |
|
8902 |
||
8903 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail; |
|
8904 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8905 |
if (!SWIG_IsOK(res1)) { |
|
8906 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
8907 |
} |
|
8908 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8909 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
8910 |
if (!SWIG_IsOK(res2)) { |
|
8911 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8912 |
} |
|
8913 |
if (!argp2) { |
|
8914 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8915 |
} |
|
8916 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
8917 |
{ |
|
8918 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8919 |
result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2); |
|
8920 |
wxPyEndAllowThreads(__tstate); |
|
8921 |
if (PyErr_Occurred()) SWIG_fail; |
|
8922 |
} |
|
8923 |
resultobj = result; |
|
8924 |
return resultobj; |
|
8925 |
fail: |
|
8926 |
return NULL; |
|
8927 |
} |
|
8928 |
||
8929 |
||
8930 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
8931 |
PyObject *resultobj = 0; |
|
8932 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8933 |
wxTreeItemId *arg2 = 0 ; |
|
8934 |
void *arg3 = (void *) 0 ; |
|
8935 |
PyObject *result = 0 ; |
|
8936 |
void *argp1 = 0 ; |
|
8937 |
int res1 = 0 ; |
|
8938 |
void *argp2 = 0 ; |
|
8939 |
int res2 = 0 ; |
|
8940 |
int res3 ; |
|
8941 |
PyObject * obj0 = 0 ; |
|
8942 |
PyObject * obj1 = 0 ; |
|
8943 |
PyObject * obj2 = 0 ; |
|
8944 |
char * kwnames[] = { |
|
8945 |
(char *) "self",(char *) "item",(char *) "cookie", NULL |
|
8946 |
}; |
|
8947 |
||
8948 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
8949 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8950 |
if (!SWIG_IsOK(res1)) { |
|
8951 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
8952 |
} |
|
8953 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
8954 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
8955 |
if (!SWIG_IsOK(res2)) { |
|
8956 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8957 |
} |
|
8958 |
if (!argp2) { |
|
8959 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
8960 |
} |
|
8961 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
8962 |
res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); |
|
8963 |
if (!SWIG_IsOK(res3)) { |
|
8964 |
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'"); |
|
8965 |
} |
|
8966 |
{ |
|
8967 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
8968 |
result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3); |
|
8969 |
wxPyEndAllowThreads(__tstate); |
|
8970 |
if (PyErr_Occurred()) SWIG_fail; |
|
8971 |
} |
|
8972 |
resultobj = result; |
|
8973 |
return resultobj; |
|
8974 |
fail: |
|
8975 |
return NULL; |
|
8976 |
} |
|
8977 |
||
8978 |
||
8979 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
8980 |
PyObject *resultobj = 0; |
|
8981 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
8982 |
wxTreeItemId *arg2 = 0 ; |
|
8983 |
PyObject *result = 0 ; |
|
8984 |
void *argp1 = 0 ; |
|
8985 |
int res1 = 0 ; |
|
8986 |
void *argp2 = 0 ; |
|
8987 |
int res2 = 0 ; |
|
8988 |
PyObject * obj0 = 0 ; |
|
8989 |
PyObject * obj1 = 0 ; |
|
8990 |
char * kwnames[] = { |
|
8991 |
(char *) "self",(char *) "item", NULL |
|
8992 |
}; |
|
8993 |
||
8994 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail; |
|
8995 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
8996 |
if (!SWIG_IsOK(res1)) { |
|
8997 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
8998 |
} |
|
8999 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
9000 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
9001 |
if (!SWIG_IsOK(res2)) { |
|
9002 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9003 |
} |
|
9004 |
if (!argp2) { |
|
9005 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9006 |
} |
|
9007 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
9008 |
{ |
|
9009 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
9010 |
result = (PyObject *)wxPyTreeListCtrl_GetLastChild(arg1,(wxTreeItemId const &)*arg2); |
|
9011 |
wxPyEndAllowThreads(__tstate); |
|
9012 |
if (PyErr_Occurred()) SWIG_fail; |
|
9013 |
} |
|
9014 |
resultobj = result; |
|
9015 |
return resultobj; |
|
9016 |
fail: |
|
9017 |
return NULL; |
|
9018 |
} |
|
9019 |
||
9020 |
||
9021 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
9022 |
PyObject *resultobj = 0; |
|
9023 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
9024 |
wxTreeItemId *arg2 = 0 ; |
|
9025 |
void *arg3 = (void *) 0 ; |
|
9026 |
PyObject *result = 0 ; |
|
9027 |
void *argp1 = 0 ; |
|
9028 |
int res1 = 0 ; |
|
9029 |
void *argp2 = 0 ; |
|
9030 |
int res2 = 0 ; |
|
9031 |
int res3 ; |
|
9032 |
PyObject * obj0 = 0 ; |
|
9033 |
PyObject * obj1 = 0 ; |
|
9034 |
PyObject * obj2 = 0 ; |
|
9035 |
char * kwnames[] = { |
|
9036 |
(char *) "self",(char *) "item",(char *) "cookie", NULL |
|
9037 |
}; |
|
9038 |
||
9039 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetPrevChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
9040 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
9041 |
if (!SWIG_IsOK(res1)) { |
|
9042 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
9043 |
} |
|
9044 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
9045 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
9046 |
if (!SWIG_IsOK(res2)) { |
|
9047 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9048 |
} |
|
9049 |
if (!argp2) { |
|
9050 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9051 |
} |
|
9052 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
9053 |
res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0); |
|
9054 |
if (!SWIG_IsOK(res3)) { |
|
9055 |
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "3"" of type '" "void *""'"); |
|
9056 |
} |
|
9057 |
{ |
|
9058 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
9059 |
result = (PyObject *)wxPyTreeListCtrl_GetPrevChild(arg1,(wxTreeItemId const &)*arg2,arg3); |
|
9060 |
wxPyEndAllowThreads(__tstate); |
|
9061 |
if (PyErr_Occurred()) SWIG_fail; |
|
9062 |
} |
|
9063 |
resultobj = result; |
|
9064 |
return resultobj; |
|
9065 |
fail: |
|
9066 |
return NULL; |
|
9067 |
} |
|
9068 |
||
9069 |
||
9070 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
9071 |
PyObject *resultobj = 0; |
|
9072 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
9073 |
wxTreeItemId *arg2 = 0 ; |
|
9074 |
wxTreeItemId result; |
|
9075 |
void *argp1 = 0 ; |
|
9076 |
int res1 = 0 ; |
|
9077 |
void *argp2 = 0 ; |
|
9078 |
int res2 = 0 ; |
|
9079 |
PyObject * obj0 = 0 ; |
|
9080 |
PyObject * obj1 = 0 ; |
|
9081 |
char * kwnames[] = { |
|
9082 |
(char *) "self",(char *) "item", NULL |
|
9083 |
}; |
|
9084 |
||
9085 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail; |
|
9086 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
9087 |
if (!SWIG_IsOK(res1)) { |
|
9088 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
9089 |
} |
|
9090 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
9091 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
9092 |
if (!SWIG_IsOK(res2)) { |
|
9093 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9094 |
} |
|
9095 |
if (!argp2) { |
|
9096 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9097 |
} |
|
9098 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
9099 |
{ |
|
9100 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
9101 |
result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2); |
|
9102 |
wxPyEndAllowThreads(__tstate); |
|
9103 |
if (PyErr_Occurred()) SWIG_fail; |
|
9104 |
} |
|
9105 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
9106 |
return resultobj; |
|
9107 |
fail: |
|
9108 |
return NULL; |
|
9109 |
} |
|
9110 |
||
9111 |
||
9112 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
9113 |
PyObject *resultobj = 0; |
|
9114 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
9115 |
wxTreeItemId *arg2 = 0 ; |
|
9116 |
wxTreeItemId result; |
|
9117 |
void *argp1 = 0 ; |
|
9118 |
int res1 = 0 ; |
|
9119 |
void *argp2 = 0 ; |
|
9120 |
int res2 = 0 ; |
|
9121 |
PyObject * obj0 = 0 ; |
|
9122 |
PyObject * obj1 = 0 ; |
|
9123 |
char * kwnames[] = { |
|
9124 |
(char *) "self",(char *) "item", NULL |
|
9125 |
}; |
|
9126 |
||
9127 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail; |
|
9128 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
9129 |
if (!SWIG_IsOK(res1)) { |
|
9130 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
9131 |
} |
|
9132 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
9133 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
9134 |
if (!SWIG_IsOK(res2)) { |
|
9135 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9136 |
} |
|
9137 |
if (!argp2) { |
|
9138 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9139 |
} |
|
9140 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
9141 |
{ |
|
9142 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
9143 |
result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2); |
|
9144 |
wxPyEndAllowThreads(__tstate); |
|
9145 |
if (PyErr_Occurred()) SWIG_fail; |
|
9146 |
} |
|
9147 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
9148 |
return resultobj; |
|
9149 |
fail: |
|
9150 |
return NULL; |
|
9151 |
} |
|
9152 |
||
9153 |
||
9154 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
9155 |
PyObject *resultobj = 0; |
|
9156 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
9157 |
wxTreeItemId *arg2 = 0 ; |
|
9158 |
wxTreeItemId result; |
|
9159 |
void *argp1 = 0 ; |
|
9160 |
int res1 = 0 ; |
|
9161 |
void *argp2 = 0 ; |
|
9162 |
int res2 = 0 ; |
|
9163 |
PyObject * obj0 = 0 ; |
|
9164 |
PyObject * obj1 = 0 ; |
|
9165 |
char * kwnames[] = { |
|
9166 |
(char *) "self",(char *) "item", NULL |
|
9167 |
}; |
|
9168 |
||
9169 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) SWIG_fail; |
|
9170 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
9171 |
if (!SWIG_IsOK(res1)) { |
|
9172 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNext" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
9173 |
} |
|
9174 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
9175 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
9176 |
if (!SWIG_IsOK(res2)) { |
|
9177 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9178 |
} |
|
9179 |
if (!argp2) { |
|
9180 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9181 |
} |
|
9182 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
9183 |
{ |
|
9184 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
9185 |
result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2); |
|
9186 |
wxPyEndAllowThreads(__tstate); |
|
9187 |
if (PyErr_Occurred()) SWIG_fail; |
|
9188 |
} |
|
9189 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
9190 |
return resultobj; |
|
9191 |
fail: |
|
9192 |
return NULL; |
|
9193 |
} |
|
9194 |
||
9195 |
||
9196 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
9197 |
PyObject *resultobj = 0; |
|
9198 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
9199 |
wxTreeItemId *arg2 = 0 ; |
|
9200 |
wxTreeItemId result; |
|
9201 |
void *argp1 = 0 ; |
|
9202 |
int res1 = 0 ; |
|
9203 |
void *argp2 = 0 ; |
|
9204 |
int res2 = 0 ; |
|
9205 |
PyObject * obj0 = 0 ; |
|
9206 |
PyObject * obj1 = 0 ; |
|
9207 |
char * kwnames[] = { |
|
9208 |
(char *) "self",(char *) "item", NULL |
|
9209 |
}; |
|
9210 |
||
9211 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrev",kwnames,&obj0,&obj1)) SWIG_fail; |
|
9212 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
9213 |
if (!SWIG_IsOK(res1)) { |
|
9214 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
9215 |
} |
|
9216 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
9217 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
9218 |
if (!SWIG_IsOK(res2)) { |
|
9219 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9220 |
} |
|
9221 |
if (!argp2) { |
|
9222 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9223 |
} |
|
9224 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
9225 |
{ |
|
9226 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
9227 |
result = ((wxPyTreeListCtrl const *)arg1)->GetPrev((wxTreeItemId const &)*arg2); |
|
9228 |
wxPyEndAllowThreads(__tstate); |
|
9229 |
if (PyErr_Occurred()) SWIG_fail; |
|
9230 |
} |
|
9231 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
9232 |
return resultobj; |
|
9233 |
fail: |
|
9234 |
return NULL; |
|
9235 |
} |
|
9236 |
||
9237 |
||
9238 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstExpandedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
9239 |
PyObject *resultobj = 0; |
|
9240 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
9241 |
wxTreeItemId result; |
|
9242 |
void *argp1 = 0 ; |
|
9243 |
int res1 = 0 ; |
|
9244 |
PyObject *swig_obj[1] ; |
|
9245 |
||
9246 |
if (!args) SWIG_fail; |
|
9247 |
swig_obj[0] = args; |
|
9248 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
9249 |
if (!SWIG_IsOK(res1)) { |
|
9250 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstExpandedItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
9251 |
} |
|
9252 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
9253 |
{ |
|
9254 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
9255 |
result = ((wxPyTreeListCtrl const *)arg1)->GetFirstExpandedItem(); |
|
9256 |
wxPyEndAllowThreads(__tstate); |
|
9257 |
if (PyErr_Occurred()) SWIG_fail; |
|
9258 |
} |
|
9259 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
9260 |
return resultobj; |
|
9261 |
fail: |
|
9262 |
return NULL; |
|
9263 |
} |
|
9264 |
||
9265 |
||
9266 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
9267 |
PyObject *resultobj = 0; |
|
9268 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
9269 |
wxTreeItemId *arg2 = 0 ; |
|
9270 |
wxTreeItemId result; |
|
9271 |
void *argp1 = 0 ; |
|
9272 |
int res1 = 0 ; |
|
9273 |
void *argp2 = 0 ; |
|
9274 |
int res2 = 0 ; |
|
9275 |
PyObject * obj0 = 0 ; |
|
9276 |
PyObject * obj1 = 0 ; |
|
9277 |
char * kwnames[] = { |
|
9278 |
(char *) "self",(char *) "item", NULL |
|
9279 |
}; |
|
9280 |
||
9281 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextExpanded",kwnames,&obj0,&obj1)) SWIG_fail; |
|
9282 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
9283 |
if (!SWIG_IsOK(res1)) { |
|
9284 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
9285 |
} |
|
9286 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
9287 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
9288 |
if (!SWIG_IsOK(res2)) { |
|
9289 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9290 |
} |
|
9291 |
if (!argp2) { |
|
9292 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9293 |
} |
|
9294 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
9295 |
{ |
|
9296 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
9297 |
result = ((wxPyTreeListCtrl const *)arg1)->GetNextExpanded((wxTreeItemId const &)*arg2); |
|
9298 |
wxPyEndAllowThreads(__tstate); |
|
9299 |
if (PyErr_Occurred()) SWIG_fail; |
|
9300 |
} |
|
9301 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
9302 |
return resultobj; |
|
9303 |
fail: |
|
9304 |
return NULL; |
|
9305 |
} |
|
9306 |
||
9307 |
||
9308 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
9309 |
PyObject *resultobj = 0; |
|
9310 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
9311 |
wxTreeItemId *arg2 = 0 ; |
|
9312 |
wxTreeItemId result; |
|
9313 |
void *argp1 = 0 ; |
|
9314 |
int res1 = 0 ; |
|
9315 |
void *argp2 = 0 ; |
|
9316 |
int res2 = 0 ; |
|
9317 |
PyObject * obj0 = 0 ; |
|
9318 |
PyObject * obj1 = 0 ; |
|
9319 |
char * kwnames[] = { |
|
9320 |
(char *) "self",(char *) "item", NULL |
|
9321 |
}; |
|
9322 |
||
9323 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevExpanded",kwnames,&obj0,&obj1)) SWIG_fail; |
|
9324 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
9325 |
if (!SWIG_IsOK(res1)) { |
|
9326 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
9327 |
} |
|
9328 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
9329 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
9330 |
if (!SWIG_IsOK(res2)) { |
|
9331 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9332 |
} |
|
9333 |
if (!argp2) { |
|
9334 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9335 |
} |
|
9336 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
9337 |
{ |
|
9338 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
9339 |
result = ((wxPyTreeListCtrl const *)arg1)->GetPrevExpanded((wxTreeItemId const &)*arg2); |
|
9340 |
wxPyEndAllowThreads(__tstate); |
|
9341 |
if (PyErr_Occurred()) SWIG_fail; |
|
9342 |
} |
|
9343 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
9344 |
return resultobj; |
|
9345 |
fail: |
|
9346 |
return NULL; |
|
9347 |
} |
|
9348 |
||
9349 |
||
9350 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
9351 |
PyObject *resultobj = 0; |
|
9352 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
9353 |
bool arg2 = (bool) false ; |
|
9354 |
wxTreeItemId result; |
|
9355 |
void *argp1 = 0 ; |
|
9356 |
int res1 = 0 ; |
|
9357 |
bool val2 ; |
|
9358 |
int ecode2 = 0 ; |
|
9359 |
PyObject * obj0 = 0 ; |
|
9360 |
PyObject * obj1 = 0 ; |
|
9361 |
char * kwnames[] = { |
|
9362 |
(char *) "self",(char *) "fullRow", NULL |
|
9363 |
}; |
|
9364 |
||
9365 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0,&obj1)) SWIG_fail; |
|
9366 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
9367 |
if (!SWIG_IsOK(res1)) { |
|
9368 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
9369 |
} |
|
9370 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
9371 |
if (obj1) { |
|
9372 |
ecode2 = SWIG_AsVal_bool(obj1, &val2); |
|
9373 |
if (!SWIG_IsOK(ecode2)) { |
|
9374 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "2"" of type '" "bool""'"); |
|
9375 |
} |
|
9376 |
arg2 = static_cast< bool >(val2); |
|
9377 |
} |
|
9378 |
{ |
|
9379 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
9380 |
result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem(arg2); |
|
9381 |
wxPyEndAllowThreads(__tstate); |
|
9382 |
if (PyErr_Occurred()) SWIG_fail; |
|
9383 |
} |
|
9384 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
9385 |
return resultobj; |
|
9386 |
fail: |
|
9387 |
return NULL; |
|
9388 |
} |
|
9389 |
||
9390 |
||
9391 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
9392 |
PyObject *resultobj = 0; |
|
9393 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
9394 |
wxTreeItemId *arg2 = 0 ; |
|
9395 |
bool arg3 = (bool) false ; |
|
9396 |
wxTreeItemId result; |
|
9397 |
void *argp1 = 0 ; |
|
9398 |
int res1 = 0 ; |
|
9399 |
void *argp2 = 0 ; |
|
9400 |
int res2 = 0 ; |
|
9401 |
bool val3 ; |
|
9402 |
int ecode3 = 0 ; |
|
9403 |
PyObject * obj0 = 0 ; |
|
9404 |
PyObject * obj1 = 0 ; |
|
9405 |
PyObject * obj2 = 0 ; |
|
9406 |
char * kwnames[] = { |
|
9407 |
(char *) "self",(char *) "item",(char *) "fullRow", NULL |
|
9408 |
}; |
|
9409 |
||
9410 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
9411 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
9412 |
if (!SWIG_IsOK(res1)) { |
|
9413 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
9414 |
} |
|
9415 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
9416 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
9417 |
if (!SWIG_IsOK(res2)) { |
|
9418 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9419 |
} |
|
9420 |
if (!argp2) { |
|
9421 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9422 |
} |
|
9423 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
9424 |
if (obj2) { |
|
9425 |
ecode3 = SWIG_AsVal_bool(obj2, &val3); |
|
9426 |
if (!SWIG_IsOK(ecode3)) { |
|
9427 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "3"" of type '" "bool""'"); |
|
9428 |
} |
|
9429 |
arg3 = static_cast< bool >(val3); |
|
9430 |
} |
|
9431 |
{ |
|
9432 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
9433 |
result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2,arg3); |
|
9434 |
wxPyEndAllowThreads(__tstate); |
|
9435 |
if (PyErr_Occurred()) SWIG_fail; |
|
9436 |
} |
|
9437 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
9438 |
return resultobj; |
|
9439 |
fail: |
|
9440 |
return NULL; |
|
9441 |
} |
|
9442 |
||
9443 |
||
9444 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
9445 |
PyObject *resultobj = 0; |
|
9446 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
9447 |
wxTreeItemId *arg2 = 0 ; |
|
9448 |
bool arg3 = (bool) false ; |
|
9449 |
wxTreeItemId result; |
|
9450 |
void *argp1 = 0 ; |
|
9451 |
int res1 = 0 ; |
|
9452 |
void *argp2 = 0 ; |
|
9453 |
int res2 = 0 ; |
|
9454 |
bool val3 ; |
|
9455 |
int ecode3 = 0 ; |
|
9456 |
PyObject * obj0 = 0 ; |
|
9457 |
PyObject * obj1 = 0 ; |
|
9458 |
PyObject * obj2 = 0 ; |
|
9459 |
char * kwnames[] = { |
|
9460 |
(char *) "self",(char *) "item",(char *) "fullRow", NULL |
|
9461 |
}; |
|
9462 |
||
9463 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
9464 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
9465 |
if (!SWIG_IsOK(res1)) { |
|
9466 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
9467 |
} |
|
9468 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
9469 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
9470 |
if (!SWIG_IsOK(res2)) { |
|
9471 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9472 |
} |
|
9473 |
if (!argp2) { |
|
9474 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9475 |
} |
|
9476 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
9477 |
if (obj2) { |
|
9478 |
ecode3 = SWIG_AsVal_bool(obj2, &val3); |
|
9479 |
if (!SWIG_IsOK(ecode3)) { |
|
9480 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "3"" of type '" "bool""'"); |
|
9481 |
} |
|
9482 |
arg3 = static_cast< bool >(val3); |
|
9483 |
} |
|
9484 |
{ |
|
9485 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
9486 |
result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2,arg3); |
|
9487 |
wxPyEndAllowThreads(__tstate); |
|
9488 |
if (PyErr_Occurred()) SWIG_fail; |
|
9489 |
} |
|
9490 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
9491 |
return resultobj; |
|
9492 |
fail: |
|
9493 |
return NULL; |
|
9494 |
} |
|
9495 |
||
9496 |
||
9497 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
9498 |
PyObject *resultobj = 0; |
|
9499 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
9500 |
wxString *arg2 = 0 ; |
|
9501 |
int arg3 = (int) -1 ; |
|
9502 |
int arg4 = (int) -1 ; |
|
9503 |
wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ; |
|
9504 |
wxTreeItemId result; |
|
9505 |
void *argp1 = 0 ; |
|
9506 |
int res1 = 0 ; |
|
9507 |
bool temp2 = false ; |
|
9508 |
int val3 ; |
|
9509 |
int ecode3 = 0 ; |
|
9510 |
int val4 ; |
|
9511 |
int ecode4 = 0 ; |
|
9512 |
int res5 = 0 ; |
|
9513 |
PyObject * obj0 = 0 ; |
|
9514 |
PyObject * obj1 = 0 ; |
|
9515 |
PyObject * obj2 = 0 ; |
|
9516 |
PyObject * obj3 = 0 ; |
|
9517 |
PyObject * obj4 = 0 ; |
|
9518 |
char * kwnames[] = { |
|
9519 |
(char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL |
|
9520 |
}; |
|
9521 |
||
9522 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail; |
|
9523 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
9524 |
if (!SWIG_IsOK(res1)) { |
|
9525 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
9526 |
} |
|
9527 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
9528 |
{ |
|
9529 |
arg2 = wxString_in_helper(obj1); |
|
9530 |
if (arg2 == NULL) SWIG_fail; |
|
9531 |
temp2 = true; |
|
9532 |
} |
|
9533 |
if (obj2) { |
|
9534 |
ecode3 = SWIG_AsVal_int(obj2, &val3); |
|
9535 |
if (!SWIG_IsOK(ecode3)) { |
|
9536 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'"); |
|
9537 |
} |
|
9538 |
arg3 = static_cast< int >(val3); |
|
9539 |
} |
|
9540 |
if (obj3) { |
|
9541 |
ecode4 = SWIG_AsVal_int(obj3, &val4); |
|
9542 |
if (!SWIG_IsOK(ecode4)) { |
|
9543 |
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'"); |
|
9544 |
} |
|
9545 |
arg4 = static_cast< int >(val4); |
|
9546 |
} |
|
9547 |
if (obj4) { |
|
9548 |
res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 ); |
|
9549 |
if (!SWIG_IsOK(res5)) { |
|
9550 |
SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'"); |
|
9551 |
} |
|
9552 |
} |
|
9553 |
{ |
|
9554 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
9555 |
result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5); |
|
9556 |
wxPyEndAllowThreads(__tstate); |
|
9557 |
if (PyErr_Occurred()) SWIG_fail; |
|
9558 |
} |
|
9559 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
9560 |
{ |
|
9561 |
if (temp2) |
|
9562 |
delete arg2; |
|
9563 |
} |
|
9564 |
return resultobj; |
|
9565 |
fail: |
|
9566 |
{ |
|
9567 |
if (temp2) |
|
9568 |
delete arg2; |
|
9569 |
} |
|
9570 |
return NULL; |
|
9571 |
} |
|
9572 |
||
9573 |
||
9574 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
9575 |
PyObject *resultobj = 0; |
|
9576 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
9577 |
wxTreeItemId *arg2 = 0 ; |
|
9578 |
wxString *arg3 = 0 ; |
|
9579 |
int arg4 = (int) -1 ; |
|
9580 |
int arg5 = (int) -1 ; |
|
9581 |
wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ; |
|
9582 |
wxTreeItemId result; |
|
9583 |
void *argp1 = 0 ; |
|
9584 |
int res1 = 0 ; |
|
9585 |
void *argp2 = 0 ; |
|
9586 |
int res2 = 0 ; |
|
9587 |
bool temp3 = false ; |
|
9588 |
int val4 ; |
|
9589 |
int ecode4 = 0 ; |
|
9590 |
int val5 ; |
|
9591 |
int ecode5 = 0 ; |
|
9592 |
int res6 = 0 ; |
|
9593 |
PyObject * obj0 = 0 ; |
|
9594 |
PyObject * obj1 = 0 ; |
|
9595 |
PyObject * obj2 = 0 ; |
|
9596 |
PyObject * obj3 = 0 ; |
|
9597 |
PyObject * obj4 = 0 ; |
|
9598 |
PyObject * obj5 = 0 ; |
|
9599 |
char * kwnames[] = { |
|
9600 |
(char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL |
|
9601 |
}; |
|
9602 |
||
9603 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail; |
|
9604 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
9605 |
if (!SWIG_IsOK(res1)) { |
|
9606 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
9607 |
} |
|
9608 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
9609 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
9610 |
if (!SWIG_IsOK(res2)) { |
|
9611 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9612 |
} |
|
9613 |
if (!argp2) { |
|
9614 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9615 |
} |
|
9616 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
9617 |
{ |
|
9618 |
arg3 = wxString_in_helper(obj2); |
|
9619 |
if (arg3 == NULL) SWIG_fail; |
|
9620 |
temp3 = true; |
|
9621 |
} |
|
9622 |
if (obj3) { |
|
9623 |
ecode4 = SWIG_AsVal_int(obj3, &val4); |
|
9624 |
if (!SWIG_IsOK(ecode4)) { |
|
9625 |
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'"); |
|
9626 |
} |
|
9627 |
arg4 = static_cast< int >(val4); |
|
9628 |
} |
|
9629 |
if (obj4) { |
|
9630 |
ecode5 = SWIG_AsVal_int(obj4, &val5); |
|
9631 |
if (!SWIG_IsOK(ecode5)) { |
|
9632 |
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'"); |
|
9633 |
} |
|
9634 |
arg5 = static_cast< int >(val5); |
|
9635 |
} |
|
9636 |
if (obj5) { |
|
9637 |
res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 ); |
|
9638 |
if (!SWIG_IsOK(res6)) { |
|
9639 |
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'"); |
|
9640 |
} |
|
9641 |
} |
|
9642 |
{ |
|
9643 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
9644 |
result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6); |
|
9645 |
wxPyEndAllowThreads(__tstate); |
|
9646 |
if (PyErr_Occurred()) SWIG_fail; |
|
9647 |
} |
|
9648 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
9649 |
{ |
|
9650 |
if (temp3) |
|
9651 |
delete arg3; |
|
9652 |
} |
|
9653 |
return resultobj; |
|
9654 |
fail: |
|
9655 |
{ |
|
9656 |
if (temp3) |
|
9657 |
delete arg3; |
|
9658 |
} |
|
9659 |
return NULL; |
|
9660 |
} |
|
9661 |
||
9662 |
||
9663 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
9664 |
PyObject *resultobj = 0; |
|
9665 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
9666 |
wxTreeItemId *arg2 = 0 ; |
|
9667 |
wxTreeItemId *arg3 = 0 ; |
|
9668 |
wxString *arg4 = 0 ; |
|
9669 |
int arg5 = (int) -1 ; |
|
9670 |
int arg6 = (int) -1 ; |
|
9671 |
wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ; |
|
9672 |
wxTreeItemId result; |
|
9673 |
void *argp1 = 0 ; |
|
9674 |
int res1 = 0 ; |
|
9675 |
void *argp2 = 0 ; |
|
9676 |
int res2 = 0 ; |
|
9677 |
void *argp3 = 0 ; |
|
9678 |
int res3 = 0 ; |
|
9679 |
bool temp4 = false ; |
|
9680 |
int val5 ; |
|
9681 |
int ecode5 = 0 ; |
|
9682 |
int val6 ; |
|
9683 |
int ecode6 = 0 ; |
|
9684 |
int res7 = 0 ; |
|
9685 |
PyObject * obj0 = 0 ; |
|
9686 |
PyObject * obj1 = 0 ; |
|
9687 |
PyObject * obj2 = 0 ; |
|
9688 |
PyObject * obj3 = 0 ; |
|
9689 |
PyObject * obj4 = 0 ; |
|
9690 |
PyObject * obj5 = 0 ; |
|
9691 |
PyObject * obj6 = 0 ; |
|
9692 |
char * kwnames[] = { |
|
9693 |
(char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL |
|
9694 |
}; |
|
9695 |
||
9696 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
|
9697 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
9698 |
if (!SWIG_IsOK(res1)) { |
|
9699 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
9700 |
} |
|
9701 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
9702 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
9703 |
if (!SWIG_IsOK(res2)) { |
|
9704 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9705 |
} |
|
9706 |
if (!argp2) { |
|
9707 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9708 |
} |
|
9709 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
9710 |
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
9711 |
if (!SWIG_IsOK(res3)) { |
|
9712 |
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'"); |
|
9713 |
} |
|
9714 |
if (!argp3) { |
|
9715 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'"); |
|
9716 |
} |
|
9717 |
arg3 = reinterpret_cast< wxTreeItemId * >(argp3); |
|
9718 |
{ |
|
9719 |
arg4 = wxString_in_helper(obj3); |
|
9720 |
if (arg4 == NULL) SWIG_fail; |
|
9721 |
temp4 = true; |
|
9722 |
} |
|
9723 |
if (obj4) { |
|
9724 |
ecode5 = SWIG_AsVal_int(obj4, &val5); |
|
9725 |
if (!SWIG_IsOK(ecode5)) { |
|
9726 |
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'"); |
|
9727 |
} |
|
9728 |
arg5 = static_cast< int >(val5); |
|
9729 |
} |
|
9730 |
if (obj5) { |
|
9731 |
ecode6 = SWIG_AsVal_int(obj5, &val6); |
|
9732 |
if (!SWIG_IsOK(ecode6)) { |
|
9733 |
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'"); |
|
9734 |
} |
|
9735 |
arg6 = static_cast< int >(val6); |
|
9736 |
} |
|
9737 |
if (obj6) { |
|
9738 |
res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 ); |
|
9739 |
if (!SWIG_IsOK(res7)) { |
|
9740 |
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'"); |
|
9741 |
} |
|
9742 |
} |
|
9743 |
{ |
|
9744 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
9745 |
result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7); |
|
9746 |
wxPyEndAllowThreads(__tstate); |
|
9747 |
if (PyErr_Occurred()) SWIG_fail; |
|
9748 |
} |
|
9749 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
9750 |
{ |
|
9751 |
if (temp4) |
|
9752 |
delete arg4; |
|
9753 |
} |
|
9754 |
return resultobj; |
|
9755 |
fail: |
|
9756 |
{ |
|
9757 |
if (temp4) |
|
9758 |
delete arg4; |
|
9759 |
} |
|
9760 |
return NULL; |
|
9761 |
} |
|
9762 |
||
9763 |
||
9764 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
9765 |
PyObject *resultobj = 0; |
|
9766 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
9767 |
wxTreeItemId *arg2 = 0 ; |
|
9768 |
size_t arg3 ; |
|
9769 |
wxString *arg4 = 0 ; |
|
9770 |
int arg5 = (int) -1 ; |
|
9771 |
int arg6 = (int) -1 ; |
|
9772 |
wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ; |
|
9773 |
wxTreeItemId result; |
|
9774 |
void *argp1 = 0 ; |
|
9775 |
int res1 = 0 ; |
|
9776 |
void *argp2 = 0 ; |
|
9777 |
int res2 = 0 ; |
|
9778 |
size_t val3 ; |
|
9779 |
int ecode3 = 0 ; |
|
9780 |
bool temp4 = false ; |
|
9781 |
int val5 ; |
|
9782 |
int ecode5 = 0 ; |
|
9783 |
int val6 ; |
|
9784 |
int ecode6 = 0 ; |
|
9785 |
int res7 = 0 ; |
|
9786 |
PyObject * obj0 = 0 ; |
|
9787 |
PyObject * obj1 = 0 ; |
|
9788 |
PyObject * obj2 = 0 ; |
|
9789 |
PyObject * obj3 = 0 ; |
|
9790 |
PyObject * obj4 = 0 ; |
|
9791 |
PyObject * obj5 = 0 ; |
|
9792 |
PyObject * obj6 = 0 ; |
|
9793 |
char * kwnames[] = { |
|
9794 |
(char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL |
|
9795 |
}; |
|
9796 |
||
9797 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
|
9798 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
9799 |
if (!SWIG_IsOK(res1)) { |
|
9800 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
9801 |
} |
|
9802 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
9803 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
9804 |
if (!SWIG_IsOK(res2)) { |
|
9805 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9806 |
} |
|
9807 |
if (!argp2) { |
|
9808 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9809 |
} |
|
9810 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
9811 |
ecode3 = SWIG_AsVal_size_t(obj2, &val3); |
|
9812 |
if (!SWIG_IsOK(ecode3)) { |
|
9813 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'"); |
|
9814 |
} |
|
9815 |
arg3 = static_cast< size_t >(val3); |
|
9816 |
{ |
|
9817 |
arg4 = wxString_in_helper(obj3); |
|
9818 |
if (arg4 == NULL) SWIG_fail; |
|
9819 |
temp4 = true; |
|
9820 |
} |
|
9821 |
if (obj4) { |
|
9822 |
ecode5 = SWIG_AsVal_int(obj4, &val5); |
|
9823 |
if (!SWIG_IsOK(ecode5)) { |
|
9824 |
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'"); |
|
9825 |
} |
|
9826 |
arg5 = static_cast< int >(val5); |
|
9827 |
} |
|
9828 |
if (obj5) { |
|
9829 |
ecode6 = SWIG_AsVal_int(obj5, &val6); |
|
9830 |
if (!SWIG_IsOK(ecode6)) { |
|
9831 |
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'"); |
|
9832 |
} |
|
9833 |
arg6 = static_cast< int >(val6); |
|
9834 |
} |
|
9835 |
if (obj6) { |
|
9836 |
res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 ); |
|
9837 |
if (!SWIG_IsOK(res7)) { |
|
9838 |
SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'"); |
|
9839 |
} |
|
9840 |
} |
|
9841 |
{ |
|
9842 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
9843 |
result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7); |
|
9844 |
wxPyEndAllowThreads(__tstate); |
|
9845 |
if (PyErr_Occurred()) SWIG_fail; |
|
9846 |
} |
|
9847 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
9848 |
{ |
|
9849 |
if (temp4) |
|
9850 |
delete arg4; |
|
9851 |
} |
|
9852 |
return resultobj; |
|
9853 |
fail: |
|
9854 |
{ |
|
9855 |
if (temp4) |
|
9856 |
delete arg4; |
|
9857 |
} |
|
9858 |
return NULL; |
|
9859 |
} |
|
9860 |
||
9861 |
||
9862 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
9863 |
PyObject *resultobj = 0; |
|
9864 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
9865 |
wxTreeItemId *arg2 = 0 ; |
|
9866 |
wxString *arg3 = 0 ; |
|
9867 |
int arg4 = (int) -1 ; |
|
9868 |
int arg5 = (int) -1 ; |
|
9869 |
wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ; |
|
9870 |
wxTreeItemId result; |
|
9871 |
void *argp1 = 0 ; |
|
9872 |
int res1 = 0 ; |
|
9873 |
void *argp2 = 0 ; |
|
9874 |
int res2 = 0 ; |
|
9875 |
bool temp3 = false ; |
|
9876 |
int val4 ; |
|
9877 |
int ecode4 = 0 ; |
|
9878 |
int val5 ; |
|
9879 |
int ecode5 = 0 ; |
|
9880 |
int res6 = 0 ; |
|
9881 |
PyObject * obj0 = 0 ; |
|
9882 |
PyObject * obj1 = 0 ; |
|
9883 |
PyObject * obj2 = 0 ; |
|
9884 |
PyObject * obj3 = 0 ; |
|
9885 |
PyObject * obj4 = 0 ; |
|
9886 |
PyObject * obj5 = 0 ; |
|
9887 |
char * kwnames[] = { |
|
9888 |
(char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL |
|
9889 |
}; |
|
9890 |
||
9891 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) 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_AppendItem" "', 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_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9900 |
} |
|
9901 |
if (!argp2) { |
|
9902 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9903 |
} |
|
9904 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
9905 |
{ |
|
9906 |
arg3 = wxString_in_helper(obj2); |
|
9907 |
if (arg3 == NULL) SWIG_fail; |
|
9908 |
temp3 = true; |
|
9909 |
} |
|
9910 |
if (obj3) { |
|
9911 |
ecode4 = SWIG_AsVal_int(obj3, &val4); |
|
9912 |
if (!SWIG_IsOK(ecode4)) { |
|
9913 |
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'"); |
|
9914 |
} |
|
9915 |
arg4 = static_cast< int >(val4); |
|
9916 |
} |
|
9917 |
if (obj4) { |
|
9918 |
ecode5 = SWIG_AsVal_int(obj4, &val5); |
|
9919 |
if (!SWIG_IsOK(ecode5)) { |
|
9920 |
SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'"); |
|
9921 |
} |
|
9922 |
arg5 = static_cast< int >(val5); |
|
9923 |
} |
|
9924 |
if (obj5) { |
|
9925 |
res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 ); |
|
9926 |
if (!SWIG_IsOK(res6)) { |
|
9927 |
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'"); |
|
9928 |
} |
|
9929 |
} |
|
9930 |
{ |
|
9931 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
9932 |
result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6); |
|
9933 |
wxPyEndAllowThreads(__tstate); |
|
9934 |
if (PyErr_Occurred()) SWIG_fail; |
|
9935 |
} |
|
9936 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
9937 |
{ |
|
9938 |
if (temp3) |
|
9939 |
delete arg3; |
|
9940 |
} |
|
9941 |
return resultobj; |
|
9942 |
fail: |
|
9943 |
{ |
|
9944 |
if (temp3) |
|
9945 |
delete arg3; |
|
9946 |
} |
|
9947 |
return NULL; |
|
9948 |
} |
|
9949 |
||
9950 |
||
9951 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
9952 |
PyObject *resultobj = 0; |
|
9953 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
9954 |
wxTreeItemId *arg2 = 0 ; |
|
9955 |
void *argp1 = 0 ; |
|
9956 |
int res1 = 0 ; |
|
9957 |
void *argp2 = 0 ; |
|
9958 |
int res2 = 0 ; |
|
9959 |
PyObject * obj0 = 0 ; |
|
9960 |
PyObject * obj1 = 0 ; |
|
9961 |
char * kwnames[] = { |
|
9962 |
(char *) "self",(char *) "item", NULL |
|
9963 |
}; |
|
9964 |
||
9965 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail; |
|
9966 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
9967 |
if (!SWIG_IsOK(res1)) { |
|
9968 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
9969 |
} |
|
9970 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
9971 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
9972 |
if (!SWIG_IsOK(res2)) { |
|
9973 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9974 |
} |
|
9975 |
if (!argp2) { |
|
9976 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
9977 |
} |
|
9978 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
9979 |
{ |
|
9980 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
9981 |
(arg1)->Delete((wxTreeItemId const &)*arg2); |
|
9982 |
wxPyEndAllowThreads(__tstate); |
|
9983 |
if (PyErr_Occurred()) SWIG_fail; |
|
9984 |
} |
|
9985 |
resultobj = SWIG_Py_Void(); |
|
9986 |
return resultobj; |
|
9987 |
fail: |
|
9988 |
return NULL; |
|
9989 |
} |
|
9990 |
||
9991 |
||
9992 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
9993 |
PyObject *resultobj = 0; |
|
9994 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
9995 |
wxTreeItemId *arg2 = 0 ; |
|
9996 |
void *argp1 = 0 ; |
|
9997 |
int res1 = 0 ; |
|
9998 |
void *argp2 = 0 ; |
|
9999 |
int res2 = 0 ; |
|
10000 |
PyObject * obj0 = 0 ; |
|
10001 |
PyObject * obj1 = 0 ; |
|
10002 |
char * kwnames[] = { |
|
10003 |
(char *) "self",(char *) "item", NULL |
|
10004 |
}; |
|
10005 |
||
10006 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail; |
|
10007 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10008 |
if (!SWIG_IsOK(res1)) { |
|
10009 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
10010 |
} |
|
10011 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10012 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
10013 |
if (!SWIG_IsOK(res2)) { |
|
10014 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10015 |
} |
|
10016 |
if (!argp2) { |
|
10017 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10018 |
} |
|
10019 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
10020 |
{ |
|
10021 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10022 |
(arg1)->DeleteChildren((wxTreeItemId const &)*arg2); |
|
10023 |
wxPyEndAllowThreads(__tstate); |
|
10024 |
if (PyErr_Occurred()) SWIG_fail; |
|
10025 |
} |
|
10026 |
resultobj = SWIG_Py_Void(); |
|
10027 |
return resultobj; |
|
10028 |
fail: |
|
10029 |
return NULL; |
|
10030 |
} |
|
10031 |
||
10032 |
||
10033 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
10034 |
PyObject *resultobj = 0; |
|
10035 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10036 |
void *argp1 = 0 ; |
|
10037 |
int res1 = 0 ; |
|
10038 |
PyObject *swig_obj[1] ; |
|
10039 |
||
10040 |
if (!args) SWIG_fail; |
|
10041 |
swig_obj[0] = args; |
|
10042 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10043 |
if (!SWIG_IsOK(res1)) { |
|
10044 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
10045 |
} |
|
10046 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10047 |
{ |
|
10048 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10049 |
(arg1)->DeleteRoot(); |
|
10050 |
wxPyEndAllowThreads(__tstate); |
|
10051 |
if (PyErr_Occurred()) SWIG_fail; |
|
10052 |
} |
|
10053 |
resultobj = SWIG_Py_Void(); |
|
10054 |
return resultobj; |
|
10055 |
fail: |
|
10056 |
return NULL; |
|
10057 |
} |
|
10058 |
||
10059 |
||
10060 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
10061 |
PyObject *resultobj = 0; |
|
10062 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10063 |
wxTreeItemId *arg2 = 0 ; |
|
10064 |
void *argp1 = 0 ; |
|
10065 |
int res1 = 0 ; |
|
10066 |
void *argp2 = 0 ; |
|
10067 |
int res2 = 0 ; |
|
10068 |
PyObject * obj0 = 0 ; |
|
10069 |
PyObject * obj1 = 0 ; |
|
10070 |
char * kwnames[] = { |
|
10071 |
(char *) "self",(char *) "item", NULL |
|
10072 |
}; |
|
10073 |
||
10074 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail; |
|
10075 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10076 |
if (!SWIG_IsOK(res1)) { |
|
10077 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
10078 |
} |
|
10079 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10080 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
10081 |
if (!SWIG_IsOK(res2)) { |
|
10082 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10083 |
} |
|
10084 |
if (!argp2) { |
|
10085 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10086 |
} |
|
10087 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
10088 |
{ |
|
10089 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10090 |
(arg1)->Expand((wxTreeItemId const &)*arg2); |
|
10091 |
wxPyEndAllowThreads(__tstate); |
|
10092 |
if (PyErr_Occurred()) SWIG_fail; |
|
10093 |
} |
|
10094 |
resultobj = SWIG_Py_Void(); |
|
10095 |
return resultobj; |
|
10096 |
fail: |
|
10097 |
return NULL; |
|
10098 |
} |
|
10099 |
||
10100 |
||
10101 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
10102 |
PyObject *resultobj = 0; |
|
10103 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10104 |
wxTreeItemId *arg2 = 0 ; |
|
10105 |
void *argp1 = 0 ; |
|
10106 |
int res1 = 0 ; |
|
10107 |
void *argp2 = 0 ; |
|
10108 |
int res2 = 0 ; |
|
10109 |
PyObject * obj0 = 0 ; |
|
10110 |
PyObject * obj1 = 0 ; |
|
10111 |
char * kwnames[] = { |
|
10112 |
(char *) "self",(char *) "item", NULL |
|
10113 |
}; |
|
10114 |
||
10115 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) SWIG_fail; |
|
10116 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10117 |
if (!SWIG_IsOK(res1)) { |
|
10118 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
10119 |
} |
|
10120 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10121 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
10122 |
if (!SWIG_IsOK(res2)) { |
|
10123 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10124 |
} |
|
10125 |
if (!argp2) { |
|
10126 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10127 |
} |
|
10128 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
10129 |
{ |
|
10130 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10131 |
(arg1)->ExpandAll((wxTreeItemId const &)*arg2); |
|
10132 |
wxPyEndAllowThreads(__tstate); |
|
10133 |
if (PyErr_Occurred()) SWIG_fail; |
|
10134 |
} |
|
10135 |
resultobj = SWIG_Py_Void(); |
|
10136 |
return resultobj; |
|
10137 |
fail: |
|
10138 |
return NULL; |
|
10139 |
} |
|
10140 |
||
10141 |
||
10142 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
10143 |
PyObject *resultobj = 0; |
|
10144 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10145 |
wxTreeItemId *arg2 = 0 ; |
|
10146 |
void *argp1 = 0 ; |
|
10147 |
int res1 = 0 ; |
|
10148 |
void *argp2 = 0 ; |
|
10149 |
int res2 = 0 ; |
|
10150 |
PyObject * obj0 = 0 ; |
|
10151 |
PyObject * obj1 = 0 ; |
|
10152 |
char * kwnames[] = { |
|
10153 |
(char *) "self",(char *) "item", NULL |
|
10154 |
}; |
|
10155 |
||
10156 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail; |
|
10157 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10158 |
if (!SWIG_IsOK(res1)) { |
|
10159 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
10160 |
} |
|
10161 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10162 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
10163 |
if (!SWIG_IsOK(res2)) { |
|
10164 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10165 |
} |
|
10166 |
if (!argp2) { |
|
10167 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10168 |
} |
|
10169 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
10170 |
{ |
|
10171 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10172 |
(arg1)->Collapse((wxTreeItemId const &)*arg2); |
|
10173 |
wxPyEndAllowThreads(__tstate); |
|
10174 |
if (PyErr_Occurred()) SWIG_fail; |
|
10175 |
} |
|
10176 |
resultobj = SWIG_Py_Void(); |
|
10177 |
return resultobj; |
|
10178 |
fail: |
|
10179 |
return NULL; |
|
10180 |
} |
|
10181 |
||
10182 |
||
10183 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
10184 |
PyObject *resultobj = 0; |
|
10185 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10186 |
wxTreeItemId *arg2 = 0 ; |
|
10187 |
void *argp1 = 0 ; |
|
10188 |
int res1 = 0 ; |
|
10189 |
void *argp2 = 0 ; |
|
10190 |
int res2 = 0 ; |
|
10191 |
PyObject * obj0 = 0 ; |
|
10192 |
PyObject * obj1 = 0 ; |
|
10193 |
char * kwnames[] = { |
|
10194 |
(char *) "self",(char *) "item", NULL |
|
10195 |
}; |
|
10196 |
||
10197 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail; |
|
10198 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10199 |
if (!SWIG_IsOK(res1)) { |
|
10200 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
10201 |
} |
|
10202 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10203 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
10204 |
if (!SWIG_IsOK(res2)) { |
|
10205 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10206 |
} |
|
10207 |
if (!argp2) { |
|
10208 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10209 |
} |
|
10210 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
10211 |
{ |
|
10212 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10213 |
(arg1)->CollapseAndReset((wxTreeItemId const &)*arg2); |
|
10214 |
wxPyEndAllowThreads(__tstate); |
|
10215 |
if (PyErr_Occurred()) SWIG_fail; |
|
10216 |
} |
|
10217 |
resultobj = SWIG_Py_Void(); |
|
10218 |
return resultobj; |
|
10219 |
fail: |
|
10220 |
return NULL; |
|
10221 |
} |
|
10222 |
||
10223 |
||
10224 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
10225 |
PyObject *resultobj = 0; |
|
10226 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10227 |
wxTreeItemId *arg2 = 0 ; |
|
10228 |
void *argp1 = 0 ; |
|
10229 |
int res1 = 0 ; |
|
10230 |
void *argp2 = 0 ; |
|
10231 |
int res2 = 0 ; |
|
10232 |
PyObject * obj0 = 0 ; |
|
10233 |
PyObject * obj1 = 0 ; |
|
10234 |
char * kwnames[] = { |
|
10235 |
(char *) "self",(char *) "item", NULL |
|
10236 |
}; |
|
10237 |
||
10238 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail; |
|
10239 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10240 |
if (!SWIG_IsOK(res1)) { |
|
10241 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
10242 |
} |
|
10243 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10244 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
10245 |
if (!SWIG_IsOK(res2)) { |
|
10246 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10247 |
} |
|
10248 |
if (!argp2) { |
|
10249 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10250 |
} |
|
10251 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
10252 |
{ |
|
10253 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10254 |
(arg1)->Toggle((wxTreeItemId const &)*arg2); |
|
10255 |
wxPyEndAllowThreads(__tstate); |
|
10256 |
if (PyErr_Occurred()) SWIG_fail; |
|
10257 |
} |
|
10258 |
resultobj = SWIG_Py_Void(); |
|
10259 |
return resultobj; |
|
10260 |
fail: |
|
10261 |
return NULL; |
|
10262 |
} |
|
10263 |
||
10264 |
||
10265 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
10266 |
PyObject *resultobj = 0; |
|
10267 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10268 |
void *argp1 = 0 ; |
|
10269 |
int res1 = 0 ; |
|
10270 |
PyObject *swig_obj[1] ; |
|
10271 |
||
10272 |
if (!args) SWIG_fail; |
|
10273 |
swig_obj[0] = args; |
|
10274 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10275 |
if (!SWIG_IsOK(res1)) { |
|
10276 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
10277 |
} |
|
10278 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10279 |
{ |
|
10280 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10281 |
(arg1)->Unselect(); |
|
10282 |
wxPyEndAllowThreads(__tstate); |
|
10283 |
if (PyErr_Occurred()) SWIG_fail; |
|
10284 |
} |
|
10285 |
resultobj = SWIG_Py_Void(); |
|
10286 |
return resultobj; |
|
10287 |
fail: |
|
10288 |
return NULL; |
|
10289 |
} |
|
10290 |
||
10291 |
||
10292 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
10293 |
PyObject *resultobj = 0; |
|
10294 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10295 |
void *argp1 = 0 ; |
|
10296 |
int res1 = 0 ; |
|
10297 |
PyObject *swig_obj[1] ; |
|
10298 |
||
10299 |
if (!args) SWIG_fail; |
|
10300 |
swig_obj[0] = args; |
|
10301 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10302 |
if (!SWIG_IsOK(res1)) { |
|
10303 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
10304 |
} |
|
10305 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10306 |
{ |
|
10307 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10308 |
(arg1)->UnselectAll(); |
|
10309 |
wxPyEndAllowThreads(__tstate); |
|
10310 |
if (PyErr_Occurred()) SWIG_fail; |
|
10311 |
} |
|
10312 |
resultobj = SWIG_Py_Void(); |
|
10313 |
return resultobj; |
|
10314 |
fail: |
|
10315 |
return NULL; |
|
10316 |
} |
|
10317 |
||
10318 |
||
10319 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
10320 |
PyObject *resultobj = 0; |
|
10321 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10322 |
wxTreeItemId *arg2 = 0 ; |
|
1.2.4
by Olly Betts
Import upstream version 2.8.12.1 |
10323 |
wxTreeItemId const &arg3_defvalue = wxTreeItemId() ; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
10324 |
wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ; |
10325 |
bool arg4 = (bool) true ; |
|
10326 |
void *argp1 = 0 ; |
|
10327 |
int res1 = 0 ; |
|
10328 |
void *argp2 = 0 ; |
|
10329 |
int res2 = 0 ; |
|
10330 |
void *argp3 = 0 ; |
|
10331 |
int res3 = 0 ; |
|
10332 |
bool val4 ; |
|
10333 |
int ecode4 = 0 ; |
|
10334 |
PyObject * obj0 = 0 ; |
|
10335 |
PyObject * obj1 = 0 ; |
|
10336 |
PyObject * obj2 = 0 ; |
|
10337 |
PyObject * obj3 = 0 ; |
|
10338 |
char * kwnames[] = { |
|
10339 |
(char *) "self",(char *) "item",(char *) "last",(char *) "unselect_others", NULL |
|
10340 |
}; |
|
10341 |
||
10342 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
|
10343 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10344 |
if (!SWIG_IsOK(res1)) { |
|
10345 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
10346 |
} |
|
10347 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10348 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
10349 |
if (!SWIG_IsOK(res2)) { |
|
10350 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10351 |
} |
|
10352 |
if (!argp2) { |
|
10353 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10354 |
} |
|
10355 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
10356 |
if (obj2) { |
|
10357 |
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
10358 |
if (!SWIG_IsOK(res3)) { |
|
10359 |
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'"); |
|
10360 |
} |
|
10361 |
if (!argp3) { |
|
10362 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'"); |
|
10363 |
} |
|
10364 |
arg3 = reinterpret_cast< wxTreeItemId * >(argp3); |
|
10365 |
} |
|
10366 |
if (obj3) { |
|
10367 |
ecode4 = SWIG_AsVal_bool(obj3, &val4); |
|
10368 |
if (!SWIG_IsOK(ecode4)) { |
|
10369 |
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "4"" of type '" "bool""'"); |
|
10370 |
} |
|
10371 |
arg4 = static_cast< bool >(val4); |
|
10372 |
} |
|
10373 |
{ |
|
10374 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10375 |
(arg1)->SelectItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,arg4); |
|
10376 |
wxPyEndAllowThreads(__tstate); |
|
10377 |
if (PyErr_Occurred()) SWIG_fail; |
|
10378 |
} |
|
10379 |
resultobj = SWIG_Py_Void(); |
|
10380 |
return resultobj; |
|
10381 |
fail: |
|
10382 |
return NULL; |
|
10383 |
} |
|
10384 |
||
10385 |
||
10386 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
10387 |
PyObject *resultobj = 0; |
|
10388 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10389 |
void *argp1 = 0 ; |
|
10390 |
int res1 = 0 ; |
|
10391 |
PyObject *swig_obj[1] ; |
|
10392 |
||
10393 |
if (!args) SWIG_fail; |
|
10394 |
swig_obj[0] = args; |
|
10395 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10396 |
if (!SWIG_IsOK(res1)) { |
|
10397 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
10398 |
} |
|
10399 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10400 |
{ |
|
10401 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10402 |
(arg1)->SelectAll(); |
|
10403 |
wxPyEndAllowThreads(__tstate); |
|
10404 |
if (PyErr_Occurred()) SWIG_fail; |
|
10405 |
} |
|
10406 |
resultobj = SWIG_Py_Void(); |
|
10407 |
return resultobj; |
|
10408 |
fail: |
|
10409 |
return NULL; |
|
10410 |
} |
|
10411 |
||
10412 |
||
10413 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
10414 |
PyObject *resultobj = 0; |
|
10415 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10416 |
wxTreeItemId *arg2 = 0 ; |
|
10417 |
void *argp1 = 0 ; |
|
10418 |
int res1 = 0 ; |
|
10419 |
void *argp2 = 0 ; |
|
10420 |
int res2 = 0 ; |
|
10421 |
PyObject * obj0 = 0 ; |
|
10422 |
PyObject * obj1 = 0 ; |
|
10423 |
char * kwnames[] = { |
|
10424 |
(char *) "self",(char *) "item", NULL |
|
10425 |
}; |
|
10426 |
||
10427 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail; |
|
10428 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10429 |
if (!SWIG_IsOK(res1)) { |
|
10430 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
10431 |
} |
|
10432 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10433 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
10434 |
if (!SWIG_IsOK(res2)) { |
|
10435 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10436 |
} |
|
10437 |
if (!argp2) { |
|
10438 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10439 |
} |
|
10440 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
10441 |
{ |
|
10442 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10443 |
(arg1)->EnsureVisible((wxTreeItemId const &)*arg2); |
|
10444 |
wxPyEndAllowThreads(__tstate); |
|
10445 |
if (PyErr_Occurred()) SWIG_fail; |
|
10446 |
} |
|
10447 |
resultobj = SWIG_Py_Void(); |
|
10448 |
return resultobj; |
|
10449 |
fail: |
|
10450 |
return NULL; |
|
10451 |
} |
|
10452 |
||
10453 |
||
10454 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
10455 |
PyObject *resultobj = 0; |
|
10456 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10457 |
wxTreeItemId *arg2 = 0 ; |
|
10458 |
void *argp1 = 0 ; |
|
10459 |
int res1 = 0 ; |
|
10460 |
void *argp2 = 0 ; |
|
10461 |
int res2 = 0 ; |
|
10462 |
PyObject * obj0 = 0 ; |
|
10463 |
PyObject * obj1 = 0 ; |
|
10464 |
char * kwnames[] = { |
|
10465 |
(char *) "self",(char *) "item", NULL |
|
10466 |
}; |
|
10467 |
||
10468 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail; |
|
10469 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10470 |
if (!SWIG_IsOK(res1)) { |
|
10471 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
10472 |
} |
|
10473 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10474 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
10475 |
if (!SWIG_IsOK(res2)) { |
|
10476 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10477 |
} |
|
10478 |
if (!argp2) { |
|
10479 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10480 |
} |
|
10481 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
10482 |
{ |
|
10483 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10484 |
(arg1)->ScrollTo((wxTreeItemId const &)*arg2); |
|
10485 |
wxPyEndAllowThreads(__tstate); |
|
10486 |
if (PyErr_Occurred()) SWIG_fail; |
|
10487 |
} |
|
10488 |
resultobj = SWIG_Py_Void(); |
|
10489 |
return resultobj; |
|
10490 |
fail: |
|
10491 |
return NULL; |
|
10492 |
} |
|
10493 |
||
10494 |
||
10495 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
10496 |
PyObject *resultobj = 0; |
|
10497 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10498 |
wxPoint *arg2 = 0 ; |
|
10499 |
int *arg3 = 0 ; |
|
10500 |
int *arg4 = 0 ; |
|
10501 |
wxTreeItemId result; |
|
10502 |
void *argp1 = 0 ; |
|
10503 |
int res1 = 0 ; |
|
10504 |
wxPoint temp2 ; |
|
10505 |
int temp3 ; |
|
10506 |
int res3 = SWIG_TMPOBJ ; |
|
10507 |
int temp4 ; |
|
10508 |
int res4 = SWIG_TMPOBJ ; |
|
10509 |
PyObject * obj0 = 0 ; |
|
10510 |
PyObject * obj1 = 0 ; |
|
10511 |
char * kwnames[] = { |
|
10512 |
(char *) "self",(char *) "point", NULL |
|
10513 |
}; |
|
10514 |
||
10515 |
arg3 = &temp3; |
|
10516 |
arg4 = &temp4; |
|
10517 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail; |
|
10518 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10519 |
if (!SWIG_IsOK(res1)) { |
|
10520 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
10521 |
} |
|
10522 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10523 |
{ |
|
10524 |
arg2 = &temp2; |
|
10525 |
if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail; |
|
10526 |
} |
|
10527 |
{ |
|
10528 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10529 |
result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4); |
|
10530 |
wxPyEndAllowThreads(__tstate); |
|
10531 |
if (PyErr_Occurred()) SWIG_fail; |
|
10532 |
} |
|
10533 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
10534 |
if (SWIG_IsTmpObj(res3)) { |
|
10535 |
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3))); |
|
10536 |
} else { |
|
10537 |
int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; |
|
10538 |
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags)); |
|
10539 |
} |
|
10540 |
if (SWIG_IsTmpObj(res4)) { |
|
10541 |
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4))); |
|
10542 |
} else { |
|
10543 |
int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; |
|
10544 |
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags)); |
|
10545 |
} |
|
10546 |
return resultobj; |
|
10547 |
fail: |
|
10548 |
return NULL; |
|
10549 |
} |
|
10550 |
||
10551 |
||
10552 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
10553 |
PyObject *resultobj = 0; |
|
10554 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10555 |
wxTreeItemId *arg2 = 0 ; |
|
10556 |
bool arg3 = (bool) false ; |
|
10557 |
PyObject *result = 0 ; |
|
10558 |
void *argp1 = 0 ; |
|
10559 |
int res1 = 0 ; |
|
10560 |
void *argp2 = 0 ; |
|
10561 |
int res2 = 0 ; |
|
10562 |
bool val3 ; |
|
10563 |
int ecode3 = 0 ; |
|
10564 |
PyObject * obj0 = 0 ; |
|
10565 |
PyObject * obj1 = 0 ; |
|
10566 |
PyObject * obj2 = 0 ; |
|
10567 |
char * kwnames[] = { |
|
10568 |
(char *) "self",(char *) "item",(char *) "textOnly", NULL |
|
10569 |
}; |
|
10570 |
||
10571 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
10572 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10573 |
if (!SWIG_IsOK(res1)) { |
|
10574 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
10575 |
} |
|
10576 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10577 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
10578 |
if (!SWIG_IsOK(res2)) { |
|
10579 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10580 |
} |
|
10581 |
if (!argp2) { |
|
10582 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10583 |
} |
|
10584 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
10585 |
if (obj2) { |
|
10586 |
ecode3 = SWIG_AsVal_bool(obj2, &val3); |
|
10587 |
if (!SWIG_IsOK(ecode3)) { |
|
10588 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'"); |
|
10589 |
} |
|
10590 |
arg3 = static_cast< bool >(val3); |
|
10591 |
} |
|
10592 |
{ |
|
10593 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10594 |
result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3); |
|
10595 |
wxPyEndAllowThreads(__tstate); |
|
10596 |
if (PyErr_Occurred()) SWIG_fail; |
|
10597 |
} |
|
10598 |
resultobj = result; |
|
10599 |
return resultobj; |
|
10600 |
fail: |
|
10601 |
return NULL; |
|
10602 |
} |
|
10603 |
||
10604 |
||
10605 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
10606 |
PyObject *resultobj = 0; |
|
10607 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10608 |
wxTreeItemId *arg2 = 0 ; |
|
10609 |
int arg3 = (int) -1 ; |
|
10610 |
void *argp1 = 0 ; |
|
10611 |
int res1 = 0 ; |
|
10612 |
void *argp2 = 0 ; |
|
10613 |
int res2 = 0 ; |
|
10614 |
int val3 ; |
|
10615 |
int ecode3 = 0 ; |
|
10616 |
PyObject * obj0 = 0 ; |
|
10617 |
PyObject * obj1 = 0 ; |
|
10618 |
PyObject * obj2 = 0 ; |
|
10619 |
char * kwnames[] = { |
|
10620 |
(char *) "self",(char *) "item",(char *) "column", NULL |
|
10621 |
}; |
|
10622 |
||
10623 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
10624 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10625 |
if (!SWIG_IsOK(res1)) { |
|
10626 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
10627 |
} |
|
10628 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10629 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
10630 |
if (!SWIG_IsOK(res2)) { |
|
10631 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10632 |
} |
|
10633 |
if (!argp2) { |
|
10634 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10635 |
} |
|
10636 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
10637 |
if (obj2) { |
|
10638 |
ecode3 = SWIG_AsVal_int(obj2, &val3); |
|
10639 |
if (!SWIG_IsOK(ecode3)) { |
|
10640 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "3"" of type '" "int""'"); |
|
10641 |
} |
|
10642 |
arg3 = static_cast< int >(val3); |
|
10643 |
} |
|
10644 |
{ |
|
10645 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10646 |
wxPyTreeListCtrl_EditLabel(arg1,(wxTreeItemId const &)*arg2,arg3); |
|
10647 |
wxPyEndAllowThreads(__tstate); |
|
10648 |
if (PyErr_Occurred()) SWIG_fail; |
|
10649 |
} |
|
10650 |
resultobj = SWIG_Py_Void(); |
|
10651 |
return resultobj; |
|
10652 |
fail: |
|
10653 |
return NULL; |
|
10654 |
} |
|
10655 |
||
10656 |
||
10657 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
10658 |
PyObject *resultobj = 0; |
|
10659 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10660 |
wxTreeItemId *arg2 = 0 ; |
|
10661 |
void *argp1 = 0 ; |
|
10662 |
int res1 = 0 ; |
|
10663 |
void *argp2 = 0 ; |
|
10664 |
int res2 = 0 ; |
|
10665 |
PyObject * obj0 = 0 ; |
|
10666 |
PyObject * obj1 = 0 ; |
|
10667 |
char * kwnames[] = { |
|
10668 |
(char *) "self",(char *) "item", NULL |
|
10669 |
}; |
|
10670 |
||
10671 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail; |
|
10672 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10673 |
if (!SWIG_IsOK(res1)) { |
|
10674 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
10675 |
} |
|
10676 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10677 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
10678 |
if (!SWIG_IsOK(res2)) { |
|
10679 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10680 |
} |
|
10681 |
if (!argp2) { |
|
10682 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10683 |
} |
|
10684 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
10685 |
{ |
|
10686 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10687 |
(arg1)->SortChildren((wxTreeItemId const &)*arg2); |
|
10688 |
wxPyEndAllowThreads(__tstate); |
|
10689 |
if (PyErr_Occurred()) SWIG_fail; |
|
10690 |
} |
|
10691 |
resultobj = SWIG_Py_Void(); |
|
10692 |
return resultobj; |
|
10693 |
fail: |
|
10694 |
return NULL; |
|
10695 |
} |
|
10696 |
||
10697 |
||
10698 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
10699 |
PyObject *resultobj = 0; |
|
10700 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10701 |
wxTreeItemId *arg2 = 0 ; |
|
10702 |
wxString *arg3 = 0 ; |
|
10703 |
int arg4 = (int) 0 ; |
|
10704 |
wxTreeItemId result; |
|
10705 |
void *argp1 = 0 ; |
|
10706 |
int res1 = 0 ; |
|
10707 |
void *argp2 = 0 ; |
|
10708 |
int res2 = 0 ; |
|
10709 |
bool temp3 = false ; |
|
10710 |
int val4 ; |
|
10711 |
int ecode4 = 0 ; |
|
10712 |
PyObject * obj0 = 0 ; |
|
10713 |
PyObject * obj1 = 0 ; |
|
10714 |
PyObject * obj2 = 0 ; |
|
10715 |
PyObject * obj3 = 0 ; |
|
10716 |
char * kwnames[] = { |
|
10717 |
(char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL |
|
10718 |
}; |
|
10719 |
||
10720 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail; |
|
10721 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10722 |
if (!SWIG_IsOK(res1)) { |
|
10723 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
10724 |
} |
|
10725 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10726 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
10727 |
if (!SWIG_IsOK(res2)) { |
|
10728 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10729 |
} |
|
10730 |
if (!argp2) { |
|
10731 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10732 |
} |
|
10733 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
10734 |
{ |
|
10735 |
arg3 = wxString_in_helper(obj2); |
|
10736 |
if (arg3 == NULL) SWIG_fail; |
|
10737 |
temp3 = true; |
|
10738 |
} |
|
10739 |
if (obj3) { |
|
10740 |
ecode4 = SWIG_AsVal_int(obj3, &val4); |
|
10741 |
if (!SWIG_IsOK(ecode4)) { |
|
10742 |
SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_FindItem" "', expected argument " "4"" of type '" "int""'"); |
|
10743 |
} |
|
10744 |
arg4 = static_cast< int >(val4); |
|
10745 |
} |
|
10746 |
{ |
|
10747 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10748 |
result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4); |
|
10749 |
wxPyEndAllowThreads(__tstate); |
|
10750 |
if (PyErr_Occurred()) SWIG_fail; |
|
10751 |
} |
|
10752 |
resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 ); |
|
10753 |
{ |
|
10754 |
if (temp3) |
|
10755 |
delete arg3; |
|
10756 |
} |
|
10757 |
return resultobj; |
|
10758 |
fail: |
|
10759 |
{ |
|
10760 |
if (temp3) |
|
10761 |
delete arg3; |
|
10762 |
} |
|
10763 |
return NULL; |
|
10764 |
} |
|
10765 |
||
10766 |
||
10767 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_SetDragItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
10768 |
PyObject *resultobj = 0; |
|
10769 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10770 |
wxTreeItemId const &arg2_defvalue = (wxTreeItemId *) NULL ; |
|
10771 |
wxTreeItemId *arg2 = (wxTreeItemId *) &arg2_defvalue ; |
|
10772 |
void *argp1 = 0 ; |
|
10773 |
int res1 = 0 ; |
|
10774 |
void *argp2 = 0 ; |
|
10775 |
int res2 = 0 ; |
|
10776 |
PyObject * obj0 = 0 ; |
|
10777 |
PyObject * obj1 = 0 ; |
|
10778 |
char * kwnames[] = { |
|
10779 |
(char *) "self",(char *) "item", NULL |
|
10780 |
}; |
|
10781 |
||
10782 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SetDragItem",kwnames,&obj0,&obj1)) SWIG_fail; |
|
10783 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10784 |
if (!SWIG_IsOK(res1)) { |
|
10785 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'"); |
|
10786 |
} |
|
10787 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10788 |
if (obj1) { |
|
10789 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0); |
|
10790 |
if (!SWIG_IsOK(res2)) { |
|
10791 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10792 |
} |
|
10793 |
if (!argp2) { |
|
10794 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'"); |
|
10795 |
} |
|
10796 |
arg2 = reinterpret_cast< wxTreeItemId * >(argp2); |
|
10797 |
} |
|
10798 |
{ |
|
10799 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10800 |
(arg1)->SetDragItem((wxTreeItemId const &)*arg2); |
|
10801 |
wxPyEndAllowThreads(__tstate); |
|
10802 |
if (PyErr_Occurred()) SWIG_fail; |
|
10803 |
} |
|
10804 |
resultobj = SWIG_Py_Void(); |
|
10805 |
return resultobj; |
|
10806 |
fail: |
|
10807 |
return NULL; |
|
10808 |
} |
|
10809 |
||
10810 |
||
10811 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
10812 |
PyObject *resultobj = 0; |
|
10813 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10814 |
wxWindow *result = 0 ; |
|
10815 |
void *argp1 = 0 ; |
|
10816 |
int res1 = 0 ; |
|
10817 |
PyObject *swig_obj[1] ; |
|
10818 |
||
10819 |
if (!args) SWIG_fail; |
|
10820 |
swig_obj[0] = args; |
|
10821 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10822 |
if (!SWIG_IsOK(res1)) { |
|
10823 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetHeaderWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
10824 |
} |
|
10825 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10826 |
{ |
|
10827 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10828 |
result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow(); |
|
10829 |
wxPyEndAllowThreads(__tstate); |
|
10830 |
if (PyErr_Occurred()) SWIG_fail; |
|
10831 |
} |
|
10832 |
{ |
|
10833 |
resultobj = wxPyMake_wxObject(result, 0); |
|
10834 |
} |
|
10835 |
return resultobj; |
|
10836 |
fail: |
|
10837 |
return NULL; |
|
10838 |
} |
|
10839 |
||
10840 |
||
10841 |
SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
10842 |
PyObject *resultobj = 0; |
|
10843 |
wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ; |
|
10844 |
wxScrolledWindow *result = 0 ; |
|
10845 |
void *argp1 = 0 ; |
|
10846 |
int res1 = 0 ; |
|
10847 |
PyObject *swig_obj[1] ; |
|
10848 |
||
10849 |
if (!args) SWIG_fail; |
|
10850 |
swig_obj[0] = args; |
|
10851 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 ); |
|
10852 |
if (!SWIG_IsOK(res1)) { |
|
10853 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'"); |
|
10854 |
} |
|
10855 |
arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1); |
|
10856 |
{ |
|
10857 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10858 |
result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow(); |
|
10859 |
wxPyEndAllowThreads(__tstate); |
|
10860 |
if (PyErr_Occurred()) SWIG_fail; |
|
10861 |
} |
|
10862 |
{ |
|
10863 |
resultobj = wxPyMake_wxObject(result, 0); |
|
10864 |
} |
|
10865 |
return resultobj; |
|
10866 |
fail: |
|
10867 |
return NULL; |
|
10868 |
} |
|
10869 |
||
10870 |
||
10871 |
SWIGINTERN PyObject *TreeListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
10872 |
PyObject *obj; |
|
10873 |
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; |
|
10874 |
SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeListCtrl, SWIG_NewClientData(obj)); |
|
10875 |
return SWIG_Py_Void(); |
|
10876 |
} |
|
10877 |
||
10878 |
SWIGINTERN PyObject *TreeListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
10879 |
return SWIG_Python_InitShadowInstance(args); |
|
10880 |
} |
|
10881 |
||
10882 |
SWIGINTERN PyObject *_wrap_new_StaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
10883 |
PyObject *resultobj = 0; |
|
10884 |
wxWindow *arg1 = (wxWindow *) 0 ; |
|
10885 |
int arg2 = (int) -1 ; |
|
10886 |
wxBitmap const &arg3_defvalue = wxNullBitmap ; |
|
10887 |
wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ; |
|
10888 |
wxPoint const &arg4_defvalue = wxDefaultPosition ; |
|
10889 |
wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; |
|
10890 |
wxSize const &arg5_defvalue = wxDefaultSize ; |
|
10891 |
wxSize *arg5 = (wxSize *) &arg5_defvalue ; |
|
10892 |
long arg6 = (long) 0 ; |
|
10893 |
wxString const &arg7_defvalue = wxPyStaticPictureNameStr ; |
|
10894 |
wxString *arg7 = (wxString *) &arg7_defvalue ; |
|
10895 |
wxStaticPicture *result = 0 ; |
|
10896 |
void *argp1 = 0 ; |
|
10897 |
int res1 = 0 ; |
|
10898 |
int val2 ; |
|
10899 |
int ecode2 = 0 ; |
|
10900 |
void *argp3 = 0 ; |
|
10901 |
int res3 = 0 ; |
|
10902 |
wxPoint temp4 ; |
|
10903 |
wxSize temp5 ; |
|
10904 |
long val6 ; |
|
10905 |
int ecode6 = 0 ; |
|
10906 |
bool temp7 = false ; |
|
10907 |
PyObject * obj0 = 0 ; |
|
10908 |
PyObject * obj1 = 0 ; |
|
10909 |
PyObject * obj2 = 0 ; |
|
10910 |
PyObject * obj3 = 0 ; |
|
10911 |
PyObject * obj4 = 0 ; |
|
10912 |
PyObject * obj5 = 0 ; |
|
10913 |
PyObject * obj6 = 0 ; |
|
10914 |
char * kwnames[] = { |
|
10915 |
(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
|
10916 |
}; |
|
10917 |
||
10918 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail; |
|
10919 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 ); |
|
10920 |
if (!SWIG_IsOK(res1)) { |
|
10921 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticPicture" "', expected argument " "1"" of type '" "wxWindow *""'"); |
|
10922 |
} |
|
10923 |
arg1 = reinterpret_cast< wxWindow * >(argp1); |
|
10924 |
if (obj1) { |
|
10925 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
10926 |
if (!SWIG_IsOK(ecode2)) { |
|
10927 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticPicture" "', expected argument " "2"" of type '" "int""'"); |
|
10928 |
} |
|
10929 |
arg2 = static_cast< int >(val2); |
|
10930 |
} |
|
10931 |
if (obj2) { |
|
10932 |
res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0); |
|
10933 |
if (!SWIG_IsOK(res3)) { |
|
10934 |
SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'"); |
|
10935 |
} |
|
10936 |
if (!argp3) { |
|
10937 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'"); |
|
10938 |
} |
|
10939 |
arg3 = reinterpret_cast< wxBitmap * >(argp3); |
|
10940 |
} |
|
10941 |
if (obj3) { |
|
10942 |
{ |
|
10943 |
arg4 = &temp4; |
|
10944 |
if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; |
|
10945 |
} |
|
10946 |
} |
|
10947 |
if (obj4) { |
|
10948 |
{ |
|
10949 |
arg5 = &temp5; |
|
10950 |
if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; |
|
10951 |
} |
|
10952 |
} |
|
10953 |
if (obj5) { |
|
10954 |
ecode6 = SWIG_AsVal_long(obj5, &val6); |
|
10955 |
if (!SWIG_IsOK(ecode6)) { |
|
10956 |
SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticPicture" "', expected argument " "6"" of type '" "long""'"); |
|
10957 |
} |
|
10958 |
arg6 = static_cast< long >(val6); |
|
10959 |
} |
|
10960 |
if (obj6) { |
|
10961 |
{ |
|
10962 |
arg7 = wxString_in_helper(obj6); |
|
10963 |
if (arg7 == NULL) SWIG_fail; |
|
10964 |
temp7 = true; |
|
10965 |
} |
|
10966 |
} |
|
10967 |
{ |
|
10968 |
if (!wxPyCheckForApp()) SWIG_fail; |
|
10969 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10970 |
result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7); |
|
10971 |
wxPyEndAllowThreads(__tstate); |
|
10972 |
if (PyErr_Occurred()) SWIG_fail; |
|
10973 |
} |
|
10974 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_NEW | 0 ); |
|
10975 |
{ |
|
10976 |
if (temp7) |
|
10977 |
delete arg7; |
|
10978 |
} |
|
10979 |
return resultobj; |
|
10980 |
fail: |
|
10981 |
{ |
|
10982 |
if (temp7) |
|
10983 |
delete arg7; |
|
10984 |
} |
|
10985 |
return NULL; |
|
10986 |
} |
|
10987 |
||
10988 |
||
10989 |
SWIGINTERN PyObject *_wrap_new_PreStaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
10990 |
PyObject *resultobj = 0; |
|
10991 |
wxStaticPicture *result = 0 ; |
|
10992 |
||
10993 |
if (!SWIG_Python_UnpackTuple(args,"new_PreStaticPicture",0,0,0)) SWIG_fail; |
|
10994 |
{ |
|
10995 |
if (!wxPyCheckForApp()) SWIG_fail; |
|
10996 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
10997 |
result = (wxStaticPicture *)new wxStaticPicture(); |
|
10998 |
wxPyEndAllowThreads(__tstate); |
|
10999 |
if (PyErr_Occurred()) SWIG_fail; |
|
11000 |
} |
|
11001 |
resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_OWN | 0 ); |
|
11002 |
return resultobj; |
|
11003 |
fail: |
|
11004 |
return NULL; |
|
11005 |
} |
|
11006 |
||
11007 |
||
11008 |
SWIGINTERN PyObject *_wrap_StaticPicture_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
11009 |
PyObject *resultobj = 0; |
|
11010 |
wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
|
11011 |
wxWindow *arg2 = (wxWindow *) 0 ; |
|
11012 |
int arg3 = (int) -1 ; |
|
11013 |
wxBitmap const &arg4_defvalue = wxNullBitmap ; |
|
11014 |
wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ; |
|
11015 |
wxPoint const &arg5_defvalue = wxDefaultPosition ; |
|
11016 |
wxPoint *arg5 = (wxPoint *) &arg5_defvalue ; |
|
11017 |
wxSize const &arg6_defvalue = wxDefaultSize ; |
|
11018 |
wxSize *arg6 = (wxSize *) &arg6_defvalue ; |
|
11019 |
long arg7 = (long) 0 ; |
|
11020 |
wxString const &arg8_defvalue = wxPyStaticPictureNameStr ; |
|
11021 |
wxString *arg8 = (wxString *) &arg8_defvalue ; |
|
11022 |
bool result; |
|
11023 |
void *argp1 = 0 ; |
|
11024 |
int res1 = 0 ; |
|
11025 |
void *argp2 = 0 ; |
|
11026 |
int res2 = 0 ; |
|
11027 |
int val3 ; |
|
11028 |
int ecode3 = 0 ; |
|
11029 |
void *argp4 = 0 ; |
|
11030 |
int res4 = 0 ; |
|
11031 |
wxPoint temp5 ; |
|
11032 |
wxSize temp6 ; |
|
11033 |
long val7 ; |
|
11034 |
int ecode7 = 0 ; |
|
11035 |
bool temp8 = false ; |
|
11036 |
PyObject * obj0 = 0 ; |
|
11037 |
PyObject * obj1 = 0 ; |
|
11038 |
PyObject * obj2 = 0 ; |
|
11039 |
PyObject * obj3 = 0 ; |
|
11040 |
PyObject * obj4 = 0 ; |
|
11041 |
PyObject * obj5 = 0 ; |
|
11042 |
PyObject * obj6 = 0 ; |
|
11043 |
PyObject * obj7 = 0 ; |
|
11044 |
char * kwnames[] = { |
|
11045 |
(char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL |
|
11046 |
}; |
|
11047 |
||
11048 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail; |
|
11049 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); |
|
11050 |
if (!SWIG_IsOK(res1)) { |
|
11051 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_Create" "', expected argument " "1"" of type '" "wxStaticPicture *""'"); |
|
11052 |
} |
|
11053 |
arg1 = reinterpret_cast< wxStaticPicture * >(argp1); |
|
11054 |
res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 ); |
|
11055 |
if (!SWIG_IsOK(res2)) { |
|
11056 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_Create" "', expected argument " "2"" of type '" "wxWindow *""'"); |
|
11057 |
} |
|
11058 |
arg2 = reinterpret_cast< wxWindow * >(argp2); |
|
11059 |
if (obj2) { |
|
11060 |
ecode3 = SWIG_AsVal_int(obj2, &val3); |
|
11061 |
if (!SWIG_IsOK(ecode3)) { |
|
11062 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_Create" "', expected argument " "3"" of type '" "int""'"); |
|
11063 |
} |
|
11064 |
arg3 = static_cast< int >(val3); |
|
11065 |
} |
|
11066 |
if (obj3) { |
|
11067 |
res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0); |
|
11068 |
if (!SWIG_IsOK(res4)) { |
|
11069 |
SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'"); |
|
11070 |
} |
|
11071 |
if (!argp4) { |
|
11072 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'"); |
|
11073 |
} |
|
11074 |
arg4 = reinterpret_cast< wxBitmap * >(argp4); |
|
11075 |
} |
|
11076 |
if (obj4) { |
|
11077 |
{ |
|
11078 |
arg5 = &temp5; |
|
11079 |
if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail; |
|
11080 |
} |
|
11081 |
} |
|
11082 |
if (obj5) { |
|
11083 |
{ |
|
11084 |
arg6 = &temp6; |
|
11085 |
if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail; |
|
11086 |
} |
|
11087 |
} |
|
11088 |
if (obj6) { |
|
11089 |
ecode7 = SWIG_AsVal_long(obj6, &val7); |
|
11090 |
if (!SWIG_IsOK(ecode7)) { |
|
11091 |
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticPicture_Create" "', expected argument " "7"" of type '" "long""'"); |
|
11092 |
} |
|
11093 |
arg7 = static_cast< long >(val7); |
|
11094 |
} |
|
11095 |
if (obj7) { |
|
11096 |
{ |
|
11097 |
arg8 = wxString_in_helper(obj7); |
|
11098 |
if (arg8 == NULL) SWIG_fail; |
|
11099 |
temp8 = true; |
|
11100 |
} |
|
11101 |
} |
|
11102 |
{ |
|
11103 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
11104 |
result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8); |
|
11105 |
wxPyEndAllowThreads(__tstate); |
|
11106 |
if (PyErr_Occurred()) SWIG_fail; |
|
11107 |
} |
|
11108 |
{ |
|
11109 |
resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj); |
|
11110 |
} |
|
11111 |
{ |
|
11112 |
if (temp8) |
|
11113 |
delete arg8; |
|
11114 |
} |
|
11115 |
return resultobj; |
|
11116 |
fail: |
|
11117 |
{ |
|
11118 |
if (temp8) |
|
11119 |
delete arg8; |
|
11120 |
} |
|
11121 |
return NULL; |
|
11122 |
} |
|
11123 |
||
11124 |
||
11125 |
SWIGINTERN PyObject *_wrap_StaticPicture_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
11126 |
PyObject *resultobj = 0; |
|
11127 |
wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
|
11128 |
wxBitmap *arg2 = 0 ; |
|
11129 |
void *argp1 = 0 ; |
|
11130 |
int res1 = 0 ; |
|
11131 |
void *argp2 = 0 ; |
|
11132 |
int res2 = 0 ; |
|
11133 |
PyObject * obj0 = 0 ; |
|
11134 |
PyObject * obj1 = 0 ; |
|
11135 |
char * kwnames[] = { |
|
11136 |
(char *) "self",(char *) "bmp", NULL |
|
11137 |
}; |
|
11138 |
||
11139 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail; |
|
11140 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); |
|
11141 |
if (!SWIG_IsOK(res1)) { |
|
11142 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture *""'"); |
|
11143 |
} |
|
11144 |
arg1 = reinterpret_cast< wxStaticPicture * >(argp1); |
|
11145 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0); |
|
11146 |
if (!SWIG_IsOK(res2)) { |
|
11147 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'"); |
|
11148 |
} |
|
11149 |
if (!argp2) { |
|
11150 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'"); |
|
11151 |
} |
|
11152 |
arg2 = reinterpret_cast< wxBitmap * >(argp2); |
|
11153 |
{ |
|
11154 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
11155 |
(arg1)->SetBitmap((wxBitmap const &)*arg2); |
|
11156 |
wxPyEndAllowThreads(__tstate); |
|
11157 |
if (PyErr_Occurred()) SWIG_fail; |
|
11158 |
} |
|
11159 |
resultobj = SWIG_Py_Void(); |
|
11160 |
return resultobj; |
|
11161 |
fail: |
|
11162 |
return NULL; |
|
11163 |
} |
|
11164 |
||
11165 |
||
11166 |
SWIGINTERN PyObject *_wrap_StaticPicture_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
11167 |
PyObject *resultobj = 0; |
|
11168 |
wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
|
11169 |
wxBitmap result; |
|
11170 |
void *argp1 = 0 ; |
|
11171 |
int res1 = 0 ; |
|
11172 |
PyObject *swig_obj[1] ; |
|
11173 |
||
11174 |
if (!args) SWIG_fail; |
|
11175 |
swig_obj[0] = args; |
|
11176 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); |
|
11177 |
if (!SWIG_IsOK(res1)) { |
|
11178 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture const *""'"); |
|
11179 |
} |
|
11180 |
arg1 = reinterpret_cast< wxStaticPicture * >(argp1); |
|
11181 |
{ |
|
11182 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
11183 |
result = ((wxStaticPicture const *)arg1)->GetBitmap(); |
|
11184 |
wxPyEndAllowThreads(__tstate); |
|
11185 |
if (PyErr_Occurred()) SWIG_fail; |
|
11186 |
} |
|
11187 |
resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 ); |
|
11188 |
return resultobj; |
|
11189 |
fail: |
|
11190 |
return NULL; |
|
11191 |
} |
|
11192 |
||
11193 |
||
11194 |
SWIGINTERN PyObject *_wrap_StaticPicture_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
11195 |
PyObject *resultobj = 0; |
|
11196 |
wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
|
11197 |
wxIcon *arg2 = 0 ; |
|
11198 |
void *argp1 = 0 ; |
|
11199 |
int res1 = 0 ; |
|
11200 |
void *argp2 = 0 ; |
|
11201 |
int res2 = 0 ; |
|
11202 |
PyObject * obj0 = 0 ; |
|
11203 |
PyObject * obj1 = 0 ; |
|
11204 |
char * kwnames[] = { |
|
11205 |
(char *) "self",(char *) "icon", NULL |
|
11206 |
}; |
|
11207 |
||
11208 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail; |
|
11209 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); |
|
11210 |
if (!SWIG_IsOK(res1)) { |
|
11211 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetIcon" "', expected argument " "1"" of type '" "wxStaticPicture *""'"); |
|
11212 |
} |
|
11213 |
arg1 = reinterpret_cast< wxStaticPicture * >(argp1); |
|
11214 |
res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0); |
|
11215 |
if (!SWIG_IsOK(res2)) { |
|
11216 |
SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'"); |
|
11217 |
} |
|
11218 |
if (!argp2) { |
|
11219 |
SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'"); |
|
11220 |
} |
|
11221 |
arg2 = reinterpret_cast< wxIcon * >(argp2); |
|
11222 |
{ |
|
11223 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
11224 |
(arg1)->SetIcon((wxIcon const &)*arg2); |
|
11225 |
wxPyEndAllowThreads(__tstate); |
|
11226 |
if (PyErr_Occurred()) SWIG_fail; |
|
11227 |
} |
|
11228 |
resultobj = SWIG_Py_Void(); |
|
11229 |
return resultobj; |
|
11230 |
fail: |
|
11231 |
return NULL; |
|
11232 |
} |
|
11233 |
||
11234 |
||
11235 |
SWIGINTERN PyObject *_wrap_StaticPicture_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
11236 |
PyObject *resultobj = 0; |
|
11237 |
wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
|
11238 |
wxIcon result; |
|
11239 |
void *argp1 = 0 ; |
|
11240 |
int res1 = 0 ; |
|
11241 |
PyObject *swig_obj[1] ; |
|
11242 |
||
11243 |
if (!args) SWIG_fail; |
|
11244 |
swig_obj[0] = args; |
|
11245 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); |
|
11246 |
if (!SWIG_IsOK(res1)) { |
|
11247 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetIcon" "', expected argument " "1"" of type '" "wxStaticPicture const *""'"); |
|
11248 |
} |
|
11249 |
arg1 = reinterpret_cast< wxStaticPicture * >(argp1); |
|
11250 |
{ |
|
11251 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
11252 |
result = ((wxStaticPicture const *)arg1)->GetIcon(); |
|
11253 |
wxPyEndAllowThreads(__tstate); |
|
11254 |
if (PyErr_Occurred()) SWIG_fail; |
|
11255 |
} |
|
11256 |
resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 ); |
|
11257 |
return resultobj; |
|
11258 |
fail: |
|
11259 |
return NULL; |
|
11260 |
} |
|
11261 |
||
11262 |
||
11263 |
SWIGINTERN PyObject *_wrap_StaticPicture_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
11264 |
PyObject *resultobj = 0; |
|
11265 |
wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
|
11266 |
int arg2 ; |
|
11267 |
void *argp1 = 0 ; |
|
11268 |
int res1 = 0 ; |
|
11269 |
int val2 ; |
|
11270 |
int ecode2 = 0 ; |
|
11271 |
PyObject * obj0 = 0 ; |
|
11272 |
PyObject * obj1 = 0 ; |
|
11273 |
char * kwnames[] = { |
|
11274 |
(char *) "self",(char *) "align", NULL |
|
11275 |
}; |
|
11276 |
||
11277 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail; |
|
11278 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); |
|
11279 |
if (!SWIG_IsOK(res1)) { |
|
11280 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture *""'"); |
|
11281 |
} |
|
11282 |
arg1 = reinterpret_cast< wxStaticPicture * >(argp1); |
|
11283 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
11284 |
if (!SWIG_IsOK(ecode2)) { |
|
11285 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetAlignment" "', expected argument " "2"" of type '" "int""'"); |
|
11286 |
} |
|
11287 |
arg2 = static_cast< int >(val2); |
|
11288 |
{ |
|
11289 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
11290 |
(arg1)->SetAlignment(arg2); |
|
11291 |
wxPyEndAllowThreads(__tstate); |
|
11292 |
if (PyErr_Occurred()) SWIG_fail; |
|
11293 |
} |
|
11294 |
resultobj = SWIG_Py_Void(); |
|
11295 |
return resultobj; |
|
11296 |
fail: |
|
11297 |
return NULL; |
|
11298 |
} |
|
11299 |
||
11300 |
||
11301 |
SWIGINTERN PyObject *_wrap_StaticPicture_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
11302 |
PyObject *resultobj = 0; |
|
11303 |
wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
|
11304 |
int result; |
|
11305 |
void *argp1 = 0 ; |
|
11306 |
int res1 = 0 ; |
|
11307 |
PyObject *swig_obj[1] ; |
|
11308 |
||
11309 |
if (!args) SWIG_fail; |
|
11310 |
swig_obj[0] = args; |
|
11311 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); |
|
11312 |
if (!SWIG_IsOK(res1)) { |
|
11313 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture const *""'"); |
|
11314 |
} |
|
11315 |
arg1 = reinterpret_cast< wxStaticPicture * >(argp1); |
|
11316 |
{ |
|
11317 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
11318 |
result = (int)((wxStaticPicture const *)arg1)->GetAlignment(); |
|
11319 |
wxPyEndAllowThreads(__tstate); |
|
11320 |
if (PyErr_Occurred()) SWIG_fail; |
|
11321 |
} |
|
11322 |
resultobj = SWIG_From_int(static_cast< int >(result)); |
|
11323 |
return resultobj; |
|
11324 |
fail: |
|
11325 |
return NULL; |
|
11326 |
} |
|
11327 |
||
11328 |
||
11329 |
SWIGINTERN PyObject *_wrap_StaticPicture_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
11330 |
PyObject *resultobj = 0; |
|
11331 |
wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
|
11332 |
int arg2 ; |
|
11333 |
void *argp1 = 0 ; |
|
11334 |
int res1 = 0 ; |
|
11335 |
int val2 ; |
|
11336 |
int ecode2 = 0 ; |
|
11337 |
PyObject * obj0 = 0 ; |
|
11338 |
PyObject * obj1 = 0 ; |
|
11339 |
char * kwnames[] = { |
|
11340 |
(char *) "self",(char *) "scale", NULL |
|
11341 |
}; |
|
11342 |
||
11343 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) SWIG_fail; |
|
11344 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); |
|
11345 |
if (!SWIG_IsOK(res1)) { |
|
11346 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'"); |
|
11347 |
} |
|
11348 |
arg1 = reinterpret_cast< wxStaticPicture * >(argp1); |
|
11349 |
ecode2 = SWIG_AsVal_int(obj1, &val2); |
|
11350 |
if (!SWIG_IsOK(ecode2)) { |
|
11351 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetScale" "', expected argument " "2"" of type '" "int""'"); |
|
11352 |
} |
|
11353 |
arg2 = static_cast< int >(val2); |
|
11354 |
{ |
|
11355 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
11356 |
(arg1)->SetScale(arg2); |
|
11357 |
wxPyEndAllowThreads(__tstate); |
|
11358 |
if (PyErr_Occurred()) SWIG_fail; |
|
11359 |
} |
|
11360 |
resultobj = SWIG_Py_Void(); |
|
11361 |
return resultobj; |
|
11362 |
fail: |
|
11363 |
return NULL; |
|
11364 |
} |
|
11365 |
||
11366 |
||
11367 |
SWIGINTERN PyObject *_wrap_StaticPicture_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
11368 |
PyObject *resultobj = 0; |
|
11369 |
wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
|
11370 |
int result; |
|
11371 |
void *argp1 = 0 ; |
|
11372 |
int res1 = 0 ; |
|
11373 |
PyObject *swig_obj[1] ; |
|
11374 |
||
11375 |
if (!args) SWIG_fail; |
|
11376 |
swig_obj[0] = args; |
|
11377 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); |
|
11378 |
if (!SWIG_IsOK(res1)) { |
|
11379 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'"); |
|
11380 |
} |
|
11381 |
arg1 = reinterpret_cast< wxStaticPicture * >(argp1); |
|
11382 |
{ |
|
11383 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
11384 |
result = (int)((wxStaticPicture const *)arg1)->GetScale(); |
|
11385 |
wxPyEndAllowThreads(__tstate); |
|
11386 |
if (PyErr_Occurred()) SWIG_fail; |
|
11387 |
} |
|
11388 |
resultobj = SWIG_From_int(static_cast< int >(result)); |
|
11389 |
return resultobj; |
|
11390 |
fail: |
|
11391 |
return NULL; |
|
11392 |
} |
|
11393 |
||
11394 |
||
11395 |
SWIGINTERN PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) { |
|
11396 |
PyObject *resultobj = 0; |
|
11397 |
wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
|
11398 |
float arg2 ; |
|
11399 |
float arg3 ; |
|
11400 |
void *argp1 = 0 ; |
|
11401 |
int res1 = 0 ; |
|
11402 |
float val2 ; |
|
11403 |
int ecode2 = 0 ; |
|
11404 |
float val3 ; |
|
11405 |
int ecode3 = 0 ; |
|
11406 |
PyObject * obj0 = 0 ; |
|
11407 |
PyObject * obj1 = 0 ; |
|
11408 |
PyObject * obj2 = 0 ; |
|
11409 |
char * kwnames[] = { |
|
11410 |
(char *) "self",(char *) "sx",(char *) "sy", NULL |
|
11411 |
}; |
|
11412 |
||
11413 |
if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail; |
|
11414 |
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); |
|
11415 |
if (!SWIG_IsOK(res1)) { |
|
11416 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'"); |
|
11417 |
} |
|
11418 |
arg1 = reinterpret_cast< wxStaticPicture * >(argp1); |
|
11419 |
ecode2 = SWIG_AsVal_float(obj1, &val2); |
|
11420 |
if (!SWIG_IsOK(ecode2)) { |
|
11421 |
SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "2"" of type '" "float""'"); |
|
11422 |
} |
|
11423 |
arg2 = static_cast< float >(val2); |
|
11424 |
ecode3 = SWIG_AsVal_float(obj2, &val3); |
|
11425 |
if (!SWIG_IsOK(ecode3)) { |
|
11426 |
SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "3"" of type '" "float""'"); |
|
11427 |
} |
|
11428 |
arg3 = static_cast< float >(val3); |
|
11429 |
{ |
|
11430 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
11431 |
(arg1)->SetCustomScale(arg2,arg3); |
|
11432 |
wxPyEndAllowThreads(__tstate); |
|
11433 |
if (PyErr_Occurred()) SWIG_fail; |
|
11434 |
} |
|
11435 |
resultobj = SWIG_Py_Void(); |
|
11436 |
return resultobj; |
|
11437 |
fail: |
|
11438 |
return NULL; |
|
11439 |
} |
|
11440 |
||
11441 |
||
11442 |
SWIGINTERN PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
11443 |
PyObject *resultobj = 0; |
|
11444 |
wxStaticPicture *arg1 = (wxStaticPicture *) 0 ; |
|
11445 |
float *arg2 = (float *) 0 ; |
|
11446 |
float *arg3 = (float *) 0 ; |
|
11447 |
void *argp1 = 0 ; |
|
11448 |
int res1 = 0 ; |
|
11449 |
float temp2 ; |
|
11450 |
int res2 = SWIG_TMPOBJ ; |
|
11451 |
float temp3 ; |
|
11452 |
int res3 = SWIG_TMPOBJ ; |
|
11453 |
PyObject *swig_obj[1] ; |
|
11454 |
||
11455 |
arg2 = &temp2; |
|
11456 |
arg3 = &temp3; |
|
11457 |
if (!args) SWIG_fail; |
|
11458 |
swig_obj[0] = args; |
|
11459 |
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 ); |
|
11460 |
if (!SWIG_IsOK(res1)) { |
|
11461 |
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'"); |
|
11462 |
} |
|
11463 |
arg1 = reinterpret_cast< wxStaticPicture * >(argp1); |
|
11464 |
{ |
|
11465 |
PyThreadState* __tstate = wxPyBeginAllowThreads(); |
|
11466 |
((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3); |
|
11467 |
wxPyEndAllowThreads(__tstate); |
|
11468 |
if (PyErr_Occurred()) SWIG_fail; |
|
11469 |
} |
|
11470 |
resultobj = SWIG_Py_Void(); |
|
11471 |
if (SWIG_IsTmpObj(res2)) { |
|
11472 |
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2))); |
|
11473 |
} else { |
|
11474 |
int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; |
|
11475 |
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags)); |
|
11476 |
} |
|
11477 |
if (SWIG_IsTmpObj(res3)) { |
|
11478 |
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3))); |
|
11479 |
} else { |
|
11480 |
int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; |
|
11481 |
resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags)); |
|
11482 |
} |
|
11483 |
return resultobj; |
|
11484 |
fail: |
|
11485 |
return NULL; |
|
11486 |
} |
|
11487 |
||
11488 |
||
11489 |
SWIGINTERN PyObject *StaticPicture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
11490 |
PyObject *obj; |
|
11491 |
if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL; |
|
11492 |
SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticPicture, SWIG_NewClientData(obj)); |
|
11493 |
return SWIG_Py_Void(); |
|
11494 |
} |
|
11495 |
||
11496 |
SWIGINTERN PyObject *StaticPicture_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { |
|
11497 |
return SWIG_Python_InitShadowInstance(args); |
|
11498 |
} |
|
11499 |
||
11500 |
static PyMethodDef SwigMethods[] = { |
|
11501 |
{ (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11502 |
{ (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL}, |
|
11503 |
{ (char *)"DynamicSashSplitEvent_swiginit", DynamicSashSplitEvent_swiginit, METH_VARARGS, NULL}, |
|
11504 |
{ (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11505 |
{ (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL}, |
|
11506 |
{ (char *)"DynamicSashUnifyEvent_swiginit", DynamicSashUnifyEvent_swiginit, METH_VARARGS, NULL}, |
|
11507 |
{ (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11508 |
{ (char *)"new_PreDynamicSashWindow", (PyCFunction)_wrap_new_PreDynamicSashWindow, METH_NOARGS, NULL}, |
|
11509 |
{ (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11510 |
{ (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11511 |
{ (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11512 |
{ (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL}, |
|
11513 |
{ (char *)"DynamicSashWindow_swiginit", DynamicSashWindow_swiginit, METH_VARARGS, NULL}, |
|
11514 |
{ (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11515 |
{ (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11516 |
{ (char *)"EditableListBox_GetStrings", (PyCFunction)_wrap_EditableListBox_GetStrings, METH_O, NULL}, |
|
11517 |
{ (char *)"EditableListBox_GetListCtrl", (PyCFunction)_wrap_EditableListBox_GetListCtrl, METH_O, NULL}, |
|
11518 |
{ (char *)"EditableListBox_GetDelButton", (PyCFunction)_wrap_EditableListBox_GetDelButton, METH_O, NULL}, |
|
11519 |
{ (char *)"EditableListBox_GetNewButton", (PyCFunction)_wrap_EditableListBox_GetNewButton, METH_O, NULL}, |
|
11520 |
{ (char *)"EditableListBox_GetUpButton", (PyCFunction)_wrap_EditableListBox_GetUpButton, METH_O, NULL}, |
|
11521 |
{ (char *)"EditableListBox_GetDownButton", (PyCFunction)_wrap_EditableListBox_GetDownButton, METH_O, NULL}, |
|
11522 |
{ (char *)"EditableListBox_GetEditButton", (PyCFunction)_wrap_EditableListBox_GetEditButton, METH_O, NULL}, |
|
11523 |
{ (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL}, |
|
11524 |
{ (char *)"EditableListBox_swiginit", EditableListBox_swiginit, METH_VARARGS, NULL}, |
|
11525 |
{ (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11526 |
{ (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_O, NULL}, |
|
11527 |
{ (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_O, NULL}, |
|
11528 |
{ (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_O, NULL}, |
|
11529 |
{ (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11530 |
{ (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11531 |
{ (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_O, NULL}, |
|
11532 |
{ (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL}, |
|
11533 |
{ (char *)"RemotelyScrolledTreeCtrl_swiginit", RemotelyScrolledTreeCtrl_swiginit, METH_VARARGS, NULL}, |
|
11534 |
{ (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11535 |
{ (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11536 |
{ (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction)_wrap_TreeCompanionWindow_GetTreeCtrl, METH_O, NULL}, |
|
11537 |
{ (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11538 |
{ (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL}, |
|
11539 |
{ (char *)"TreeCompanionWindow_swiginit", TreeCompanionWindow_swiginit, METH_VARARGS, NULL}, |
|
11540 |
{ (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11541 |
{ (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL}, |
|
11542 |
{ (char *)"ThinSplitterWindow_swiginit", ThinSplitterWindow_swiginit, METH_VARARGS, NULL}, |
|
11543 |
{ (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11544 |
{ (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL}, |
|
11545 |
{ (char *)"SplitterScrolledWindow_swiginit", SplitterScrolledWindow_swiginit, METH_VARARGS, NULL}, |
|
11546 |
{ (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11547 |
{ (char *)"new_PreLEDNumberCtrl", (PyCFunction)_wrap_new_PreLEDNumberCtrl, METH_NOARGS, NULL}, |
|
11548 |
{ (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11549 |
{ (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction)_wrap_LEDNumberCtrl_GetAlignment, METH_O, NULL}, |
|
11550 |
{ (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction)_wrap_LEDNumberCtrl_GetDrawFaded, METH_O, NULL}, |
|
11551 |
{ (char *)"LEDNumberCtrl_GetValue", (PyCFunction)_wrap_LEDNumberCtrl_GetValue, METH_O, NULL}, |
|
11552 |
{ (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11553 |
{ (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11554 |
{ (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11555 |
{ (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL}, |
|
11556 |
{ (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit, METH_VARARGS, NULL}, |
|
11557 |
{ (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11558 |
{ (char *)"delete_TreeListColumnInfo", (PyCFunction)_wrap_delete_TreeListColumnInfo, METH_O, NULL}, |
|
11559 |
{ (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction)_wrap_TreeListColumnInfo_GetAlignment, METH_O, NULL}, |
|
11560 |
{ (char *)"TreeListColumnInfo_GetText", (PyCFunction)_wrap_TreeListColumnInfo_GetText, METH_O, NULL}, |
|
11561 |
{ (char *)"TreeListColumnInfo_GetImage", (PyCFunction)_wrap_TreeListColumnInfo_GetImage, METH_O, NULL}, |
|
11562 |
{ (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction)_wrap_TreeListColumnInfo_GetSelectedImage, METH_O, NULL}, |
|
11563 |
{ (char *)"TreeListColumnInfo_GetWidth", (PyCFunction)_wrap_TreeListColumnInfo_GetWidth, METH_O, NULL}, |
|
11564 |
{ (char *)"TreeListColumnInfo_IsEditable", (PyCFunction)_wrap_TreeListColumnInfo_IsEditable, METH_O, NULL}, |
|
11565 |
{ (char *)"TreeListColumnInfo_IsShown", (PyCFunction)_wrap_TreeListColumnInfo_IsShown, METH_O, NULL}, |
|
11566 |
{ (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11567 |
{ (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11568 |
{ (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11569 |
{ (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11570 |
{ (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11571 |
{ (char *)"TreeListColumnInfo_SetEditable", (PyCFunction) _wrap_TreeListColumnInfo_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11572 |
{ (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11573 |
{ (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL}, |
|
11574 |
{ (char *)"TreeListColumnInfo_swiginit", TreeListColumnInfo_swiginit, METH_VARARGS, NULL}, |
|
11575 |
{ (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11576 |
{ (char *)"new_PreTreeListCtrl", (PyCFunction)_wrap_new_PreTreeListCtrl, METH_NOARGS, NULL}, |
|
11577 |
{ (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11578 |
{ (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11579 |
{ (char *)"TreeListCtrl_GetCount", (PyCFunction)_wrap_TreeListCtrl_GetCount, METH_O, NULL}, |
|
11580 |
{ (char *)"TreeListCtrl_GetIndent", (PyCFunction)_wrap_TreeListCtrl_GetIndent, METH_O, NULL}, |
|
11581 |
{ (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11582 |
{ (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction)_wrap_TreeListCtrl_GetLineSpacing, METH_O, NULL}, |
|
11583 |
{ (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11584 |
{ (char *)"TreeListCtrl_GetImageList", (PyCFunction)_wrap_TreeListCtrl_GetImageList, METH_O, NULL}, |
|
11585 |
{ (char *)"TreeListCtrl_GetStateImageList", (PyCFunction)_wrap_TreeListCtrl_GetStateImageList, METH_O, NULL}, |
|
11586 |
{ (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction)_wrap_TreeListCtrl_GetButtonsImageList, METH_O, NULL}, |
|
11587 |
{ (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11588 |
{ (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11589 |
{ (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11590 |
{ (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11591 |
{ (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11592 |
{ (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11593 |
{ (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11594 |
{ (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11595 |
{ (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11596 |
{ (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11597 |
{ (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11598 |
{ (char *)"TreeListCtrl_GetColumnCount", (PyCFunction)_wrap_TreeListCtrl_GetColumnCount, METH_O, NULL}, |
|
11599 |
{ (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11600 |
{ (char *)"TreeListCtrl_GetMainColumn", (PyCFunction)_wrap_TreeListCtrl_GetMainColumn, METH_O, NULL}, |
|
11601 |
{ (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11602 |
{ (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11603 |
{ (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11604 |
{ (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11605 |
{ (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11606 |
{ (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11607 |
{ (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11608 |
{ (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11609 |
{ (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11610 |
{ (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11611 |
{ (char *)"TreeListCtrl_SetColumnShown", (PyCFunction) _wrap_TreeListCtrl_SetColumnShown, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11612 |
{ (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11613 |
{ (char *)"TreeListCtrl_SetColumnEditable", (PyCFunction) _wrap_TreeListCtrl_SetColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11614 |
{ (char *)"TreeListCtrl_IsColumnEditable", (PyCFunction) _wrap_TreeListCtrl_IsColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11615 |
{ (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11616 |
{ (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11617 |
{ (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11618 |
{ (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11619 |
{ (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11620 |
{ (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11621 |
{ (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11622 |
{ (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11623 |
{ (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11624 |
{ (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11625 |
{ (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11626 |
{ (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11627 |
{ (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11628 |
{ (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11629 |
{ (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11630 |
{ (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11631 |
{ (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11632 |
{ (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11633 |
{ (char *)"TreeListCtrl_HasChildren", (PyCFunction) _wrap_TreeListCtrl_HasChildren, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11634 |
{ (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11635 |
{ (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11636 |
{ (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11637 |
{ (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11638 |
{ (char *)"TreeListCtrl_GetRootItem", (PyCFunction)_wrap_TreeListCtrl_GetRootItem, METH_O, NULL}, |
|
11639 |
{ (char *)"TreeListCtrl_GetSelection", (PyCFunction)_wrap_TreeListCtrl_GetSelection, METH_O, NULL}, |
|
11640 |
{ (char *)"TreeListCtrl_GetSelections", (PyCFunction)_wrap_TreeListCtrl_GetSelections, METH_O, NULL}, |
|
11641 |
{ (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
1.1.3
by Devid Filoni
Import upstream version 2.8.6.1 |
11642 |
{ (char *)"TreeListCtrl_GetCurrentItem", (PyCFunction)_wrap_TreeListCtrl_GetCurrentItem, METH_O, NULL}, |
11643 |
{ (char *)"TreeListCtrl_SetCurrentItem", (PyCFunction) _wrap_TreeListCtrl_SetCurrentItem, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
11644 |
{ (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL}, |
11645 |
{ (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11646 |
{ (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11647 |
{ (char *)"TreeListCtrl_GetPrevChild", (PyCFunction) _wrap_TreeListCtrl_GetPrevChild, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11648 |
{ (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11649 |
{ (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11650 |
{ (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11651 |
{ (char *)"TreeListCtrl_GetPrev", (PyCFunction) _wrap_TreeListCtrl_GetPrev, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11652 |
{ (char *)"TreeListCtrl_GetFirstExpandedItem", (PyCFunction)_wrap_TreeListCtrl_GetFirstExpandedItem, METH_O, NULL}, |
|
11653 |
{ (char *)"TreeListCtrl_GetNextExpanded", (PyCFunction) _wrap_TreeListCtrl_GetNextExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11654 |
{ (char *)"TreeListCtrl_GetPrevExpanded", (PyCFunction) _wrap_TreeListCtrl_GetPrevExpanded, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11655 |
{ (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11656 |
{ (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11657 |
{ (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11658 |
{ (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11659 |
{ (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11660 |
{ (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11661 |
{ (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11662 |
{ (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11663 |
{ (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11664 |
{ (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11665 |
{ (char *)"TreeListCtrl_DeleteRoot", (PyCFunction)_wrap_TreeListCtrl_DeleteRoot, METH_O, NULL}, |
|
11666 |
{ (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11667 |
{ (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11668 |
{ (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11669 |
{ (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11670 |
{ (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11671 |
{ (char *)"TreeListCtrl_Unselect", (PyCFunction)_wrap_TreeListCtrl_Unselect, METH_O, NULL}, |
|
11672 |
{ (char *)"TreeListCtrl_UnselectAll", (PyCFunction)_wrap_TreeListCtrl_UnselectAll, METH_O, NULL}, |
|
11673 |
{ (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11674 |
{ (char *)"TreeListCtrl_SelectAll", (PyCFunction)_wrap_TreeListCtrl_SelectAll, METH_O, NULL}, |
|
11675 |
{ (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11676 |
{ (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11677 |
{ (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11678 |
{ (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11679 |
{ (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11680 |
{ (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11681 |
{ (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11682 |
{ (char *)"TreeListCtrl_SetDragItem", (PyCFunction) _wrap_TreeListCtrl_SetDragItem, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11683 |
{ (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction)_wrap_TreeListCtrl_GetHeaderWindow, METH_O, NULL}, |
|
11684 |
{ (char *)"TreeListCtrl_GetMainWindow", (PyCFunction)_wrap_TreeListCtrl_GetMainWindow, METH_O, NULL}, |
|
11685 |
{ (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL}, |
|
11686 |
{ (char *)"TreeListCtrl_swiginit", TreeListCtrl_swiginit, METH_VARARGS, NULL}, |
|
11687 |
{ (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11688 |
{ (char *)"new_PreStaticPicture", (PyCFunction)_wrap_new_PreStaticPicture, METH_NOARGS, NULL}, |
|
11689 |
{ (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11690 |
{ (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11691 |
{ (char *)"StaticPicture_GetBitmap", (PyCFunction)_wrap_StaticPicture_GetBitmap, METH_O, NULL}, |
|
11692 |
{ (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11693 |
{ (char *)"StaticPicture_GetIcon", (PyCFunction)_wrap_StaticPicture_GetIcon, METH_O, NULL}, |
|
11694 |
{ (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11695 |
{ (char *)"StaticPicture_GetAlignment", (PyCFunction)_wrap_StaticPicture_GetAlignment, METH_O, NULL}, |
|
11696 |
{ (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11697 |
{ (char *)"StaticPicture_GetScale", (PyCFunction)_wrap_StaticPicture_GetScale, METH_O, NULL}, |
|
11698 |
{ (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL}, |
|
11699 |
{ (char *)"StaticPicture_GetCustomScale", (PyCFunction)_wrap_StaticPicture_GetCustomScale, METH_O, NULL}, |
|
11700 |
{ (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL}, |
|
11701 |
{ (char *)"StaticPicture_swiginit", StaticPicture_swiginit, METH_VARARGS, NULL}, |
|
11702 |
{ NULL, NULL, 0, NULL } |
|
11703 |
}; |
|
11704 |
||
11705 |
||
11706 |
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ |
|
11707 |
||
11708 |
static void *_p_wxPyValidatorTo_p_wxValidator(void *x) { |
|
11709 |
return (void *)((wxValidator *) ((wxPyValidator *) x)); |
|
11710 |
} |
|
11711 |
static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) { |
|
11712 |
return (void *)((wxPanel *) ((wxScrolledWindow *) x)); |
|
11713 |
} |
|
11714 |
static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) { |
|
11715 |
return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x)); |
|
11716 |
} |
|
11717 |
static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) { |
|
11718 |
return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x)); |
|
11719 |
} |
|
11720 |
static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) { |
|
11721 |
return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); |
|
11722 |
} |
|
11723 |
static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) { |
|
11724 |
return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x)); |
|
11725 |
} |
|
11726 |
static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) { |
|
11727 |
return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); |
|
11728 |
} |
|
11729 |
static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) { |
|
11730 |
return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); |
|
11731 |
} |
|
11732 |
static void *_p_wxPyPanelTo_p_wxPanel(void *x) { |
|
11733 |
return (void *)((wxPanel *) ((wxPyPanel *) x)); |
|
11734 |
} |
|
11735 |
static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) { |
|
11736 |
return (void *)((wxPanel *) ((wxEditableListBox *) x)); |
|
11737 |
} |
|
11738 |
static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) { |
|
11739 |
return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x)); |
|
11740 |
} |
|
11741 |
static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) { |
|
11742 |
return (void *)((wxPanel *) ((wxPreviewControlBar *) x)); |
|
11743 |
} |
|
11744 |
static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) { |
|
11745 |
return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); |
|
11746 |
} |
|
11747 |
static void *_p_wxToolbookTo_p_wxWindow(void *x) { |
|
11748 |
return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x)); |
|
11749 |
} |
|
11750 |
static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) { |
|
11751 |
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); |
|
11752 |
} |
|
11753 |
static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) { |
|
11754 |
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); |
|
11755 |
} |
|
11756 |
static void *_p_wxCheckBoxTo_p_wxWindow(void *x) { |
|
11757 |
return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x)); |
|
11758 |
} |
|
11759 |
static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) { |
|
11760 |
return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x)); |
|
11761 |
} |
|
11762 |
static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) { |
|
11763 |
return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); |
|
11764 |
} |
|
11765 |
static void *_p_wxPyPanelTo_p_wxWindow(void *x) { |
|
11766 |
return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x)); |
|
11767 |
} |
|
11768 |
static void *_p_wxSearchCtrlTo_p_wxWindow(void *x) { |
|
11769 |
return (void *)((wxWindow *) (wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x)); |
|
11770 |
} |
|
11771 |
static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) { |
|
11772 |
return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x)); |
|
11773 |
} |
|
11774 |
static void *_p_wxPickerBaseTo_p_wxWindow(void *x) { |
|
11775 |
return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x)); |
|
11776 |
} |
|
1.1.7
by Devid Antonio Filoni
Import upstream version 2.8.10.1 |
11777 |
static void *_p_wxPyPickerBaseTo_p_wxWindow(void *x) { |
11778 |
return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxPyPickerBase *) x)); |
|
11779 |
} |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
11780 |
static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) { |
11781 |
return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x)); |
|
11782 |
} |
|
11783 |
static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) { |
|
11784 |
return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); |
|
11785 |
} |
|
11786 |
static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) { |
|
11787 |
return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x)); |
|
11788 |
} |
|
11789 |
static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) { |
|
11790 |
return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); |
|
11791 |
} |
|
11792 |
static void *_p_wxStaticLineTo_p_wxWindow(void *x) { |
|
11793 |
return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x)); |
|
11794 |
} |
|
11795 |
static void *_p_wxControlTo_p_wxWindow(void *x) { |
|
11796 |
return (void *)((wxWindow *) ((wxControl *) x)); |
|
11797 |
} |
|
11798 |
static void *_p_wxPyControlTo_p_wxWindow(void *x) { |
|
11799 |
return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x)); |
|
11800 |
} |
|
11801 |
static void *_p_wxGaugeTo_p_wxWindow(void *x) { |
|
11802 |
return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x)); |
|
11803 |
} |
|
11804 |
static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) { |
|
11805 |
return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x)); |
|
11806 |
} |
|
11807 |
static void *_p_wxToggleButtonTo_p_wxWindow(void *x) { |
|
11808 |
return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x)); |
|
11809 |
} |
|
11810 |
static void *_p_wxRadioButtonTo_p_wxWindow(void *x) { |
|
11811 |
return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x)); |
|
11812 |
} |
|
11813 |
static void *_p_wxChoiceTo_p_wxWindow(void *x) { |
|
11814 |
return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x)); |
|
11815 |
} |
|
11816 |
static void *_p_wxTreebookTo_p_wxWindow(void *x) { |
|
11817 |
return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x)); |
|
11818 |
} |
|
11819 |
static void *_p_wxListViewTo_p_wxWindow(void *x) { |
|
11820 |
return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x)); |
|
11821 |
} |
|
11822 |
static void *_p_wxTextCtrlTo_p_wxWindow(void *x) { |
|
11823 |
return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x)); |
|
11824 |
} |
|
11825 |
static void *_p_wxNotebookTo_p_wxWindow(void *x) { |
|
11826 |
return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x)); |
|
11827 |
} |
|
11828 |
static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) { |
|
11829 |
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); |
|
11830 |
} |
|
11831 |
static void *_p_wxChoicebookTo_p_wxWindow(void *x) { |
|
11832 |
return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x)); |
|
11833 |
} |
|
11834 |
static void *_p_wxPyWindowTo_p_wxWindow(void *x) { |
|
11835 |
return (void *)((wxWindow *) ((wxPyWindow *) x)); |
|
11836 |
} |
|
11837 |
static void *_p_wxSplashScreenTo_p_wxWindow(void *x) { |
|
11838 |
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); |
|
11839 |
} |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
11840 |
static void *_p_wxDatePickerCtrlGenericTo_p_wxWindow(void *x) { |
11841 |
return (void *)((wxWindow *) (wxControl *)(wxDatePickerCtrlBase *)(wxDatePickerCtrl *) ((wxDatePickerCtrlGeneric *) x)); |
|
11842 |
} |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
11843 |
static void *_p_wxListbookTo_p_wxWindow(void *x) { |
11844 |
return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x)); |
|
11845 |
} |
|
11846 |
static void *_p_wxFileDialogTo_p_wxWindow(void *x) { |
|
11847 |
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); |
|
11848 |
} |
|
11849 |
static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) { |
|
11850 |
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); |
|
11851 |
} |
|
11852 |
static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) { |
|
11853 |
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); |
|
11854 |
} |
|
11855 |
static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) { |
|
11856 |
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); |
|
11857 |
} |
|
11858 |
static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) { |
|
11859 |
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); |
|
11860 |
} |
|
11861 |
static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) { |
|
11862 |
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); |
|
11863 |
} |
|
11864 |
static void *_p_wxMessageDialogTo_p_wxWindow(void *x) { |
|
11865 |
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); |
|
11866 |
} |
|
11867 |
static void *_p_wxProgressDialogTo_p_wxWindow(void *x) { |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
11868 |
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxProgressDialog *) x)); |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
11869 |
} |
11870 |
static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) { |
|
11871 |
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); |
|
11872 |
} |
|
11873 |
static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) { |
|
11874 |
return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x)); |
|
11875 |
} |
|
11876 |
static void *_p_wxSliderTo_p_wxWindow(void *x) { |
|
11877 |
return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x)); |
|
11878 |
} |
|
11879 |
static void *_p_wxStaticBoxTo_p_wxWindow(void *x) { |
|
11880 |
return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x)); |
|
11881 |
} |
|
11882 |
static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) { |
|
11883 |
return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x)); |
|
11884 |
} |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
11885 |
static void *_p_wxDatePickerCtrlBaseTo_p_wxWindow(void *x) { |
11886 |
return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrlBase *) x)); |
|
11887 |
} |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
11888 |
static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) { |
11889 |
return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); |
|
11890 |
} |
|
11891 |
static void *_p_wxListBoxTo_p_wxWindow(void *x) { |
|
11892 |
return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x)); |
|
11893 |
} |
|
11894 |
static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) { |
|
11895 |
return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); |
|
11896 |
} |
|
11897 |
static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) { |
|
11898 |
return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); |
|
11899 |
} |
|
11900 |
static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) { |
|
11901 |
return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); |
|
11902 |
} |
|
11903 |
static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) { |
|
11904 |
return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x)); |
|
11905 |
} |
|
11906 |
static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) { |
|
11907 |
return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x)); |
|
11908 |
} |
|
11909 |
static void *_p_wxSpinButtonTo_p_wxWindow(void *x) { |
|
11910 |
return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x)); |
|
11911 |
} |
|
11912 |
static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) { |
|
11913 |
return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x)); |
|
11914 |
} |
|
11915 |
static void *_p_wxButtonTo_p_wxWindow(void *x) { |
|
11916 |
return (void *)((wxWindow *) (wxControl *) ((wxButton *) x)); |
|
11917 |
} |
|
11918 |
static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) { |
|
11919 |
return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); |
|
11920 |
} |
|
11921 |
static void *_p_wxRadioBoxTo_p_wxWindow(void *x) { |
|
11922 |
return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x)); |
|
11923 |
} |
|
11924 |
static void *_p_wxScrollBarTo_p_wxWindow(void *x) { |
|
11925 |
return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x)); |
|
11926 |
} |
|
11927 |
static void *_p_wxComboBoxTo_p_wxWindow(void *x) { |
|
11928 |
return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x)); |
|
11929 |
} |
|
11930 |
static void *_p_wxMiniFrameTo_p_wxWindow(void *x) { |
|
11931 |
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); |
|
11932 |
} |
|
11933 |
static void *_p_wxFrameTo_p_wxWindow(void *x) { |
|
11934 |
return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x)); |
|
11935 |
} |
|
11936 |
static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) { |
|
11937 |
return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x)); |
|
11938 |
} |
|
11939 |
static void *_p_wxStatusBarTo_p_wxWindow(void *x) { |
|
11940 |
return (void *)((wxWindow *) ((wxStatusBar *) x)); |
|
11941 |
} |
|
11942 |
static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) { |
|
11943 |
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); |
|
11944 |
} |
|
11945 |
static void *_p_wxStaticPictureTo_p_wxWindow(void *x) { |
|
11946 |
return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x)); |
|
11947 |
} |
|
11948 |
static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) { |
|
11949 |
return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); |
|
11950 |
} |
|
11951 |
static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) { |
|
11952 |
return (void *)((wxWindow *) ((wxMDIClientWindow *) x)); |
|
11953 |
} |
|
11954 |
static void *_p_wxSashWindowTo_p_wxWindow(void *x) { |
|
11955 |
return (void *)((wxWindow *) ((wxSashWindow *) x)); |
|
11956 |
} |
|
11957 |
static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) { |
|
11958 |
return (void *)((wxWindow *) ((wxSplitterWindow *) x)); |
|
11959 |
} |
|
11960 |
static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) { |
|
11961 |
return (void *)((wxWindow *) ((wxSplashScreenWindow *) x)); |
|
11962 |
} |
|
11963 |
static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) { |
|
11964 |
return (void *)((wxWindow *) ((wxTopLevelWindow *) x)); |
|
11965 |
} |
|
11966 |
static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) { |
|
11967 |
return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x)); |
|
11968 |
} |
|
11969 |
static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) { |
|
11970 |
return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x)); |
|
11971 |
} |
|
11972 |
static void *_p_wxPopupWindowTo_p_wxWindow(void *x) { |
|
11973 |
return (void *)((wxWindow *) ((wxPopupWindow *) x)); |
|
11974 |
} |
|
11975 |
static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) { |
|
11976 |
return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); |
|
11977 |
} |
|
11978 |
static void *_p_wxTipWindowTo_p_wxWindow(void *x) { |
|
11979 |
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); |
|
11980 |
} |
|
11981 |
static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) { |
|
11982 |
return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x)); |
|
11983 |
} |
|
11984 |
static void *_p_wxMenuBarTo_p_wxWindow(void *x) { |
|
11985 |
return (void *)((wxWindow *) ((wxMenuBar *) x)); |
|
11986 |
} |
|
11987 |
static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) { |
|
11988 |
return (void *)((wxWindow *) ((wxDynamicSashWindow *) x)); |
|
11989 |
} |
|
11990 |
static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) { |
|
11991 |
return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x)); |
|
11992 |
} |
|
11993 |
static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) { |
|
11994 |
return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x)); |
|
11995 |
} |
|
11996 |
static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) { |
|
11997 |
return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); |
|
11998 |
} |
|
11999 |
static void *_p_wxDialogTo_p_wxWindow(void *x) { |
|
12000 |
return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x)); |
|
12001 |
} |
|
12002 |
static void *_p_wxColourDialogTo_p_wxWindow(void *x) { |
|
12003 |
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); |
|
12004 |
} |
|
12005 |
static void *_p_wxDirDialogTo_p_wxWindow(void *x) { |
|
12006 |
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); |
|
12007 |
} |
|
12008 |
static void *_p_wxFontDialogTo_p_wxWindow(void *x) { |
|
12009 |
return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); |
|
12010 |
} |
|
12011 |
static void *_p_wxPanelTo_p_wxWindow(void *x) { |
|
12012 |
return (void *)((wxWindow *) ((wxPanel *) x)); |
|
12013 |
} |
|
12014 |
static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x) { |
|
12015 |
return (void *)((wxWindow *) (wxControl *) ((wxCollapsiblePane *) x)); |
|
12016 |
} |
|
12017 |
static void *_p_wxStaticTextTo_p_wxWindow(void *x) { |
|
12018 |
return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x)); |
|
12019 |
} |
|
12020 |
static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) { |
|
12021 |
return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); |
|
12022 |
} |
|
12023 |
static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) { |
|
12024 |
return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x)); |
|
12025 |
} |
|
12026 |
static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) { |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
12027 |
return (void *)((wxWindow *) (wxControl *)(wxDatePickerCtrlBase *) ((wxDatePickerCtrl *) x)); |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
12028 |
} |
12029 |
static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) { |
|
12030 |
return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x)); |
|
12031 |
} |
|
12032 |
static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) { |
|
12033 |
return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x)); |
|
12034 |
} |
|
12035 |
static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) { |
|
12036 |
return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x)); |
|
12037 |
} |
|
12038 |
static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { |
|
12039 |
return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); |
|
12040 |
} |
|
12041 |
static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) { |
|
12042 |
return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x)); |
|
12043 |
} |
|
12044 |
static void *_p_wxToolBarTo_p_wxWindow(void *x) { |
|
12045 |
return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x)); |
|
12046 |
} |
|
12047 |
static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) { |
|
12048 |
return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x)); |
|
12049 |
} |
|
12050 |
static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) { |
|
12051 |
return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x)); |
|
12052 |
} |
|
12053 |
static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) { |
|
12054 |
return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); |
|
12055 |
} |
|
12056 |
static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) { |
|
12057 |
return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x)); |
|
12058 |
} |
|
12059 |
static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x) { |
|
12060 |
return (void *)((wxControl *) ((wxCollapsiblePane *) x)); |
|
12061 |
} |
|
12062 |
static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) { |
|
12063 |
return (void *)((wxControl *) ((wxBookCtrlBase *) x)); |
|
12064 |
} |
|
12065 |
static void *_p_wxToolBarTo_p_wxControl(void *x) { |
|
12066 |
return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x)); |
|
12067 |
} |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
12068 |
static void *_p_wxDatePickerCtrlBaseTo_p_wxControl(void *x) { |
12069 |
return (void *)((wxControl *) ((wxDatePickerCtrlBase *) x)); |
|
12070 |
} |
|
12071 |
static void *_p_wxDatePickerCtrlGenericTo_p_wxControl(void *x) { |
|
12072 |
return (void *)((wxControl *) (wxDatePickerCtrlBase *)(wxDatePickerCtrl *) ((wxDatePickerCtrlGeneric *) x)); |
|
12073 |
} |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
12074 |
static void *_p_wxPickerBaseTo_p_wxControl(void *x) { |
12075 |
return (void *)((wxControl *) ((wxPickerBase *) x)); |
|
12076 |
} |
|
1.1.7
by Devid Antonio Filoni
Import upstream version 2.8.10.1 |
12077 |
static void *_p_wxPyPickerBaseTo_p_wxControl(void *x) { |
12078 |
return (void *)((wxControl *) (wxPickerBase *) ((wxPyPickerBase *) x)); |
|
12079 |
} |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
12080 |
static void *_p_wxToggleButtonTo_p_wxControl(void *x) { |
12081 |
return (void *)((wxControl *) ((wxToggleButton *) x)); |
|
12082 |
} |
|
12083 |
static void *_p_wxRadioButtonTo_p_wxControl(void *x) { |
|
12084 |
return (void *)((wxControl *) ((wxRadioButton *) x)); |
|
12085 |
} |
|
12086 |
static void *_p_wxSearchCtrlTo_p_wxControl(void *x) { |
|
12087 |
return (void *)((wxControl *) (wxTextCtrl *) ((wxSearchCtrl *) x)); |
|
12088 |
} |
|
12089 |
static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) { |
|
12090 |
return (void *)((wxControl *) ((wxLEDNumberCtrl *) x)); |
|
12091 |
} |
|
12092 |
static void *_p_wxToolbookTo_p_wxControl(void *x) { |
|
12093 |
return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x)); |
|
12094 |
} |
|
12095 |
static void *_p_wxToolBarBaseTo_p_wxControl(void *x) { |
|
12096 |
return (void *)((wxControl *) ((wxToolBarBase *) x)); |
|
12097 |
} |
|
12098 |
static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) { |
|
12099 |
return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); |
|
12100 |
} |
|
12101 |
static void *_p_wxPyListCtrlTo_p_wxControl(void *x) { |
|
12102 |
return (void *)((wxControl *) ((wxPyListCtrl *) x)); |
|
12103 |
} |
|
12104 |
static void *_p_wxComboBoxTo_p_wxControl(void *x) { |
|
12105 |
return (void *)((wxControl *) ((wxComboBox *) x)); |
|
12106 |
} |
|
12107 |
static void *_p_wxPyControlTo_p_wxControl(void *x) { |
|
12108 |
return (void *)((wxControl *) ((wxPyControl *) x)); |
|
12109 |
} |
|
12110 |
static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) { |
|
12111 |
return (void *)((wxControl *) ((wxPyTreeListCtrl *) x)); |
|
12112 |
} |
|
12113 |
static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) { |
|
12114 |
return (void *)((wxControl *) ((wxGenericDirCtrl *) x)); |
|
12115 |
} |
|
12116 |
static void *_p_wxScrollBarTo_p_wxControl(void *x) { |
|
12117 |
return (void *)((wxControl *) ((wxScrollBar *) x)); |
|
12118 |
} |
|
12119 |
static void *_p_wxControlWithItemsTo_p_wxControl(void *x) { |
|
12120 |
return (void *)((wxControl *) ((wxControlWithItems *) x)); |
|
12121 |
} |
|
12122 |
static void *_p_wxGaugeTo_p_wxControl(void *x) { |
|
12123 |
return (void *)((wxControl *) ((wxGauge *) x)); |
|
12124 |
} |
|
12125 |
static void *_p_wxStaticLineTo_p_wxControl(void *x) { |
|
12126 |
return (void *)((wxControl *) ((wxStaticLine *) x)); |
|
12127 |
} |
|
12128 |
static void *_p_wxChoicebookTo_p_wxControl(void *x) { |
|
12129 |
return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x)); |
|
12130 |
} |
|
12131 |
static void *_p_wxListbookTo_p_wxControl(void *x) { |
|
12132 |
return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x)); |
|
12133 |
} |
|
12134 |
static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) { |
|
12135 |
return (void *)((wxControl *) ((wxHyperlinkCtrl *) x)); |
|
12136 |
} |
|
12137 |
static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) { |
|
12138 |
return (void *)((wxControl *) ((wxPyTreeCtrl *) x)); |
|
12139 |
} |
|
12140 |
static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) { |
|
12141 |
return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); |
|
12142 |
} |
|
12143 |
static void *_p_wxCheckBoxTo_p_wxControl(void *x) { |
|
12144 |
return (void *)((wxControl *) ((wxCheckBox *) x)); |
|
12145 |
} |
|
12146 |
static void *_p_wxRadioBoxTo_p_wxControl(void *x) { |
|
12147 |
return (void *)((wxControl *) ((wxRadioBox *) x)); |
|
12148 |
} |
|
12149 |
static void *_p_wxChoiceTo_p_wxControl(void *x) { |
|
12150 |
return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x)); |
|
12151 |
} |
|
12152 |
static void *_p_wxListBoxTo_p_wxControl(void *x) { |
|
12153 |
return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x)); |
|
12154 |
} |
|
12155 |
static void *_p_wxCheckListBoxTo_p_wxControl(void *x) { |
|
12156 |
return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); |
|
12157 |
} |
|
12158 |
static void *_p_wxListViewTo_p_wxControl(void *x) { |
|
12159 |
return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x)); |
|
12160 |
} |
|
12161 |
static void *_p_wxNotebookTo_p_wxControl(void *x) { |
|
12162 |
return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x)); |
|
12163 |
} |
|
12164 |
static void *_p_wxStaticBitmapTo_p_wxControl(void *x) { |
|
12165 |
return (void *)((wxControl *) ((wxStaticBitmap *) x)); |
|
12166 |
} |
|
12167 |
static void *_p_wxSpinCtrlTo_p_wxControl(void *x) { |
|
12168 |
return (void *)((wxControl *) ((wxSpinCtrl *) x)); |
|
12169 |
} |
|
12170 |
static void *_p_wxStaticTextTo_p_wxControl(void *x) { |
|
12171 |
return (void *)((wxControl *) ((wxStaticText *) x)); |
|
12172 |
} |
|
12173 |
static void *_p_wxStaticBoxTo_p_wxControl(void *x) { |
|
12174 |
return (void *)((wxControl *) ((wxStaticBox *) x)); |
|
12175 |
} |
|
12176 |
static void *_p_wxSliderTo_p_wxControl(void *x) { |
|
12177 |
return (void *)((wxControl *) ((wxSlider *) x)); |
|
12178 |
} |
|
12179 |
static void *_p_wxTreebookTo_p_wxControl(void *x) { |
|
12180 |
return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x)); |
|
12181 |
} |
|
12182 |
static void *_p_wxSpinButtonTo_p_wxControl(void *x) { |
|
12183 |
return (void *)((wxControl *) ((wxSpinButton *) x)); |
|
12184 |
} |
|
12185 |
static void *_p_wxButtonTo_p_wxControl(void *x) { |
|
12186 |
return (void *)((wxControl *) ((wxButton *) x)); |
|
12187 |
} |
|
12188 |
static void *_p_wxBitmapButtonTo_p_wxControl(void *x) { |
|
12189 |
return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x)); |
|
12190 |
} |
|
12191 |
static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) { |
|
12192 |
return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); |
|
12193 |
} |
|
12194 |
static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) { |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
12195 |
return (void *)((wxControl *) (wxDatePickerCtrlBase *) ((wxDatePickerCtrl *) x)); |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
12196 |
} |
12197 |
static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) { |
|
12198 |
return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x)); |
|
12199 |
} |
|
12200 |
static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) { |
|
12201 |
return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x)); |
|
12202 |
} |
|
12203 |
static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) { |
|
12204 |
return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x)); |
|
12205 |
} |
|
12206 |
static void *_p_wxStaticPictureTo_p_wxControl(void *x) { |
|
12207 |
return (void *)((wxControl *) ((wxStaticPicture *) x)); |
|
12208 |
} |
|
12209 |
static void *_p_wxTextCtrlTo_p_wxControl(void *x) { |
|
12210 |
return (void *)((wxControl *) ((wxTextCtrl *) x)); |
|
12211 |
} |
|
12212 |
static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) { |
|
12213 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x)); |
|
12214 |
} |
|
12215 |
static void *_p_wxMenuEventTo_p_wxEvent(void *x) { |
|
12216 |
return (void *)((wxEvent *) ((wxMenuEvent *) x)); |
|
12217 |
} |
|
12218 |
static void *_p_wxCloseEventTo_p_wxEvent(void *x) { |
|
12219 |
return (void *)((wxEvent *) ((wxCloseEvent *) x)); |
|
12220 |
} |
|
12221 |
static void *_p_wxMouseEventTo_p_wxEvent(void *x) { |
|
12222 |
return (void *)((wxEvent *) ((wxMouseEvent *) x)); |
|
12223 |
} |
|
12224 |
static void *_p_wxEraseEventTo_p_wxEvent(void *x) { |
|
12225 |
return (void *)((wxEvent *) ((wxEraseEvent *) x)); |
|
12226 |
} |
|
12227 |
static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) { |
|
12228 |
return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x)); |
|
12229 |
} |
|
12230 |
static void *_p_wxTreeEventTo_p_wxEvent(void *x) { |
|
12231 |
return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x)); |
|
12232 |
} |
|
12233 |
static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) { |
|
12234 |
return (void *)((wxEvent *) ((wxSetCursorEvent *) x)); |
|
12235 |
} |
|
12236 |
static void *_p_wxSplitterEventTo_p_wxEvent(void *x) { |
|
12237 |
return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); |
|
12238 |
} |
|
12239 |
static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) { |
|
12240 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x)); |
|
12241 |
} |
|
12242 |
static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) { |
|
12243 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x)); |
|
12244 |
} |
|
12245 |
static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) { |
|
12246 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x)); |
|
12247 |
} |
|
12248 |
static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) { |
|
12249 |
return (void *)((wxEvent *) ((wxInitDialogEvent *) x)); |
|
12250 |
} |
|
12251 |
static void *_p_wxScrollEventTo_p_wxEvent(void *x) { |
|
12252 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x)); |
|
12253 |
} |
|
12254 |
static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) { |
|
12255 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x)); |
|
12256 |
} |
|
12257 |
static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) { |
|
12258 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x)); |
|
12259 |
} |
|
12260 |
static void *_p_wxNotifyEventTo_p_wxEvent(void *x) { |
|
12261 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x)); |
|
12262 |
} |
|
12263 |
static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) { |
|
12264 |
return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x)); |
|
12265 |
} |
|
12266 |
static void *_p_wxPyEventTo_p_wxEvent(void *x) { |
|
12267 |
return (void *)((wxEvent *) ((wxPyEvent *) x)); |
|
12268 |
} |
|
12269 |
static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) { |
|
12270 |
return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x)); |
|
12271 |
} |
|
12272 |
static void *_p_wxListEventTo_p_wxEvent(void *x) { |
|
12273 |
return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x)); |
|
12274 |
} |
|
12275 |
static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) { |
|
12276 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x)); |
|
12277 |
} |
|
12278 |
static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) { |
|
12279 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x)); |
|
12280 |
} |
|
12281 |
static void *_p_wxNotebookEventTo_p_wxEvent(void *x) { |
|
12282 |
return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x)); |
|
12283 |
} |
|
12284 |
static void *_p_wxListbookEventTo_p_wxEvent(void *x) { |
|
12285 |
return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x)); |
|
12286 |
} |
|
12287 |
static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) { |
|
12288 |
return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x)); |
|
12289 |
} |
|
12290 |
static void *_p_wxTreebookEventTo_p_wxEvent(void *x) { |
|
12291 |
return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x)); |
|
12292 |
} |
|
12293 |
static void *_p_wxToolbookEventTo_p_wxEvent(void *x) { |
|
12294 |
return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x)); |
|
12295 |
} |
|
12296 |
static void *_p_wxHelpEventTo_p_wxEvent(void *x) { |
|
12297 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x)); |
|
12298 |
} |
|
12299 |
static void *_p_wxIdleEventTo_p_wxEvent(void *x) { |
|
12300 |
return (void *)((wxEvent *) ((wxIdleEvent *) x)); |
|
12301 |
} |
|
12302 |
static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) { |
|
12303 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x)); |
|
12304 |
} |
|
12305 |
static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) { |
|
12306 |
return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x)); |
|
12307 |
} |
|
12308 |
static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) { |
|
12309 |
return (void *)((wxEvent *) ((wxMaximizeEvent *) x)); |
|
12310 |
} |
|
12311 |
static void *_p_wxIconizeEventTo_p_wxEvent(void *x) { |
|
12312 |
return (void *)((wxEvent *) ((wxIconizeEvent *) x)); |
|
12313 |
} |
|
12314 |
static void *_p_wxActivateEventTo_p_wxEvent(void *x) { |
|
12315 |
return (void *)((wxEvent *) ((wxActivateEvent *) x)); |
|
12316 |
} |
|
12317 |
static void *_p_wxSizeEventTo_p_wxEvent(void *x) { |
|
12318 |
return (void *)((wxEvent *) ((wxSizeEvent *) x)); |
|
12319 |
} |
|
12320 |
static void *_p_wxMoveEventTo_p_wxEvent(void *x) { |
|
12321 |
return (void *)((wxEvent *) ((wxMoveEvent *) x)); |
|
12322 |
} |
|
12323 |
static void *_p_wxDateEventTo_p_wxEvent(void *x) { |
|
12324 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x)); |
|
12325 |
} |
|
12326 |
static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x) { |
|
12327 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxCollapsiblePaneEvent *) x)); |
|
12328 |
} |
|
12329 |
static void *_p_wxPaintEventTo_p_wxEvent(void *x) { |
|
12330 |
return (void *)((wxEvent *) ((wxPaintEvent *) x)); |
|
12331 |
} |
|
12332 |
static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) { |
|
12333 |
return (void *)((wxEvent *) ((wxNcPaintEvent *) x)); |
|
12334 |
} |
|
12335 |
static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) { |
|
12336 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x)); |
|
12337 |
} |
|
12338 |
static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) { |
|
12339 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x)); |
|
12340 |
} |
|
12341 |
static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) { |
|
12342 |
return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x)); |
|
12343 |
} |
|
12344 |
static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) { |
|
12345 |
return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x)); |
|
12346 |
} |
|
12347 |
static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) { |
|
12348 |
return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x)); |
|
12349 |
} |
|
12350 |
static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) { |
|
12351 |
return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x)); |
|
12352 |
} |
|
12353 |
static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) { |
|
12354 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x)); |
|
12355 |
} |
|
12356 |
static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) { |
|
12357 |
return (void *)((wxEvent *) ((wxDropFilesEvent *) x)); |
|
12358 |
} |
|
12359 |
static void *_p_wxFocusEventTo_p_wxEvent(void *x) { |
|
12360 |
return (void *)((wxEvent *) ((wxFocusEvent *) x)); |
|
12361 |
} |
|
12362 |
static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) { |
|
12363 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x)); |
|
12364 |
} |
|
12365 |
static void *_p_wxSashEventTo_p_wxEvent(void *x) { |
|
12366 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x)); |
|
12367 |
} |
|
12368 |
static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) { |
|
12369 |
return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x)); |
|
12370 |
} |
|
12371 |
static void *_p_wxShowEventTo_p_wxEvent(void *x) { |
|
12372 |
return (void *)((wxEvent *) ((wxShowEvent *) x)); |
|
12373 |
} |
|
12374 |
static void *_p_wxCommandEventTo_p_wxEvent(void *x) { |
|
12375 |
return (void *)((wxEvent *) ((wxCommandEvent *) x)); |
|
12376 |
} |
|
12377 |
static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) { |
|
12378 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x)); |
|
12379 |
} |
|
12380 |
static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) { |
|
12381 |
return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x)); |
|
12382 |
} |
|
12383 |
static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) { |
|
12384 |
return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x)); |
|
12385 |
} |
|
12386 |
static void *_p_wxKeyEventTo_p_wxEvent(void *x) { |
|
12387 |
return (void *)((wxEvent *) ((wxKeyEvent *) x)); |
|
12388 |
} |
|
12389 |
static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) { |
|
12390 |
return (void *)((wxEvent *) ((wxScrollWinEvent *) x)); |
|
12391 |
} |
|
12392 |
static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) { |
|
12393 |
return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x)); |
|
12394 |
} |
|
12395 |
static void *_p_wxSpinEventTo_p_wxEvent(void *x) { |
|
12396 |
return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x)); |
|
12397 |
} |
|
12398 |
static void *_p_wxScrollBarTo_p_wxObject(void *x) { |
|
12399 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x)); |
|
12400 |
} |
|
12401 |
static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { |
|
12402 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); |
|
12403 |
} |
|
12404 |
static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) { |
|
12405 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); |
|
12406 |
} |
|
12407 |
static void *_p_wxEventTo_p_wxObject(void *x) { |
|
12408 |
return (void *)((wxObject *) ((wxEvent *) x)); |
|
12409 |
} |
|
1.1.4
by Devid Filoni
Import upstream version 2.8.7.1 |
12410 |
static void *_p_wxDirItemDataTo_p_wxObject(void *x) { |
12411 |
return (void *)((wxObject *) ((wxDirItemData *) x)); |
|
12412 |
} |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
12413 |
static void *_p_wxFindDialogEventTo_p_wxObject(void *x) { |
12414 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x)); |
|
12415 |
} |
|
12416 |
static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { |
|
12417 |
return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); |
|
12418 |
} |
|
12419 |
static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { |
|
12420 |
return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); |
|
12421 |
} |
|
12422 |
static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) { |
|
12423 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); |
|
12424 |
} |
|
12425 |
static void *_p_wxPreviewFrameTo_p_wxObject(void *x) { |
|
12426 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); |
|
12427 |
} |
|
12428 |
static void *_p_wxToolBarBaseTo_p_wxObject(void *x) { |
|
12429 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x)); |
|
12430 |
} |
|
12431 |
static void *_p_wxMenuItemTo_p_wxObject(void *x) { |
|
12432 |
return (void *)((wxObject *) ((wxMenuItem *) x)); |
|
12433 |
} |
|
12434 |
static void *_p_wxImageTo_p_wxObject(void *x) { |
|
12435 |
return (void *)((wxObject *) ((wxImage *) x)); |
|
12436 |
} |
|
12437 |
static void *_p_wxPySizerTo_p_wxObject(void *x) { |
|
12438 |
return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); |
|
12439 |
} |
|
12440 |
static void *_p_wxStaticBitmapTo_p_wxObject(void *x) { |
|
12441 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x)); |
|
12442 |
} |
|
12443 |
static void *_p_wxGenericDragImageTo_p_wxObject(void *x) { |
|
12444 |
return (void *)((wxObject *) ((wxGenericDragImage *) x)); |
|
12445 |
} |
|
12446 |
static void *_p_wxComboBoxTo_p_wxObject(void *x) { |
|
12447 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x)); |
|
12448 |
} |
|
12449 |
static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) { |
|
12450 |
return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x)); |
|
12451 |
} |
|
12452 |
static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) { |
|
12453 |
return (void *)((wxObject *) ((wxLayoutAlgorithm *) x)); |
|
12454 |
} |
|
12455 |
static void *_p_wxPyAppTo_p_wxObject(void *x) { |
|
12456 |
return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); |
|
12457 |
} |
|
12458 |
static void *_p_wxTreebookTo_p_wxObject(void *x) { |
|
12459 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x)); |
|
12460 |
} |
|
12461 |
static void *_p_wxNotebookTo_p_wxObject(void *x) { |
|
12462 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x)); |
|
12463 |
} |
|
12464 |
static void *_p_wxListItemTo_p_wxObject(void *x) { |
|
12465 |
return (void *)((wxObject *) ((wxListItem *) x)); |
|
12466 |
} |
|
12467 |
static void *_p_wxChoicebookTo_p_wxObject(void *x) { |
|
12468 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x)); |
|
12469 |
} |
|
12470 |
static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) { |
|
12471 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x)); |
|
12472 |
} |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
12473 |
static void *_p_wxDatePickerCtrlBaseTo_p_wxObject(void *x) { |
12474 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrlBase *) x)); |
|
12475 |
} |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
12476 |
static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) { |
12477 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x)); |
|
12478 |
} |
|
12479 |
static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) { |
|
12480 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); |
|
12481 |
} |
|
12482 |
static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) { |
|
12483 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); |
|
12484 |
} |
|
12485 |
static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) { |
|
12486 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); |
|
12487 |
} |
|
12488 |
static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) { |
|
12489 |
return (void *)((wxObject *) ((wxFindReplaceData *) x)); |
|
12490 |
} |
|
12491 |
static void *_p_wxStaticLineTo_p_wxObject(void *x) { |
|
12492 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x)); |
|
12493 |
} |
|
12494 |
static void *_p_wxValidatorTo_p_wxObject(void *x) { |
|
12495 |
return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); |
|
12496 |
} |
|
12497 |
static void *_p_wxPyValidatorTo_p_wxObject(void *x) { |
|
12498 |
return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); |
|
12499 |
} |
|
12500 |
static void *_p_wxEraseEventTo_p_wxObject(void *x) { |
|
12501 |
return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); |
|
12502 |
} |
|
12503 |
static void *_p_wxMouseEventTo_p_wxObject(void *x) { |
|
12504 |
return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); |
|
12505 |
} |
|
12506 |
static void *_p_wxCloseEventTo_p_wxObject(void *x) { |
|
12507 |
return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); |
|
12508 |
} |
|
12509 |
static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) { |
|
12510 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x)); |
|
12511 |
} |
|
12512 |
static void *_p_wxTreeEventTo_p_wxObject(void *x) { |
|
12513 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x)); |
|
12514 |
} |
|
12515 |
static void *_p_wxTextUrlEventTo_p_wxObject(void *x) { |
|
12516 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x)); |
|
12517 |
} |
|
12518 |
static void *_p_wxScrollEventTo_p_wxObject(void *x) { |
|
12519 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); |
|
12520 |
} |
|
12521 |
static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) { |
|
12522 |
return (void *)((wxObject *) ((wxPrintDialogData *) x)); |
|
12523 |
} |
|
12524 |
static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) { |
|
12525 |
return (void *)((wxObject *) ((wxPageSetupDialogData *) x)); |
|
12526 |
} |
|
12527 |
static void *_p_wxPrinterTo_p_wxObject(void *x) { |
|
12528 |
return (void *)((wxObject *) ((wxPrinter *) x)); |
|
12529 |
} |
|
12530 |
static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { |
|
12531 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); |
|
12532 |
} |
|
12533 |
static void *_p_wxRadioBoxTo_p_wxObject(void *x) { |
|
12534 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x)); |
|
12535 |
} |
|
12536 |
static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x) { |
|
12537 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCollapsiblePane *) x)); |
|
12538 |
} |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
12539 |
static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { |
12540 |
return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); |
|
12541 |
} |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
12542 |
static void *_p_wxGridSizerTo_p_wxObject(void *x) { |
12543 |
return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); |
|
12544 |
} |
|
12545 |
static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { |
|
12546 |
return (void *)((wxObject *) ((wxAcceleratorTable *) x)); |
|
12547 |
} |
|
12548 |
static void *_p_wxSearchCtrlTo_p_wxObject(void *x) { |
|
12549 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x)); |
|
12550 |
} |
|
12551 |
static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) { |
|
12552 |
return (void *)((wxObject *) ((wxTreeListColumnInfo *) x)); |
|
12553 |
} |
|
12554 |
static void *_p_wxControlTo_p_wxObject(void *x) { |
|
12555 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); |
|
12556 |
} |
|
12557 |
static void *_p_wxPyControlTo_p_wxObject(void *x) { |
|
12558 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x)); |
|
12559 |
} |
|
12560 |
static void *_p_wxContextHelpTo_p_wxObject(void *x) { |
|
12561 |
return (void *)((wxObject *) ((wxContextHelp *) x)); |
|
12562 |
} |
|
12563 |
static void *_p_wxColourDataTo_p_wxObject(void *x) { |
|
12564 |
return (void *)((wxObject *) ((wxColourData *) x)); |
|
12565 |
} |
|
12566 |
static void *_p_wxMoveEventTo_p_wxObject(void *x) { |
|
12567 |
return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); |
|
12568 |
} |
|
12569 |
static void *_p_wxSizeEventTo_p_wxObject(void *x) { |
|
12570 |
return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); |
|
12571 |
} |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
12572 |
static void *_p_wxActivateEventTo_p_wxObject(void *x) { |
12573 |
return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); |
|
12574 |
} |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
12575 |
static void *_p_wxIconizeEventTo_p_wxObject(void *x) { |
12576 |
return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); |
|
12577 |
} |
|
12578 |
static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { |
|
12579 |
return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); |
|
12580 |
} |
|
12581 |
static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { |
|
12582 |
return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); |
|
12583 |
} |
|
12584 |
static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { |
|
12585 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); |
|
12586 |
} |
|
12587 |
static void *_p_wxIdleEventTo_p_wxObject(void *x) { |
|
12588 |
return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); |
|
12589 |
} |
|
12590 |
static void *_p_wxDateEventTo_p_wxObject(void *x) { |
|
12591 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x)); |
|
12592 |
} |
|
12593 |
static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x) { |
|
12594 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxCollapsiblePaneEvent *) x)); |
|
12595 |
} |
|
12596 |
static void *_p_wxStaticTextTo_p_wxObject(void *x) { |
|
12597 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x)); |
|
12598 |
} |
|
12599 |
static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) { |
|
12600 |
return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x)); |
|
12601 |
} |
|
12602 |
static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) { |
|
12603 |
return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x)); |
|
12604 |
} |
|
12605 |
static void *_p_wxListEventTo_p_wxObject(void *x) { |
|
12606 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x)); |
|
12607 |
} |
|
12608 |
static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) { |
|
12609 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x)); |
|
12610 |
} |
|
12611 |
static void *_p_wxPyPrintoutTo_p_wxObject(void *x) { |
|
12612 |
return (void *)((wxObject *) ((wxPyPrintout *) x)); |
|
12613 |
} |
|
12614 |
static void *_p_wxGaugeTo_p_wxObject(void *x) { |
|
12615 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x)); |
|
12616 |
} |
|
12617 |
static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) { |
|
12618 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); |
|
12619 |
} |
|
12620 |
static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) { |
|
12621 |
return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x)); |
|
12622 |
} |
|
12623 |
static void *_p_wxChoiceTo_p_wxObject(void *x) { |
|
12624 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x)); |
|
12625 |
} |
|
12626 |
static void *_p_wxSpinButtonTo_p_wxObject(void *x) { |
|
12627 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x)); |
|
12628 |
} |
|
12629 |
static void *_p_wxBitmapButtonTo_p_wxObject(void *x) { |
|
12630 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x)); |
|
12631 |
} |
|
12632 |
static void *_p_wxButtonTo_p_wxObject(void *x) { |
|
12633 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x)); |
|
12634 |
} |
|
12635 |
static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) { |
|
12636 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); |
|
12637 |
} |
|
12638 |
static void *_p_wxKeyEventTo_p_wxObject(void *x) { |
|
12639 |
return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); |
|
12640 |
} |
|
12641 |
static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { |
|
12642 |
return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); |
|
12643 |
} |
|
12644 |
static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { |
|
12645 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); |
|
12646 |
} |
|
12647 |
static void *_p_wxSashEventTo_p_wxObject(void *x) { |
|
12648 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x)); |
|
12649 |
} |
|
12650 |
static void *_p_wxCheckListBoxTo_p_wxObject(void *x) { |
|
12651 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); |
|
12652 |
} |
|
12653 |
static void *_p_wxListBoxTo_p_wxObject(void *x) { |
|
12654 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x)); |
|
12655 |
} |
|
12656 |
static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) { |
|
12657 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); |
|
12658 |
} |
|
12659 |
static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) { |
|
12660 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); |
|
12661 |
} |
|
12662 |
static void *_p_wxPyVListBoxTo_p_wxObject(void *x) { |
|
12663 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); |
|
12664 |
} |
|
12665 |
static void *_p_wxPrintDataTo_p_wxObject(void *x) { |
|
12666 |
return (void *)((wxObject *) ((wxPrintData *) x)); |
|
12667 |
} |
|
12668 |
static void *_p_wxFontDataTo_p_wxObject(void *x) { |
|
12669 |
return (void *)((wxObject *) ((wxFontData *) x)); |
|
12670 |
} |
|
12671 |
static void *_p_wxEditableListBoxTo_p_wxObject(void *x) { |
|
12672 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x)); |
|
12673 |
} |
|
12674 |
static void *_p_wxMiniFrameTo_p_wxObject(void *x) { |
|
12675 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); |
|
12676 |
} |
|
12677 |
static void *_p_wxListbookTo_p_wxObject(void *x) { |
|
12678 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x)); |
|
12679 |
} |
|
12680 |
static void *_p_wxFrameTo_p_wxObject(void *x) { |
|
12681 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); |
|
12682 |
} |
|
12683 |
static void *_p_wxPyPanelTo_p_wxObject(void *x) { |
|
12684 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x)); |
|
12685 |
} |
|
12686 |
static void *_p_wxStaticBoxTo_p_wxObject(void *x) { |
|
12687 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x)); |
|
12688 |
} |
|
12689 |
static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) { |
|
12690 |
return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x)); |
|
12691 |
} |
|
12692 |
static void *_p_wxSplashScreenTo_p_wxObject(void *x) { |
|
12693 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); |
|
12694 |
} |
|
12695 |
static void *_p_wxFileSystemTo_p_wxObject(void *x) { |
|
12696 |
return (void *)((wxObject *) ((wxFileSystem *) x)); |
|
12697 |
} |
|
12698 |
static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) { |
|
12699 |
return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x)); |
|
12700 |
} |
|
12701 |
static void *_p_wxPrintPreviewTo_p_wxObject(void *x) { |
|
12702 |
return (void *)((wxObject *) ((wxPrintPreview *) x)); |
|
12703 |
} |
|
12704 |
static void *_p_wxListViewTo_p_wxObject(void *x) { |
|
12705 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x)); |
|
12706 |
} |
|
12707 |
static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { |
|
12708 |
return (void *)((wxObject *) ((wxLayoutConstraints *) x)); |
|
12709 |
} |
|
12710 |
static void *_p_wxPyListCtrlTo_p_wxObject(void *x) { |
|
12711 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x)); |
|
12712 |
} |
|
12713 |
static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) { |
|
12714 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); |
|
12715 |
} |
|
12716 |
static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) { |
|
12717 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x)); |
|
12718 |
} |
|
12719 |
static void *_p_wxSizerTo_p_wxObject(void *x) { |
|
12720 |
return (void *)((wxObject *) ((wxSizer *) x)); |
|
12721 |
} |
|
12722 |
static void *_p_wxBoxSizerTo_p_wxObject(void *x) { |
|
12723 |
return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); |
|
12724 |
} |
|
12725 |
static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { |
|
12726 |
return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); |
|
12727 |
} |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
12728 |
static void *_p_wxDatePickerCtrlGenericTo_p_wxObject(void *x) { |
12729 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxDatePickerCtrlBase *)(wxDatePickerCtrl *) ((wxDatePickerCtrlGeneric *) x)); |
|
12730 |
} |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
12731 |
static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { |
12732 |
return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); |
|
12733 |
} |
|
12734 |
static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { |
|
12735 |
return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); |
|
12736 |
} |
|
12737 |
static void *_p_wxPaintEventTo_p_wxObject(void *x) { |
|
12738 |
return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); |
|
12739 |
} |
|
12740 |
static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) { |
|
12741 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x)); |
|
12742 |
} |
|
12743 |
static void *_p_wxFSFileTo_p_wxObject(void *x) { |
|
12744 |
return (void *)((wxObject *) ((wxFSFile *) x)); |
|
12745 |
} |
|
12746 |
static void *_p_wxPickerBaseTo_p_wxObject(void *x) { |
|
12747 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x)); |
|
12748 |
} |
|
1.1.7
by Devid Antonio Filoni
Import upstream version 2.8.10.1 |
12749 |
static void *_p_wxPyPickerBaseTo_p_wxObject(void *x) { |
12750 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxPyPickerBase *) x)); |
|
12751 |
} |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
12752 |
static void *_p_wxSplitterEventTo_p_wxObject(void *x) { |
12753 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x)); |
|
12754 |
} |
|
12755 |
static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { |
|
12756 |
return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); |
|
12757 |
} |
|
12758 |
static void *_p_wxColourPickerEventTo_p_wxObject(void *x) { |
|
12759 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x)); |
|
12760 |
} |
|
12761 |
static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) { |
|
12762 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x)); |
|
12763 |
} |
|
12764 |
static void *_p_wxFontPickerEventTo_p_wxObject(void *x) { |
|
12765 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x)); |
|
12766 |
} |
|
12767 |
static void *_p_wxTextCtrlTo_p_wxObject(void *x) { |
|
12768 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x)); |
|
12769 |
} |
|
12770 |
static void *_p_wxMenuTo_p_wxObject(void *x) { |
|
12771 |
return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); |
|
12772 |
} |
|
12773 |
static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { |
|
12774 |
return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); |
|
12775 |
} |
|
12776 |
static void *_p_wxSizerItemTo_p_wxObject(void *x) { |
|
12777 |
return (void *)((wxObject *) ((wxSizerItem *) x)); |
|
12778 |
} |
|
12779 |
static void *_p_wxRadioButtonTo_p_wxObject(void *x) { |
|
12780 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x)); |
|
12781 |
} |
|
12782 |
static void *_p_wxToggleButtonTo_p_wxObject(void *x) { |
|
12783 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x)); |
|
12784 |
} |
|
12785 |
static void *_p_wxPrintDialogTo_p_wxObject(void *x) { |
|
12786 |
return (void *)((wxObject *) ((wxPrintDialog *) x)); |
|
12787 |
} |
|
12788 |
static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) { |
|
12789 |
return (void *)((wxObject *) ((wxPageSetupDialog *) x)); |
|
12790 |
} |
|
12791 |
static void *_p_wxFontDialogTo_p_wxObject(void *x) { |
|
12792 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); |
|
12793 |
} |
|
12794 |
static void *_p_wxDirDialogTo_p_wxObject(void *x) { |
|
12795 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); |
|
12796 |
} |
|
12797 |
static void *_p_wxColourDialogTo_p_wxObject(void *x) { |
|
12798 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); |
|
12799 |
} |
|
12800 |
static void *_p_wxDialogTo_p_wxObject(void *x) { |
|
12801 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); |
|
12802 |
} |
|
12803 |
static void *_p_wxNotifyEventTo_p_wxObject(void *x) { |
|
12804 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); |
|
12805 |
} |
|
12806 |
static void *_p_wxPyEventTo_p_wxObject(void *x) { |
|
12807 |
return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); |
|
12808 |
} |
|
12809 |
static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) { |
|
12810 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x)); |
|
12811 |
} |
|
12812 |
static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) { |
|
12813 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x)); |
|
12814 |
} |
|
12815 |
static void *_p_wxStaticPictureTo_p_wxObject(void *x) { |
|
12816 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x)); |
|
12817 |
} |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
12818 |
static void *_p_wxPyEvtHandlerTo_p_wxObject(void *x) { |
12819 |
return (void *)((wxObject *) (wxEvtHandler *) ((wxPyEvtHandler *) x)); |
|
12820 |
} |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
12821 |
static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { |
12822 |
return (void *)((wxObject *) ((wxEvtHandler *) x)); |
|
12823 |
} |
|
12824 |
static void *_p_wxTGAHandlerTo_p_wxObject(void *x) { |
|
12825 |
return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x)); |
|
12826 |
} |
|
12827 |
static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { |
|
12828 |
return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); |
|
12829 |
} |
|
12830 |
static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { |
|
12831 |
return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); |
|
12832 |
} |
|
12833 |
static void *_p_wxImageHandlerTo_p_wxObject(void *x) { |
|
12834 |
return (void *)((wxObject *) ((wxImageHandler *) x)); |
|
12835 |
} |
|
12836 |
static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) { |
|
12837 |
return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x)); |
|
12838 |
} |
|
12839 |
static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { |
|
12840 |
return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); |
|
12841 |
} |
|
12842 |
static void *_p_wxICOHandlerTo_p_wxObject(void *x) { |
|
12843 |
return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); |
|
12844 |
} |
|
12845 |
static void *_p_wxCURHandlerTo_p_wxObject(void *x) { |
|
12846 |
return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); |
|
12847 |
} |
|
12848 |
static void *_p_wxANIHandlerTo_p_wxObject(void *x) { |
|
12849 |
return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); |
|
12850 |
} |
|
12851 |
static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { |
|
12852 |
return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); |
|
12853 |
} |
|
12854 |
static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { |
|
12855 |
return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); |
|
12856 |
} |
|
12857 |
static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { |
|
12858 |
return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); |
|
12859 |
} |
|
12860 |
static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { |
|
12861 |
return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); |
|
12862 |
} |
|
12863 |
static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { |
|
12864 |
return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); |
|
12865 |
} |
|
12866 |
static void *_p_wxShowEventTo_p_wxObject(void *x) { |
|
12867 |
return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); |
|
12868 |
} |
|
12869 |
static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) { |
|
12870 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x)); |
|
12871 |
} |
|
12872 |
static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) { |
|
12873 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); |
|
12874 |
} |
|
12875 |
static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) { |
|
12876 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x)); |
|
12877 |
} |
|
12878 |
static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) { |
|
12879 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); |
|
12880 |
} |
|
12881 |
static void *_p_wxTipWindowTo_p_wxObject(void *x) { |
|
12882 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); |
|
12883 |
} |
|
12884 |
static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) { |
|
12885 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); |
|
12886 |
} |
|
12887 |
static void *_p_wxPopupWindowTo_p_wxObject(void *x) { |
|
12888 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x)); |
|
12889 |
} |
|
12890 |
static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) { |
|
12891 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); |
|
12892 |
} |
|
12893 |
static void *_p_wxSashWindowTo_p_wxObject(void *x) { |
|
12894 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x)); |
|
12895 |
} |
|
12896 |
static void *_p_wxSplitterWindowTo_p_wxObject(void *x) { |
|
12897 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x)); |
|
12898 |
} |
|
12899 |
static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) { |
|
12900 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x)); |
|
12901 |
} |
|
12902 |
static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) { |
|
12903 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x)); |
|
12904 |
} |
|
12905 |
static void *_p_wxScrolledWindowTo_p_wxObject(void *x) { |
|
12906 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); |
|
12907 |
} |
|
12908 |
static void *_p_wxWindowTo_p_wxObject(void *x) { |
|
12909 |
return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); |
|
12910 |
} |
|
12911 |
static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) { |
|
12912 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x)); |
|
12913 |
} |
|
12914 |
static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) { |
|
12915 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x)); |
|
12916 |
} |
|
12917 |
static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) { |
|
12918 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x)); |
|
12919 |
} |
|
12920 |
static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) { |
|
12921 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); |
|
12922 |
} |
|
12923 |
static void *_p_wxSpinCtrlTo_p_wxObject(void *x) { |
|
12924 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x)); |
|
12925 |
} |
|
12926 |
static void *_p_wxNotebookEventTo_p_wxObject(void *x) { |
|
12927 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x)); |
|
12928 |
} |
|
12929 |
static void *_p_wxListbookEventTo_p_wxObject(void *x) { |
|
12930 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x)); |
|
12931 |
} |
|
12932 |
static void *_p_wxChoicebookEventTo_p_wxObject(void *x) { |
|
12933 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x)); |
|
12934 |
} |
|
12935 |
static void *_p_wxTreebookEventTo_p_wxObject(void *x) { |
|
12936 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x)); |
|
12937 |
} |
|
12938 |
static void *_p_wxToolbookEventTo_p_wxObject(void *x) { |
|
12939 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x)); |
|
12940 |
} |
|
12941 |
static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) { |
|
12942 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); |
|
12943 |
} |
|
12944 |
static void *_p_wxProgressDialogTo_p_wxObject(void *x) { |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
12945 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxProgressDialog *) x)); |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
12946 |
} |
12947 |
static void *_p_wxMessageDialogTo_p_wxObject(void *x) { |
|
12948 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); |
|
12949 |
} |
|
12950 |
static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) { |
|
12951 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); |
|
12952 |
} |
|
12953 |
static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) { |
|
12954 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); |
|
12955 |
} |
|
12956 |
static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) { |
|
12957 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); |
|
12958 |
} |
|
12959 |
static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) { |
|
12960 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); |
|
12961 |
} |
|
12962 |
static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) { |
|
12963 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); |
|
12964 |
} |
|
12965 |
static void *_p_wxFileDialogTo_p_wxObject(void *x) { |
|
12966 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); |
|
12967 |
} |
|
12968 |
static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) { |
|
12969 |
return (void *)((wxObject *) ((wxToolBarToolBase *) x)); |
|
12970 |
} |
|
12971 |
static void *_p_wxPyWindowTo_p_wxObject(void *x) { |
|
12972 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x)); |
|
12973 |
} |
|
12974 |
static void *_p_wxSliderTo_p_wxObject(void *x) { |
|
12975 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x)); |
|
12976 |
} |
|
12977 |
static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) { |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
12978 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxDatePickerCtrlBase *) ((wxDatePickerCtrl *) x)); |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
12979 |
} |
12980 |
static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) { |
|
12981 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x)); |
|
12982 |
} |
|
12983 |
static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) { |
|
12984 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x)); |
|
12985 |
} |
|
12986 |
static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) { |
|
12987 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x)); |
|
12988 |
} |
|
12989 |
static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { |
|
12990 |
return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); |
|
12991 |
} |
|
12992 |
static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { |
|
12993 |
return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); |
|
12994 |
} |
|
12995 |
static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { |
|
12996 |
return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); |
|
12997 |
} |
|
12998 |
static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { |
|
12999 |
return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); |
|
13000 |
} |
|
13001 |
static void *_p_wxCheckBoxTo_p_wxObject(void *x) { |
|
13002 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x)); |
|
13003 |
} |
|
13004 |
static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) { |
|
13005 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x)); |
|
13006 |
} |
|
13007 |
static void *_p_wxHelpEventTo_p_wxObject(void *x) { |
|
13008 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x)); |
|
13009 |
} |
|
13010 |
static void *_p_wxPanelTo_p_wxObject(void *x) { |
|
13011 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x)); |
|
13012 |
} |
|
13013 |
static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) { |
|
13014 |
return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x)); |
|
13015 |
} |
|
13016 |
static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { |
|
13017 |
return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); |
|
13018 |
} |
|
13019 |
static void *_p_wxSpinEventTo_p_wxObject(void *x) { |
|
13020 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x)); |
|
13021 |
} |
|
13022 |
static void *_p_wxMenuEventTo_p_wxObject(void *x) { |
|
13023 |
return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); |
|
13024 |
} |
|
13025 |
static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { |
|
13026 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); |
|
13027 |
} |
|
13028 |
static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) { |
|
13029 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x)); |
|
13030 |
} |
|
13031 |
static void *_p_wxCommandEventTo_p_wxObject(void *x) { |
|
13032 |
return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); |
|
13033 |
} |
|
13034 |
static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { |
|
13035 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); |
|
13036 |
} |
|
13037 |
static void *_p_wxToolbookTo_p_wxObject(void *x) { |
|
13038 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x)); |
|
13039 |
} |
|
13040 |
static void *_p_wxToolBarTo_p_wxObject(void *x) { |
|
13041 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x)); |
|
13042 |
} |
|
13043 |
static void *_p_wxStatusBarTo_p_wxObject(void *x) { |
|
13044 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x)); |
|
13045 |
} |
|
13046 |
static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { |
|
13047 |
return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); |
|
13048 |
} |
|
13049 |
static void *_p_wxFocusEventTo_p_wxObject(void *x) { |
|
13050 |
return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); |
|
13051 |
} |
|
13052 |
static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { |
|
13053 |
return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); |
|
13054 |
} |
|
13055 |
static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) { |
|
13056 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); |
|
13057 |
} |
|
13058 |
static void *_p_wxMenuBarTo_p_wxObject(void *x) { |
|
13059 |
return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); |
|
13060 |
} |
|
13061 |
static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) { |
|
13062 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x)); |
|
13063 |
} |
|
13064 |
static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) { |
|
13065 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x)); |
|
13066 |
} |
|
13067 |
static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) { |
|
13068 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x)); |
|
13069 |
} |
|
13070 |
static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) { |
|
13071 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x)); |
|
13072 |
} |
|
13073 |
static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) { |
|
13074 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x)); |
|
13075 |
} |
|
13076 |
static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) { |
|
13077 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); |
|
13078 |
} |
|
13079 |
static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) { |
|
13080 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x)); |
|
13081 |
} |
|
13082 |
static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x) { |
|
13083 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x)); |
|
13084 |
} |
|
13085 |
static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) { |
|
13086 |
return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x)); |
|
13087 |
} |
|
13088 |
static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) { |
|
13089 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x)); |
|
13090 |
} |
|
13091 |
static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) { |
|
13092 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x)); |
|
13093 |
} |
|
1.1.7
by Devid Antonio Filoni
Import upstream version 2.8.10.1 |
13094 |
static void *_p_wxPyPickerBaseTo_p_wxEvtHandler(void *x) { |
13095 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxPyPickerBase *) x)); |
|
13096 |
} |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13097 |
static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) { |
13098 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x)); |
|
13099 |
} |
|
13100 |
static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) { |
|
13101 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x)); |
|
13102 |
} |
|
13103 |
static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) { |
|
13104 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x)); |
|
13105 |
} |
|
13106 |
static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) { |
|
13107 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x)); |
|
13108 |
} |
|
13109 |
static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) { |
|
13110 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x)); |
|
13111 |
} |
|
13112 |
static void *_p_wxControlTo_p_wxEvtHandler(void *x) { |
|
13113 |
return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); |
|
13114 |
} |
|
13115 |
static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) { |
|
13116 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x)); |
|
13117 |
} |
|
13118 |
static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) { |
|
13119 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x)); |
|
13120 |
} |
|
13121 |
static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) { |
|
13122 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x)); |
|
13123 |
} |
|
13124 |
static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) { |
|
13125 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x)); |
|
13126 |
} |
|
13127 |
static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) { |
|
13128 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x)); |
|
13129 |
} |
|
13130 |
static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) { |
|
13131 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x)); |
|
13132 |
} |
|
13133 |
static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) { |
|
13134 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x)); |
|
13135 |
} |
|
13136 |
static void *_p_wxListViewTo_p_wxEvtHandler(void *x) { |
|
13137 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x)); |
|
13138 |
} |
|
13139 |
static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) { |
|
13140 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x)); |
|
13141 |
} |
|
13142 |
static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) { |
|
13143 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x)); |
|
13144 |
} |
|
13145 |
static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) { |
|
13146 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x)); |
|
13147 |
} |
|
13148 |
static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) { |
|
13149 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x)); |
|
13150 |
} |
|
13151 |
static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) { |
|
13152 |
return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x)); |
|
13153 |
} |
|
13154 |
static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) { |
|
13155 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x)); |
|
13156 |
} |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
13157 |
static void *_p_wxDatePickerCtrlGenericTo_p_wxEvtHandler(void *x) { |
13158 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxDatePickerCtrlBase *)(wxDatePickerCtrl *) ((wxDatePickerCtrlGeneric *) x)); |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13159 |
} |
13160 |
static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) { |
|
13161 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x)); |
|
13162 |
} |
|
13163 |
static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) { |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
13164 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxProgressDialog *) x)); |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13165 |
} |
13166 |
static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) { |
|
13167 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x)); |
|
13168 |
} |
|
13169 |
static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) { |
|
13170 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x)); |
|
13171 |
} |
|
13172 |
static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) { |
|
13173 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x)); |
|
13174 |
} |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
13175 |
static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) { |
13176 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x)); |
|
13177 |
} |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13178 |
static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) { |
13179 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x)); |
|
13180 |
} |
|
13181 |
static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) { |
|
13182 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x)); |
|
13183 |
} |
|
13184 |
static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) { |
|
13185 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x)); |
|
13186 |
} |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
13187 |
static void *_p_wxListbookTo_p_wxEvtHandler(void *x) { |
13188 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x)); |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13189 |
} |
13190 |
static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) { |
|
13191 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x)); |
|
13192 |
} |
|
13193 |
static void *_p_wxSliderTo_p_wxEvtHandler(void *x) { |
|
13194 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x)); |
|
13195 |
} |
|
13196 |
static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) { |
|
13197 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x)); |
|
13198 |
} |
|
13199 |
static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) { |
|
13200 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x)); |
|
13201 |
} |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
13202 |
static void *_p_wxDatePickerCtrlBaseTo_p_wxEvtHandler(void *x) { |
13203 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrlBase *) x)); |
|
13204 |
} |
|
13205 |
static void *_p_wxPyEvtHandlerTo_p_wxEvtHandler(void *x) { |
|
13206 |
return (void *)((wxEvtHandler *) ((wxPyEvtHandler *) x)); |
|
13207 |
} |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13208 |
static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) { |
13209 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x)); |
|
13210 |
} |
|
13211 |
static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) { |
|
13212 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x)); |
|
13213 |
} |
|
13214 |
static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) { |
|
13215 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x)); |
|
13216 |
} |
|
13217 |
static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) { |
|
13218 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x)); |
|
13219 |
} |
|
13220 |
static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) { |
|
13221 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x)); |
|
13222 |
} |
|
13223 |
static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) { |
|
13224 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x)); |
|
13225 |
} |
|
13226 |
static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) { |
|
13227 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x)); |
|
13228 |
} |
|
13229 |
static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) { |
|
13230 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x)); |
|
13231 |
} |
|
13232 |
static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) { |
|
13233 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x)); |
|
13234 |
} |
|
13235 |
static void *_p_wxButtonTo_p_wxEvtHandler(void *x) { |
|
13236 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x)); |
|
13237 |
} |
|
13238 |
static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) { |
|
13239 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x)); |
|
13240 |
} |
|
13241 |
static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) { |
|
13242 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x)); |
|
13243 |
} |
|
13244 |
static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) { |
|
13245 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x)); |
|
13246 |
} |
|
13247 |
static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) { |
|
13248 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x)); |
|
13249 |
} |
|
13250 |
static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) { |
|
13251 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x)); |
|
13252 |
} |
|
13253 |
static void *_p_wxFrameTo_p_wxEvtHandler(void *x) { |
|
13254 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x)); |
|
13255 |
} |
|
13256 |
static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) { |
|
13257 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x)); |
|
13258 |
} |
|
13259 |
static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) { |
|
13260 |
return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x)); |
|
13261 |
} |
|
13262 |
static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) { |
|
13263 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x)); |
|
13264 |
} |
|
13265 |
static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) { |
|
13266 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x)); |
|
13267 |
} |
|
13268 |
static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) { |
|
13269 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x)); |
|
13270 |
} |
|
13271 |
static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) { |
|
13272 |
return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x)); |
|
13273 |
} |
|
13274 |
static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) { |
|
13275 |
return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x)); |
|
13276 |
} |
|
13277 |
static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) { |
|
13278 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x)); |
|
13279 |
} |
|
13280 |
static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { |
|
13281 |
return (void *)((wxEvtHandler *) ((wxWindow *) x)); |
|
13282 |
} |
|
13283 |
static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) { |
|
13284 |
return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x)); |
|
13285 |
} |
|
13286 |
static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) { |
|
13287 |
return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x)); |
|
13288 |
} |
|
13289 |
static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) { |
|
13290 |
return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x)); |
|
13291 |
} |
|
13292 |
static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) { |
|
13293 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x)); |
|
13294 |
} |
|
13295 |
static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) { |
|
13296 |
return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x)); |
|
13297 |
} |
|
13298 |
static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) { |
|
13299 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x)); |
|
13300 |
} |
|
13301 |
static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) { |
|
13302 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x)); |
|
13303 |
} |
|
13304 |
static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) { |
|
13305 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x)); |
|
13306 |
} |
|
13307 |
static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { |
|
13308 |
return (void *)((wxEvtHandler *) ((wxMenu *) x)); |
|
13309 |
} |
|
13310 |
static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { |
|
13311 |
return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); |
|
13312 |
} |
|
13313 |
static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) { |
|
13314 |
return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x)); |
|
13315 |
} |
|
13316 |
static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) { |
|
13317 |
return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x)); |
|
13318 |
} |
|
13319 |
static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) { |
|
13320 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x)); |
|
13321 |
} |
|
13322 |
static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) { |
|
13323 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x)); |
|
13324 |
} |
|
13325 |
static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) { |
|
13326 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x)); |
|
13327 |
} |
|
13328 |
static void *_p_wxDialogTo_p_wxEvtHandler(void *x) { |
|
13329 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x)); |
|
13330 |
} |
|
13331 |
static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) { |
|
13332 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x)); |
|
13333 |
} |
|
13334 |
static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) { |
|
13335 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x)); |
|
13336 |
} |
|
13337 |
static void *_p_wxPanelTo_p_wxEvtHandler(void *x) { |
|
13338 |
return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x)); |
|
13339 |
} |
|
13340 |
static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x) { |
|
13341 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCollapsiblePane *) x)); |
|
13342 |
} |
|
13343 |
static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { |
|
13344 |
return (void *)((wxEvtHandler *) ((wxPyApp *) x)); |
|
13345 |
} |
|
13346 |
static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) { |
|
13347 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x)); |
|
13348 |
} |
|
13349 |
static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) { |
|
13350 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x)); |
|
13351 |
} |
|
13352 |
static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) { |
|
13353 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x)); |
|
13354 |
} |
|
13355 |
static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) { |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
13356 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxDatePickerCtrlBase *) ((wxDatePickerCtrl *) x)); |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13357 |
} |
13358 |
static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) { |
|
13359 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x)); |
|
13360 |
} |
|
13361 |
static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) { |
|
13362 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x)); |
|
13363 |
} |
|
13364 |
static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) { |
|
13365 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x)); |
|
13366 |
} |
|
13367 |
static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { |
|
13368 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); |
|
13369 |
} |
|
13370 |
static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) { |
|
13371 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x)); |
|
13372 |
} |
|
13373 |
static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) { |
|
13374 |
return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x)); |
|
13375 |
} |
|
13376 |
static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { |
|
13377 |
return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); |
|
13378 |
} |
|
13379 |
static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { |
|
13380 |
return (void *)((wxEvtHandler *) ((wxValidator *) x)); |
|
13381 |
} |
|
13382 |
static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) { |
|
13383 |
return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x)); |
|
13384 |
} |
|
13385 |
static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) { |
|
13386 |
return (void *)((wxCommandEvent *) ((wxSashEvent *) x)); |
|
13387 |
} |
|
13388 |
static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) { |
|
13389 |
return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x)); |
|
13390 |
} |
|
13391 |
static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) { |
|
13392 |
return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x)); |
|
13393 |
} |
|
13394 |
static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) { |
|
13395 |
return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x)); |
|
13396 |
} |
|
13397 |
static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) { |
|
13398 |
return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x)); |
|
13399 |
} |
|
13400 |
static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) { |
|
13401 |
return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x)); |
|
13402 |
} |
|
13403 |
static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) { |
|
13404 |
return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x)); |
|
13405 |
} |
|
13406 |
static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) { |
|
13407 |
return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x)); |
|
13408 |
} |
|
13409 |
static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) { |
|
13410 |
return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x)); |
|
13411 |
} |
|
13412 |
static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) { |
|
13413 |
return (void *)((wxCommandEvent *) ((wxScrollEvent *) x)); |
|
13414 |
} |
|
13415 |
static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) { |
|
13416 |
return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x)); |
|
13417 |
} |
|
13418 |
static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) { |
|
13419 |
return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x)); |
|
13420 |
} |
|
13421 |
static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) { |
|
13422 |
return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x)); |
|
13423 |
} |
|
13424 |
static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) { |
|
13425 |
return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x)); |
|
13426 |
} |
|
13427 |
static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) { |
|
13428 |
return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x)); |
|
13429 |
} |
|
13430 |
static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) { |
|
13431 |
return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x)); |
|
13432 |
} |
|
13433 |
static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) { |
|
13434 |
return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x)); |
|
13435 |
} |
|
13436 |
static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) { |
|
13437 |
return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x)); |
|
13438 |
} |
|
13439 |
static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) { |
|
13440 |
return (void *)((wxCommandEvent *) ((wxDateEvent *) x)); |
|
13441 |
} |
|
13442 |
static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) { |
|
13443 |
return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x)); |
|
13444 |
} |
|
13445 |
static void *_p_wxListEventTo_p_wxCommandEvent(void *x) { |
|
13446 |
return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x)); |
|
13447 |
} |
|
13448 |
static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x) { |
|
13449 |
return (void *)((wxCommandEvent *) ((wxCollapsiblePaneEvent *) x)); |
|
13450 |
} |
|
13451 |
static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) { |
|
13452 |
return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x)); |
|
13453 |
} |
|
13454 |
static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) { |
|
13455 |
return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x)); |
|
13456 |
} |
|
13457 |
static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) { |
|
13458 |
return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x)); |
|
13459 |
} |
|
13460 |
static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) { |
|
13461 |
return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x)); |
|
13462 |
} |
|
13463 |
static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) { |
|
13464 |
return (void *)((wxCommandEvent *) ((wxHelpEvent *) x)); |
|
13465 |
} |
|
13466 |
static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) { |
|
13467 |
return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x)); |
|
13468 |
} |
|
13469 |
static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) { |
|
13470 |
return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x)); |
|
13471 |
} |
|
13472 |
static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) { |
|
13473 |
return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x)); |
|
13474 |
} |
|
13475 |
static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) { |
|
13476 |
return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x)); |
|
13477 |
} |
|
13478 |
static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0}; |
|
1.1.3
by Devid Filoni
Import upstream version 2.8.6.1 |
13479 |
static swig_type_info _swigt__p_double = {"_p_double", "double *|wxDouble *", 0, 0, (void*)0, 0}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13480 |
static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0}; |
13481 |
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}; |
|
13482 |
static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0}; |
|
13483 |
static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0}; |
|
13484 |
static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0}; |
|
13485 |
static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0}; |
|
13486 |
static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0}; |
|
13487 |
static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0}; |
|
13488 |
static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0}; |
|
13489 |
static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0}; |
|
13490 |
static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0}; |
|
13491 |
static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0}; |
|
13492 |
static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", 0, 0, 0, 0, 0}; |
|
13493 |
static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0}; |
|
13494 |
static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", 0, 0, 0, 0, 0}; |
|
13495 |
static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", 0, 0, 0, 0, 0}; |
|
13496 |
static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", 0, 0, 0, 0, 0}; |
|
13497 |
static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0}; |
|
13498 |
static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0, 0}; |
|
13499 |
static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0}; |
|
13500 |
static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0}; |
|
13501 |
static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0}; |
|
13502 |
static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0}; |
|
13503 |
static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0, 0}; |
|
13504 |
static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0, 0}; |
|
13505 |
static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0, 0}; |
|
13506 |
static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0, 0}; |
|
13507 |
static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0, 0}; |
|
13508 |
static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0}; |
|
13509 |
static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0}; |
|
13510 |
static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0, 0}; |
|
13511 |
static swig_type_info _swigt__p_wxCollapsiblePaneEvent = {"_p_wxCollapsiblePaneEvent", 0, 0, 0, 0, 0}; |
|
13512 |
static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0}; |
|
13513 |
static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0, 0}; |
|
13514 |
static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0, 0}; |
|
13515 |
static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0, 0}; |
|
13516 |
static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0}; |
|
13517 |
static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0}; |
|
13518 |
static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0}; |
|
13519 |
static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0}; |
|
13520 |
static swig_type_info _swigt__p_wxCollapsiblePane = {"_p_wxCollapsiblePane", 0, 0, 0, 0, 0}; |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
13521 |
static swig_type_info _swigt__p_wxDatePickerCtrlGeneric = {"_p_wxDatePickerCtrlGeneric", 0, 0, 0, 0, 0}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13522 |
static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0}; |
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
13523 |
static swig_type_info _swigt__p_wxDatePickerCtrlBase = {"_p_wxDatePickerCtrlBase", 0, 0, 0, 0, 0}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13524 |
static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0, 0}; |
13525 |
static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", 0, 0, 0, 0, 0}; |
|
1.1.7
by Devid Antonio Filoni
Import upstream version 2.8.10.1 |
13526 |
static swig_type_info _swigt__p_wxPyPickerBase = {"_p_wxPyPickerBase", 0, 0, 0, 0, 0}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13527 |
static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0, 0}; |
13528 |
static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0, 0}; |
|
13529 |
static swig_type_info _swigt__p_wxSearchCtrl = {"_p_wxSearchCtrl", 0, 0, 0, 0, 0}; |
|
13530 |
static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0, 0}; |
|
13531 |
static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0, 0}; |
|
13532 |
static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0, 0}; |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
13533 |
static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13534 |
static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", 0, 0, 0, 0, 0}; |
13535 |
static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0, 0}; |
|
13536 |
static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0}; |
|
13537 |
static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0}; |
|
13538 |
static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0, 0}; |
|
13539 |
static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0, 0}; |
|
13540 |
static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0, 0}; |
|
13541 |
static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0, 0}; |
|
13542 |
static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", 0, 0, 0, 0, 0}; |
|
13543 |
static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0, 0}; |
|
13544 |
static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0, 0}; |
|
13545 |
static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0, 0}; |
|
13546 |
static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0, 0}; |
|
13547 |
static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0, 0}; |
|
13548 |
static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0, 0}; |
|
13549 |
static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0, 0}; |
|
13550 |
static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0, 0}; |
|
13551 |
static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0, 0}; |
|
13552 |
static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0, 0}; |
|
13553 |
static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0, 0}; |
|
13554 |
static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0, 0}; |
|
13555 |
static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0, 0}; |
|
13556 |
static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0, 0}; |
|
13557 |
static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0, 0}; |
|
13558 |
static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0, 0}; |
|
13559 |
static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0, 0}; |
|
13560 |
static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0}; |
|
13561 |
static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", 0, 0, 0, 0, 0}; |
|
13562 |
static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", 0, 0, 0, 0, 0}; |
|
13563 |
static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", 0, 0, 0, 0, 0}; |
|
13564 |
static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0, 0}; |
|
13565 |
static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0}; |
|
13566 |
static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, (void*)0, 0}; |
|
13567 |
static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, (void*)0, 0}; |
|
13568 |
static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, (void*)0, 0}; |
|
13569 |
static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, (void*)0, 0}; |
|
13570 |
static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0}; |
|
13571 |
static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0}; |
|
13572 |
static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0}; |
|
13573 |
static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0}; |
|
13574 |
static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0}; |
|
13575 |
static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0}; |
|
13576 |
static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0}; |
|
13577 |
static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0}; |
|
13578 |
static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0}; |
|
13579 |
static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0}; |
|
13580 |
static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0}; |
|
13581 |
static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0}; |
|
13582 |
static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0}; |
|
13583 |
static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0}; |
|
13584 |
static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0}; |
|
13585 |
static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0}; |
|
13586 |
static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0}; |
|
13587 |
static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0}; |
|
13588 |
static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0}; |
|
13589 |
static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0}; |
|
13590 |
static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0}; |
|
13591 |
static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0}; |
|
13592 |
static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0}; |
|
13593 |
static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0}; |
|
13594 |
static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0}; |
|
13595 |
static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0}; |
|
13596 |
static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0}; |
|
13597 |
static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0}; |
|
13598 |
static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0}; |
|
13599 |
static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0}; |
|
13600 |
static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0}; |
|
13601 |
static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0}; |
|
13602 |
static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0}; |
|
13603 |
static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0}; |
|
13604 |
static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0}; |
|
13605 |
static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0}; |
|
13606 |
static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0}; |
|
13607 |
static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0}; |
|
13608 |
static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0}; |
|
13609 |
static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0}; |
|
13610 |
static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0}; |
|
13611 |
static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0}; |
|
13612 |
static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0}; |
|
13613 |
static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0}; |
|
13614 |
static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0}; |
|
13615 |
static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0}; |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
13616 |
static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13617 |
static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0}; |
13618 |
static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0}; |
|
13619 |
static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0}; |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
13620 |
static swig_type_info _swigt__p_wxPyEvtHandler = {"_p_wxPyEvtHandler", 0, 0, 0, 0, 0}; |
13621 |
static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0}; |
|
13622 |
static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0}; |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13623 |
static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0}; |
13624 |
static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0}; |
|
13625 |
static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0}; |
|
13626 |
static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0}; |
|
13627 |
static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0}; |
|
13628 |
static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0}; |
|
13629 |
static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0}; |
|
1.1.7
by Devid Antonio Filoni
Import upstream version 2.8.10.1 |
13630 |
static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0}; |
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
13631 |
static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0}; |
13632 |
static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0}; |
|
13633 |
static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0}; |
|
13634 |
static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0}; |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13635 |
static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0}; |
13636 |
static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0}; |
|
13637 |
static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0}; |
|
13638 |
static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0}; |
|
13639 |
static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0}; |
|
13640 |
static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0}; |
|
13641 |
static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0}; |
|
13642 |
static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0}; |
|
13643 |
static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0}; |
|
13644 |
static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0}; |
|
13645 |
static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0}; |
|
13646 |
static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0}; |
|
13647 |
static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0}; |
|
13648 |
static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0}; |
|
13649 |
static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0}; |
|
13650 |
static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, (void*)0, 0}; |
|
13651 |
static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0}; |
|
1.1.4
by Devid Filoni
Import upstream version 2.8.7.1 |
13652 |
static swig_type_info _swigt__p_wxDirItemData = {"_p_wxDirItemData", 0, 0, 0, 0, 0}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13653 |
static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0}; |
13654 |
static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0}; |
|
13655 |
static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0}; |
|
13656 |
static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0}; |
|
13657 |
static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0, 0}; |
|
13658 |
static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0}; |
|
13659 |
static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0, 0}; |
|
13660 |
static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0}; |
|
13661 |
static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0}; |
|
13662 |
static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0}; |
|
13663 |
static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0}; |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
13664 |
static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13665 |
static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0}; |
13666 |
static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0}; |
|
13667 |
static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0, 0}; |
|
13668 |
static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0}; |
|
13669 |
static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0}; |
|
13670 |
static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0}; |
|
13671 |
static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0}; |
|
13672 |
static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0}; |
|
13673 |
static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0}; |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
13674 |
static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13675 |
static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0}; |
13676 |
static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0}; |
|
13677 |
static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0}; |
|
13678 |
static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0}; |
|
13679 |
static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0}; |
|
13680 |
static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0}; |
|
13681 |
static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0}; |
|
13682 |
static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0}; |
|
13683 |
static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0}; |
|
13684 |
static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0}; |
|
13685 |
static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0}; |
|
13686 |
static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0}; |
|
13687 |
static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0}; |
|
13688 |
static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0}; |
|
13689 |
static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0}; |
|
13690 |
static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0}; |
|
13691 |
static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0}; |
|
13692 |
static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0}; |
|
13693 |
static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0}; |
|
13694 |
static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0}; |
|
13695 |
static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0}; |
|
13696 |
static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0}; |
|
13697 |
static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0}; |
|
13698 |
static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0}; |
|
13699 |
static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0}; |
|
13700 |
static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0, 0}; |
|
13701 |
static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0}; |
|
13702 |
static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0}; |
|
13703 |
static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, (void*)0, 0}; |
|
13704 |
static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0}; |
|
13705 |
static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0}; |
|
13706 |
static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, (void*)0, 0}; |
|
13707 |
static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, (void*)0, 0}; |
|
13708 |
static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0}; |
|
13709 |
static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0}; |
|
13710 |
static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, (void*)0, 0}; |
|
13711 |
static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0}; |
|
13712 |
static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, (void*)0, 0}; |
|
13713 |
static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, (void*)0, 0}; |
|
13714 |
static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0}; |
|
13715 |
static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, (void*)0, 0}; |
|
13716 |
static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0}; |
|
13717 |
static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0}; |
|
13718 |
||
13719 |
static swig_type_info *swig_type_initial[] = { |
|
13720 |
&_swigt__p_char, |
|
1.1.3
by Devid Filoni
Import upstream version 2.8.6.1 |
13721 |
&_swigt__p_double, |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13722 |
&_swigt__p_float, |
13723 |
&_swigt__p_form_ops_t, |
|
13724 |
&_swigt__p_int, |
|
13725 |
&_swigt__p_unsigned_char, |
|
13726 |
&_swigt__p_unsigned_int, |
|
13727 |
&_swigt__p_unsigned_long, |
|
13728 |
&_swigt__p_wxANIHandler, |
|
13729 |
&_swigt__p_wxAcceleratorTable, |
|
13730 |
&_swigt__p_wxActivateEvent, |
|
13731 |
&_swigt__p_wxArrayString, |
|
13732 |
&_swigt__p_wxBMPHandler, |
|
13733 |
&_swigt__p_wxBitmap, |
|
13734 |
&_swigt__p_wxBitmapButton, |
|
13735 |
&_swigt__p_wxBookCtrlBase, |
|
13736 |
&_swigt__p_wxBookCtrlBaseEvent, |
|
13737 |
&_swigt__p_wxBoxSizer, |
|
13738 |
&_swigt__p_wxButton, |
|
13739 |
&_swigt__p_wxCURHandler, |
|
13740 |
&_swigt__p_wxCalculateLayoutEvent, |
|
13741 |
&_swigt__p_wxCheckBox, |
|
13742 |
&_swigt__p_wxCheckListBox, |
|
13743 |
&_swigt__p_wxChildFocusEvent, |
|
13744 |
&_swigt__p_wxChoice, |
|
13745 |
&_swigt__p_wxChoicebook, |
|
13746 |
&_swigt__p_wxChoicebookEvent, |
|
13747 |
&_swigt__p_wxClipboardTextEvent, |
|
13748 |
&_swigt__p_wxCloseEvent, |
|
13749 |
&_swigt__p_wxCollapsiblePane, |
|
13750 |
&_swigt__p_wxCollapsiblePaneEvent, |
|
13751 |
&_swigt__p_wxColour, |
|
13752 |
&_swigt__p_wxColourData, |
|
13753 |
&_swigt__p_wxColourDialog, |
|
13754 |
&_swigt__p_wxColourPickerEvent, |
|
13755 |
&_swigt__p_wxComboBox, |
|
13756 |
&_swigt__p_wxCommandEvent, |
|
13757 |
&_swigt__p_wxContextHelp, |
|
13758 |
&_swigt__p_wxContextHelpButton, |
|
13759 |
&_swigt__p_wxContextMenuEvent, |
|
13760 |
&_swigt__p_wxControl, |
|
13761 |
&_swigt__p_wxControlWithItems, |
|
13762 |
&_swigt__p_wxDateEvent, |
|
13763 |
&_swigt__p_wxDatePickerCtrl, |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
13764 |
&_swigt__p_wxDatePickerCtrlBase, |
13765 |
&_swigt__p_wxDatePickerCtrlGeneric, |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13766 |
&_swigt__p_wxDialog, |
13767 |
&_swigt__p_wxDirDialog, |
|
13768 |
&_swigt__p_wxDirFilterListCtrl, |
|
1.1.4
by Devid Filoni
Import upstream version 2.8.7.1 |
13769 |
&_swigt__p_wxDirItemData, |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13770 |
&_swigt__p_wxDirPickerCtrl, |
13771 |
&_swigt__p_wxDisplayChangedEvent, |
|
13772 |
&_swigt__p_wxDropFilesEvent, |
|
13773 |
&_swigt__p_wxDuplexMode, |
|
13774 |
&_swigt__p_wxDynamicSashSplitEvent, |
|
13775 |
&_swigt__p_wxDynamicSashUnifyEvent, |
|
13776 |
&_swigt__p_wxDynamicSashWindow, |
|
13777 |
&_swigt__p_wxEditableListBox, |
|
13778 |
&_swigt__p_wxEraseEvent, |
|
13779 |
&_swigt__p_wxEvent, |
|
13780 |
&_swigt__p_wxEvtHandler, |
|
13781 |
&_swigt__p_wxFSFile, |
|
13782 |
&_swigt__p_wxFileDialog, |
|
13783 |
&_swigt__p_wxFileDirPickerEvent, |
|
13784 |
&_swigt__p_wxFilePickerCtrl, |
|
13785 |
&_swigt__p_wxFileSystem, |
|
13786 |
&_swigt__p_wxFindDialogEvent, |
|
13787 |
&_swigt__p_wxFindReplaceData, |
|
13788 |
&_swigt__p_wxFindReplaceDialog, |
|
13789 |
&_swigt__p_wxFlexGridSizer, |
|
13790 |
&_swigt__p_wxFocusEvent, |
|
13791 |
&_swigt__p_wxFont, |
|
13792 |
&_swigt__p_wxFontData, |
|
13793 |
&_swigt__p_wxFontDialog, |
|
13794 |
&_swigt__p_wxFontPickerCtrl, |
|
13795 |
&_swigt__p_wxFontPickerEvent, |
|
13796 |
&_swigt__p_wxFrame, |
|
13797 |
&_swigt__p_wxGBSizerItem, |
|
13798 |
&_swigt__p_wxGIFHandler, |
|
13799 |
&_swigt__p_wxGauge, |
|
13800 |
&_swigt__p_wxGenericDirCtrl, |
|
13801 |
&_swigt__p_wxGenericDragImage, |
|
13802 |
&_swigt__p_wxGridBagSizer, |
|
13803 |
&_swigt__p_wxGridSizer, |
|
13804 |
&_swigt__p_wxHelpEvent, |
|
13805 |
&_swigt__p_wxHyperlinkCtrl, |
|
13806 |
&_swigt__p_wxHyperlinkEvent, |
|
13807 |
&_swigt__p_wxICOHandler, |
|
13808 |
&_swigt__p_wxIcon, |
|
13809 |
&_swigt__p_wxIconizeEvent, |
|
13810 |
&_swigt__p_wxIdleEvent, |
|
13811 |
&_swigt__p_wxImage, |
|
13812 |
&_swigt__p_wxImageHandler, |
|
13813 |
&_swigt__p_wxImageList, |
|
13814 |
&_swigt__p_wxIndividualLayoutConstraint, |
|
13815 |
&_swigt__p_wxInitDialogEvent, |
|
13816 |
&_swigt__p_wxJPEGHandler, |
|
13817 |
&_swigt__p_wxKeyEvent, |
|
13818 |
&_swigt__p_wxLEDNumberCtrl, |
|
13819 |
&_swigt__p_wxLayoutAlgorithm, |
|
13820 |
&_swigt__p_wxLayoutConstraints, |
|
13821 |
&_swigt__p_wxListBox, |
|
13822 |
&_swigt__p_wxListEvent, |
|
13823 |
&_swigt__p_wxListItem, |
|
13824 |
&_swigt__p_wxListView, |
|
13825 |
&_swigt__p_wxListbook, |
|
13826 |
&_swigt__p_wxListbookEvent, |
|
13827 |
&_swigt__p_wxMDIChildFrame, |
|
13828 |
&_swigt__p_wxMDIClientWindow, |
|
13829 |
&_swigt__p_wxMDIParentFrame, |
|
13830 |
&_swigt__p_wxMaximizeEvent, |
|
13831 |
&_swigt__p_wxMenu, |
|
13832 |
&_swigt__p_wxMenuBar, |
|
13833 |
&_swigt__p_wxMenuEvent, |
|
13834 |
&_swigt__p_wxMenuItem, |
|
13835 |
&_swigt__p_wxMessageDialog, |
|
13836 |
&_swigt__p_wxMiniFrame, |
|
13837 |
&_swigt__p_wxMouseCaptureChangedEvent, |
|
13838 |
&_swigt__p_wxMouseCaptureLostEvent, |
|
13839 |
&_swigt__p_wxMouseEvent, |
|
13840 |
&_swigt__p_wxMoveEvent, |
|
13841 |
&_swigt__p_wxMultiChoiceDialog, |
|
13842 |
&_swigt__p_wxNavigationKeyEvent, |
|
13843 |
&_swigt__p_wxNcPaintEvent, |
|
13844 |
&_swigt__p_wxNotebook, |
|
13845 |
&_swigt__p_wxNotebookEvent, |
|
13846 |
&_swigt__p_wxNotifyEvent, |
|
13847 |
&_swigt__p_wxNumberEntryDialog, |
|
13848 |
&_swigt__p_wxObject, |
|
13849 |
&_swigt__p_wxPCXHandler, |
|
13850 |
&_swigt__p_wxPNGHandler, |
|
13851 |
&_swigt__p_wxPNMHandler, |
|
13852 |
&_swigt__p_wxPageSetupDialog, |
|
13853 |
&_swigt__p_wxPageSetupDialogData, |
|
13854 |
&_swigt__p_wxPaintEvent, |
|
13855 |
&_swigt__p_wxPaletteChangedEvent, |
|
13856 |
&_swigt__p_wxPanel, |
|
13857 |
&_swigt__p_wxPaperSize, |
|
13858 |
&_swigt__p_wxPasswordEntryDialog, |
|
13859 |
&_swigt__p_wxPickerBase, |
|
13860 |
&_swigt__p_wxPopupWindow, |
|
13861 |
&_swigt__p_wxPreviewCanvas, |
|
13862 |
&_swigt__p_wxPreviewControlBar, |
|
13863 |
&_swigt__p_wxPreviewFrame, |
|
13864 |
&_swigt__p_wxPrintData, |
|
13865 |
&_swigt__p_wxPrintDialog, |
|
13866 |
&_swigt__p_wxPrintDialogData, |
|
13867 |
&_swigt__p_wxPrintPreview, |
|
13868 |
&_swigt__p_wxPrinter, |
|
13869 |
&_swigt__p_wxProgressDialog, |
|
13870 |
&_swigt__p_wxPyApp, |
|
13871 |
&_swigt__p_wxPyCommandEvent, |
|
13872 |
&_swigt__p_wxPyControl, |
|
13873 |
&_swigt__p_wxPyEvent, |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
13874 |
&_swigt__p_wxPyEvtHandler, |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13875 |
&_swigt__p_wxPyHtmlListBox, |
13876 |
&_swigt__p_wxPyImageHandler, |
|
13877 |
&_swigt__p_wxPyListCtrl, |
|
13878 |
&_swigt__p_wxPyPanel, |
|
1.1.7
by Devid Antonio Filoni
Import upstream version 2.8.10.1 |
13879 |
&_swigt__p_wxPyPickerBase, |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13880 |
&_swigt__p_wxPyPopupTransientWindow, |
13881 |
&_swigt__p_wxPyPreviewControlBar, |
|
13882 |
&_swigt__p_wxPyPreviewFrame, |
|
13883 |
&_swigt__p_wxPyPrintPreview, |
|
13884 |
&_swigt__p_wxPyPrintout, |
|
13885 |
&_swigt__p_wxPyScrolledWindow, |
|
13886 |
&_swigt__p_wxPySizer, |
|
13887 |
&_swigt__p_wxPyTaskBarIcon, |
|
13888 |
&_swigt__p_wxPyTreeCompanionWindow, |
|
13889 |
&_swigt__p_wxPyTreeCtrl, |
|
13890 |
&_swigt__p_wxPyTreeItemData, |
|
13891 |
&_swigt__p_wxPyTreeListCtrl, |
|
13892 |
&_swigt__p_wxPyVListBox, |
|
13893 |
&_swigt__p_wxPyVScrolledWindow, |
|
13894 |
&_swigt__p_wxPyValidator, |
|
13895 |
&_swigt__p_wxPyWindow, |
|
13896 |
&_swigt__p_wxQueryLayoutInfoEvent, |
|
13897 |
&_swigt__p_wxQueryNewPaletteEvent, |
|
13898 |
&_swigt__p_wxRadioBox, |
|
13899 |
&_swigt__p_wxRadioButton, |
|
13900 |
&_swigt__p_wxRemotelyScrolledTreeCtrl, |
|
13901 |
&_swigt__p_wxSashEvent, |
|
13902 |
&_swigt__p_wxSashLayoutWindow, |
|
13903 |
&_swigt__p_wxSashWindow, |
|
13904 |
&_swigt__p_wxScrollBar, |
|
13905 |
&_swigt__p_wxScrollEvent, |
|
13906 |
&_swigt__p_wxScrollWinEvent, |
|
13907 |
&_swigt__p_wxScrolledWindow, |
|
13908 |
&_swigt__p_wxSearchCtrl, |
|
13909 |
&_swigt__p_wxSetCursorEvent, |
|
13910 |
&_swigt__p_wxShowEvent, |
|
13911 |
&_swigt__p_wxSimpleHtmlListBox, |
|
13912 |
&_swigt__p_wxSingleChoiceDialog, |
|
13913 |
&_swigt__p_wxSizeEvent, |
|
13914 |
&_swigt__p_wxSizer, |
|
13915 |
&_swigt__p_wxSizerItem, |
|
13916 |
&_swigt__p_wxSlider, |
|
13917 |
&_swigt__p_wxSpinButton, |
|
13918 |
&_swigt__p_wxSpinCtrl, |
|
13919 |
&_swigt__p_wxSpinEvent, |
|
13920 |
&_swigt__p_wxSplashScreen, |
|
13921 |
&_swigt__p_wxSplashScreenWindow, |
|
13922 |
&_swigt__p_wxSplitterEvent, |
|
13923 |
&_swigt__p_wxSplitterScrolledWindow, |
|
13924 |
&_swigt__p_wxSplitterWindow, |
|
13925 |
&_swigt__p_wxStaticBitmap, |
|
13926 |
&_swigt__p_wxStaticBox, |
|
13927 |
&_swigt__p_wxStaticBoxSizer, |
|
13928 |
&_swigt__p_wxStaticLine, |
|
13929 |
&_swigt__p_wxStaticPicture, |
|
13930 |
&_swigt__p_wxStaticText, |
|
13931 |
&_swigt__p_wxStatusBar, |
|
13932 |
&_swigt__p_wxStdDialogButtonSizer, |
|
13933 |
&_swigt__p_wxSysColourChangedEvent, |
|
13934 |
&_swigt__p_wxTGAHandler, |
|
13935 |
&_swigt__p_wxTIFFHandler, |
|
13936 |
&_swigt__p_wxTaskBarIconEvent, |
|
13937 |
&_swigt__p_wxTextCtrl, |
|
13938 |
&_swigt__p_wxTextEntryDialog, |
|
13939 |
&_swigt__p_wxTextUrlEvent, |
|
13940 |
&_swigt__p_wxThinSplitterWindow, |
|
13941 |
&_swigt__p_wxTipWindow, |
|
13942 |
&_swigt__p_wxToggleButton, |
|
13943 |
&_swigt__p_wxToolBar, |
|
13944 |
&_swigt__p_wxToolBarBase, |
|
13945 |
&_swigt__p_wxToolBarToolBase, |
|
13946 |
&_swigt__p_wxToolbook, |
|
13947 |
&_swigt__p_wxToolbookEvent, |
|
13948 |
&_swigt__p_wxTopLevelWindow, |
|
13949 |
&_swigt__p_wxTreeEvent, |
|
13950 |
&_swigt__p_wxTreeItemId, |
|
13951 |
&_swigt__p_wxTreeListColumnInfo, |
|
13952 |
&_swigt__p_wxTreebook, |
|
13953 |
&_swigt__p_wxTreebookEvent, |
|
13954 |
&_swigt__p_wxUpdateUIEvent, |
|
13955 |
&_swigt__p_wxValidator, |
|
13956 |
&_swigt__p_wxWindow, |
|
13957 |
&_swigt__p_wxWindowCreateEvent, |
|
13958 |
&_swigt__p_wxWindowDestroyEvent, |
|
13959 |
&_swigt__p_wxXPMHandler, |
|
13960 |
}; |
|
13961 |
||
13962 |
static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}}; |
|
1.1.3
by Devid Filoni
Import upstream version 2.8.6.1 |
13963 |
static swig_cast_info _swigc__p_double[] = { {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
13964 |
static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}}; |
13965 |
static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}}; |
|
13966 |
static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}}; |
|
13967 |
static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}}; |
|
13968 |
static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}}; |
|
13969 |
static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}}; |
|
13970 |
static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}}; |
|
13971 |
static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}}; |
|
13972 |
static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}}; |
|
13973 |
static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13974 |
static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13975 |
static swig_cast_info _swigc__p_wxHyperlinkEvent[] = {{&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13976 |
static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13977 |
static swig_cast_info _swigc__p_wxColourPickerEvent[] = {{&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13978 |
static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = {{&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13979 |
static swig_cast_info _swigc__p_wxFontPickerEvent[] = {{&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13980 |
static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13981 |
static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13982 |
static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13983 |
static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13984 |
static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13985 |
static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13986 |
static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13987 |
static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13988 |
static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13989 |
static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13990 |
static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13991 |
static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13992 |
static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13993 |
static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13994 |
static swig_cast_info _swigc__p_wxCollapsiblePaneEvent[] = {{&_swigt__p_wxCollapsiblePaneEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13995 |
static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13996 |
static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13997 |
static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13998 |
static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
13999 |
static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14000 |
static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14001 |
static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14002 |
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}}; |
|
14003 |
static swig_cast_info _swigc__p_wxCollapsiblePane[] = {{&_swigt__p_wxCollapsiblePane, 0, 0, 0},{0, 0, 0, 0}}; |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
14004 |
static swig_cast_info _swigc__p_wxDatePickerCtrlGeneric[] = {{&_swigt__p_wxDatePickerCtrlGeneric, 0, 0, 0},{0, 0, 0, 0}}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
14005 |
static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}}; |
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
14006 |
static swig_cast_info _swigc__p_wxDatePickerCtrlBase[] = {{&_swigt__p_wxDatePickerCtrlBase, 0, 0, 0},{0, 0, 0, 0}}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
14007 |
static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}}; |
14008 |
static swig_cast_info _swigc__p_wxPickerBase[] = {{&_swigt__p_wxPickerBase, 0, 0, 0},{0, 0, 0, 0}}; |
|
1.1.7
by Devid Antonio Filoni
Import upstream version 2.8.10.1 |
14009 |
static swig_cast_info _swigc__p_wxPyPickerBase[] = {{&_swigt__p_wxPyPickerBase, 0, 0, 0},{0, 0, 0, 0}}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
14010 |
static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}}; |
14011 |
static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}}; |
|
14012 |
static swig_cast_info _swigc__p_wxSearchCtrl[] = {{&_swigt__p_wxSearchCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
|
14013 |
static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}}; |
|
14014 |
static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}}; |
|
14015 |
static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}}; |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
14016 |
static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
14017 |
static swig_cast_info _swigc__p_wxPyListCtrl[] = {{&_swigt__p_wxPyListCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
14018 |
static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}}; |
|
14019 |
static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
|
14020 |
static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}}; |
|
14021 |
static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}}; |
|
14022 |
static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}}; |
|
14023 |
static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}}; |
|
14024 |
static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}}; |
|
14025 |
static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = {{&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
|
14026 |
static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}}; |
|
14027 |
static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}}; |
|
14028 |
static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}}; |
|
14029 |
static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}}; |
|
14030 |
static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}}; |
|
14031 |
static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}}; |
|
14032 |
static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}}; |
|
14033 |
static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}}; |
|
14034 |
static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
|
14035 |
static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}}; |
|
14036 |
static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}}; |
|
14037 |
static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}}; |
|
14038 |
static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}}; |
|
14039 |
static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}}; |
|
14040 |
static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}}; |
|
14041 |
static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}}; |
|
14042 |
static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}}; |
|
14043 |
static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
|
14044 |
static swig_cast_info _swigc__p_wxFilePickerCtrl[] = {{&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
|
14045 |
static swig_cast_info _swigc__p_wxDirPickerCtrl[] = {{&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
|
14046 |
static swig_cast_info _swigc__p_wxFontPickerCtrl[] = {{&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
|
14047 |
static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
|
1.1.7
by Devid Antonio Filoni
Import upstream version 2.8.10.1 |
14048 |
static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrlGeneric, _p_wxDatePickerCtrlGenericTo_p_wxControl, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrlBase, _p_wxDatePickerCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyPickerBase, _p_wxPyPickerBaseTo_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_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_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_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}}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
14049 |
static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}}; |
14050 |
static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14051 |
static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14052 |
static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}}; |
|
14053 |
static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}}; |
|
14054 |
static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14055 |
static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14056 |
static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14057 |
static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14058 |
static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14059 |
static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14060 |
static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14061 |
static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14062 |
static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14063 |
static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14064 |
static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14065 |
static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14066 |
static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14067 |
static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14068 |
static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14069 |
static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14070 |
static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14071 |
static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14072 |
static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14073 |
static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14074 |
static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14075 |
static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14076 |
static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14077 |
static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14078 |
static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14079 |
static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14080 |
static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14081 |
static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14082 |
static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14083 |
static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}}; |
|
14084 |
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}}; |
|
14085 |
static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; |
|
14086 |
static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}}; |
|
14087 |
static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}}; |
|
14088 |
static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}}; |
|
14089 |
static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}}; |
|
14090 |
static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}}; |
|
14091 |
static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}}; |
|
14092 |
static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}}; |
|
14093 |
static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}}; |
|
14094 |
static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
|
14095 |
static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}}; |
|
14096 |
static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}}; |
|
14097 |
static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
|
14098 |
static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
14099 |
static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
14100 |
static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}}; |
14101 |
static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
|
14102 |
static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}}; |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
14103 |
static swig_cast_info _swigc__p_wxPyEvtHandler[] = {{&_swigt__p_wxPyEvtHandler, 0, 0, 0},{0, 0, 0, 0}}; |
14104 |
static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
|
14105 |
static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}}; |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
14106 |
static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}}; |
14107 |
static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}}; |
|
14108 |
static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}}; |
|
14109 |
static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}}; |
|
14110 |
static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}}; |
|
14111 |
static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; |
|
14112 |
static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}}; |
|
1.1.7
by Devid Antonio Filoni
Import upstream version 2.8.10.1 |
14113 |
static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}}; |
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
14114 |
static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}}; |
14115 |
static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}}; |
|
14116 |
static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}}; |
|
14117 |
static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}}; |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
14118 |
static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}}; |
14119 |
static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}}; |
|
14120 |
static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; |
|
14121 |
static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}}; |
|
14122 |
static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}}; |
|
14123 |
static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}}; |
|
14124 |
static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}}; |
|
14125 |
static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}}; |
|
14126 |
static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}}; |
|
14127 |
static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; |
|
14128 |
static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}}; |
|
14129 |
static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}}; |
|
1.1.7
by Devid Antonio Filoni
Import upstream version 2.8.10.1 |
14130 |
static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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_wxPyPickerBase, _p_wxPyPickerBaseTo_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_wxDatePickerCtrlGeneric, _p_wxDatePickerCtrlGenericTo_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_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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_wxDatePickerCtrlBase, _p_wxDatePickerCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyEvtHandler, _p_wxPyEvtHandlerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 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_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_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_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_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_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}}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
14131 |
static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}}; |
14132 |
static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}}; |
|
14133 |
static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}}; |
|
14134 |
static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
|
1.1.4
by Devid Filoni
Import upstream version 2.8.7.1 |
14135 |
static swig_cast_info _swigc__p_wxDirItemData[] = {{&_swigt__p_wxDirItemData, 0, 0, 0},{0, 0, 0, 0}}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
14136 |
static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}}; |
14137 |
static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}}; |
|
14138 |
static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}}; |
|
14139 |
static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}}; |
|
14140 |
static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}}; |
|
14141 |
static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}}; |
|
14142 |
static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}}; |
|
14143 |
static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}}; |
|
14144 |
static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}}; |
|
14145 |
static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}}; |
|
14146 |
static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}}; |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
14147 |
static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
14148 |
static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}}; |
14149 |
static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}}; |
|
14150 |
static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}}; |
|
14151 |
static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}}; |
|
14152 |
static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}}; |
|
14153 |
static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}}; |
|
14154 |
static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}}; |
|
14155 |
static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}}; |
|
14156 |
static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}}; |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
14157 |
static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
14158 |
static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}}; |
14159 |
static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}}; |
|
14160 |
static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; |
|
14161 |
static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}}; |
|
14162 |
static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}}; |
|
14163 |
static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}}; |
|
14164 |
static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}}; |
|
14165 |
static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}}; |
|
14166 |
static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}}; |
|
14167 |
static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}}; |
|
14168 |
static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}}; |
|
14169 |
static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}}; |
|
14170 |
static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}}; |
|
14171 |
static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}}; |
|
14172 |
static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}}; |
|
14173 |
static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}}; |
|
14174 |
static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}}; |
|
14175 |
static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}}; |
|
14176 |
static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}}; |
|
14177 |
static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}}; |
|
14178 |
static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}}; |
|
14179 |
static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}}; |
|
14180 |
static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}}; |
|
14181 |
static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}}; |
|
14182 |
static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}}; |
|
14183 |
static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}}; |
|
1.1.7
by Devid Antonio Filoni
Import upstream version 2.8.10.1 |
14184 |
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_wxDirItemData, _p_wxDirItemDataTo_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_wxDatePickerCtrlBase, _p_wxDatePickerCtrlBaseTo_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_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_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_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_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_wxDatePickerCtrlGeneric, _p_wxDatePickerCtrlGenericTo_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_wxPyPickerBase, _p_wxPyPickerBaseTo_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_wxPyEvtHandler, _p_wxPyEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_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_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_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_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}}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
14185 |
static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}}; |
14186 |
static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}}; |
|
14187 |
static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}}; |
|
14188 |
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}}; |
|
14189 |
static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}}; |
|
14190 |
static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
|
14191 |
static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}}; |
|
14192 |
static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}}; |
|
14193 |
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}}; |
|
14194 |
static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}}; |
|
14195 |
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}}; |
|
14196 |
static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}}; |
|
14197 |
static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}}; |
|
14198 |
static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}}; |
|
14199 |
static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}}; |
|
14200 |
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}}; |
|
1.1.7
by Devid Antonio Filoni
Import upstream version 2.8.10.1 |
14201 |
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_wxPyPickerBase, _p_wxPyPickerBaseTo_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_wxDatePickerCtrlGeneric, _p_wxDatePickerCtrlGenericTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrlBase, _p_wxDatePickerCtrlBaseTo_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_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_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_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_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}}; |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
14202 |
|
14203 |
static swig_cast_info *swig_cast_initial[] = { |
|
14204 |
_swigc__p_char, |
|
1.1.3
by Devid Filoni
Import upstream version 2.8.6.1 |
14205 |
_swigc__p_double, |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
14206 |
_swigc__p_float, |
14207 |
_swigc__p_form_ops_t, |
|
14208 |
_swigc__p_int, |
|
14209 |
_swigc__p_unsigned_char, |
|
14210 |
_swigc__p_unsigned_int, |
|
14211 |
_swigc__p_unsigned_long, |
|
14212 |
_swigc__p_wxANIHandler, |
|
14213 |
_swigc__p_wxAcceleratorTable, |
|
14214 |
_swigc__p_wxActivateEvent, |
|
14215 |
_swigc__p_wxArrayString, |
|
14216 |
_swigc__p_wxBMPHandler, |
|
14217 |
_swigc__p_wxBitmap, |
|
14218 |
_swigc__p_wxBitmapButton, |
|
14219 |
_swigc__p_wxBookCtrlBase, |
|
14220 |
_swigc__p_wxBookCtrlBaseEvent, |
|
14221 |
_swigc__p_wxBoxSizer, |
|
14222 |
_swigc__p_wxButton, |
|
14223 |
_swigc__p_wxCURHandler, |
|
14224 |
_swigc__p_wxCalculateLayoutEvent, |
|
14225 |
_swigc__p_wxCheckBox, |
|
14226 |
_swigc__p_wxCheckListBox, |
|
14227 |
_swigc__p_wxChildFocusEvent, |
|
14228 |
_swigc__p_wxChoice, |
|
14229 |
_swigc__p_wxChoicebook, |
|
14230 |
_swigc__p_wxChoicebookEvent, |
|
14231 |
_swigc__p_wxClipboardTextEvent, |
|
14232 |
_swigc__p_wxCloseEvent, |
|
14233 |
_swigc__p_wxCollapsiblePane, |
|
14234 |
_swigc__p_wxCollapsiblePaneEvent, |
|
14235 |
_swigc__p_wxColour, |
|
14236 |
_swigc__p_wxColourData, |
|
14237 |
_swigc__p_wxColourDialog, |
|
14238 |
_swigc__p_wxColourPickerEvent, |
|
14239 |
_swigc__p_wxComboBox, |
|
14240 |
_swigc__p_wxCommandEvent, |
|
14241 |
_swigc__p_wxContextHelp, |
|
14242 |
_swigc__p_wxContextHelpButton, |
|
14243 |
_swigc__p_wxContextMenuEvent, |
|
14244 |
_swigc__p_wxControl, |
|
14245 |
_swigc__p_wxControlWithItems, |
|
14246 |
_swigc__p_wxDateEvent, |
|
14247 |
_swigc__p_wxDatePickerCtrl, |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
14248 |
_swigc__p_wxDatePickerCtrlBase, |
14249 |
_swigc__p_wxDatePickerCtrlGeneric, |
|
1
by Matthias Klose
Import upstream version 2.8.1.1 |
14250 |
_swigc__p_wxDialog, |
14251 |
_swigc__p_wxDirDialog, |
|
14252 |
_swigc__p_wxDirFilterListCtrl, |
|
1.1.4
by Devid Filoni
Import upstream version 2.8.7.1 |
14253 |
_swigc__p_wxDirItemData, |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
14254 |
_swigc__p_wxDirPickerCtrl, |
14255 |
_swigc__p_wxDisplayChangedEvent, |
|
14256 |
_swigc__p_wxDropFilesEvent, |
|
14257 |
_swigc__p_wxDuplexMode, |
|
14258 |
_swigc__p_wxDynamicSashSplitEvent, |
|
14259 |
_swigc__p_wxDynamicSashUnifyEvent, |
|
14260 |
_swigc__p_wxDynamicSashWindow, |
|
14261 |
_swigc__p_wxEditableListBox, |
|
14262 |
_swigc__p_wxEraseEvent, |
|
14263 |
_swigc__p_wxEvent, |
|
14264 |
_swigc__p_wxEvtHandler, |
|
14265 |
_swigc__p_wxFSFile, |
|
14266 |
_swigc__p_wxFileDialog, |
|
14267 |
_swigc__p_wxFileDirPickerEvent, |
|
14268 |
_swigc__p_wxFilePickerCtrl, |
|
14269 |
_swigc__p_wxFileSystem, |
|
14270 |
_swigc__p_wxFindDialogEvent, |
|
14271 |
_swigc__p_wxFindReplaceData, |
|
14272 |
_swigc__p_wxFindReplaceDialog, |
|
14273 |
_swigc__p_wxFlexGridSizer, |
|
14274 |
_swigc__p_wxFocusEvent, |
|
14275 |
_swigc__p_wxFont, |
|
14276 |
_swigc__p_wxFontData, |
|
14277 |
_swigc__p_wxFontDialog, |
|
14278 |
_swigc__p_wxFontPickerCtrl, |
|
14279 |
_swigc__p_wxFontPickerEvent, |
|
14280 |
_swigc__p_wxFrame, |
|
14281 |
_swigc__p_wxGBSizerItem, |
|
14282 |
_swigc__p_wxGIFHandler, |
|
14283 |
_swigc__p_wxGauge, |
|
14284 |
_swigc__p_wxGenericDirCtrl, |
|
14285 |
_swigc__p_wxGenericDragImage, |
|
14286 |
_swigc__p_wxGridBagSizer, |
|
14287 |
_swigc__p_wxGridSizer, |
|
14288 |
_swigc__p_wxHelpEvent, |
|
14289 |
_swigc__p_wxHyperlinkCtrl, |
|
14290 |
_swigc__p_wxHyperlinkEvent, |
|
14291 |
_swigc__p_wxICOHandler, |
|
14292 |
_swigc__p_wxIcon, |
|
14293 |
_swigc__p_wxIconizeEvent, |
|
14294 |
_swigc__p_wxIdleEvent, |
|
14295 |
_swigc__p_wxImage, |
|
14296 |
_swigc__p_wxImageHandler, |
|
14297 |
_swigc__p_wxImageList, |
|
14298 |
_swigc__p_wxIndividualLayoutConstraint, |
|
14299 |
_swigc__p_wxInitDialogEvent, |
|
14300 |
_swigc__p_wxJPEGHandler, |
|
14301 |
_swigc__p_wxKeyEvent, |
|
14302 |
_swigc__p_wxLEDNumberCtrl, |
|
14303 |
_swigc__p_wxLayoutAlgorithm, |
|
14304 |
_swigc__p_wxLayoutConstraints, |
|
14305 |
_swigc__p_wxListBox, |
|
14306 |
_swigc__p_wxListEvent, |
|
14307 |
_swigc__p_wxListItem, |
|
14308 |
_swigc__p_wxListView, |
|
14309 |
_swigc__p_wxListbook, |
|
14310 |
_swigc__p_wxListbookEvent, |
|
14311 |
_swigc__p_wxMDIChildFrame, |
|
14312 |
_swigc__p_wxMDIClientWindow, |
|
14313 |
_swigc__p_wxMDIParentFrame, |
|
14314 |
_swigc__p_wxMaximizeEvent, |
|
14315 |
_swigc__p_wxMenu, |
|
14316 |
_swigc__p_wxMenuBar, |
|
14317 |
_swigc__p_wxMenuEvent, |
|
14318 |
_swigc__p_wxMenuItem, |
|
14319 |
_swigc__p_wxMessageDialog, |
|
14320 |
_swigc__p_wxMiniFrame, |
|
14321 |
_swigc__p_wxMouseCaptureChangedEvent, |
|
14322 |
_swigc__p_wxMouseCaptureLostEvent, |
|
14323 |
_swigc__p_wxMouseEvent, |
|
14324 |
_swigc__p_wxMoveEvent, |
|
14325 |
_swigc__p_wxMultiChoiceDialog, |
|
14326 |
_swigc__p_wxNavigationKeyEvent, |
|
14327 |
_swigc__p_wxNcPaintEvent, |
|
14328 |
_swigc__p_wxNotebook, |
|
14329 |
_swigc__p_wxNotebookEvent, |
|
14330 |
_swigc__p_wxNotifyEvent, |
|
14331 |
_swigc__p_wxNumberEntryDialog, |
|
14332 |
_swigc__p_wxObject, |
|
14333 |
_swigc__p_wxPCXHandler, |
|
14334 |
_swigc__p_wxPNGHandler, |
|
14335 |
_swigc__p_wxPNMHandler, |
|
14336 |
_swigc__p_wxPageSetupDialog, |
|
14337 |
_swigc__p_wxPageSetupDialogData, |
|
14338 |
_swigc__p_wxPaintEvent, |
|
14339 |
_swigc__p_wxPaletteChangedEvent, |
|
14340 |
_swigc__p_wxPanel, |
|
14341 |
_swigc__p_wxPaperSize, |
|
14342 |
_swigc__p_wxPasswordEntryDialog, |
|
14343 |
_swigc__p_wxPickerBase, |
|
14344 |
_swigc__p_wxPopupWindow, |
|
14345 |
_swigc__p_wxPreviewCanvas, |
|
14346 |
_swigc__p_wxPreviewControlBar, |
|
14347 |
_swigc__p_wxPreviewFrame, |
|
14348 |
_swigc__p_wxPrintData, |
|
14349 |
_swigc__p_wxPrintDialog, |
|
14350 |
_swigc__p_wxPrintDialogData, |
|
14351 |
_swigc__p_wxPrintPreview, |
|
14352 |
_swigc__p_wxPrinter, |
|
14353 |
_swigc__p_wxProgressDialog, |
|
14354 |
_swigc__p_wxPyApp, |
|
14355 |
_swigc__p_wxPyCommandEvent, |
|
14356 |
_swigc__p_wxPyControl, |
|
14357 |
_swigc__p_wxPyEvent, |
|
1.1.5
by Devid Filoni
Import upstream version 2.8.8.0 |
14358 |
_swigc__p_wxPyEvtHandler, |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
14359 |
_swigc__p_wxPyHtmlListBox, |
14360 |
_swigc__p_wxPyImageHandler, |
|
14361 |
_swigc__p_wxPyListCtrl, |
|
14362 |
_swigc__p_wxPyPanel, |
|
1.1.7
by Devid Antonio Filoni
Import upstream version 2.8.10.1 |
14363 |
_swigc__p_wxPyPickerBase, |
1
by Matthias Klose
Import upstream version 2.8.1.1 |
14364 |
_swigc__p_wxPyPopupTransientWindow, |
14365 |
_swigc__p_wxPyPreviewControlBar, |
|
14366 |
_swigc__p_wxPyPreviewFrame, |
|
14367 |
_swigc__p_wxPyPrintPreview, |
|
14368 |
_swigc__p_wxPyPrintout, |
|
14369 |
_swigc__p_wxPyScrolledWindow, |
|
14370 |
_swigc__p_wxPySizer, |
|
14371 |
_swigc__p_wxPyTaskBarIcon, |
|
14372 |
_swigc__p_wxPyTreeCompanionWindow, |
|
14373 |
_swigc__p_wxPyTreeCtrl, |
|
14374 |
_swigc__p_wxPyTreeItemData, |
|
14375 |
_swigc__p_wxPyTreeListCtrl, |
|
14376 |
_swigc__p_wxPyVListBox, |
|
14377 |
_swigc__p_wxPyVScrolledWindow, |
|
14378 |
_swigc__p_wxPyValidator, |
|
14379 |
_swigc__p_wxPyWindow, |
|
14380 |
_swigc__p_wxQueryLayoutInfoEvent, |
|
14381 |
_swigc__p_wxQueryNewPaletteEvent, |
|
14382 |
_swigc__p_wxRadioBox, |
|
14383 |
_swigc__p_wxRadioButton, |
|
14384 |
_swigc__p_wxRemotelyScrolledTreeCtrl, |
|
14385 |
_swigc__p_wxSashEvent, |
|
14386 |
_swigc__p_wxSashLayoutWindow, |
|
14387 |
_swigc__p_wxSashWindow, |
|
14388 |
_swigc__p_wxScrollBar, |
|
14389 |
_swigc__p_wxScrollEvent, |
|
14390 |
_swigc__p_wxScrollWinEvent, |
|
14391 |
_swigc__p_wxScrolledWindow, |
|
14392 |
_swigc__p_wxSearchCtrl, |
|
14393 |
_swigc__p_wxSetCursorEvent, |
|
14394 |
_swigc__p_wxShowEvent, |
|
14395 |
_swigc__p_wxSimpleHtmlListBox, |
|
14396 |
_swigc__p_wxSingleChoiceDialog, |
|
14397 |
_swigc__p_wxSizeEvent, |
|
14398 |
_swigc__p_wxSizer, |
|
14399 |
_swigc__p_wxSizerItem, |
|
14400 |
_swigc__p_wxSlider, |
|
14401 |
_swigc__p_wxSpinButton, |
|
14402 |
_swigc__p_wxSpinCtrl, |
|
14403 |
_swigc__p_wxSpinEvent, |
|
14404 |
_swigc__p_wxSplashScreen, |
|
14405 |
_swigc__p_wxSplashScreenWindow, |
|
14406 |
_swigc__p_wxSplitterEvent, |
|
14407 |
_swigc__p_wxSplitterScrolledWindow, |
|
14408 |
_swigc__p_wxSplitterWindow, |
|
14409 |
_swigc__p_wxStaticBitmap, |
|
14410 |
_swigc__p_wxStaticBox, |
|
14411 |
_swigc__p_wxStaticBoxSizer, |
|
14412 |
_swigc__p_wxStaticLine, |
|
14413 |
_swigc__p_wxStaticPicture, |
|
14414 |
_swigc__p_wxStaticText, |
|
14415 |
_swigc__p_wxStatusBar, |
|
14416 |
_swigc__p_wxStdDialogButtonSizer, |
|
14417 |
_swigc__p_wxSysColourChangedEvent, |
|
14418 |
_swigc__p_wxTGAHandler, |
|
14419 |
_swigc__p_wxTIFFHandler, |
|
14420 |
_swigc__p_wxTaskBarIconEvent, |
|
14421 |
_swigc__p_wxTextCtrl, |
|
14422 |
_swigc__p_wxTextEntryDialog, |
|
14423 |
_swigc__p_wxTextUrlEvent, |
|
14424 |
_swigc__p_wxThinSplitterWindow, |
|
14425 |
_swigc__p_wxTipWindow, |
|
14426 |
_swigc__p_wxToggleButton, |
|
14427 |
_swigc__p_wxToolBar, |
|
14428 |
_swigc__p_wxToolBarBase, |
|
14429 |
_swigc__p_wxToolBarToolBase, |
|
14430 |
_swigc__p_wxToolbook, |
|
14431 |
_swigc__p_wxToolbookEvent, |
|
14432 |
_swigc__p_wxTopLevelWindow, |
|
14433 |
_swigc__p_wxTreeEvent, |
|
14434 |
_swigc__p_wxTreeItemId, |
|
14435 |
_swigc__p_wxTreeListColumnInfo, |
|
14436 |
_swigc__p_wxTreebook, |
|
14437 |
_swigc__p_wxTreebookEvent, |
|
14438 |
_swigc__p_wxUpdateUIEvent, |
|
14439 |
_swigc__p_wxValidator, |
|
14440 |
_swigc__p_wxWindow, |
|
14441 |
_swigc__p_wxWindowCreateEvent, |
|
14442 |
_swigc__p_wxWindowDestroyEvent, |
|
14443 |
_swigc__p_wxXPMHandler, |
|
14444 |
}; |
|
14445 |
||
14446 |
||
14447 |
/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ |
|
14448 |
||
14449 |
static swig_const_info swig_const_table[] = { |
|
14450 |
{0, 0, 0, 0.0, 0, 0}}; |
|
14451 |
||
14452 |
#ifdef __cplusplus |
|
14453 |
} |
|
14454 |
#endif |
|
14455 |
/* ----------------------------------------------------------------------------- |
|
14456 |
* Type initialization: |
|
14457 |
* This problem is tough by the requirement that no dynamic |
|
14458 |
* memory is used. Also, since swig_type_info structures store pointers to |
|
14459 |
* swig_cast_info structures and swig_cast_info structures store pointers back |
|
14460 |
* to swig_type_info structures, we need some lookup code at initialization. |
|
14461 |
* The idea is that swig generates all the structures that are needed. |
|
14462 |
* The runtime then collects these partially filled structures. |
|
14463 |
* The SWIG_InitializeModule function takes these initial arrays out of |
|
14464 |
* swig_module, and does all the lookup, filling in the swig_module.types |
|
14465 |
* array with the correct data and linking the correct swig_cast_info |
|
14466 |
* structures together. |
|
14467 |
* |
|
14468 |
* The generated swig_type_info structures are assigned staticly to an initial |
|
14469 |
* array. We just loop though that array, and handle each type individually. |
|
14470 |
* First we lookup if this type has been already loaded, and if so, use the |
|
14471 |
* loaded structure instead of the generated one. Then we have to fill in the |
|
14472 |
* cast linked list. The cast data is initially stored in something like a |
|
14473 |
* two-dimensional array. Each row corresponds to a type (there are the same |
|
14474 |
* number of rows as there are in the swig_type_initial array). Each entry in |
|
14475 |
* a column is one of the swig_cast_info structures for that type. |
|
14476 |
* The cast_initial array is actually an array of arrays, because each row has |
|
14477 |
* a variable number of columns. So to actually build the cast linked list, |
|
14478 |
* we find the array of casts associated with the type, and loop through it |
|
14479 |
* adding the casts to the list. The one last trick we need to do is making |
|
14480 |
* sure the type pointer in the swig_cast_info struct is correct. |
|
14481 |
* |
|
14482 |
* First off, we lookup the cast->type name to see if it is already loaded. |
|
14483 |
* There are three cases to handle: |
|
14484 |
* 1) If the cast->type has already been loaded AND the type we are adding |
|
14485 |
* casting info to has not been loaded (it is in this module), THEN we |
|
14486 |
* replace the cast->type pointer with the type pointer that has already |
|
14487 |
* been loaded. |
|
14488 |
* 2) If BOTH types (the one we are adding casting info to, and the |
|
14489 |
* cast->type) are loaded, THEN the cast info has already been loaded by |
|
14490 |
* the previous module so we just ignore it. |
|
14491 |
* 3) Finally, if cast->type has not already been loaded, then we add that |
|
14492 |
* swig_cast_info to the linked list (because the cast->type) pointer will |
|
14493 |
* be correct. |
|
14494 |
* ----------------------------------------------------------------------------- */ |
|
14495 |
||
14496 |
#ifdef __cplusplus |
|
14497 |
extern "C" { |
|
14498 |
#if 0 |
|
14499 |
} /* c-mode */ |
|
14500 |
#endif |
|
14501 |
#endif |
|
14502 |
||
14503 |
#if 0 |
|
14504 |
#define SWIGRUNTIME_DEBUG |
|
14505 |
#endif |
|
14506 |
||
14507 |
SWIGRUNTIME void |
|
14508 |
SWIG_InitializeModule(void *clientdata) { |
|
14509 |
size_t i; |
|
14510 |
swig_module_info *module_head; |
|
14511 |
static int init_run = 0; |
|
14512 |
||
14513 |
clientdata = clientdata; |
|
14514 |
||
14515 |
if (init_run) return; |
|
14516 |
init_run = 1; |
|
14517 |
||
14518 |
/* Initialize the swig_module */ |
|
14519 |
swig_module.type_initial = swig_type_initial; |
|
14520 |
swig_module.cast_initial = swig_cast_initial; |
|
14521 |
||
14522 |
/* Try and load any already created modules */ |
|
14523 |
module_head = SWIG_GetModule(clientdata); |
|
14524 |
if (module_head) { |
|
14525 |
swig_module.next = module_head->next; |
|
14526 |
module_head->next = &swig_module; |
|
14527 |
} else { |
|
14528 |
/* This is the first module loaded */ |
|
14529 |
swig_module.next = &swig_module; |
|
14530 |
SWIG_SetModule(clientdata, &swig_module); |
|
14531 |
} |
|
14532 |
||
14533 |
/* Now work on filling in swig_module.types */ |
|
14534 |
#ifdef SWIGRUNTIME_DEBUG |
|
14535 |
printf("SWIG_InitializeModule: size %d\n", swig_module.size); |
|
14536 |
#endif |
|
14537 |
for (i = 0; i < swig_module.size; ++i) { |
|
14538 |
swig_type_info *type = 0; |
|
14539 |
swig_type_info *ret; |
|
14540 |
swig_cast_info *cast; |
|
14541 |
||
14542 |
#ifdef SWIGRUNTIME_DEBUG |
|
14543 |
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); |
|
14544 |
#endif |
|
14545 |
||
14546 |
/* if there is another module already loaded */ |
|
14547 |
if (swig_module.next != &swig_module) { |
|
14548 |
type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name); |
|
14549 |
} |
|
14550 |
if (type) { |
|
14551 |
/* Overwrite clientdata field */ |
|
14552 |
#ifdef SWIGRUNTIME_DEBUG |
|
14553 |
printf("SWIG_InitializeModule: found type %s\n", type->name); |
|
14554 |
#endif |
|
14555 |
if (swig_module.type_initial[i]->clientdata) { |
|
14556 |
type->clientdata = swig_module.type_initial[i]->clientdata; |
|
14557 |
#ifdef SWIGRUNTIME_DEBUG |
|
14558 |
printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name); |
|
14559 |
#endif |
|
14560 |
} |
|
14561 |
} else { |
|
14562 |
type = swig_module.type_initial[i]; |
|
14563 |
} |
|
14564 |
||
14565 |
/* Insert casting types */ |
|
14566 |
cast = swig_module.cast_initial[i]; |
|
14567 |
while (cast->type) { |
|
14568 |
/* Don't need to add information already in the list */ |
|
14569 |
ret = 0; |
|
14570 |
#ifdef SWIGRUNTIME_DEBUG |
|
14571 |
printf("SWIG_InitializeModule: look cast %s\n", cast->type->name); |
|
14572 |
#endif |
|
14573 |
if (swig_module.next != &swig_module) { |
|
14574 |
ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name); |
|
14575 |
#ifdef SWIGRUNTIME_DEBUG |
|
14576 |
if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name); |
|
14577 |
#endif |
|
14578 |
} |
|
14579 |
if (ret) { |
|
14580 |
if (type == swig_module.type_initial[i]) { |
|
14581 |
#ifdef SWIGRUNTIME_DEBUG |
|
14582 |
printf("SWIG_InitializeModule: skip old type %s\n", ret->name); |
|
14583 |
#endif |
|
14584 |
cast->type = ret; |
|
14585 |
ret = 0; |
|
14586 |
} else { |
|
14587 |
/* Check for casting already in the list */ |
|
14588 |
swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type); |
|
14589 |
#ifdef SWIGRUNTIME_DEBUG |
|
14590 |
if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name); |
|
14591 |
#endif |
|
14592 |
if (!ocast) ret = 0; |
|
14593 |
} |
|
14594 |
} |
|
14595 |
||
14596 |
if (!ret) { |
|
14597 |
#ifdef SWIGRUNTIME_DEBUG |
|
14598 |
printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name); |
|
14599 |
#endif |
|
14600 |
if (type->cast) { |
|
14601 |
type->cast->prev = cast; |
|
14602 |
cast->next = type->cast; |
|
14603 |
} |
|
14604 |
type->cast = cast; |
|
14605 |
} |
|
14606 |
cast++; |
|
14607 |
} |
|
14608 |
/* Set entry in modules->types array equal to the type */ |
|
14609 |
swig_module.types[i] = type; |
|
14610 |
} |
|
14611 |
swig_module.types[i] = 0; |
|
14612 |
||
14613 |
#ifdef SWIGRUNTIME_DEBUG |
|
14614 |
printf("**** SWIG_InitializeModule: Cast List ******\n"); |
|
14615 |
for (i = 0; i < swig_module.size; ++i) { |
|
14616 |
int j = 0; |
|
14617 |
swig_cast_info *cast = swig_module.cast_initial[i]; |
|
14618 |
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name); |
|
14619 |
while (cast->type) { |
|
14620 |
printf("SWIG_InitializeModule: cast type %s\n", cast->type->name); |
|
14621 |
cast++; |
|
14622 |
++j; |
|
14623 |
} |
|
14624 |
printf("---- Total casts: %d\n",j); |
|
14625 |
} |
|
14626 |
printf("**** SWIG_InitializeModule: Cast List ******\n"); |
|
14627 |
#endif |
|
14628 |
} |
|
14629 |
||
14630 |
/* This function will propagate the clientdata field of type to |
|
14631 |
* any new swig_type_info structures that have been added into the list |
|
14632 |
* of equivalent types. It is like calling |
|
14633 |
* SWIG_TypeClientData(type, clientdata) a second time. |
|
14634 |
*/ |
|
14635 |
SWIGRUNTIME void |
|
14636 |
SWIG_PropagateClientData(void) { |
|
14637 |
size_t i; |
|
14638 |
swig_cast_info *equiv; |
|
14639 |
static int init_run = 0; |
|
14640 |
||
14641 |
if (init_run) return; |
|
14642 |
init_run = 1; |
|
14643 |
||
14644 |
for (i = 0; i < swig_module.size; i++) { |
|
14645 |
if (swig_module.types[i]->clientdata) { |
|
14646 |
equiv = swig_module.types[i]->cast; |
|
14647 |
while (equiv) { |
|
14648 |
if (!equiv->converter) { |
|
14649 |
if (equiv->type && !equiv->type->clientdata) |
|
14650 |
SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); |
|
14651 |
} |
|
14652 |
equiv = equiv->next; |
|
14653 |
} |
|
14654 |
} |
|
14655 |
} |
|
14656 |
} |
|
14657 |
||
14658 |
#ifdef __cplusplus |
|
14659 |
#if 0 |
|
14660 |
{ |
|
14661 |
/* c-mode */ |
|
14662 |
#endif |
|
14663 |
} |
|
14664 |
#endif |
|
14665 |
||
14666 |
||
14667 |
||
14668 |
#ifdef __cplusplus |
|
14669 |
extern "C" { |
|
14670 |
#endif |
|
14671 |
||
14672 |
/* Python-specific SWIG API */ |
|
14673 |
#define SWIG_newvarlink() SWIG_Python_newvarlink() |
|
14674 |
#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr) |
|
14675 |
#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants) |
|
14676 |
||
14677 |
/* ----------------------------------------------------------------------------- |
|
14678 |
* global variable support code. |
|
14679 |
* ----------------------------------------------------------------------------- */ |
|
14680 |
||
14681 |
typedef struct swig_globalvar { |
|
14682 |
char *name; /* Name of global variable */ |
|
14683 |
PyObject *(*get_attr)(void); /* Return the current value */ |
|
14684 |
int (*set_attr)(PyObject *); /* Set the value */ |
|
14685 |
struct swig_globalvar *next; |
|
14686 |
} swig_globalvar; |
|
14687 |
||
14688 |
typedef struct swig_varlinkobject { |
|
14689 |
PyObject_HEAD |
|
14690 |
swig_globalvar *vars; |
|
14691 |
} swig_varlinkobject; |
|
14692 |
||
14693 |
SWIGINTERN PyObject * |
|
14694 |
swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) { |
|
14695 |
return PyString_FromString("<Swig global variables>"); |
|
14696 |
} |
|
14697 |
||
14698 |
SWIGINTERN PyObject * |
|
14699 |
swig_varlink_str(swig_varlinkobject *v) { |
|
14700 |
PyObject *str = PyString_FromString("("); |
|
14701 |
swig_globalvar *var; |
|
14702 |
for (var = v->vars; var; var=var->next) { |
|
14703 |
PyString_ConcatAndDel(&str,PyString_FromString(var->name)); |
|
14704 |
if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", ")); |
|
14705 |
} |
|
14706 |
PyString_ConcatAndDel(&str,PyString_FromString(")")); |
|
14707 |
return str; |
|
14708 |
} |
|
14709 |
||
14710 |
SWIGINTERN int |
|
14711 |
swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) { |
|
14712 |
PyObject *str = swig_varlink_str(v); |
|
14713 |
fprintf(fp,"Swig global variables "); |
|
14714 |
fprintf(fp,"%s\n", PyString_AsString(str)); |
|
14715 |
Py_DECREF(str); |
|
14716 |
return 0; |
|
14717 |
} |
|
14718 |
||
14719 |
SWIGINTERN void |
|
14720 |
swig_varlink_dealloc(swig_varlinkobject *v) { |
|
14721 |
swig_globalvar *var = v->vars; |
|
14722 |
while (var) { |
|
14723 |
swig_globalvar *n = var->next; |
|
14724 |
free(var->name); |
|
14725 |
free(var); |
|
14726 |
var = n; |
|
14727 |
} |
|
14728 |
} |
|
14729 |
||
14730 |
SWIGINTERN PyObject * |
|
14731 |
swig_varlink_getattr(swig_varlinkobject *v, char *n) { |
|
14732 |
PyObject *res = NULL; |
|
14733 |
swig_globalvar *var = v->vars; |
|
14734 |
while (var) { |
|
14735 |
if (strcmp(var->name,n) == 0) { |
|
14736 |
res = (*var->get_attr)(); |
|
14737 |
break; |
|
14738 |
} |
|
14739 |
var = var->next; |
|
14740 |
} |
|
14741 |
if (res == NULL && !PyErr_Occurred()) { |
|
14742 |
PyErr_SetString(PyExc_NameError,"Unknown C global variable"); |
|
14743 |
} |
|
14744 |
return res; |
|
14745 |
} |
|
14746 |
||
14747 |
SWIGINTERN int |
|
14748 |
swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) { |
|
14749 |
int res = 1; |
|
14750 |
swig_globalvar *var = v->vars; |
|
14751 |
while (var) { |
|
14752 |
if (strcmp(var->name,n) == 0) { |
|
14753 |
res = (*var->set_attr)(p); |
|
14754 |
break; |
|
14755 |
} |
|
14756 |
var = var->next; |
|
14757 |
} |
|
14758 |
if (res == 1 && !PyErr_Occurred()) { |
|
14759 |
PyErr_SetString(PyExc_NameError,"Unknown C global variable"); |
|
14760 |
} |
|
14761 |
return res; |
|
14762 |
} |
|
14763 |
||
14764 |
SWIGINTERN PyTypeObject* |
|
14765 |
swig_varlink_type(void) { |
|
14766 |
static char varlink__doc__[] = "Swig var link object"; |
|
14767 |
static PyTypeObject varlink_type; |
|
14768 |
static int type_init = 0; |
|
14769 |
if (!type_init) { |
|
14770 |
const PyTypeObject tmp |
|
14771 |
= { |
|
14772 |
PyObject_HEAD_INIT(NULL) |
|
14773 |
0, /* Number of items in variable part (ob_size) */ |
|
14774 |
(char *)"swigvarlink", /* Type name (tp_name) */ |
|
14775 |
sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */ |
|
14776 |
0, /* Itemsize (tp_itemsize) */ |
|
14777 |
(destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */ |
|
14778 |
(printfunc) swig_varlink_print, /* Print (tp_print) */ |
|
14779 |
(getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */ |
|
14780 |
(setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */ |
|
14781 |
0, /* tp_compare */ |
|
14782 |
(reprfunc) swig_varlink_repr, /* tp_repr */ |
|
14783 |
0, /* tp_as_number */ |
|
14784 |
0, /* tp_as_sequence */ |
|
14785 |
0, /* tp_as_mapping */ |
|
14786 |
0, /* tp_hash */ |
|
14787 |
0, /* tp_call */ |
|
14788 |
(reprfunc)swig_varlink_str, /* tp_str */ |
|
14789 |
0, /* tp_getattro */ |
|
14790 |
0, /* tp_setattro */ |
|
14791 |
0, /* tp_as_buffer */ |
|
14792 |
0, /* tp_flags */ |
|
14793 |
varlink__doc__, /* tp_doc */ |
|
14794 |
0, /* tp_traverse */ |
|
14795 |
0, /* tp_clear */ |
|
14796 |
0, /* tp_richcompare */ |
|
14797 |
0, /* tp_weaklistoffset */ |
|
14798 |
#if PY_VERSION_HEX >= 0x02020000 |
|
14799 |
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */ |
|
14800 |
#endif |
|
14801 |
#if PY_VERSION_HEX >= 0x02030000 |
|
14802 |
0, /* tp_del */ |
|
14803 |
#endif |
|
14804 |
#ifdef COUNT_ALLOCS |
|
14805 |
0,0,0,0 /* tp_alloc -> tp_next */ |
|
14806 |
#endif |
|
14807 |
}; |
|
14808 |
varlink_type = tmp; |
|
14809 |
varlink_type.ob_type = &PyType_Type; |
|
14810 |
type_init = 1; |
|
14811 |
} |
|
14812 |
return &varlink_type; |
|
14813 |
} |
|
14814 |
||
14815 |
/* Create a variable linking object for use later */ |
|
14816 |
SWIGINTERN PyObject * |
|
14817 |
SWIG_Python_newvarlink(void) { |
|
14818 |
swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type()); |
|
14819 |
if (result) { |
|
14820 |
result->vars = 0; |
|
14821 |
} |
|
14822 |
return ((PyObject*) result); |
|
14823 |
} |
|
14824 |
||
14825 |
SWIGINTERN void |
|
14826 |
SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) { |
|
14827 |
swig_varlinkobject *v = (swig_varlinkobject *) p; |
|
14828 |
swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar)); |
|
14829 |
if (gv) { |
|
14830 |
size_t size = strlen(name)+1; |
|
14831 |
gv->name = (char *)malloc(size); |
|
14832 |
if (gv->name) { |
|
14833 |
strncpy(gv->name,name,size); |
|
14834 |
gv->get_attr = get_attr; |
|
14835 |
gv->set_attr = set_attr; |
|
14836 |
gv->next = v->vars; |
|
14837 |
} |
|
14838 |
} |
|
14839 |
v->vars = gv; |
|
14840 |
} |
|
14841 |
||
14842 |
SWIGINTERN PyObject * |
|
14843 |
SWIG_globals() { |
|
14844 |
static PyObject *_SWIG_globals = 0; |
|
14845 |
if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink(); |
|
14846 |
return _SWIG_globals; |
|
14847 |
} |
|
14848 |
||
14849 |
/* ----------------------------------------------------------------------------- |
|
14850 |
* constants/methods manipulation |
|
14851 |
* ----------------------------------------------------------------------------- */ |
|
14852 |
||
14853 |
/* Install Constants */ |
|
14854 |
SWIGINTERN void |
|
14855 |
SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) { |
|
14856 |
PyObject *obj = 0; |
|
14857 |
size_t i; |
|
14858 |
for (i = 0; constants[i].type; ++i) { |
|
14859 |
switch(constants[i].type) { |
|
14860 |
case SWIG_PY_POINTER: |
|
14861 |
obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0); |
|
14862 |
break; |
|
14863 |
case SWIG_PY_BINARY: |
|
14864 |
obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype)); |
|
14865 |
break; |
|
14866 |
default: |
|
14867 |
obj = 0; |
|
14868 |
break; |
|
14869 |
} |
|
14870 |
if (obj) { |
|
14871 |
PyDict_SetItemString(d, constants[i].name, obj); |
|
14872 |
Py_DECREF(obj); |
|
14873 |
} |
|
14874 |
} |
|
14875 |
} |
|
14876 |
||
14877 |
/* -----------------------------------------------------------------------------*/ |
|
14878 |
/* Fix SwigMethods to carry the callback ptrs when needed */ |
|
14879 |
/* -----------------------------------------------------------------------------*/ |
|
14880 |
||
14881 |
SWIGINTERN void |
|
14882 |
SWIG_Python_FixMethods(PyMethodDef *methods, |
|
14883 |
swig_const_info *const_table, |
|
14884 |
swig_type_info **types, |
|
14885 |
swig_type_info **types_initial) { |
|
14886 |
size_t i; |
|
14887 |
for (i = 0; methods[i].ml_name; ++i) { |
|
14888 |
const char *c = methods[i].ml_doc; |
|
14889 |
if (c && (c = strstr(c, "swig_ptr: "))) { |
|
14890 |
int j; |
|
14891 |
swig_const_info *ci = 0; |
|
14892 |
const char *name = c + 10; |
|
14893 |
for (j = 0; const_table[j].type; ++j) { |
|
14894 |
if (strncmp(const_table[j].name, name, |
|
14895 |
strlen(const_table[j].name)) == 0) { |
|
14896 |
ci = &(const_table[j]); |
|
14897 |
break; |
|
14898 |
} |
|
14899 |
} |
|
14900 |
if (ci) { |
|
14901 |
size_t shift = (ci->ptype) - types; |
|
14902 |
swig_type_info *ty = types_initial[shift]; |
|
14903 |
size_t ldoc = (c - methods[i].ml_doc); |
|
14904 |
size_t lptr = strlen(ty->name)+2*sizeof(void*)+2; |
|
14905 |
char *ndoc = (char*)malloc(ldoc + lptr + 10); |
|
14906 |
if (ndoc) { |
|
14907 |
char *buff = ndoc; |
|
14908 |
void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0; |
|
14909 |
if (ptr) { |
|
14910 |
strncpy(buff, methods[i].ml_doc, ldoc); |
|
14911 |
buff += ldoc; |
|
14912 |
strncpy(buff, "swig_ptr: ", 10); |
|
14913 |
buff += 10; |
|
14914 |
SWIG_PackVoidPtr(buff, ptr, ty->name, lptr); |
|
14915 |
methods[i].ml_doc = ndoc; |
|
14916 |
} |
|
14917 |
} |
|
14918 |
} |
|
14919 |
} |
|
14920 |
} |
|
14921 |
} |
|
14922 |
||
14923 |
#ifdef __cplusplus |
|
14924 |
} |
|
14925 |
#endif |
|
14926 |
||
14927 |
/* -----------------------------------------------------------------------------* |
|
14928 |
* Partial Init method |
|
14929 |
* -----------------------------------------------------------------------------*/ |
|
14930 |
||
14931 |
#ifdef __cplusplus |
|
14932 |
extern "C" |
|
14933 |
#endif |
|
14934 |
SWIGEXPORT void SWIG_init(void) { |
|
14935 |
PyObject *m, *d; |
|
14936 |
||
14937 |
/* Fix SwigMethods to carry the callback ptrs when needed */ |
|
14938 |
SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial); |
|
14939 |
||
14940 |
m = Py_InitModule((char *) SWIG_name, SwigMethods); |
|
14941 |
d = PyModule_GetDict(m); |
|
14942 |
||
14943 |
SWIG_InitializeModule(0); |
|
14944 |
SWIG_InstallConstants(d,swig_const_table); |
|
14945 |
||
14946 |
||
14947 |
PyDict_SetItemString(d,(char*)"cvar", SWIG_globals()); |
|
14948 |
SWIG_addvarlink(SWIG_globals(),(char*)"DynamicSashNameStr",DynamicSashNameStr_get, DynamicSashNameStr_set); |
|
14949 |
SWIG_addvarlink(SWIG_globals(),(char*)"EditableListBoxNameStr",EditableListBoxNameStr_get, EditableListBoxNameStr_set); |
|
14950 |
SWIG_addvarlink(SWIG_globals(),(char*)"StaticPictureNameStr",StaticPictureNameStr_get, StaticPictureNameStr_set); |
|
14951 |
SWIG_Python_SetConstant(d, "DS_MANAGE_SCROLLBARS",SWIG_From_int(static_cast< int >(wxDS_MANAGE_SCROLLBARS))); |
|
14952 |
SWIG_Python_SetConstant(d, "DS_DRAG_CORNER",SWIG_From_int(static_cast< int >(wxDS_DRAG_CORNER))); |
|
14953 |
PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT)); |
|
14954 |
PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY)); |
|
14955 |
SWIG_Python_SetConstant(d, "EL_ALLOW_NEW",SWIG_From_int(static_cast< int >(wxEL_ALLOW_NEW))); |
|
14956 |
SWIG_Python_SetConstant(d, "EL_ALLOW_EDIT",SWIG_From_int(static_cast< int >(wxEL_ALLOW_EDIT))); |
|
14957 |
SWIG_Python_SetConstant(d, "EL_ALLOW_DELETE",SWIG_From_int(static_cast< int >(wxEL_ALLOW_DELETE))); |
|
14958 |
SWIG_Python_SetConstant(d, "LED_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_LEFT))); |
|
14959 |
SWIG_Python_SetConstant(d, "LED_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_RIGHT))); |
|
14960 |
SWIG_Python_SetConstant(d, "LED_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxLED_ALIGN_CENTER))); |
|
14961 |
SWIG_Python_SetConstant(d, "LED_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLED_ALIGN_MASK))); |
|
14962 |
SWIG_Python_SetConstant(d, "LED_DRAW_FADED",SWIG_From_int(static_cast< int >(wxLED_DRAW_FADED))); |
|
14963 |
SWIG_addvarlink(SWIG_globals(),(char*)"TreeListCtrlNameStr",TreeListCtrlNameStr_get, TreeListCtrlNameStr_set); |
|
14964 |
SWIG_Python_SetConstant(d, "DEFAULT_COL_WIDTH",SWIG_From_int(static_cast< int >(DEFAULT_COL_WIDTH))); |
|
14965 |
SWIG_Python_SetConstant(d, "TL_MODE_NAV_FULLTREE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_FULLTREE))); |
|
14966 |
SWIG_Python_SetConstant(d, "TL_MODE_NAV_EXPANDED",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_EXPANDED))); |
|
14967 |
SWIG_Python_SetConstant(d, "TL_MODE_NAV_VISIBLE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_VISIBLE))); |
|
14968 |
SWIG_Python_SetConstant(d, "TL_MODE_NAV_LEVEL",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_LEVEL))); |
|
14969 |
SWIG_Python_SetConstant(d, "TL_MODE_FIND_EXACT",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_EXACT))); |
|
14970 |
SWIG_Python_SetConstant(d, "TL_MODE_FIND_PARTIAL",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_PARTIAL))); |
|
14971 |
SWIG_Python_SetConstant(d, "TL_MODE_FIND_NOCASE",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_NOCASE))); |
|
14972 |
SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMCOLUMN",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMCOLUMN))); |
|
14973 |
SWIG_Python_SetConstant(d, "TR_COLUMN_LINES",SWIG_From_int(static_cast< int >(wxTR_COLUMN_LINES))); |
|
14974 |
SWIG_Python_SetConstant(d, "TR_VIRTUAL",SWIG_From_int(static_cast< int >(wxTR_VIRTUAL))); |
|
14975 |
||
14976 |
wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl"); |
|
14977 |
||
14978 |
SWIG_Python_SetConstant(d, "SCALE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSCALE_HORIZONTAL))); |
|
14979 |
SWIG_Python_SetConstant(d, "SCALE_VERTICAL",SWIG_From_int(static_cast< int >(wxSCALE_VERTICAL))); |
|
14980 |
SWIG_Python_SetConstant(d, "SCALE_UNIFORM",SWIG_From_int(static_cast< int >(wxSCALE_UNIFORM))); |
|
14981 |
SWIG_Python_SetConstant(d, "SCALE_CUSTOM",SWIG_From_int(static_cast< int >(wxSCALE_CUSTOM))); |
|
14982 |
||
14983 |
wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow"); |
|
14984 |
||
14985 |
} |
|
14986 |